Commit Graph

242 Commits

Author SHA1 Message Date
augustss
3fd5344a95 Add suspend/resume handling to the UHCI driver.
Currently it only works if the BIOS saves enough state of the controller.
Once I find a machine with a dumber BIOS I'll try to improve that.
1999-06-26 08:30:17 +00:00
augustss
701eca7576 Remove unneeded #include. 1999-06-26 03:14:25 +00:00
augustss
7ef0c8eef3 Add a quirk for mice with reversed Z-axis. 1999-06-26 00:09:15 +00:00
augustss
55fbc23acc Regen. 1999-06-26 00:08:15 +00:00
augustss
c4c81ec6fa Add another Logitech mouse. 1999-06-26 00:07:35 +00:00
augustss
475ed73e46 Get rid of a bunch of code that was part of an old USBDI proposal, but that
is unused in our USB stack.

Once upon a time, when I started writing the USB stack for NetBSD, there
was an effort to make a standard for how USB device drivers should interact
with the rest of the USB stack.  This effort had contributors from just
about all Un*x camps (but not Micro$oft :).  I based my design on one of their
early proposals since I thought it would be a good idea if we could all
share device drivers with a minimum effort.  Shortly after I started my work
all the free Un*x people were thrown out of the USBDI work since we did not
pay the USB membership fee.  Well, some time has passed now and the work of
the standardization group is almost public again.  But alas, the new standard
has grown to be a monster!  I do not want to have this as the basis for the
*BSD USB stack; it is far too complicated.
So, since we are not even close to being compilant with the standard, I've
thrown out some old baggage.
1999-06-14 17:09:57 +00:00
augustss
656245dc18 Check that the hub ports actually power up. 1999-06-14 16:59:47 +00:00
wrstuden
9f43c5a1f2 If we're the console keyboard, automatically enable the keyboard.
Should fix part of console keyboard problems on macppc. The usb keyboard will
now work on boot! Doesn't fix problems with keyboard freaking out when
changing LED state.

Thanks to Mattias & Lennart & Tsubai for input on resolving this problem.
1999-06-11 19:05:13 +00:00
augustss
c65a504ed5 Add more debug. 1999-06-10 15:48:27 +00:00
augustss
2959234be5 Fix a bug in bulk input. Discovered by Joel Chen <jchen@liberate.com>. 1999-06-09 22:57:16 +00:00
wrstuden
cd0a68c3f6 Fix use of & when % was appropriate. 1999-06-09 19:40:54 +00:00
augustss
27b9cd0724 Remove a redundant test. 1999-06-09 17:04:45 +00:00
augustss
d80294fead Regen. 1999-06-05 14:14:42 +00:00
augustss
c5255e5a48 Remove vendor from one of the descriptive strings; it's superfluous. 1999-06-05 14:14:02 +00:00
augustss
0e2edfb67a Very small formatting nit. 1999-06-05 13:43:03 +00:00
tron
e9fe988d72 Regen. 1999-06-05 09:54:29 +00:00
tron
1c05aff552 Add Brother HL-1050 laser printer. Fixes second half of PR kern/7699
by Bjoern Labitzke.
1999-06-05 09:54:09 +00:00
augustss
ac197c5354 Update documentation URLs. 1999-05-21 10:15:23 +00:00
augustss
4655ae1230 Keep track of vendor id and make sure the vendor string is NUL terminated. 1999-05-20 09:52:35 +00:00
augustss
3d6c3b5c03 Update for TI vendor id. 1999-05-20 09:51:13 +00:00
augustss
5d6176a144 Regen. 1999-05-20 09:50:39 +00:00
augustss
d25385e28e Change vendor of id 0x0451 to Texas Instruments. 1999-05-20 09:50:09 +00:00
thorpej
29184c350f Add a few more Communication Interface Class subclasses (including Ethernet
and *shudder* ATM).
1999-05-18 23:42:56 +00:00
augustss
011be0080e Add vendor/product/release locators. Added in frustration as my HID
devices appeared as different devices after some plugging and unplugging. :-)
1999-05-16 13:51:05 +00:00
augustss
041a8536ac s/revision/release/ 1999-05-16 12:05:10 +00:00
augustss
00930acefa Improve error handling. Mostly from FreeBSD. 1999-05-16 11:43:32 +00:00
augustss
9bf01fcbe5 Fix debug printf. 1999-05-14 19:38:44 +00:00
thorpej
0d0cc4aa14 Rework the way ukbd attaches itself as the console (again). We now allow
the code to pick the first USB keyboard instance as the console, ignoring
which USB controller it's on.  Should eventually allow detaching of the
console keyboard.

From Jason Thorpe <thorpej@nas.nasa.gov>
1999-05-13 23:34:38 +00:00
augustss
e16867970c More DIAGNOSTIC tests. 1999-05-13 23:29:41 +00:00
augustss
aed277e3de More digitizer defines. 1999-05-13 23:29:11 +00:00
augustss
d480a15932 Regen. 1999-05-11 09:56:56 +00:00
augustss
91e572f76d Another mouse. 1999-05-11 09:56:32 +00:00
augustss
ea2a114cf0 Fix a serious bug in bandwidth accounting that thrashed memory.
Thanks to Joel Chen <jchen@nc.com> for tracking it down.
1999-05-09 22:48:35 +00:00
augustss
69e451c1ce Call ws routines at spltty() from interrupt routines. 1999-05-09 15:10:30 +00:00
augustss
aaa0308140 Handle exclusive open bit differently. 1999-05-09 14:38:01 +00:00
augustss
d11fcba216 More debug. 1999-05-09 14:37:18 +00:00
augustss
63e051b6cf Minor rearrengment for better readability. 1999-05-09 14:36:42 +00:00
augustss
86bb7f7d58 Add some Mass Storage constants. 1999-05-09 14:35:50 +00:00
augustss
cbec5fc966 Regen. 1999-05-09 14:35:13 +00:00
augustss
e4b1b00d56 Add Microsoft DDS80. 1999-05-09 14:34:41 +00:00
thorpej
375d7c32f2 Add a way for machine-dependent code to tell a USB controller that it
has the console input device.  The USB keyboard driver uses this to
attach the first USB keyboard instance as the console keyboard.

Unfortunately, this must still be deferred to autoconfiguration time,
but there's not much we can do about that right now.
1999-05-06 19:12:22 +00:00
thorpej
bb619306e2 Add needs-flag to the ukbd device. 1999-05-06 00:42:16 +00:00
augustss
a9cd83c7af Regen. 1999-04-27 21:32:05 +00:00
augustss
9fb29eae72 Update vendor names from an official(?) list. 1999-04-27 21:30:53 +00:00
augustss
d992bbf22c Regen. 1999-04-27 18:09:00 +00:00
augustss
c05572b5b7 Add Gravis GamePad Pro (from Soren Jorvang). 1999-04-27 18:08:35 +00:00
augustss
afe636b9fa Add some digitizer usage codes. 1999-04-22 01:57:01 +00:00
augustss
1fcbe7ae13 Use the right buffer in immediate mode. 1999-04-21 19:02:26 +00:00
augustss
285bee1d61 Regen. 1999-04-03 19:03:02 +00:00
augustss
2198f62dd1 Add Visiion camera and Macally mouse. 1999-04-03 19:01:57 +00:00