Bug 4876
Summary: | porting_sony_acpi_to_generic_driver.patch | ||
---|---|---|---|
Product: | Drivers | Reporter: | Luming Yu (luming.yu) |
Component: | Platform | Assignee: | 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
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 |