Capslock LED does not turn on
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
1
down vote
favorite
I have a raspberry with raspbian-lite and the problem is that the capslock led does not work when the keyboard is connected to it. The problem is not with the keyboard, as it works on other computers.
I tried doing
ioctl(STDOUT_FILENO, KDSETLED, 7);
which supposedly turns on every led, but the capslock didn't (the others yes).
But if I write 1
instead of 0
directly to the file that contains the brightness info of the capslock led (located somewhere at /sys
) then it turns on.
Why does not the led work without writing directly to the file?
I also noticed that the event file of the usb interface which contains the leds (in /dev
) does not work as expected. I tried in other computers to read the equivalent file, and when I press capslock or numlock some data appears. In the file in the raspberry when I do the same thing data does not appear.
keyboard raspbian capslock
add a comment |Â
up vote
1
down vote
favorite
I have a raspberry with raspbian-lite and the problem is that the capslock led does not work when the keyboard is connected to it. The problem is not with the keyboard, as it works on other computers.
I tried doing
ioctl(STDOUT_FILENO, KDSETLED, 7);
which supposedly turns on every led, but the capslock didn't (the others yes).
But if I write 1
instead of 0
directly to the file that contains the brightness info of the capslock led (located somewhere at /sys
) then it turns on.
Why does not the led work without writing directly to the file?
I also noticed that the event file of the usb interface which contains the leds (in /dev
) does not work as expected. I tried in other computers to read the equivalent file, and when I press capslock or numlock some data appears. In the file in the raspberry when I do the same thing data does not appear.
keyboard raspbian capslock
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a raspberry with raspbian-lite and the problem is that the capslock led does not work when the keyboard is connected to it. The problem is not with the keyboard, as it works on other computers.
I tried doing
ioctl(STDOUT_FILENO, KDSETLED, 7);
which supposedly turns on every led, but the capslock didn't (the others yes).
But if I write 1
instead of 0
directly to the file that contains the brightness info of the capslock led (located somewhere at /sys
) then it turns on.
Why does not the led work without writing directly to the file?
I also noticed that the event file of the usb interface which contains the leds (in /dev
) does not work as expected. I tried in other computers to read the equivalent file, and when I press capslock or numlock some data appears. In the file in the raspberry when I do the same thing data does not appear.
keyboard raspbian capslock
I have a raspberry with raspbian-lite and the problem is that the capslock led does not work when the keyboard is connected to it. The problem is not with the keyboard, as it works on other computers.
I tried doing
ioctl(STDOUT_FILENO, KDSETLED, 7);
which supposedly turns on every led, but the capslock didn't (the others yes).
But if I write 1
instead of 0
directly to the file that contains the brightness info of the capslock led (located somewhere at /sys
) then it turns on.
Why does not the led work without writing directly to the file?
I also noticed that the event file of the usb interface which contains the leds (in /dev
) does not work as expected. I tried in other computers to read the equivalent file, and when I press capslock or numlock some data appears. In the file in the raspberry when I do the same thing data does not appear.
keyboard raspbian capslock
edited Aug 3 at 22:20
asked Aug 3 at 17:00
Garmekain
1715
1715
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f460380%2fcapslock-led-does-not-turn-on%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password