Add support for ACPI event handler for Sony Vaio with SNC controller
Bug #240915 reported by
Petr Menšík
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: acpi-support
In /etc/acpi/
sony/hotkey SNC 00000001 00000010
To support both SPIC events and SNC, replace in all sony scripts events work SPIC to (SPIC|SNC).
So event would look like this:
# /etc/acpi/
event=sony/hotkey (SPIC|SNC) 00000001 00000010
action=
This would get working backlight control for some of nvidia base vaios.
Related branches
To post a comment you must log in.
Confirming. Only my action is /etc/acpi/ sonybright. sh instead of xbacklight.sh.
And on this Sony VGN FE41E there is another thing, which will become apparent when looking at the acpi events associated with these acpi buttons:
bright+
sony/hotkey SNC 00000001 00000011 (press)
sony/hotkey SNC 00000001 0000003b (release)
bright-
sony/hotkey SNC 00000001 00000010 (press)
sony/hotkey SNC 00000001 0000003b (release)
LCD/EXT
sony/hotkey SNC 00000001 00000012 (press)
sony/hotkey SNC 00000001 0000003b (release)
S1 (user-definable 1)
sony/hotkey SNC 00000001 00000090 (press)
sony/hotkey SNC 00000001 00000010 (release)
S2 (user-definable 2)
sony/hotkey SNC 00000001 00000091 (press)
sony/hotkey SNC 00000001 00000011 (release)
It would be nice to bind S1 and S2 to acpi_fakekey, but with the release event of S1/S2 colliding with the press event of bright+/bright-, this still is a bit of a problem.
Nevertheless, it would be a good idea to replace SPIC with (SPIC|SNC) so changing the brightness works out-of-the-box on certain Sony VAIO laptops.