ASUS backlit keys buttons don't work

Bug #931614 reported by Troy Sankey on 2012-02-13
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Medium
Unassigned

Bug Description

Ubuntu 11.10
acpi-support 0.138
ASUS G73jh

The ASUS backlit key brightness up/down buttons do not have any acpi events/scripts assigned. The buttons trigger the following acpi events:

up:
hotkey ATKD 000000c4
down:
hotkey ATKD 000000c5

I have attached a potential patch that works on my computer.

Troy Sankey (sankeytm) wrote :
description: updated

The attachment "add four files for asus key brightness functionality" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

Troy Sankey (sankeytm) wrote :

I suppose my previous patch wasn't as dynamic as it could have been. I assumed everybody's max brightness was the same as mine so I hard coded the number 3, but I should have used the max_brightness file.

Steve Langasek (vorlon) wrote :

Hi Troy,

Just to be sure I understand, this patch is about adjusting the brightness of a backlight on the keyboard, not a backlight on an LCD?

Troy Sankey (sankeytm) wrote :

Yes, the brightness of the keyboard. The LCD brightness keys work fine as-is.

Steve Langasek (vorlon) on 2012-03-13
Changed in acpi-support (Ubuntu):
importance: Undecided → Medium
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package acpi-support - 0.140

---------------
acpi-support (0.140) precise; urgency=low

  [ James Ferguson ]
  * asus-touchpad.sh: add support for Elantech touchpads. LP: #953296.
  * events/lenovo-touchpad2: new event handler for an acpi event on newer
    ThinkPads which always maps to the touchpad.

  [ Troy Sankey ]
  * asus-keyboard-backlight.sh, events/asus-keyboard-backlight-{up,down}:
    add support for hotkey that adjusts the keyboard backlight on the ASUS
    G73jh and others. LP: #931614.
 -- Steve Langasek <email address hidden> Tue, 13 Mar 2012 09:24:01 -0700

Changed in acpi-support (Ubuntu):
status: Fix Committed → Fix Released

It works but not fully. Something is changing /sys/class/leds/asus::kbd_backlight/brightness after script.

See my test with a modified asus-keyboard-backlight.sh

root@felipe-G51JX:~# echo 0 > /sys/class/leds/asus\:\:kbd_backlight/brightness
root@felipe-G51JX:~# /etc/acpi/asus-keyboard-backlight.sh up
ORIGINAL VALUE: 0
up
NEW VALUE: 1
File value after echo ...0
File value after 1 second ...129
File value after 2 seconds ...129
root@felipe-G51JX:~# /etc/acpi/asus-keyboard-backlight.sh up
ORIGINAL VALUE: 129
up
NEW VALUE: 3
File value after echo ...129
File value after 1 second ...131
File value after 2 seconds ...131
root@felipe-G51JX:~# /etc/acpi/asus-keyboard-backlight.sh down
ORIGINAL VALUE: 131
down
NEW VALUE: 3
File value after echo ...131
File value after 1 second ...131
File value after 2 seconds ...131
root@felipe-G51JX:~#

Nothing appear in syslog about it... So it is really weird ...

How I can collect more evidences?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers