diff mbox

[9/9,sony-laptop] add Sony Vaio VGN-SR19 support

Message ID 1235882445-2404-10-git-send-email-malattia@linux.it (mailing list archive)
State Accepted
Headers show

Commit Message

Mattia Dongili March 1, 2009, 4:40 a.m. UTC
From: Wolfram Strepp <wstrepp@gmx.de>

I have a Sony Vaio VGN-SR19XN, running with Debian Lenny,
and i had a problem with some function keys: Backlight Up/Down
(Fn-F5/F6), Hibernate (Fn-F12), and some others, were not working.
I have described the problem in detail here (at the bottom):
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/251665

Signed-off-by: Wolfram Strepp <wstrepp@gmx.de>
Signed-off-by: Mattia Dongili <malattia@linux.it>
---
 drivers/platform/x86/sony-laptop.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index 021c9d2..f0db14f 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -921,6 +921,15 @@  static const struct dmi_system_id sony_nc_ids[] = {
 				DMI_MATCH(DMI_PRODUCT_NAME, "VGN-Z"),
 			},
 		},
+		{
+			.ident = "Sony Vaio SR Series",
+			.callback = sony_SNC_enable_cb,
+			.driver_data = sony_SNC_events,
+			.matches = {
+				DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+				DMI_MATCH(DMI_PRODUCT_NAME, "VGN-SR"),
+			},
+		},
 		{ }
 };