LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-08-2021, 10:44 PM   #1
Sunshine Glimmer
LQ Newbie
 
Registered: Feb 2021
Posts: 6

Rep: Reputation: Disabled
Question Keyboard LED's behavior when more than one keyboard is connected


Suppose, you have a computer, which does not have any specific nonstandard settings (such as multiseat).

If two or more keyboards are attached to the same machine (laptop with ext keyboard is common usecase), while the input is focused on a text entry (browser text area on a forum, text editor, terminal emulator or TTY), and you press one of keys which normally both change input mode and have a LED, indicating the current input mode, such as: Caps Lock, Num Lock, Scroll Lock (and others on exotic keyboards), then what will the system do:

a) Input mode is changed for all keyboards, LED is toggled for all keyboards simultaneously.
b) Input mode and LED state are changed only for keyboard, where key is pressed, other keyboard retain their respective input mode and LED states
c) Input mode is changed for all keyboards, however LED is toggled only on the keyboard, where the key was pressed.

Obviously, a and b are sane behaviors, since the input mode is always consistent with LED state, indicating the current input mode. However c is an erroneous behavior, since LED might indicate different input mode to what is actually active (for example, when you type, you get ALL CAPS, but CapsLed is off, or vice versa).

So, I was wondering, is there an option to select between a and b possibilities for Linux-based system?

I have not tried this on other operating systems yet. So can you tell me how they behave, if you have time and resources to test?

Last edited by Sunshine Glimmer; 02-09-2021 at 10:41 PM.
 
Old 02-09-2021, 08:16 PM   #2
Bonzoo
Member
 
Registered: Sep 2018
Location: Costa Rica
Distribution: Antix21a2,Parrot rolling,MXfce19.4,Sparky Openbox
Posts: 233

Rep: Reputation: 48
inxi --b please
 
Old 02-09-2021, 08:21 PM   #3
Bonzoo
Member
 
Registered: Sep 2018
Location: Costa Rica
Distribution: Antix21a2,Parrot rolling,MXfce19.4,Sparky Openbox
Posts: 233

Rep: Reputation: 48
3 post/ Linux newb.? Type that in the terminal "app"


Copy and paste it in a reply.
oug@sparky6:~$ inxi --b
System:
Host: sparky6 Kernel: 5.10.12-sparky-amd64 x86_64
bits: 64 Desktop: LXQt 0.16.1
Distro: SparkyLinux 6 (Po-Tolo)
Machine:
Type: Desktop Mobo: ASUSTeK model: PRIME A320M-K
v: Rev X.0x serial: <superuser required>
UEFI [Legacy]: American Megatrends v: 5408
date: 12/27/2019
CPU:
Info: Quad Core AMD Ryzen 3 3200G with Radeon
Vega Graphics [MCP]
speed: 1396 MHz min/max: 1400/3600 MHz
Graphics:
Device-1: AMD Picasso driver: amdgpu v: kernel
Display: x11 server: X.Org 1.20.10 driver:
loaded: amdgpu,ati
unloaded: fbdev,modesetting,vesa
resolution: 1366x768~60Hz
OpenGL: renderer: AMD Radeon Vega 8 Graphics
(RAVEN DRM 3.40.0 5.10.12-sparky-amd64 LLVM
11.0.1)
v: 4.6 Mesa 20.3.4
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express
Gigabit Ethernet
driver: r8169
Drives:
Local Storage: total: 223.58 GiB
used: 174.02 GiB (77.8%)
Info:
Processes: 226 Uptime: 14h 06m Memory: 5.75 GiB
used: 2.4 GiB (41.8%) Shell: Bash inxi: 3.3.00
doug@sparky6:~$

Last edited by Bonzoo; 02-09-2021 at 08:22 PM.
 
Old 02-09-2021, 10:53 PM   #4
Sunshine Glimmer
LQ Newbie
 
Registered: Feb 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
> inxi --b please

Sorry, but my question is not specific to any particular machine or GNU/Linux distribution, or even CPU ISA.
I have multiple machines, some are ARM, some i386, some amd64 and some are aarch64.

Though I am primarily thinking about X.org, I would like to receive answers regarding plain TTY, Wayland, and other non-linux OSes as well.
 
Old 02-11-2021, 06:15 PM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,901
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
On Fedora 34/KDE in Xorg, with PS/2 keyboard and USB keyboard on ordinary Intel 64bit PC, both keyboards stay totally synchronized.
 
1 members found this post helpful.
  


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
Autostart LED Settings via systemd for Logitech G810 | g810-led-git taumeister Linux - Software 3 08-10-2018 03:25 PM
[SOLVED] How to select more than 1 line,copy those selected more than one line,and paste them. shabariv Linux - Newbie 1 02-02-2015 11:51 AM
Capslock keyboard LED strange behavior. stf92 Slackware 17 08-25-2014 04:47 AM
Raspberry pi red LED on solidly with flashing green led. darkstarbyte Linux - Hardware 19 01-05-2013 06:54 PM
ACER ONE WIFI Connected LED & switch bottom Right hand side operation mario-g8ode Linux Mint 2 10-03-2009 03:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:23 PM.

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