From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu From: Fco.J.Ballesteros MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] usbhid: usb keyboard/mouse Date: Tue, 11 Nov 2003 16:46:24 +0100 Topicbox-Message-UUID: 87190526-eacc-11e9-9e20-41e7f4b1d025 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