Commit Graph

33 Commits

Author SHA1 Message Date
augustss
a0aeff98c4 Fix two pastos. 1998-08-05 10:16:25 +00:00
augustss
ac2b25e392 Improve some error messages.
Make some preparations for isochronous transfers.
1998-08-02 22:30:52 +00:00
augustss
607075abc6 Use wskbd enable function. 1998-08-02 22:27:01 +00:00
drochner
0dc548ce7d Adapt to wskbd interface changes; add dummy enable/disable function. 1998-08-02 14:22:25 +00:00
augustss
eba74b9369 Abort interrupt pipe on disconnect. 1998-08-01 20:52:45 +00:00
augustss
6aff95b06c Make sure to abort the interrupt pipe on disconnect of a mouse or keyboard.
Improve some error messages.
1998-08-01 20:11:38 +00:00
augustss
f654e0188e Switch from a global flag to tell if the host controller should use
polling to a local one for each controller.
1998-08-01 18:16:19 +00:00
augustss
5a1f4dd6bc Complete the scancode conversion table.
Tell the keyboard not to send idle reports.
1998-08-01 17:46:22 +00:00
augustss
a0803787f7 Add functions to execute asynchronous requests and use these from
interrupt context.
[I had some feline debugging help here.  I noticed that every time Kem,
our kitty, jumped onto the USB keyboard the machine crashed.]
1998-07-29 20:50:11 +00:00
augustss
ae97a4cbf5 Support for USB mice with Z axis or wheel. 1998-07-28 21:21:47 +00:00
drochner
1b27072062 add zero z axis argument 1998-07-27 22:34:30 +00:00
augustss
47f172660c Make ums attach to wsmouse only. 1998-07-27 18:51:32 +00:00
augustss
638fb6a638 A first stab att supporting console access with a USB keyboard. 1998-07-26 17:42:48 +00:00
augustss
4e1976a433 Use PCI class/subclass/interface to match USB host controllers instead
of vendor/product id.  This makes the probe find more controllers
without recompilation.
1998-07-26 00:40:59 +00:00
augustss
3ff58ab530 Add wscons attachments for USB keyboard. 1998-07-25 15:36:30 +00:00
augustss
6532f4f144 Add an ioctl() to get host controller statistics. 1998-07-25 15:22:11 +00:00
augustss
2c5f27cf9d Don't print device class in attach message. 1998-07-25 15:19:09 +00:00
augustss
67ec8587a0 Provide wsmouse attachment for the USB mouse driver.
XXX Keep /dev/ums* for now since XFree86 does not understand wsmouse yet.
1998-07-25 01:46:38 +00:00
augustss
b916de0f86 Add special memory allocation routines that supports allocation
DMA-able memory in small chunks (USB uses a lot of 8 byte chunks).
Using the bus_dma functions directly is inefficient.
1998-07-24 21:09:07 +00:00
augustss
06e7ed2009 Make sure requests are aborted properly when the pipe is aborted. 1998-07-24 21:02:51 +00:00
augustss
1a5dd77c56 Punt if the mouse reports absolute coordinates. 1998-07-24 20:59:57 +00:00
augustss
b79d954aac Let hid_locate() return the item flags as well as the position. 1998-07-24 20:57:46 +00:00
augustss
d6ef9cbb33 Add some comments and a function to set the alternate settings in an
interface.
1998-07-23 13:44:21 +00:00
augustss
8cdf268a45 Implement bulk transfer for OHCI. 1998-07-23 13:41:04 +00:00
augustss
c263b1d26f Don't leak memory if opening a pipe fails. 1998-07-23 09:18:37 +00:00
augustss
964fdc18b8 Use the pipe maximum packet length rather than the device max length when
setting up a transfer.
Update the UHCI data toggle correctly.
1998-07-23 01:46:27 +00:00
augustss
0f40401a23 Fix bug in freeing TD chain after bulk transfer. 1998-07-23 00:27:36 +00:00
augustss
40060e366e Loop over all configurations when trying to probe for interface drivers. 1998-07-22 12:22:08 +00:00
is
985b3e8d4d Make this compile without USBVERBOSE. 1998-07-16 12:55:19 +00:00
drochner
8babb8290c fix egcs warnings 1998-07-15 09:35:35 +00:00
augustss
20106c31ca Add some useful HID ioctl()s. 1998-07-13 10:49:41 +00:00
augustss
7732413b58 Regen. 1998-07-12 20:44:53 +00:00
augustss
deb00272b9 Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00