Add support for ACPI event handler for Sony Vaio with SNC controller

Bug #240915 reported by Petr Menšík
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: acpi-support

In /etc/acpi/events/sony-* are events for Sony Vaios and their handlers. They dont work for all models and some models would require different scripts. But there are many models with Sony Notebook Controller device, which does report events as:

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/events/sony-brightness-down

event=sony/hotkey (SPIC|SNC) 00000001 00000010
action=/etc/acpi/xbacklight.sh down

This would get working backlight control for some of nvidia base vaios.

Related branches

Revision history for this message
wvengen (wvengen) wrote :

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.

Revision history for this message
Petr Menšík (pihhan) wrote :

Please, update sony actions for SNC controller also. I believe SNC is newer and propably is in all new vaios. It should make backlight control working for users of vaio with nvidia 7xxx card.

Revision history for this message
penalvch (penalvch) wrote :

Pihhan, thank you for reporting this bug to Ubuntu. Is this an issue in a supported release? If so, could you please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 240915

affects: acpi-support (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.