this patch transition specific sony_acpi drvier to use generic acpi hotkey infrastructure.
Created attachment 5316 [details] scratch version
It's unusual to submit a patch via bugzilla. I suggest you email the patch to Len and myself. See http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt
*** Bug 4193 has been marked as a duplicate of this bug. ***
Created attachment 5897 [details] porting sony-acpi.c to generic hotkey solution update patch agains linux-2.6.13 I tested it on sony Z1 with 1. get brighness supported. echo "10001:1:1:0" >/proc/acpi/hotkey/action cat /proc/acpi/hotkey/10001 2. change brightness min: echo "10001:0:1:1" > /proc/acpi/hotkey/action max: echo "10001:0:1:8" > /proc/acpi/hotkey/action
mask it as resolved. To-do: 1. hook sonpyi interrupt
*** This bug has been marked as a duplicate of 5749 ***