-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setleds doesnt work with scrolllock #1516
Comments
Are you getting an error message, or does it appear to work but not affect the LEDs? |
No error message and setleds says the led should be on but it does not light. Some more testing I have been doing using ioctl directly to set keyboard LEDs and again, nun and caps work but not scroll |
What is the kernel version on working and non-working systems? ( |
non-working is I'll post the work tonight, but from memory the kernel was 4.1.x |
Can you identify the exact update which caused this. See: If you click on each commit the end of the url contains a git hash. Run |
The kernel commit on 12/4/2016 to update to 4.4.6 breaks this. Prior to this, all works fine date commit hash name -a Status |
Okay, this will be an upstream change that likely affects all linux platforms running 4.4.x kernels. |
Generic Dell 101 keyboard |
an updated.. creating a udev rule with the following enables the scrollock led to function as per normal. Doest appear a default trigger gets set for the scrollock key for the led class. ACTION=="add", SUBSYSTEM=="leds", ENV{DEVPATH}=="/input::scrolllock", ATTR{trigger}="kbd-scrollock" |
Appears I have a typo in my rules above create a file in /etc/udev/rules.d mine was called 50-leds.rules It contains the following
|
Try with three "l"s in "kbd-scrolllock". |
no, only 2 l's in kbd-scrollock and some wildcards that seem to have gotten remove in my initial report.. fixed above |
I wonder if the same fix can be applied for caps lock? |
But the source (http://lxr.free-electrons.com/source/drivers/input/input-leds.c?v=4.4#L30) says:
|
Closing due to lack of activity. Reopen if you feel this issue is still relevant. |
This issue is still relevant. It is still broken on latest raspbian: Scroll lock LED still doesn't work. |
Just tried |
The latest raspbain release using setleds -L +scroll no longer sets the scroll lock led on. Using +caps or +num still works
This was working on a build of RetroPie 3.6/3.7 but the latest 3.8.1 no longer works. I tried a clean installed on Jessie (2016/5/27) and the problem still persists
The text was updated successfully, but these errors were encountered: