Bug 4876

Summary: porting_sony_acpi_to_generic_driver.patch
Product: Drivers Reporter: Luming Yu (luming.yu)
Component: PlatformAssignee: Luming Yu (luming.yu)
Status: REJECTED DUPLICATE    
Severity: normal CC: acpi-bugzilla, stelian, thoenig
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6 Subsystem:
Regression: --- Bisected commit-id:
Attachments: scratch version
porting sony-acpi.c to generic hotkey solution

Description Luming Yu 2005-07-12 07:53:18 UTC
this patch transition specific sony_acpi drvier to use generic acpi hotkey 
infrastructure.
Comment 1 Luming Yu 2005-07-12 07:54:38 UTC
Created attachment 5316 [details]
scratch version
Comment 2 Andrew Morton 2005-07-12 12:40:56 UTC
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
Comment 3 Luming Yu 2005-08-18 08:15:45 UTC
*** Bug 4193 has been marked as a duplicate of this bug. ***
Comment 4 Luming Yu 2005-09-05 01:09:42 UTC
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
Comment 5 Luming Yu 2005-09-06 23:54:20 UTC
mask it as resolved.  
 
To-do: 
1. hook sonpyi interrupt 
Comment 6 Luming Yu 2005-12-16 01:09:56 UTC

*** This bug has been marked as a duplicate of 5749 ***