[opensuse] Scroll Lock LED not mapped
Hi Similar to my keys not being mapped (but oh so different). (The LED isn't broken because it works in Windows) so I assume that LED is using a different scancode to the standard one? Any one know how to re-map the LED? Num Lock and Caps Lock LEDs work fine. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
27.06.2017 18:25, Paul Groves пишет:
Hi
Similar to my keys not being mapped (but oh so different).
(The LED isn't broken because it works in Windows) so I assume that LED is using a different scancode to the standard one?
Any one know how to re-map the LED?
You need driver that drives this LED. What "ls -l /sys/class/leds" shows?
Num Lock and Caps Lock LEDs work fine.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 27/06/17 18:46, Andrei Borzenkov wrote:
ls -l /sys/class/leds
output is as follows: lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::capslock -> ../../devices/platform/i8042/serio0/input/input2/input2::capslock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::numlock -> ../../devices/platform/i8042/serio0/input/input2/input2::numlock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::scrolllock -> ../../devices/platform/i8042/serio0/input/input2/input2::scrolllock If I run: xset -led 2 led on the scroll lock LED comes on fine and of course: xset -led 2 led off works too -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
27.06.2017 21:40, Paul Groves пишет:
On 27/06/17 18:46, Andrei Borzenkov wrote:
ls -l /sys/class/leds
output is as follows:
lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::capslock -> ../../devices/platform/i8042/serio0/input/input2/input2::capslock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::numlock -> ../../devices/platform/i8042/serio0/input/input2/input2::numlock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::scrolllock -> ../../devices/platform/i8042/serio0/input/input2/input2::scrolllock
If I run: xset -led 2 led on the scroll lock LED comes on fine
and of course: xset -led 2 led off works too
OK, so what exactly does *not* work? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 28/06/17 04:25, Andrei Borzenkov wrote:
27.06.2017 21:40, Paul Groves пишет:
On 27/06/17 18:46, Andrei Borzenkov wrote:
ls -l /sys/class/leds output is as follows:
lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::capslock -> ../../devices/platform/i8042/serio0/input/input2/input2::capslock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::numlock -> ../../devices/platform/i8042/serio0/input/input2/input2::numlock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::scrolllock -> ../../devices/platform/i8042/serio0/input/input2/input2::scrolllock
If I run: xset -led 2 led on the scroll lock LED comes on fine
and of course: xset -led 2 led off works too
OK, so what exactly does *not* work?
When I press the scroll lock key the LED does not turn on but scroll lock does. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/28/2017 04:48 PM, Paul Groves wrote:
When I press the scroll lock key the LED does not turn on but scroll lock does. Same thing happens here. But then I haven't seen an actual scroll lock LED since 1986.
-- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-06-29 04:44, John Andersen wrote:
On 06/28/2017 04:48 PM, Paul Groves wrote:
When I press the scroll lock key the LED does not turn on but scroll lock does. Same thing happens here. But then I haven't seen an actual scroll lock LED since 1986.
I have one, I think, and my keyboard is recent. It is not labelled as such, though, neither is the scroll lock key. The Caps Locks key is labelled [1] (in a square box). The Bloq Num is labelled [A] (in a square box). The third led is labelled... eummm... a downward pointing arrow, underlined, and in a square box. Keyboard is a Tt esports by Thermaltake. Similar to this one: https://www.pccomponentes.com/thermaltake-tt-esports-meka-g1-gaming-keyboard If you click on the photo it expands and you can see the LEDs. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
On Thursday, 29 June 2017 11:44:19 BST Carlos E. R. wrote:
On 2017-06-29 04:44, John Andersen wrote:
On 06/28/2017 04:48 PM, Paul Groves wrote:
When I press the scroll lock key the LED does not turn on but scroll lock does.> Same thing happens here. But then I haven't seen an actual scroll lock LED since 1986.
I have one, I think, and my keyboard is recent. It is not labelled as such, though, neither is the scroll lock key.
The Caps Locks key is labelled [1] (in a square box). The Bloq Num is labelled [A] (in a square box). The third led is labelled... eummm... a downward pointing arrow, underlined, and in a square box.
Keyboard is a Tt esports by Thermaltake. Similar to this one:
https://www.pccomponentes.com/thermaltake-tt-esports-meka-g1-gaming-keyboard
If you click on the photo it expands and you can see the LEDs. On my logitech keyboard 120 (all labeled in a box), its slightly different to yours. The Num Lock led is labeled [1] The Caps Locks led is labeled [A] The Scroll lock led is labeled with an underlined downward pointing arrow but does not light up when Scroll Lock pressed -- opensuse:tumbleweed:20170626 Qt: 5.7.1 KDE Frameworks: 5.34.0 KDE Plasma: 5.10.1 kwin 5.10.1 kmail2 5.5.2 akonadiserver 5.5.2 Kernel: 4.11.6-1-default Nouveau: 1.0.15_1.2
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-06-29 13:29, ianseeks wrote:
On Thursday, 29 June 2017 11:44:19 BST Carlos E. R. wrote:
On 2017-06-29 04:44, John Andersen wrote:
On 06/28/2017 04:48 PM, Paul Groves wrote:
When I press the scroll lock key the LED does not turn on but scroll lock does.> Same thing happens here. But then I haven't seen an actual scroll lock LED since 1986.
I have one, I think, and my keyboard is recent. It is not labelled as such, though, neither is the scroll lock key.
The Caps Locks key is labelled [1] (in a square box). The Bloq Num is labelled [A] (in a square box). The third led is labelled... eummm... a downward pointing arrow, underlined, and in a square box.
Keyboard is a Tt esports by Thermaltake. Similar to this one:
https://www.pccomponentes.com/thermaltake-tt-esports-meka-g1-gaming-keyboard
If you click on the photo it expands and you can see the LEDs. On my logitech keyboard 120 (all labeled in a box), its slightly different to yours. The Num Lock led is labeled [1] The Caps Locks led is labeled [A]
Oh, you are right, I have them that way.
The Scroll lock led is labeled with an underlined downward pointing arrow but does not light up when Scroll Lock pressed
Exactly. Mine does not light up, but that might be exactly the OP issue. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
On 06/29/2017 06:44 AM, Carlos E. R. wrote:
On 2017-06-29 04:44, John Andersen wrote:
On 06/28/2017 04:48 PM, Paul Groves wrote:
When I press the scroll lock key the LED does not turn on but scroll lock does. Same thing happens here. But then I haven't seen an actual scroll lock LED since 1986. I have one, I think, and my keyboard is recent. It is not labelled as such, though, neither is the scroll lock key.
The Caps Locks key is labelled [1] (in a square box). The Bloq Num is labelled [A] (in a square box). The third led is labelled... eummm... a downward pointing arrow, underlined, and in a square box.
Keyboard is a Tt esports by Thermaltake. Similar to this one:
https://www.pccomponentes.com/thermaltake-tt-esports-meka-g1-gaming-keyboard
If you click on the photo it expands and you can see the LEDs.
Since many computers no longer have keyboard state LEDs, perhaps there should be some indicator on the task bar or a pop up indicator to show state. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 29 Jun 2017 09:03:51 -0400 James Knott <james.knott@rogers.com> wrote:
Since many computers no longer have keyboard state LEDs, perhaps there should be some indicator on the task bar or a pop up indicator to show state.
I have one installed here called Key State. Indicators for Num Lock and Caps Lock appear in the system tray. Nothing for Scroll Lock, though. -- Bob Williams System: Linux 4.4.73-18.17-default Distro: openSUSE 42.2 (x86_64) Desktop: KDE Frameworks: 5.26.0, Qt: 5.6.1 and Plasma: 5.8.2
On 06/29/2017 09:38 AM, Bob Williams wrote:
On Thu, 29 Jun 2017 09:03:51 -0400 James Knott <james.knott@rogers.com> wrote:
Since many computers no longer have keyboard state LEDs, perhaps there should be some indicator on the task bar or a pop up indicator to show state. I have one installed here called Key State. Indicators for Num Lock and Caps Lock appear in the system tray. Nothing for Scroll Lock, though.
Where did you find that? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* James Knott <james.knott@rogers.com> [06-29-17 11:47]:
On 06/29/2017 09:38 AM, Bob Williams wrote:
On Thu, 29 Jun 2017 09:03:51 -0400 James Knott <james.knott@rogers.com> wrote:
Since many computers no longer have keyboard state LEDs, perhaps there should be some indicator on the task bar or a pop up indicator to show state. I have one installed here called Key State. Indicators for Num Lock and Caps Lock appear in the system tray. Nothing for Scroll Lock, though.
Where did you find that?
google "linux system tray key state" https://www.traystatus.com/ https://www.linux-apps.com/content/show.php?content=170865 -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/29/2017 11:57 AM, Patrick Shanahan wrote:
* James Knott <james.knott@rogers.com> [06-29-17 11:47]:
On 06/29/2017 09:38 AM, Bob Williams wrote:
On Thu, 29 Jun 2017 09:03:51 -0400 James Knott <james.knott@rogers.com> wrote:
Since many computers no longer have keyboard state LEDs, perhaps there should be some indicator on the task bar or a pop up indicator to show state. I have one installed here called Key State. Indicators for Num Lock and Caps Lock appear in the system tray. Nothing for Scroll Lock, though.
Where did you find that? google "linux system tray key state" https://www.traystatus.com/ https://www.linux-apps.com/content/show.php?content=170865
Got it. btw, v0.5 now supports scroll lock. tnx jk -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 29 Jun 2017 11:44:55 -0400 James Knott <james.knott@rogers.com> wrote:
On 06/29/2017 09:38 AM, Bob Williams wrote:
On Thu, 29 Jun 2017 09:03:51 -0400 James Knott <james.knott@rogers.com> wrote:
Since many computers no longer have keyboard state LEDs, perhaps there should be some indicator on the task bar or a pop up indicator to show state. I have one installed here called Key State. Indicators for Num Lock and Caps Lock appear in the system tray. Nothing for Scroll Lock, though.
Where did you find that?
Using the plasma widget addon widget. Put 'key state' in the search box. -- Bob Williams System: Linux 4.4.73-18.17-default Distro: openSUSE 42.2 (x86_64) Desktop: KDE Frameworks: 5.26.0, Qt: 5.6.1 and Plasma: 5.8.2
On 06/29/2017 01:41 PM, Bob Williams wrote:
On Thu, 29 Jun 2017 11:44:55 -0400 James Knott <james.knott@rogers.com> wrote:
On 06/29/2017 09:38 AM, Bob Williams wrote:
On Thu, 29 Jun 2017 09:03:51 -0400 James Knott <james.knott@rogers.com> wrote:
Since many computers no longer have keyboard state LEDs, perhaps there should be some indicator on the task bar or a pop up indicator to show state. I have one installed here called Key State. Indicators for Num Lock and Caps Lock appear in the system tray. Nothing for Scroll Lock, though. Where did you find that?
Using the plasma widget addon widget. Put 'key state' in the search box.
I downloaded the one from https://www.linux-apps.com/content/show.php?content=170865. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
29.06.2017 02:48, Paul Groves пишет:
On 28/06/17 04:25, Andrei Borzenkov wrote:
27.06.2017 21:40, Paul Groves пишет:
On 27/06/17 18:46, Andrei Borzenkov wrote:
ls -l /sys/class/leds output is as follows:
lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::capslock -> ../../devices/platform/i8042/serio0/input/input2/input2::capslock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::numlock -> ../../devices/platform/i8042/serio0/input/input2/input2::numlock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::scrolllock -> ../../devices/platform/i8042/serio0/input/input2/input2::scrolllock
OK, so the first test is to make sure they actually refer to Scroll Lock LED on your keyboard. As root cat /sys/class/leds/input2::scrolllock/max_brightness Most likely "1" cat /sys/class/leds/input2::scrolllock/brightness Should be "0" echo 1 > /sys/class/leds/input2::scrolllock/brightness (or in general value from max_brightness). Does Scroll Lock LED illuminate? If yes ...
If I run: xset -led 2 led on the scroll lock LED comes on fine
and of course: xset -led 2 led off works too
OK, so what exactly does *not* work?
When I press the scroll lock key the LED does not turn on but scroll lock does.
What it does? Do you test it in GUI (X11) or text console (vt)? What happens when you press it in GUI? What happens when you press it in text console? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-06-30 18:37, Andrei Borzenkov wrote:
29.06.2017 02:48, Paul Groves пишет:
On 28/06/17 04:25, Andrei Borzenkov wrote:
27.06.2017 21:40, Paul Groves пишет:
On 27/06/17 18:46, Andrei Borzenkov wrote:
ls -l /sys/class/leds output is as follows:
lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::capslock -> ../../devices/platform/i8042/serio0/input/input2/input2::capslock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::numlock -> ../../devices/platform/i8042/serio0/input/input2/input2::numlock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::scrolllock -> ../../devices/platform/i8042/serio0/input/input2/input2::scrolllock
OK, so the first test is to make sure they actually refer to Scroll Lock LED on your keyboard. As root
cat /sys/class/leds/input2::scrolllock/max_brightness
Most likely "1"
cat /sys/class/leds/input2::scrolllock/brightness
Should be "0"
echo 1 > /sys/class/leds/input2::scrolllock/brightness
(or in general value from max_brightness). Does Scroll Lock LED illuminate?
If yes ...
It is yes here, but on "/sys/class/leds/input3::scrolllock/brightness"
If I run: xset -led 2 led on the scroll lock LED comes on fine
and of course: xset -led 2 led off works too
Same here.
OK, so what exactly does *not* work?
When I press the scroll lock key the LED does not turn on but scroll lock does.
What it does? Do you test it in GUI (X11) or text console (vt)? What happens when you press it in GUI? What happens when you press it in text console?
I don't know what should happen when I press it. :-? -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
On 30/06/17 19:02, Carlos E. R. wrote:
On 2017-06-30 18:37, Andrei Borzenkov wrote:
29.06.2017 02:48, Paul Groves пишет:
On 28/06/17 04:25, Andrei Borzenkov wrote:
27.06.2017 21:40, Paul Groves пишет:
On 27/06/17 18:46, Andrei Borzenkov wrote:
ls -l /sys/class/leds output is as follows:
lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::capslock -> ../../devices/platform/i8042/serio0/input/input2/input2::capslock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::numlock -> ../../devices/platform/i8042/serio0/input/input2/input2::numlock lrwxrwxrwx 1 root root 0 Jun 27 19:35 input2::scrolllock -> ../../devices/platform/i8042/serio0/input/input2/input2::scrolllock
OK, so the first test is to make sure they actually refer to Scroll Lock LED on your keyboard. As root
cat /sys/class/leds/input2::scrolllock/max_brightness
Most likely "1" Yes
cat /sys/class/leds/input2::scrolllock/brightness
Should be "0" Yes
echo 1 > /sys/class/leds/input2::scrolllock/brightness
(or in general value from max_brightness). Does Scroll Lock LED illuminate?
If yes ... Nope, does not illuminate
It is yes here, but on "/sys/class/leds/input3::scrolllock/brightness"
If I run: xset -led 2 led on the scroll lock LED comes on fine
and of course: xset -led 2 led off works too Same here.
OK, so what exactly does *not* work?
When I press the scroll lock key the LED does not turn on but scroll lock does.
What it does? Do you test it in GUI (X11) or text console (vt)? What happens when you press it in GUI? What happens when you press it in text console? When I go to a tty (Ctrl alt + 2) the scroll lock LED works fine
In X it does not illuminate when I press scroll lock.
I don't know what should happen when I press it. :-?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
01.07.2017 19:39, Paul Groves пишет:
When I press the scroll lock key the LED does not turn on but scroll lock does.
What it does? Do you test it in GUI (X11) or text console (vt)? What happens when you press it in GUI? What happens when you press it in text console? When I go to a tty (Ctrl alt + 2) the scroll lock LED works fine
OK, so this confirms that Scroll Lock LED works normally. In tty Scroll Lock LED reflects "output stopped" state; it will also illuminate after Ctrl-S. By default ScrollLock key toggles "output stopped" state. It is possible to redefine it. Just to make it clear - Scroll Lock LED is illuminated by software in response to some events. It has no direct relation to key with ScrollLock on its cap.
In X it does not illuminate when I press scroll lock.
Well, it is not clear what should happen here. For once, this key obviously does not stop any output, at least when pressed not in a terminal. I am not sure whether it does anything at all even in terminal emulator - I use it to switch keyboard layout so cannot test. So in general I would say that behavior is correct - Scroll Lock key in X11 does not do anything that would be associated with "output stopped" so why should LED be illuminated? Of course one may want to redefine this LED to mean something else but that's different question. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-07-01 19:31, Andrei Borzenkov wrote:
01.07.2017 19:39, Paul Groves пишет:
When I press the scroll lock key the LED does not turn on but scroll lock does.
What it does? Do you test it in GUI (X11) or text console (vt)? What happens when you press it in GUI? What happens when you press it in text console? When I go to a tty (Ctrl alt + 2) the scroll lock LED works fine
OK, so this confirms that Scroll Lock LED works normally. In tty Scroll Lock LED reflects "output stopped" state; it will also illuminate after Ctrl-S. By default ScrollLock key toggles "output stopped" state. It is possible to redefine it.
Just to make it clear - Scroll Lock LED is illuminated by software in response to some events. It has no direct relation to key with ScrollLock on its cap.
In console I get that with the "Pause" key (Pausa in Spanish), but no led illuminates. In XFCE terminal the key is ignored; ctrl-S/Ctrl-Q work. In both cases I tried by running "cat /var/log/messages" and pausing it.
In X it does not illuminate when I press scroll lock.
Well, it is not clear what should happen here. For once, this key obviously does not stop any output, at least when pressed not in a terminal. I am not sure whether it does anything at all even in terminal emulator - I use it to switch keyboard layout so cannot test.
So in general I would say that behavior is correct - Scroll Lock key in X11 does not do anything that would be associated with "output stopped" so why should LED be illuminated?
Of course one may want to redefine this LED to mean something else but that's different question.
I see. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
Just tried on another box too. Scroll Lock key is operating correctly in X but the LED does not light up. In a tty (proper command line) session the scroll lock key also operates correctly and the LED DOES light up. So I believe it is safe to assume this is a problem with X. The question is how to fix it? On 01/07/17 19:35, Carlos E. R. wrote:
On 2017-07-01 19:31, Andrei Borzenkov wrote:
01.07.2017 19:39, Paul Groves пишет:
When I press the scroll lock key the LED does not turn on but scroll lock does.
What it does? Do you test it in GUI (X11) or text console (vt)? What happens when you press it in GUI? What happens when you press it in text console? When I go to a tty (Ctrl alt + 2) the scroll lock LED works fine
OK, so this confirms that Scroll Lock LED works normally. In tty Scroll Lock LED reflects "output stopped" state; it will also illuminate after Ctrl-S. By default ScrollLock key toggles "output stopped" state. It is possible to redefine it.
Just to make it clear - Scroll Lock LED is illuminated by software in response to some events. It has no direct relation to key with ScrollLock on its cap.
In console I get that with the "Pause" key (Pausa in Spanish), but no led illuminates.
In XFCE terminal the key is ignored; ctrl-S/Ctrl-Q work.
In both cases I tried by running "cat /var/log/messages" and pausing it.
In X it does not illuminate when I press scroll lock.
Well, it is not clear what should happen here. For once, this key obviously does not stop any output, at least when pressed not in a terminal. I am not sure whether it does anything at all even in terminal emulator - I use it to switch keyboard layout so cannot test.
So in general I would say that behavior is correct - Scroll Lock key in X11 does not do anything that would be associated with "output stopped" so why should LED be illuminated?
Of course one may want to redefine this LED to mean something else but that's different question. I see.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
03.07.2017 23:03, Paul Groves пишет:
Just tried on another box too.
Scroll Lock key is operating correctly in X
What exactly does it mean? What this key does in X?
but the LED does not light up.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (8)
-
Andrei Borzenkov
-
Bob Williams
-
Carlos E. R.
-
ianseeks
-
James Knott
-
John Andersen
-
Patrick Shanahan
-
Paul Groves