Not working with ASUS N76VB and Xubuntu 13.04

Bug #1184514 reported by Slava Fomin II
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ASUS Keyboard Backlight
Confirmed
Low
Fabien LOISON

Bug Description

I've installed this program and rebooted the machine, but backlight controls (functional keys) are still not working.

My machine: ASUS N76VB
https://www.asus.com/Notebooks_Ultrabooks/N76VB/

My OS:
Xubuntu 13.04 (Raring Ringtail)

I will be glad to help you to fix this issue for this ultrabook, if you need any feedback from me just write me: andyidol [AT] gmail.com or Skype: fominslava.

Thanks and good luck!

Tags: n76 n76vb
Revision history for this message
Fabien LOISON (flozz) wrote :

Hello,

Does the following folder exists on your system `/sys/devices/platform/asus_laptop/` ?

if yes, what is its content?

Regards,

Revision history for this message
Slava Fomin II (slavafomin) wrote : Re: [Bug 1184514] Re: Not working with ASUS N76VB and Xubuntu 13.04

No it doesn't.

See:

*slava@intrepid:~$ ls -la /sys/devices/platform/*
total 0
drwxr-xr-x 14 root root 0 May 28 2013 .
drwxr-xr-x 13 root root 0 May 28 2013 ..
drwxr-xr-x 3 root root 0 May 28 2013 alarmtimer
drwxr-xr-x 7 root root 0 May 28 11:45 asus-nb-wmi
drwxr-xr-x 4 root root 0 May 28 11:45 coretemp.0
drwxr-xr-x 3 root root 0 May 28 2013 efifb.0
drwxr-xr-x 4 root root 0 May 28 2013 Fixed MDIO bus.0
drwxr-xr-x 8 root root 0 May 28 2013 i8042o o
drwxr-xr-x 3 root root 0 May 28 11:45 microcode
drwxr-xr-x 3 root root 0 May 28 2013 pcspkr
drwxr-xr-x 2 root root 0 May 28 12:10 power
drwxr-xr-x 4 root root 0 May 28 2013 reg-dummy
drwxr-xr-x 3 root root 0 May 28 11:45 regulatory.0
drwxr-xr-x 4 root root 0 May 28 2013 serial8250
-rw-r--r-- 1 root root 4096 May 28 11:45 uevent

On Mon, May 27, 2013 at 9:44 PM, Fabien LOISON <email address hidden> wrote:

> Hello,
>
> Does the following folder exists on your system
> `/sys/devices/platform/asus_laptop/` ?
>
> if yes, what is its content?
>
> Regards,
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1184514
>
> Title:
> Not working with ASUS N76VB and Xubuntu 13.04
>
> Status in ASUS Keyboard Backlight:
> New
>
> Bug description:
> I've installed this program and rebooted the machine, but backlight
> controls (functional keys) are still not working.
>
> My machine: ASUS N76VB
> https://www.asus.com/Notebooks_Ultrabooks/N76VB/
>
> My OS:
> Xubuntu 13.04 (Raring Ringtail)
>
> I will be glad to help you to fix this issue for this ultrabook, if
> you need any feedback from me just write me: andyidol [AT] gmail.com
> or Skype: fominslava.
>
> Thanks and good luck!
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/asus-keyboard-backlight/+bug/1184514/+subscriptions
>

Revision history for this message
Fabien LOISON (flozz) wrote :

Hum...

Asus Keyboard Backlight just add some scripts for linking the physical button and the ACPI functionality. If the folder does not exists, that mean that your hardware is not supported by the asus-laptop kernel module, and Asus Keyboard Backlight will not work :(

Revision history for this message
Slava Fomin II (slavafomin) wrote :

Oh, too bad (

What else i can do? Maybe we need to notice developers of kernel module or
someone else?

On Tue, May 28, 2013 at 10:54 PM, Fabien LOISON <email address hidden> wrote:

> Hum...
>
> Asus Keyboard Backlight just add some scripts for linking the physical
> button and the ACPI functionality. If the folder does not exists, that
> mean that your hardware is not supported by the asus-laptop kernel
> module, and Asus Keyboard Backlight will not work :(
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1184514
>
> Title:
> Not working with ASUS N76VB and Xubuntu 13.04
>
> Status in ASUS Keyboard Backlight:
> New
>
> Bug description:
> I've installed this program and rebooted the machine, but backlight
> controls (functional keys) are still not working.
>
> My machine: ASUS N76VB
> https://www.asus.com/Notebooks_Ultrabooks/N76VB/
>
> My OS:
> Xubuntu 13.04 (Raring Ringtail)
>
> I will be glad to help you to fix this issue for this ultrabook, if
> you need any feedback from me just write me: andyidol [AT] gmail.com
> or Skype: fominslava.
>
> Thanks and good luck!
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/asus-keyboard-backlight/+bug/1184514/+subscriptions
>

Revision history for this message
Fabien LOISON (flozz) wrote :

Can you check you have asus-wmi or asus-laptop module loaded in the kernel (using lsmod), if not, try to load them:

sudo modprobe asus-wmi
sudo modprobe asus-laptop

If you need more informations about this kernel module, you can go there:

http://acpi4asus.sourceforge.net/

Revision history for this message
Slava Fomin II (slavafomin) wrote :

Here's the command's output.

slava@intrepid:~$ sudo lsmod | grep asus
asus_nb_wmi 12854 0
asus_wmi 24213 1 asus_nb_wmi
sparse_keymap 13890 1 asus_wmi
wmi 19070 2 mxm_wmi,asus_wmi
video 19390 2 i915,asus_wmi

Revision history for this message
Fabien LOISON (flozz) wrote :

Hum,

What is the result of the following command ?

ls /sys/devices/platform/asus-nb-wmi

Revision history for this message
Slava Fomin II (slavafomin) wrote :

Sorry for waiting. Here it goes:

slava@intrepid:~$ ls -l /sys/devices/platform/asus-nb-wmi/
total 0
-rw-r--r-- 1 root root 4096 May 31 13:38 cpufv
lrwxrwxrwx 1 root root 0 May 31 10:52 driver -> ../../../bus/platform/drivers/asus-nb-wmi
drwxr-xr-x 3 root root 0 May 31 10:52 hwmon
drwxr-xr-x 3 root root 0 May 31 10:52 input
drwxr-xr-x 3 root root 0 May 31 10:52 leds
-rw-r--r-- 1 root root 4096 May 31 13:38 lid_resume
-r--r--r-- 1 root root 4096 May 31 13:38 modalias
drwxr-xr-x 2 root root 0 May 31 13:38 power
drwxr-xr-x 4 root root 0 May 31 10:52 rfkill
lrwxrwxrwx 1 root root 0 May 31 10:52 subsystem -> ../../../bus/platform
-rw-r--r-- 1 root root 4096 May 31 10:52 uevent

Revision history for this message
Fabien LOISON (flozz) wrote :

Hum, it seems to be cool :)

Can you try to replace

    MAX_BRIGHTNESS_FILE = "/sys/devices/platform/asus_laptop/leds/asus::kbd_backlight/max_brightness"
    BRIGHTNESS_FILE = "/sys/devices/platform/asus_laptop/leds/asus::kbd_backlight/brightness"

by

    MAX_BRIGHTNESS_FILE = "/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/max_brightness"
    BRIGHTNESS_FILE = "/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/brightness"

in "/etc/acpi/asus-kbd-backlight.py" (line 78-79).

Does it work better? If not, what is the content of the "/sys/devices/platform/asus_laptop/leds/" folder and sub folders?

Changed in asus-keyboard-backlight:
assignee: nobody → Fabien LOISON (flozz)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Slava Fomin II (slavafomin) wrote :

I've made the changes:

[/etc/acpi/asus-kbd-backlight.py:78-82]
#MAX_BRIGHTNESS_FILE = "/sys/devices/platform/asus_laptop/leds/asus::kbd_backlight/max_brightness"
MAX_BRIGHTNESS_FILE = "/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/max_brightness"

#BRIGHTNESS_FILE = "/sys/devices/platform/asus_laptop/leds/asus::kbd_backlight/brightness"
BRIGHTNESS_FILE = "/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/brightness"

And rebooted the Ultrabook, but backlight keys (FN+F3, FN+F4) are not working.

BUT when i do:
root@intrepid:~# echo 3 > /sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/brightness
Backlight level is changing.

Revision history for this message
Slava Fomin II (slavafomin) wrote :

There is no such directory:
/sys/devices/platform/asus_laptop/leds/

but if you've meant:
/sys/devices/platform/asus-nb-wmi/leds/

Here it goes:

slava@intrepid:~$ find /sys/devices/platform/asus-nb-wmi/leds/ -print
/sys/devices/platform/asus-nb-wmi/leds/
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/brightness
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/power
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/power/control
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/power/runtime_active_time
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/power/autosuspend_delay_ms
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/power/runtime_status
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/power/runtime_suspended_time
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/max_brightness
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/device
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/subsystem
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/trigger
/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/uevent

Revision history for this message
Fabien LOISON (flozz) wrote :

Ok for the files :)

The only thing missing is the binding with the physical key... Please run the "acpi_listen" command and then press the button(s) that control the backlight and give me the output.

If nothing appear in the terminal when you press the buttons, stop acpid (sudo service acpid stop)and try again.

Revision history for this message
Slava Fomin II (slavafomin) wrote :

When running acpi_listen - no messages generated when i press backlight keys.

After i stop acpid service, acpi_listen can't run:
acpi_listen: can't open socket /var/run/acpid.socket: Connection refused

Fabien LOISON (flozz)
Changed in asus-keyboard-backlight:
status: Confirmed → Won't Fix
Fabien LOISON (flozz)
Changed in asus-keyboard-backlight:
status: Won't Fix → Confirmed
Revision history for this message
Fabien LOISON (flozz) wrote :

Hello,

It seems your backlight keys are not recognized by acpid... You can try to bind an other key on the python script :(

Regards,

Revision history for this message
Slava Fomin II (slavafomin) wrote :

And how to make ACPID recognize them?

On Mon, Jun 3, 2013 at 11:57 AM, Fabien LOISON <email address hidden> wrote:

> Hello,
>
> It seems your backlight keys are not recognized by acpid... You can try
> to bind an other key on the python script :(
>
> Regards,
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1184514
>
> Title:
> Not working with ASUS N76VB and Xubuntu 13.04
>
> Status in ASUS Keyboard Backlight:
> Confirmed
>
> Bug description:
> I've installed this program and rebooted the machine, but backlight
> controls (functional keys) are still not working.
>
> My machine: ASUS N76VB
> https://www.asus.com/Notebooks_Ultrabooks/N76VB/
>
> My OS:
> Xubuntu 13.04 (Raring Ringtail)
>
> I will be glad to help you to fix this issue for this ultrabook, if
> you need any feedback from me just write me: andyidol [AT] gmail.com
> or Skype: fominslava.
>
> Thanks and good luck!
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/asus-keyboard-backlight/+bug/1184514/+subscriptions
>

Revision history for this message
Fabien LOISON (flozz) wrote :

I don't know how to make those keys recognized. I think you should ask this question to the asus-acpi developers. Alternatively you can bind an other key combination for this functionality.

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.