9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] usbhid: usb keyboard/mouse
@ 2003-11-11 15:46 Fco.J.Ballesteros
  0 siblings, 0 replies; only message in thread
From: Fco.J.Ballesteros @ 2003-11-11 15:46 UTC (permalink / raw)
  To: 9fans

I've pushed into sources /sys/src/cmd/usb/hid (under /nemo).
It's a usb keyboard / mouse usb driver with some keymaps.
I've been using it for some days with both keyboard&mouse,
and have tested it several times
with just a usb mouse. Although I consider it as beta and will
push (and let you know) a more stable version, I think it can
be used.

It uses the approach suggested by presotto, i.e. it mounts itself
at /dev supplying fake cons/consctl files. This means that
to use it at boot time you'd also need a change in /sys/src/9/boot/boot.c
to start both usbd and usbhid. (and also a change in /lib/namespace
to mount /srv/kfd (besides #c) for programs calling newns).

I'll post all the changes needed after doing more testing and
dismantling the `alternate keyboard driver' (keymaps are
now implemented within usbhid).

hth



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-11 15:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-11 15:46 [9fans] usbhid: usb keyboard/mouse Fco.J.Ballesteros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).