From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Valentini Subject: [PATCH] acpi: fix suspend and resume on Sony Vaio VGN-FW21M Date: Mon, 11 Mar 2013 20:16:34 +0100 Message-ID: <1363029394.3138.3.camel@fafadora.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f46.google.com ([74.125.83.46]:54242 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751468Ab3CKTQk (ORCPT ); Mon, 11 Mar 2013 15:16:40 -0400 Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: rjw@sisk.pl Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org From: Fabio Valentini Add Sony Vaio VGN-FW21M to the device blacklist in drivers/acpi/sleep.c. Fixes suspend/resume on this device (device no longer reboots instead of resuming). Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=55001 Signed-off-by: Fabio Valentini --- Patch applies cleanly to latest master (3.9-rc2) and stable (3.8.2). drivers/acpi/sleep.c | 8 ++++++++ 1 file changed, 8 insertions(+) --- linux/drivers/acpi/sleep.c.orig 2013-03-09 16:46:41.407984555 +0100 +++ linux/drivers/acpi/sleep.c 2013-03-09 16:49:03.693005658 +0100 @@ -193,6 +193,14 @@ static struct dmi_system_id __initdata a }, { .callback = init_nvs_nosave, + .ident = "Sony Vaio VGN-FW21M", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"), + DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FW21M"), + }, + }, + { + .callback = init_nvs_nosave, .ident = "Sony Vaio VPCEB17FX", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),