LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-03-2015, 03:32 PM   #1
Death On Wings
LQ Newbie
 
Registered: Jul 2003
Location: Sweden
Distribution: Slackware
Posts: 28

Rep: Reputation: 5
Asus g75vw keyboard light


Hello
I have an Asus G75vw and everything works fine except the keyboard shortcuts and the baklit keyboard.

How am i supose to get this to work? The shortcuts ( FN keys) is not susch a big pain in the ass but the light on the keyboard sure is nice to have when you sit in a dark room and searching for pr0n

Any sugestions how to get this working?

Using slackware 14.1 atm
 
Old 02-03-2015, 04:03 PM   #2
Death On Wings
LQ Newbie
 
Registered: Jul 2003
Location: Sweden
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 5
Could this be of any help?

Code:
bash-4.2# lsmod
Module                  Size  Used by
i2c_dev                 5843  0 
ipv6                  292446  72 
asus_nb_wmi             6592  0 
uvcvideo               71742  0 
videobuf2_vmalloc       2912  1 uvcvideo
videobuf2_memops        1879  1 videobuf2_vmalloc
videobuf2_core         27437  1 uvcvideo
videodev              102061  2 uvcvideo,videobuf2_core
cpufreq_ondemand        8799  0 
lp                      9851  0 
ppdev                   5862  0 
parport_pc             19332  0 
parport                30389  3 lp,ppdev,parport_pc
ath3k                   6877  0 
btusb                  16152  0 
bluetooth             220548  3 ath3k,btusb
joydev                  9751  0 
fuse                   73848  1 
snd_hda_codec_hdmi     29622  4 
snd_hda_codec_via      19806  1 
nvidia               8317050  45 
intel_powerclamp        8391  0 
coretemp                5870  0 
kvm_intel             126236  0 
kvm                   363491  1 kvm_intel
asus_wmi               16202  1 asus_nb_wmi
crc32_pclmul            2883  0 
crc32c_intel           14113  0 
sparse_keymap           3074  1 asus_wmi
ath9k                  87291  0 
ath9k_common            1951  1 ath9k
ath9k_hw              369458  2 ath9k_common,ath9k
snd_hda_intel          34861  1 
snd_hda_codec         143196  3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
ghash_clmulni_intel     4333  0 
ath                    15545  3 ath9k_common,ath9k,ath9k_hw
snd_hwdep               6388  1 snd_hda_codec
mac80211              429423  1 ath9k
psmouse                81058  0 
serio_raw               4585  0 
drm                   229054  2 nvidia
mperf                   1163  0 
snd_pcm                76009  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
evdev                   9648  8 
cfg80211              380228  3 ath,ath9k,mac80211
snd_page_alloc          7098  2 snd_pcm,snd_hda_intel
agpgart                27267  1 drm
snd_timer              18614  1 snd_pcm
snd                    58630  9 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_hda_codec,snd_hda_intel
atl1c                  34906  0 
microcode              13140  0 
rfkill                 15522  4 cfg80211,bluetooth,asus_wmi
soundcore               5354  1 snd
mei_me                  7728  0 
i2c_i801               13860  0 
ehci_pci                3688  0 
xhci_hcd               88528  0 
mei                    42963  1 mei_me
ehci_hcd               39275  1 ehci_pci
i2c_core               20936  5 drm,i2c_i801,i2c_dev,nvidia,videodev
lpc_ich                12841  0 
thermal                 8644  0 
wmi                     8243  1 asus_wmi
video                  11451  1 asus_wmi
processor              27543  0 
thermal_sys            22993  4 video,intel_powerclamp,thermal,processor
freq_table              2628  2 cpufreq_ondemand,thermal_sys
battery                11579  0 
hwmon                   1337  3 coretemp,thermal_sys,asus_wmi
button                  4696  0 
ac                      4311  0 
loop                   18479  0
Code:
bash-4.2# dmesg | grep asus
[    3.893441] asus_wmi: ASUS WMI generic driver loaded
[    3.894472] asus_wmi: Initialization: 0x1asus_wmi: BIOS WMI version: 7.9
[    3.894915] asus_wmi: SFUN value: 0x6a0877<6>[    3.895031] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[    3.902315] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input6
[    4.004275] asus-nb-wmi: probe of asus-nb-wmi failed with error -5
[    8.013156] asus_wmi: Initialization: 0x1
[    8.013179] asus_wmi: BIOS WMI version: 7.9asus_wmi: SFUN value: 0x6a0877
[    8.013805] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input15
[    8.075721] asus_wmi: Backlight controlled by ACPI video driver
Update:

I found this guide
http://esausilva.com/2013/06/07/keyb...cow-asus-n56v/

And i got the light on the keyboard working with the command.
Code:
 echo 10 | tee asus\:\:kbd_backlight/brightness
But i still cant get it to work with the FN keys and it wont light up at boot as the guide said it wold. What am i doing wrong here?

Last edited by Death On Wings; 02-03-2015 at 04:26 PM. Reason: New information
 
Old 02-03-2015, 05:44 PM   #3
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
I used kde, custom shortcuts using the function keys marked for the keyboard lights

light on:
Code:
echo 2 > /sys/class/leds/asus\:\:kbd_backlight/brightness
light off:
Code:
echo 0 > /sys/class/leds/asus\:\:kbd_backlight/brightness
 
Old 02-04-2015, 12:53 AM   #4
Death On Wings
LQ Newbie
 
Registered: Jul 2003
Location: Sweden
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 5
Is there any way to do this in fluxbox?
 
Old 02-04-2015, 08:04 AM   #5
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
I'm sure there is... but not having to go through hell to get a button to work is one of the reasons i run kde.

you should be able to take those commands, possibly modifying permissions on what they touch, and put them into a script you can alias to run, making it simple as well.

My personal opinion... esp on a laptop... kde is well worth it's.. weight.
 
Old 02-04-2015, 09:53 AM   #6
genss
Member
 
Registered: Nov 2013
Posts: 741

Rep: Reputation: Disabled
Quote:
Originally Posted by Death On Wings View Post
Is there any way to do this in fluxbox?
in ~/.fluxbox/keys
something like
Code:
None Shift Mod1 b :Exec echo 2 > /sys/class/leds/asus\:\:kbd_backlight/brightness
where "None" means global and "Shift Mod1 b" means shift+alt+b
(add some different button to turn it off, ofc)

don't know how fluxbox will deal with ">" so you may need to make a script and put it instead of the echo stuff
but it should work

Last edited by genss; 02-04-2015 at 09:55 AM.
 
Old 02-04-2015, 10:50 AM   #7
Death On Wings
LQ Newbie
 
Registered: Jul 2003
Location: Sweden
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by WhiteWolf1776 View Post
I'm sure there is... but not having to go through hell to get a button to work is one of the reasons i run kde.

you should be able to take those commands, possibly modifying permissions on what they touch, and put them into a script you can alias to run, making it simple as well.

My personal opinion... esp on a laptop... kde is well worth it's.. weight.
Have not used kde since i installed my first Linux dist (mandrake) and that must be 2001-2002. I gues i can give it a try and see if it runs better now

Can i run the script in startup if i just ignore the hotkeys?
 
Old 02-04-2015, 10:57 AM   #8
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
Don't see why not, just add it to system settings->startup and shutdown.. I do something similar to make this huge track pad stop taking input for a second after i stop typing.
 
Old 02-04-2015, 11:46 AM   #9
Death On Wings
LQ Newbie
 
Registered: Jul 2003
Location: Sweden
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 5
Just added your command to the rc.local so i had the lights on before i started up X.
Thank you so much for the help

Code:
echo 3 > /sys/class/leds/asus\:\:kbd_backlight/brightness
 
Old 02-04-2015, 01:04 PM   #10
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
Happy to help. If you don't mind, go up to the top and mark this as solved so it gets into the right group.

Happy Slackin'
 
  


Reply



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
If You Use An ASUS G75VW Notebook... tb75252 Linux - Newbie 1 12-10-2012 08:54 AM
numlockx forks fine, but the keyboard LED doesn't light on XFCE cccc Debian 3 03-05-2012 11:37 AM
Choosing a light distro w/ keyboard layout switching newtolinux132 Linux - Distributions 3 03-16-2008 11:47 PM
bZerk keyboard w/ blue light.. with no light? Flexo Linux - Hardware 0 03-06-2006 04:03 PM
Fedora 4: Asus A7n8x Can't get Marvell GigE to light up lsgko Linux - Networking 1 08-24-2005 06:14 AM

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

All times are GMT -5. The time now is 11:47 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