[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Maybe a SoC project
-----BEGIN PGP SIGNED MESSAGE-----
the wskbd mux device can't deal with keyboards using different
scancode sets in event mode. When asked for its keyboard type it
returns garbage in such a case ( think Apple laptop with built-in ADB
keyboard and USB numberpad ) and events have no indication on which
scancode set they're using.
To deal with it we could add translation tables which map native
scancodes to USB scancodes to all keyboard drivers so they can pretend
to be USB keyboards in event mode and avoid this problem. Otherwise
we'd have to add an indication which scancode set is in use to struct
wsevent which would require userland changes.
As a bonus we could also filter out things like the volume control
keys found on various Sun and Apple keyboards and have them send PMF
events even in event mode. Maybe even make it a runtime option.
This is fairly trivial and only requires a little legwork, probably
too easy but it has to be done at some point. It also requires access
to a fairly diverse array of hardware to test it. At least a macppc
box with an ADB keyboard is absolutely essential since this is by far
the most common offender, a pre-USB Sun would be nice to have and for
reference something with a PS/2 keyboard too.
I'd mentor it, martin@ said he's interested as well.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
-----END PGP SIGNATURE-----
Main Index |
Thread Index |