Need help on G51jx

Asked by Csala Tamás

Hello!

I've installed your ppa on my G51JX on Ubuntu 12.10, but i can't get it working. Should it generate an executable file somewhere, in which i can adjust the kbd backlight brightness, or is it a driver that should work by itself after installing?

Thanks in advance!
Tomius

Question information

Language:
English Edit question
Status:
Answered
For:
ASUS Keyboard Backlight Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fabien LOISON (flozz) said :
#1

Hello

ASUS Keyboard Backlight should by itself (but I haven't tested on Ubuntu 12.10).

Can you try the following commands:

    /etc/acpi/asus-kbd-backlight.py down # Lighter
    /etc/acpi/asus-kbd-backlight.py up # Darker/turn off

If those commands does not work, can you tel me if the following files exist?

    * /sys/devices/platform/asus_laptop/leds/asus::kbd_backlight/brightness
    * /sys/devices/platform/asus_laptop/leds/asus::kbd_backlight/max_brightness

Regards,

Revision history for this message
Fabien LOISON (flozz) said :
#2

Hum... I made a mistake:

"/etc/acpi/asus-kbd-backlight.py down" will make the backlight darker (or turn it off), and "/etc/acpi/asus-kbd-backlight.py up" will turn it on or make it lighter...

Regards,

Revision history for this message
Csala Tamás (tomius1994) said :
#3

Thanks for the fast reply!

The brightness and brightnessmax files exist, yet it still doesn't work properly. The brightness up and brightness down buttons do work, however, the minimal brightness it can reach is 130 (medium bright) and the max brightness is 131 (high brightness). And i want to turn it off...

calling "$ /etc/acpi/asus-kbd-backlight.py down"

results this:

(asus-kbd-backlight.py:3387): libnotify-WARNING **: you must call notify_init() before showing
**
libnotify:ERROR:notification.c:568:notify_notification_show: code should not be reached
Aborted

i tried useing pynotify.init("asus-kbd-backlight") but it still didn't work.

By the way thx to your help, now i can manually turn the light off with setting the value in the brightness file 0, so i actually got what i wanted :)

Revision history for this message
Fabien LOISON (flozz) said :
#4

> i tried useing pynotify.init("asus-kbd-backlight") but it still didn't work.

in fact the script must be lunched as root, because it write numbers in the brightness file...

> By the way thx to your help, now i can manually turn the light off
> with setting the value in the brightness file 0, so i actually got what i wanted :)

Ok, cool! :)

Can you help with this problem?

Provide an answer of your own, or ask Csala Tamás for more information if necessary.

To post a message you must log in.