diff mbox

ACPI: Disable Vista compatibility for Sony VGN-SR19XN.

Message ID 1426498518-9853-1-git-send-email-yu.c.chen@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Rafael Wysocki
Headers show

Commit Message

Chen Yu March 16, 2015, 9:35 a.m. UTC
Sony VGN-SR19XN laptop needs to disable windows vista compatibility,
or else it freezes when plugging/unplugging the VGA connector.

https://bugzilla.kernel.org/show_bug.cgi?id=66771

Tested-by: Lionel Duriez <lionelduriez@hotmail.com>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
---
 drivers/acpi/blacklist.c | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Rafael J. Wysocki March 18, 2015, 3:26 p.m. UTC | #1
On Monday, March 16, 2015 05:35:18 PM Chen Yu wrote:
> Sony VGN-SR19XN laptop needs to disable windows vista compatibility,
> or else it freezes when plugging/unplugging the VGA connector.
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=66771
> 
> Tested-by: Lionel Duriez <lionelduriez@hotmail.com>
> Reviewed-by: Zhang Rui <rui.zhang@intel.com>
> Signed-off-by: Chen Yu <yu.c.chen@intel.com>

Queued up as a fix for 4.0-rc5, thanks!

> ---
>  drivers/acpi/blacklist.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
> index 9b693d5..1d17919 100644
> --- a/drivers/acpi/blacklist.c
> +++ b/drivers/acpi/blacklist.c
> @@ -215,6 +215,14 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
>  	},
>  	{
>  	.callback = dmi_disable_osi_vista,
> +	.ident = "VGN-SR19XN",
> +	.matches = {
> +		     DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
> +		     DMI_MATCH(DMI_PRODUCT_NAME, "VGN-SR19XN"),
> +		},
> +	},
> +	{
> +	.callback = dmi_disable_osi_vista,
>  	.ident = "Toshiba Satellite L355",
>  	.matches = {
>  		     DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
>
diff mbox

Patch

diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index 9b693d5..1d17919 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -215,6 +215,14 @@  static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
 	},
 	{
 	.callback = dmi_disable_osi_vista,
+	.ident = "VGN-SR19XN",
+	.matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+		     DMI_MATCH(DMI_PRODUCT_NAME, "VGN-SR19XN"),
+		},
+	},
+	{
+	.callback = dmi_disable_osi_vista,
 	.ident = "Toshiba Satellite L355",
 	.matches = {
 		     DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),