You are not logged in.

#1 2013-05-01 09:52:32

younishd
Member
From: somewhere in Germany
Registered: 2012-09-15
Posts: 8
Website

[SOLVED] ASUS keyboard LEDs after kernel update

Hi.
I did a kernel update (linux (3.9-1 -> 3.9-2)) and now I can no longer set my laptop's keyboard LEDs using asus-kbd-backlight. neutral

$ asus-kbd-backlight max
cat: /sys/class/leds/asus::kbd_backlight/max_brightness: No such file or directory
cat: /sys/class/leds/asus::kbd_backlight/brightness: No such file or directory

Maybe the files' location has changed after the system update or the system no longer detects the LEDs.
Does anyone have an idea ?
Thanks.
~YouniS

Last edited by younishd (2013-05-13 16:17:02)


Another awesome developer, librist, cypherpunk, and GNU/Linux enthusiast, who believes in freedom, privacy, mathematics, and open source.
GitHub  |  Blog

Offline

#2 2013-05-01 10:29:02

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

Re: [SOLVED] ASUS keyboard LEDs after kernel update

What do you see in /sys/class/leds/ ? Also, this might be better placed in the [testing] section (I'm assuming you're running [testing] due to the 3.9.x kernels).

All the best,

-HG


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Offline

#3 2013-05-01 10:41:27

younishd
Member
From: somewhere in Germany
Registered: 2012-09-15
Posts: 8
Website

Re: [SOLVED] ASUS keyboard LEDs after kernel update

$ ls /sys/class/leds/
ath9k-phy0
$ ls /sys/class/leds/ath9k-phy0
brightness  device  max_brightness  power  subsystem  trigger  uevent
$ cat /sys/class/leds/ath9k-phy0/*brightness
255
255

Changing /sys/class/leds/ath9k-phy0brightness does not seem to affect the keyboard's LEDs (nor the display).

My laptop is: ASUS N56VZ

this might be better placed in the [testing] section

Yes, I have [testing] repos enabled. I'll post this in testing section then.

Thanks.
~YouniS


Another awesome developer, librist, cypherpunk, and GNU/Linux enthusiast, who believes in freedom, privacy, mathematics, and open source.
GitHub  |  Blog

Offline

#4 2013-05-01 10:43:36

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

Re: [SOLVED] ASUS keyboard LEDs after kernel update

younishd wrote:

Yes, I have [testing] repos enabled. I'll post this in testing section then.

Thanks.
~YouniS

No, don't repost. Ask the moderation team to move it.

All the best,

-HG


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Offline

#5 2013-05-01 13:30:59

fsckd
Forum Moderator
Registered: 2009-06-15
Posts: 3,538

Re: [SOLVED] ASUS keyboard LEDs after kernel update

Moving from Laptop Issues to [testing] Repo Forum.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#6 2013-05-01 13:44:19

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,619

Re: [SOLVED] ASUS keyboard LEDs after kernel update

younishd wrote:

Changing /sys/class/leds/ath9k-phy0brightness does not seem to affect the keyboard's LEDs (nor the display).

"ath9k" is the driver for Atheros wireless devices.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#7 2013-05-01 13:52:52

younishd
Member
From: somewhere in Germany
Registered: 2012-09-15
Posts: 8
Website

Re: [SOLVED] ASUS keyboard LEDs after kernel update

"ath9k" is the driver for Atheros wireless devices.

Yes, I know. I'm using that one.
The folder for the asus kbd backlight is missing.

~YouniS


Another awesome developer, librist, cypherpunk, and GNU/Linux enthusiast, who believes in freedom, privacy, mathematics, and open source.
GitHub  |  Blog

Offline

#8 2013-05-13 15:02:33

kyak
Member
Registered: 2012-01-20
Posts: 12

Re: [SOLVED] ASUS keyboard LEDs after kernel update

Same problem here after update to 3.9.2 (no testing repos).

# ls /sys/class/leds/
phy0-led
# ls /sys/class/leds/phy0-led
brightness  device  max_brightness  power  subsystem  trigger  uevent

Offline

#9 2013-05-13 16:05:58

kyak
Member
Registered: 2012-01-20
Posts: 12

Re: [SOLVED] ASUS keyboard LEDs after kernel update

After digging a bit, the following workaround solves the problem for me:

1) Automatically load the asus-nb-wmi kernel module. This module provides the asus::kbd_backlight, but doesn't load automatically for some reason:
echo asus-nb-wmi > /etc/modules-load.d/asus-nb-wmi.conf
2) Change the path in /usr/bin/asus-kbd-backlight to "/sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight".

Offline

#10 2013-05-13 16:10:49

younishd
Member
From: somewhere in Germany
Registered: 2012-09-15
Posts: 8
Website

Re: [SOLVED] ASUS keyboard LEDs after kernel update

kyak,
thank you a lot. It worked for me.
I'll mark this as solved. big_smile

~YouniS


Another awesome developer, librist, cypherpunk, and GNU/Linux enthusiast, who believes in freedom, privacy, mathematics, and open source.
GitHub  |  Blog

Offline

Board footer

Powered by FluxBB