tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Maybe a SoC project
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
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.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBS7TpfspnzkX8Yg2nAQJ1Ogf+L26TNaXaJf1XW1KT6alDO0Z1Gtxm89OU
yfjKmcrrRKdOmpwSxaKMvTMG1p3qoKHhYPRLVQJhE9a8o3BnHp0XVBk+SFz8chAe
8Dk9fDNmhySPs5cFyCBJsc0eAFcWbDBCzoSqm5rwr7nlo8hpUVcje05of7hGDF/e
54IyNmO+T47ys2g6z9HUlEe4TmGc1SMDAgKnT9XPlCAuRmf+9cn0dQd1XSrunOj+
LJqUgQKK62m72Al1ubnwDkzxK5I/2fRayajUof9pQLnqom1ylj/ZVKnxk19qbZVG
XU2zFsoZxEK7rqsmsM4AFDf7vHhg7QSJd0G30DYp+Jlkugxf+NPYTQ==
=cNul
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index