Asus keyboard backlight linux

Arch Linux

Hello,
I have a problem with keyboard backlight on my asus n56vv.
My problem is identical to this post:
http://askubuntu.com/questions/383952/k … sus-ux32vd
The asus-nb-wmi wont create asus::kbd_backlight

warmos [~] $ su
Password:
root [/home/warmos] # ls -l /sys/class/leds/
total 0
lrwxrwxrwx 1 root root 0 Nov 18 10:09 phy0-led -> ../../devices/pci0000:00/0000:00:1c.1/0000:03:00.0/leds/phy0-led
root [/home/warmos] #

root [/home/warmos] # ls -l /sys/devices/platform/asus-nb-wmi/leds
ls: cannot access /sys/devices/platform/asus-nb-wmi/leds: No such file or directory
root [/home/warmos] #

modprobing asus_nb_wmi or asus_wmi doesnt help.

root [/home/warmos] # modprobe -v asus_laptop
insmod /lib/modules/3.17.3-1-ARCH/kernel/drivers/input/input-polldev.ko.gz
insmod /lib/modules/3.17.3-1-ARCH/kernel/drivers/platform/x86/asus-laptop.ko.gz
modprobe: ERROR: could not insert ‘asus_laptop’: No such device

I have also tried acpi_osi=linux vendor etc.

On linux mint 14 (on kernel 3.5.5) it worked perfectly, but when i updated to latest kernel, it stoped working, so I think its a kernel problem?:
https://bugzilla.redhat.com/show_bug.cgi?id=963819

root [/home/warmos] # uname -a
Linux localhost.localdomain 3.17.3-1-ARCH #1 SMP PREEMPT Fri Nov 14 23:13:48 CET 2014 x86_64 GNU/Linux

How can i fix that? thank you

Last edited by warmos (2014-11-18 09:38:38)

#2 2014-11-18 10:59:12

Re: Problem with keyboard backlight on asus laptop

Is it possible, to insert a module from an old kernel, to current one?

#3 2014-11-18 12:24:11

Re: Problem with keyboard backlight on asus laptop

I put +asus +keyboard +backlight host:archlinux.org in a search engine and one of the result leads to this topic
Surely Arch has better solution and messing with old modules will break in some point.
What do you find by

$ ls /sys/class/leds/ $ lsmod |grep -i asus $ sudo systemctl --all |grep kbd_backlight

EDIT
Se this AUR package fits your needs. See there mentioned link too.
Further tests

$ find /usr/lib/modules -iname '*asus-*' $ zcat /proc/config.gz |grep -i asus

Last edited by TheSaint (2014-11-19 07:41:39)

do it good first, it will be faster than do it twice the saint

Читайте также:  Ssh клиент linux настройка

#4 2014-11-19 07:03:24

Re: Problem with keyboard backlight on asus laptop

Asus G75V laptop here. My keyboard backlight is in /sys/class/leds/asus::kbd_backlight

#5 2014-11-20 05:59:08

Re: Problem with keyboard backlight on asus laptop

Theres output of commands:

warmos [~] $ ls /sys/class/leds/
phy0-led

I forgot to mention I already tried the aur package asus-kbd-backlight. Whne i run the program, it says
cat: /sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/max_brightness: No such file or directory
cat: /sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/brightness: No such file or directory

«sudo systemctl —all |grep kbd_backlight» finds nothing.

warmos [~] $ find /usr/lib/modules -iname ‘*asus-*’
/usr/lib/modules/3.17.3-1-ARCH/kernel/drivers/media/rc/keymaps/rc-asus-ps3-100.ko.gz
/usr/lib/modules/3.17.3-1-ARCH/kernel/drivers/media/rc/keymaps/rc-asus-pc39.ko.gz
/usr/lib/modules/3.17.3-1-ARCH/kernel/drivers/platform/x86/asus-wmi.ko.gz
/usr/lib/modules/3.17.3-1-ARCH/kernel/drivers/platform/x86/asus-laptop.ko.gz
/usr/lib/modules/3.17.3-1-ARCH/kernel/drivers/platform/x86/asus-nb-wmi.ko.gz

I have also tried insmod all mods mentioned up here

warmos [~] $ zcat /proc/config.gz |grep -i asus
CONFIG_USB_PEGASUS=m
CONFIG_ASUS_LAPTOP=m
CONFIG_ASUS_WMI=m
CONFIG_ASUS_NB_WMI=m

Still nothing

#6 2014-11-20 07:49:45

Re: Problem with keyboard backlight on asus laptop

Try the linux mint 14 (on kernel 3.5.5) and check

$ cat /proc/cmdline $ lsmod |grep asus

do it good first, it will be faster than do it twice the saint

#7 2014-11-20 14:13:18

Re: Problem with keyboard backlight on asus laptop

output of lsmod |grep asus:

asus_nb_wmi 20664 0
asus_wmi 22781 1 asus_nb_wmi
hwmon 12930 2 coretemp,asus_wmi
video 18043 2 i915,asus_wmi
led_class 12859 2 iwldvm,asus_wmi
rfkill 18867 4 cfg80211,bluetooth,asus_wmi
sparse_keymap 12818 1 asus_wmi
wmi 17339 2 mxm_wmi,asus_wmi

ill post commands from linux mint 14 in few secs

EDIT:
Okay im not able to try everything on linux mint 14, because it is unsupported, so I cant install anything (like installing kernel 3.5.5), but it worked on a clean install before. Output of commands:

warmos-N56VV warmos # cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic root=UUID=c53282e0-4149-4fef-b7d4-73e1955bf254 ro quiet splash vt.handoff=7

warmos-N56VV warmos # lsmod |grep asus
asus_nb_wmi 12622 0
asus_wmi 19320 1 asus_nb_wmi
sparse_keymap 13658 1 asus_wmi
wmi 18590 3 nouveau,asus_wmi,mxm_wmi

Last edited by warmos (2014-11-20 15:07:18)

#8 2014-11-20 22:04:58

Re: Problem with keyboard backlight on asus laptop

I’m proceeding by analyzing, rather than a knowledge.
The module is loader, so modprobe mostly won’t do more.
Mint 15 doesn’t put any trick on the kernel command line.
try this

find /sys/devices/platform/ -iname '*asus*'

do it good first, it will be faster than do it twice the saint

Читайте также:  Удалить видеодрайвер линукс минт

#9 2014-11-21 09:11:54

Re: Problem with keyboard backlight on asus laptop

find /sys/devices/platform/ -iname ‘*asus*’
/sys/devices/platform/asus-nb-wmi

but in the /sys/devices/platform/asus-nb-wmi directory, there’s nothing, like leds/ so I dont know, if this will help:

warmos [~] $ ls /sys/devices/platform/asus-nb-wmi/
cpufv driver driver_override hwmon input lid_resume modalias power rfkill subsystem uevent

I really dont know, what should I do next The keyboard backlight works even on Windows 8.1

#10 2014-11-21 09:37:47

Re: Problem with keyboard backlight on asus laptop

I’m think of BIOS update, is it your up to date ?
BIOS 217 is the latest.
But I don’t see your model, there’s N56VZ.
One more step.

$ find /sys/devices/platform/asus-nb-wmi/ -iname '*led*'

to see whether is down inside a subdirectory.

The keyboard backlight works even on Windows 8.1

I think, it would be a shame to sell OS and hardware that evidently doesn’t exists. Anyways, that proves the hardware is not faulty.

For my G75VX, is missing the RF led and display keys/setting not functioning, in Arch. But I can live without it.

do it good first, it will be faster than do it twice the saint

#11 2014-11-22 14:08:12

Re: Problem with keyboard backlight on asus laptop

Nope, I have the N56VV model. For this laptop, theres only bios version 202 and thats what I have installed.

root [/home/warmos] # find /sys/devices/platform/asus-nb-wmi/ -iname ‘*led*’
/sys/devices/platform/asus-nb-wmi/hwmon/hwmon0/power/runtime_enabled
/sys/devices/platform/asus-nb-wmi/input/input0/power/runtime_enabled
/sys/devices/platform/asus-nb-wmi/input/input0/event0/power/runtime_enabled
/sys/devices/platform/asus-nb-wmi/input/input0/capabilities/led
/sys/devices/platform/asus-nb-wmi/power/runtime_enabled
/sys/devices/platform/asus-nb-wmi/rfkill/rfkill0/power/runtime_enabled
/sys/devices/platform/asus-nb-wmi/rfkill/rfkill1/power/runtime_enabled

Well, yeah, but I really need the keyboard backlight, otherwise I cant see the keys at night Anyway I really appreciate that somebody is helping me)

#12 2014-11-22 15:21:38

Re: Problem with keyboard backlight on asus laptop

Yeah, sorry my mistake, I searched on an asus affiliate site.
I found your model on the Italian site .
Give a try to put acpi_osi= or acpi_osi=»!Windows 2012″ or wmi.debug_event=1 to your kernel command line.
Then saw you this?

Sorry, nighttime you may only choose win8

Читайте также:  Parental control linux mint

do it good first, it will be faster than do it twice the saint

Источник

Turn off keyboard backlight, Asus laptop (Ubuntu 15.10)

Turn on your keyboard backlight and try to switch it off with this command:

When it worked for you, create an upstart-file:

sudo gedit /etc/init/asuskbbloff.conf 
# # This task is run on startup to turn of # keyboard backlight on asus notebooks # description "turn of keyboard backlight" start on startup task exec /usr/sbin/asuskbbloff 

Reboot your system for testing.

How to enable ASUS Notebook Backlit Keyboard? |ASUS SUPPORT

How to FIX all Asus Laptop Keyboard Light Not Working (No Light keyboard Backlight ) 2020.

Ubuntu: Turn off keyboard backlight, Asus laptop (Ubuntu 15.10)

How to Turn on Keyboard Light on Asus Laptop | Asus laptop keyboard backlight Turn on

How to Turn On/Off Keyboard Back light And Screen Brightness Asus Laptops

Giorgi Khmaladze

Updated on September 18, 2022

Comments

When I boot up my laptop (Asus K501UX) keyboard backlight is turned on automatically. I want to turn it off by default, when Ubuntu is loaded, without using any hot keys. sudo find /sys/class/leds/ output:

/sys/class/leds/ /sys/class/leds/asus::kbd_backlight /sys/class/leds/phy0-led /sys/class/leds/input3::scrolllock /sys/class/leds/input3::capslock /sys/class/leds/input3::numlock /sys/class/leds/asus::wlan 

Источник

Can’t adjust keyboard backlight on Asus ROG Strix G Laptop

I’ve looked at various guides and tools for adjusting the keyboard backlight brightness of my Asus G531GT laptop on Linux. All (e.g. https://github.com/iamweird/asus-kbd-backlight) seem to work by editing a configuration file for backlight brightness. The most common configuration folder is /sys/class/leds/asus::kbd_backlight. However on my machine (with Pop OS/Ubuntu 19.04) I do not have such a folder. I do have /sys/class/leds with other subfolders, and I can use them to set the brightness of other leds on my machine, like the Caps Lock LED. Does anyone know how to fix this?

3 Answers 3

If this link doesn’t work try this one.

After downloading and extracting it to the home folder run these

cd rogauracore-retool autoreconf -i ./configure make sudo make install 
sudo rogauracore COMMAND ARGUMENTS 

Supported commands and usage:

single_static COLOR single_breathing COLOR1 [COLOR2] [SPEED] single_pulsing COLOR SPEED single_colorcycle SPEED multi_static COLOR1 COLOR2 COLOR3 COLOR4 multi_breathing COLOR1 COLOR2 COLOR3 COLOR4 SPEED rainbow [SPEED] brightness BRIGHTNESS red lime turquoise blue magenta hotPink orange green cyan indigo pink white yellow teal skyBlue violet deepPink black 
  • COLOR argument(s) should be given as color names, or hex values like ff0000.
  • SPEED argument should be given as slow, medium, or fast, or integers 1 — 3.
  • BRIGHTNESS values should be given as off, low, medium, high, or integers 0 — 3.

Источник

Оцените статью
Adblock
detector