Re: [PATCH] Xen Keyboard: don't advertise every key known to man

From
Phillip Susi <hidden>
Date
2021-05-18 16:23:53
Also in
xen-devel
Reply to
Dmitry Torokhov, 2021-05-06
Dmitry Torokhov writes:
By doing this you are stopping delivery of all key events from this
device.
It does?  How does the PS/2 keyboard driver work then?  It has no way of
knowning what keys the keyboard has other than waiting to see what scan
codes are emitted.

If the keys must be advertised in order to emit them at runtime, then I
see no other possible fix than to remove the codes from the modalias
string in the input subsystem.  Or maybe allow certain drivers that
don't know to set some sort of flag that allows them to emit all codes
at runtime, but NOT advertise them so you end up with a mile long
modalias.
Thread (4 messages) 4 messages, 2 authors, last reply 2021-05-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help