Port-hp300 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD/hp300 switched to wscons



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Feb 11, 2011, at 11:32 PM, Izumi Tsutsui wrote:

Extremely cool - does this mean an MI m68k wscons X server is feasible?

MI wsfb Xorg driver is working on hpcarm, hpcmips, hpcsh, and dreamcast
etc. so no reason not on m68k :-)

The only remaining problem is keymap, but Xorg's sources are
too complicated to track how keycode and keymaps are processed...
(It heavily depends on AT/XT keyboard)

All the voodoo we need to care about is in the xf86-input-keyboard driver, see xsrc/external/mit/xf86-input-keyboard/dist/src/ bsd_KbdMap.c, there's a bunch of tables which map Sun, ADB etc. scancodes to AT-ish ones used by Xorg. Add a table for HIL, add a case: for it to KbdGetMapping and that's pretty much it. Alternatively you could let the HIL keyboard driver produce USB scancodes in event mode and change its type to WSKBD_TYPE_USB - that wouldn't need any changes in X. Eventually I'll do that with ADB and Sun keyboard drivers so they can live on the same mux with USB keypads and the like in event mode too. I'd do the above myself but unfortunately my 345 is still on the other side of the atlantic.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBTVc+mMpnzkX8Yg2nAQJggwgAtu4o3k73Rt29mkAG5LEexPWTg1lmvlb7
wpDzYgoJIK1GQAuWbIbbQyMgnBKL/wpAQcVb0ckUND3QY43dYcu4bM4LLR2LVxFx
vE41vqA0pZA61KBG8AOWMNSxBdkc1sPRYjF0/02ik9FXjbBthvV4BhBlxNkLK4B3
VEnH9j74rNc0Nwv1QxLIat1Ed1QZ7ssGBujJqk1wd5HQ2b9zB932fYma9Ke6Trlr
t66sOyCRcrwtkNncs+fL/lzy6Otsji9y8De2Y7h0ra73l7lGzW+FnIUGAGn0hti7
a+KZkLT9lGqlhYkpJrb5WdTiH5br8pMG7IhOqWt8nydwF38IegA+Bg==
=c2p2
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index