LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-19-2018, 08:38 PM   #1
narke
Member
 
Registered: Apr 2010
Posts: 197

Rep: Reputation: 5
Turn off Asus laptop's keyboard backlight


The laptop is an Asus FX53vd. Its back-light after booting into my Slack 14.2 is always on. There are two function keys which, when I would be in Windows, can be used to adjust the brightness (from very bright to total off) of the back-light.

In my Slack, I've not figured out a way to make the adjusting keys work. I have the following WMI related information from dmesg:

Quote:
[ 6.614911] asus_wmi: ASUS WMI generic driver loaded
[ 6.620704] asus_wmi: BIOS WMI version: 8.1
[ 6.621261] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input10
I am guessing there should exist some GPIO virtual file that can be write in one or zero to control the keys but I have no more knowledge about that.

Does someone get any experience? Thanks in advance.

-woody
 
Old 06-20-2018, 09:28 AM   #2
narke
Member
 
Registered: Apr 2010
Posts: 197

Original Poster
Rep: Reputation: 5
I like to give more findings. I found in the kernel it's the asus-laptop driver which should control the keyboard backlight, but this module was not loaded. Then I tried to manually load it with modprobe and insmod, I got an erro: No such device. Then I traced the driver execution and found the 'asus_acpi_add()' function was never got called. I also noticed there is a device id table which includes some id's ATK****, so I am guessing, does it mean my laptop need a new ID entry? Who has more info about these ATK id's and what are they for?

Thanks.
 
Old 06-20-2018, 01:38 PM   #3
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 367

Rep: Reputation: 185Reputation: 185
Hi narke, I have several Asus laptops and I tested a few elaborate scripts to handle keyboard backlight, using keybindings in i3 or DWM.

I later noticed that xfce4-power-manager is able to do the job with less effort. Open xfce4-power-manager-settings and simply activate 'Handle display brightness keys.' On all my devices, that enables the keyboard backlight keys.

Slackware includes xfce already, and even if you didn't install it, you can use the power manager as a stand-alone.
 
Old 06-20-2018, 09:53 PM   #4
narke
Member
 
Registered: Apr 2010
Posts: 197

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by phalange View Post
Hi narke, I have several Asus laptops and I tested a few elaborate scripts to handle keyboard backlight, using keybindings in i3 or DWM.

I later noticed that xfce4-power-manager is able to do the job with less effort. Open xfce4-power-manager-settings and simply activate 'Handle display brightness keys.' On all my devices, that enables the keyboard backlight keys.

Slackware includes xfce already, and even if you didn't install it, you can use the power manager as a stand-alone.
I don't get it. I started the xfce4 and launched the power-manager, I found the "handle display brightness keys" already activated. But I still cannot operate my keyboard brightness adjusting keys. And, from logic, I still don't understand why 'display brightness key' has something to do with 'keyboard backlight keys'. In additional, I want to report, I cannot run xfce4-power-manager in KDE or via other stand-alone mode, I have to start it from xfce4 application menu in the xfce4 environment.

Thanks.
 
Old 02-25-2020, 07:11 PM   #5
eromana
LQ Newbie
 
Registered: Jul 2018
Posts: 3

Rep: Reputation: Disabled
turnig off the keyboard backlight

According to

https://ubuntu-mate.community/t/keyb...unlock/6914/29


To disable the keyboard backlight completely, including the keyboard function keys
that controls the keyboard backlight on-off-dimer switch,

Edit the Linux file:

# vim /etc/dbus-1/system.d/org.freedesktop.UPower.conf

and in the 2 lines that contain 'KbdBacklight', change from 'allow' to 'deny'.

from:

<allow send_destination="org.freedesktop.UPower.KbdBacklight"
send_interface="org.freedesktop.DBus.Properties"/>

to:

<deny send_destination="org.freedesktop.UPower.KbdBacklight"
send_interface="org.freedesktop.DBus.Properties"/>

and from:

<allow send_destination="org.freedesktop.UPower"
send_interface="org.freedesktop.UPower.KbdBacklight"/>
to:

<deny send_destination="org.freedesktop.UPower"
Asend_interface="org.freedesktop.UPower.KbdBacklight"/>

In my particular case: Asus 304AUK, Linux Mint 18.3, kernel 4.4-70, upstart,
changing only the second line one worked best for me.

For me the setting take effect immediately upon saving the file, no restart needed.

Last edited by eromana; 02-25-2020 at 07:16 PM.
 
Old 02-25-2020, 07:37 PM   #6
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,281

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
This link might help, https://unix.stackexchange.com/quest...-using-hotkeys
If you can get it working from the command line, then can get a script for the function keys to call.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sony laptop - keyboard backlight bizarre behaviour : not working on boot, working after sleep resume jopopo Linux - Laptop and Netbook 13 05-29-2018 02:04 PM
How to turn off the blue backlight of hama urage exodus (2) keyboard? patrick295767 Linux - Hardware 11 03-22-2016 02:54 PM
[SOLVED] ASUS N56V Keyboard backlight not working joe_2000 Linux - Hardware 6 05-26-2013 02:38 PM
xset does not turn off backlight neonsignal Linux - Hardware 4 07-28-2009 10:33 PM
Force Backlight to turn off? mEo Linux - Laptop and Netbook 2 04-01-2008 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration