LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2016, 12:20 PM   #1
boatwire
LQ Newbie
 
Registered: Dec 2016
Posts: 4

Rep: Reputation: Disabled
Question How do I activate the LED backlighting of a Devastator II keyboard?


Can anyone give this novice a Step-by-Step process that will automatically illuminate the LED backlighting of a Devastator II keyboard upon Start Up? I'm running Kali Linux. The keyboard's Instructions refer to the Scroll Lock key for toggling ON/OFF. Apparently, that's for a Windows OS as it has no effect. And, if there is a way to control the brightness of the backlight, that could be useful, as well. Thanks.
 
Old 12-20-2016, 12:27 PM   #2
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
https://ubuntuforums.org/showthread.php?t=2257710

https://ubuntuforums.org/showthread.php?t=2208222

http://blog.rumyhub.com/post/2015/01...ht-button.aspx


Have you googled? There are lots of hits on this topic.
 
1 members found this post helpful.
Old 12-20-2016, 12:53 PM   #3
boatwire
LQ Newbie
 
Registered: Dec 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks, erik2282. I have Googled it, just not sure I completely understand the procedure(s).
 
Old 12-20-2016, 01:02 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
power supply. it has to have one.

the procedure of that first link looks copy paste to me.

Code:
#!/bin/bash
FLAGS=$(xset -q | awk 'NR==2' | awk '{ print $10 }')
if [ "$FLAGS" = 00000000 ]; then
	xset led on
else
	xset led off
fi
then you'd have to put a line in your .xinitrc or somewhere file that will load the shell script upon login, or in a place your kernel will run it upon boot up. Just be sure you have xset installed.

Last edited by BW-userx; 12-20-2016 at 01:04 PM.
 
1 members found this post helpful.
Old 12-20-2016, 05:03 PM   #5
boatwire
LQ Newbie
 
Registered: Dec 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Woohoo! keyboard is illuminated!! Thanks for the assistance.
 
Old 12-20-2016, 05:27 PM   #6
boatwire
LQ Newbie
 
Registered: Dec 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
By chance, would it be possible to get the backlight powered up BEFORE signing in on Kali, when I power up the pc?
 
  


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
Capslock keyboard LED strange behavior. stf92 Slackware 17 08-25-2014 04:47 AM
Covertly activate a webcam without turning on its LED? displace Linux - Security 7 12-23-2013 11:29 AM
Caps on but no LED in keyboard marco18 Linux - Hardware 14 02-21-2011 06:05 PM
Using keyboard LED for HDD activity DropSig Linux - General 5 12-11-2008 09:53 PM
Backlit LED Keyboard Problem Abomb Linux - Hardware 1 01-19-2006 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:13 AM.

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