LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 03-23-2011, 07:46 AM   #1
sameersbn
LQ Newbie
 
Registered: Jun 2005
Location: Bangalore, India
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
Scroll Lock LED will not glow (automatically)


Hello,

I am not using any particular distribution of linux. I have built my own linux rootfs for an embedded hardware. The filesystem of the system relies primarily on busybox-1.15.2 and runs the busybox sh shell.

One problem i am facing is that the scroll lock led will not toggle when the scroll lock key is pressed.

If the key events are read via the event interface the scroll lock keypress and release events are received. The LED however does not glow and neither are the EV_LED type events are received for the scroll lock key presses.

I am able to turn the LED on and off manually via the event interface using the code:

<pre>
struct input_event ev;
ev.type = EV_LED;
ev.code = LED_SCROLLL;
ev.value = 1; /* 1 to turn on, 0 otherwise */
write (fd &ev, sizeof (struct input_event));
</pre>

I am trying to figure out how to get the scroll lock leds to glow normally (like the caps lock and num lock led behaviour)

Numerous google searches on the matter bring up some bug in XServer. However i am not using the Xserver. This is a plain console terminal.

Another thing i have noticed is that if i programatically turn on the scroll lock led and then press the numlock or capslock key, the scroll lock led is automatically turned off.

Please help

Thanks and Regards
~Sameer
 
  


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
all software installs hang scroll lock and caps lock lights flash jcorrnt Linux - Hardware 6 02-07-2009 12:44 PM
Caps Lock & Scroll Lock Flashing thedug Linux - General 6 06-07-2008 09:43 PM
Hard lock plus Caps and Scroll Lock flashing (kernel panic?) TiredOfThis Linux - General 4 12-11-2007 07:35 PM
wifi led does not glow in acer travelmate Abhishek14 Linux - Hardware 3 03-09-2006 09:24 AM
RedHat 9.0 freezes with blinking Caps lock and Scroll lock queen-bee Linux - Software 0 07-30-2004 10:40 PM

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

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