Re: [patch] Preserve keymap adjustments on suspend/resume

2021-08-11 Thread Sergii Rudchenko
On 10 Aug 2021, at 11:26, ropers wrote: > Would this also preserve the LED status (Num, Scroll Lock, etc.)? Nope, only encoding, custom keymap (if any), bell and repeat. LEDs have escaped my attention because they are handled by lower level drivers (pckbd, ukbd, etc), not wskbd. Preserving LEDs

Re: [patch] Preserve keymap adjustments on suspend/resume

2021-08-10 Thread ropers
Would this also preserve the LED status (Num, Scroll Lock, etc.)? (I'm nobody important and probably can't help, but I'm curious.) Thanks and regards, Ian On 09/08/2021, Sergii Rudchenko wrote: > Pardon my impatience -- I am a newbie and I don't really know what > should happen next (if

Re: [patch] Preserve keymap adjustments on suspend/resume

2021-08-09 Thread Sergii Rudchenko
Pardon my impatience -- I am a newbie and I don't really know what should happen next (if anything?). I have skipped any introduction from my original email, imitating the communication style in this list -- straight to the point and because it was already long. Although this is my first patch to

[patch] Preserve keymap adjustments on suspend/resume

2021-08-06 Thread Sergii Rudchenko
According to wsconctl(8), I re-map my Caps Lock key to be a Control: keyboard.map+='keysym Caps_Lock = Control_L' After I suspend my machine I lose my modified keyboard layout and it reverts to the default layout of the chosen encoding. Looking for a solution I came across a discussion