Re: Sony VGN-Z11VN: brightness not working and Fn keys are not reported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> In <20081016235647.GA3009@xxxxxxxxxxxxxxxxxxxxxxxx> 
>>>>>	Norbert Preining <preining@xxxxxxxx> wrote:
>> Hi all,
>>
>> I digged a bit through the net and everything I found is that the Fn-F5
>> and -F6 (increase and decrease brightness) do nothing. Furthermore,
>> echoing anything between 0 and 7 to /sys/class/backlight/sony/brightness
>> also does nothing. Same with xbacklight.

 They are 2 different problems, here.

 1) Fn key handling don't work

      Fn key handling by sony-laptop driver does not work on VGN-Z.

      Fn key or Fn key + some other function key press does not rise
    evdev and acpi event on this machine. Some work will be needed...


 2) backlight control don't work

     Backlight control on VAIO will be handled by Sony NC driver in
   sony-acpi. VGN-Z* have Sony NC device [1], but SNC driver will not
   enable it.


     Backlight control without enabled SNC will not work via both
   ACPI backlight(/sys/class/backlight/acpi_video0/brightness) and
   sony-acpi backlight(/sys/class/backlight/sony/brightness)


     Entry for VGN-Z* series should be added in sony_nc_ids table
   of sony-laptop.c, patch bellow.

     With SNC enabled, it works via /sys/class/backlight/sony/brightness.


[1]: http://hanzubon.jp/tmp/VGN-Z90S/DSDT.dsl.txt
     See device(SNC) in this DSDT.

-----
>From a013a2a001eb559a8e775060746786f142678db0 Mon Sep 17 00:00:00 2001
From: ISHIKAWA Mutsumi <ishikawa@xxxxxxxxxxx>
Date: Fri, 17 Oct 2008 09:16:08 +0900
Subject: [PATCH] enable Sony NC driver on VGN-Z models

 Enable Sony NC driver on VAIO Z series

Signed-off-by: ISHIKAWA Mutsumi <ishikawa@xxxxxxxxxxx>
---
 drivers/misc/sony-laptop.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c
index 60775be..e40d491 100644
--- a/drivers/misc/sony-laptop.c
+++ b/drivers/misc/sony-laptop.c
@@ -889,6 +889,15 @@ static const struct dmi_system_id sony_nc_ids[] = {
 				DMI_MATCH(DMI_PRODUCT_NAME, "VGN-N"),
 			},
 		},
+		{
+			.ident = "Sony Vaio Z Series",
+			.callback = sony_nc_C_enable,
+			.driver_data = sony_C_events,
+			.matches = {
+				DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+				DMI_MATCH(DMI_PRODUCT_NAME, "VGN-Z"),
+			},
+		},
 		{ }
 };
 
-- 
1.5.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux