Commit Graph

1051 Commits

Author SHA1 Message Date
augustss 9a52f80f0f Make the controller survive suspend/resume. Thanks to Steve Woodford
<steve@mctavish.co.uk> for testing.
2000-12-31 14:29:54 +00:00
augustss 271adbd54e Try to get rounding right when setting mixer values. 2000-12-29 14:49:28 +00:00
augustss 560f4a2254 Set the mixer delta field. 2000-12-29 13:28:41 +00:00
augustss 34ee8a0f06 Supply our own report descriptor (from Nick Hibma) for the Wacom Graphire.
The descriptor it reports is broken.
XXX Not tested, because I don't have the device.
2000-12-29 01:47:49 +00:00
augustss 79f0bd6e1f Update many URLs. 2000-12-29 01:24:55 +00:00
augustss e9853f047a Update location of specs. 2000-12-29 01:14:15 +00:00
augustss 20d1ae1adb Add two more quirks:
UQ_AU_NO_FRAC for audio devices that cannot handle adjustment for fractional
    sample size.
  UQ_AU_INP_ASYNC for input devices that claim to be adaptive, but are in fact
    asynchronous (an easy mistake to make unless you read the specs carefully :)
2000-12-28 11:56:22 +00:00
augustss 1e0da50daa Regen. 2000-12-28 11:53:25 +00:00
augustss bdcc0b7ad1 Add device no for YAP phone with firmware loaded. 2000-12-28 11:53:01 +00:00
augustss 4dbac77503 #define for USB_2_0 2000-12-28 10:40:36 +00:00
augustss 5236b76556 Make message about ignored endpoint a little clearer. 2000-12-28 01:01:42 +00:00
augustss d2098567fe Add audio terminal types. 2000-12-28 00:29:58 +00:00
augustss 19c0d40186 Even stubs need improvements. 2000-12-24 06:42:34 +00:00
augustss 63fbac9a7d Add some placeholders for the EHCI (USB 2) driver.
Don't get your hopes up.  I've not even finished reading the
(100+) page spec, and I have no hardware.
2000-12-24 06:39:01 +00:00
matt 9efc721402 Don't use atapi_print since if there are no wdc's, it won't be present. 2000-12-18 19:57:47 +00:00
tsutsui 3bd1aace1b Add missed le32toh() in uhci_device_isoc_abort(). 2000-12-18 15:55:30 +00:00
augustss d1c538bc2f Don't repeat 'host controller halted' message. From OpenBSD. 2000-12-16 16:09:24 +00:00
thorpej 71cbcad899 ALTQ'ify. 2000-12-14 07:51:36 +00:00
augustss 34bb7b9a35 Don't try to access a device that is being disconnected when generating
the detach event.  Fixes (I hope) PR 11713 from itohy@netbsd.org (ITOH Yasufumi).
2000-12-13 04:05:14 +00:00
augustss eb210eda08 Make the ohci driver not hang suspend/resume. It still doesn't resume
correctly.  From itohy@netbsd.org (ITOH Yasufumi) PR kern/11714.
2000-12-13 03:09:06 +00:00
augustss 4df48420a1 Another Ethernet device. From nagae@tk.airnet.ne.jp in PR kern/11711. 2000-12-13 02:49:22 +00:00
augustss 9214be27c3 Regen. 2000-12-13 02:48:25 +00:00
augustss 9e199a03e6 Add another Melco LUA-TX device. 2000-12-13 02:47:26 +00:00
thorpej c5293456da Adapt to bpfattach() changes, and further centralize the bpfattach()
and bpfdetach() calls into link-type subroutines where possible.
2000-12-12 18:00:22 +00:00
augustss 6e11678a15 Get rid of UQ_ASSUME_CM_OVER_DATA quirk; it's handled differently now. 2000-12-11 05:41:00 +00:00
itojun 0db3a835e2 regen 2000-12-08 08:13:45 +00:00
itojun 313bdadaa7 add STSN internet access device (no driver yet) 2000-12-08 08:13:34 +00:00
augustss e5de940d42 Add a DIAGNOSTIC message. 2000-12-08 02:33:44 +00:00
augustss 330a5e12fa Don't call ether_ifdetach since we're not an ether driver. 2000-12-08 02:24:07 +00:00
augustss dfd78cfc78 Set the debug level to 0. 2000-12-08 01:53:44 +00:00
augustss 28ca8986f0 Regen. 2000-12-07 01:02:42 +00:00
augustss 2532d95d53 Add an Atmel hub and a Logitech mouse. 2000-12-07 01:02:12 +00:00
jdolecek 80a6068f99 add I/O Data USB-ET/T (which uses KL5KUSB101B) to the list
Patch sent in kern/11635 by ORI Manabu
2000-12-06 21:44:08 +00:00
jdolecek 08ab4a9ad7 regen 2000-12-06 21:39:28 +00:00
jdolecek c3dbd34e68 add I/O Data USB-ET/T id, sent in kern/11635 by ORI Manabu 2000-12-06 21:38:03 +00:00
augustss f680fa762c Make sure to increment reference count while the (lengthy) opening
operation is happening so we don't lose on disconnect.
2000-12-05 14:01:33 +00:00
augustss d801d9ec2b Regen. 2000-12-05 03:12:47 +00:00
augustss d604cf563b Add another Epson printer. 2000-12-05 03:12:11 +00:00
augustss 0a739c7166 A portability define. 2000-12-04 03:38:56 +00:00
augustss f4d0a8c54a Regen. 2000-12-04 03:37:07 +00:00
augustss e2925e0555 Add YAP Phone. 2000-12-04 03:36:42 +00:00
augustss 7ec52ba411 Improve a debug message. 2000-11-26 21:05:02 +00:00
augustss 88bf6139e5 Regen. 2000-11-26 21:04:43 +00:00
augustss 63dfc5b570 Add an Intel camera (rfom OpenBSD). 2000-11-26 21:04:20 +00:00
takemura 3c9d9276dc Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
2000-11-26 11:08:57 +00:00
soren efadefb53f In uhci_intr(), only warn about power state confusion if the
interrupt was actually for us.
2000-11-22 05:50:59 +00:00
soren 6f8985cf15 Regen. 2000-11-21 00:25:04 +00:00
soren 7736bcc821 Add Prolific printer adapter. 2000-11-21 00:24:12 +00:00
augustss ef36370776 Regen. 2000-11-15 14:36:50 +00:00
augustss d57ee8b358 Add Sony memory stick. 2000-11-15 14:36:09 +00:00
thorpej b84f740be0 Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach(). 2000-11-15 01:02:11 +00:00
augustss 1ae6bcbbf0 Acerscan 320U doesn't do strings right. From FreeBSD. 2000-11-14 15:33:04 +00:00
augustss ab324086df Set the open flag when opening the scanner. 2000-11-14 13:57:16 +00:00
augustss 6836c0bd28 Update frlengths after a isoc transfer.
Suggested by Yuri <yuri@tsoft.com>
2000-11-10 14:11:49 +00:00
augustss 1bfab105b0 Don't try to set CM_OVER_DATA feature if features cannot be set.
From Ryutaroh MATSUMOTO <ryutaroh@ss.titech.ac.jp> in PR # 11428.
2000-11-10 14:08:32 +00:00
augustss 0510b1739c Update documentation link. From OpenBSD. 2000-11-10 13:53:23 +00:00
augustss 9a10107274 Some OpenBSD defines. From aaron@monkey.org 2000-11-10 13:52:28 +00:00
augustss f3030960da Add quirks for a Fuji camera. 2000-11-04 15:54:36 +00:00
augustss 9702e75aa1 Sync with FreeBSD: Add a scanner. Fix a pasto. 2000-11-03 04:00:15 +00:00
eeh 507aaec04c Adapt to the new line discipline scheme. 2000-11-02 00:01:44 +00:00
augustss a675063a0d Add a hack to try and figure out if the TI UTUSB41 hub is bus powered
despite claiming to be self powered (it's important to know so that the
power budget can be met).
2000-10-24 15:01:26 +00:00
augustss 372ae0a636 The all time favourite hub, TI UTUSB41, doesn't report power right. :( 2000-10-24 14:57:35 +00:00
augustss 5cc8d65338 Adda quirk for hubs that do not report bus powered status in a normal way. 2000-10-24 14:56:09 +00:00
augustss 94e36acb29 Tell usbd_set_config_no() to be verbose. It's nice to know whyit fails. 2000-10-24 14:53:59 +00:00
augustss 71fc3f6ee2 Regen. 2000-10-24 14:51:51 +00:00
augustss 963138bceb Add Apple's cool new mouse. 2000-10-24 14:51:24 +00:00
explorer 7817cc2ba7 another Ricochet quirk, this time a well-known one. No device strings are provided from it. 2000-10-24 03:59:16 +00:00
explorer 365f7337ea make ucom into a random source, type TTY 2000-10-22 19:01:44 +00:00
explorer eb27dda01d Add a new quirk: ASSUME_CM_OVER_DATA.
Set this on the Metricom Ricochet GS USB modem.

This particular modem breaks if the USB command to enable the feature
CM_OVER_DATA.  Since it appears to wake up in that mode already,
just pretend it is already on, and don't try to set it.

Since this commit is happening over my Ricochet modem, I assume it works
now.
2000-10-22 08:20:09 +00:00
explorer b4bbac9584 add Ricochet GS USB modem 2000-10-15 17:53:17 +00:00
augustss 86974d7235 Regen. 2000-10-13 18:16:53 +00:00
augustss 67c8e3701d A bunch of scanners. 2000-10-13 18:16:36 +00:00
augustss 764c5e3eea Recognize HP 5300C. 2000-10-13 16:18:48 +00:00
augustss 8abfde6138 Regen. 2000-10-13 16:18:22 +00:00
augustss 54480a36e4 Add HP 5300C. 2000-10-13 16:18:02 +00:00
augustss 3a05d9ba7b Avoid empty strings for vendor&product. 2000-10-12 23:11:04 +00:00
augustss 4ed4915295 Regen. 2000-10-12 22:51:42 +00:00
augustss 0b0fb8e466 Add Kingston KNU101TX Ethernet adapter. 2000-10-12 22:51:20 +00:00
augustss 41bb27ce0d Regen. 2000-10-10 12:38:24 +00:00
augustss 1f06d9f822 Another vendor&product code. 2000-10-10 12:38:00 +00:00
augustss 8adc2fb7f3 Don't free unallocated pointer in detach (can happen if detach happens
before attach has finished).
2000-10-10 12:37:01 +00:00
augustss cc577ca5c6 Regen. 2000-10-08 23:57:10 +00:00
augustss b132b36f4d Add a few more devices (from FreeBSD). 2000-10-08 23:56:53 +00:00
augustss 62fb025c5c Regen. 2000-10-08 21:26:47 +00:00
augustss 447c19ac22 Add another DLINK adapter. 2000-10-08 21:26:26 +00:00
augustss 966f1692e1 Don't use a plural `s' if there is only one button. 2000-10-08 20:52:18 +00:00
augustss b6db5a8622 Regen. 2000-10-08 20:51:30 +00:00
augustss 3598b417a3 Add a Fuji camera. 2000-10-08 20:51:00 +00:00
augustss 7ce859b8d0 Allow 16-bit only speakers to work. 2000-10-05 01:35:07 +00:00
augustss 5d4d9ec965 Update with uscanner.c 2000-10-04 02:45:07 +00:00
augustss c068cf3953 Regen. 2000-10-04 02:09:37 +00:00
augustss 9d09a17e7c Add more vendors. 2000-10-04 02:09:07 +00:00
augustss 623aae812b Only probe for drive 0. Fix es problem reported by Nathan Williams
<nathanw@MIT.EDU>.
2000-10-03 04:33:03 +00:00
thorpej 7ca3fb9ef0 Move the check for "promisc + unicast + not for us" into ether_input(),
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
itojun 3e401aa14d upl(4) is a IPv4 only device. 2000-10-01 11:35:28 +00:00
augustss 64d672931e Regen. 2000-09-28 01:27:16 +00:00
augustss 6f2ac8aed1 Add a couple of Apple products. 2000-09-28 01:26:49 +00:00
augustss 9623e356f0 Recognize Acer 320U. 2000-09-24 03:22:47 +00:00
augustss fc015f6833 Regen. 2000-09-24 03:22:26 +00:00
augustss 641ee8fd93 Add another scanner. 2000-09-24 03:21:55 +00:00
augustss d71044b313 Don't give up so easily if the device does not respond properly.
Mostly from Nick Hibma (FreeBSD).
2000-09-24 02:08:38 +00:00
augustss f2a2c14d9a Recognize Sony memory sticks (from FreeBSD).
Add timing info in the debug output.
2000-09-23 21:03:00 +00:00
augustss d9c7baa183 Add a way to do control transfers on other pipes than the default pipe. 2000-09-23 21:02:04 +00:00
augustss 6417d32d9d Avoid "bandwidth reclamation" for control transfers. The kue device chokes
on it.
2000-09-23 21:00:10 +00:00
augustss c412966bb3 Fix puctuation. 2000-09-23 20:24:47 +00:00
augustss 0fab9d10ca Regen. 2000-09-23 18:42:05 +00:00
augustss a5570006bc Add some more vendors. 2000-09-23 18:39:41 +00:00
augustss 770f6e2ae3 Add RCS Id.
The driver initially came from Nick Hibma (FreeBSD), which I forgpt to
mention in my initial commit.
2000-09-23 05:05:31 +00:00
augustss 23116295f4 Remove some // type comments. 2000-09-23 04:33:04 +00:00
augustss e832785e4b Add USB scanner driver.
XXX Not tested yet.
2000-09-23 04:32:23 +00:00
augustss 4b45dfbb69 Fix a device diconnect bug found by Christian Groessler <cpg@aladdin.de>. 2000-09-22 02:34:58 +00:00
itojun 3486500f77 repair multicast filter setup. PR 11037 from Ryoji Kato. 2000-09-20 01:26:14 +00:00
ichiro 60095a9e92 regen. 2000-09-16 11:46:17 +00:00
ichiro de4b3b44f1 delete "128MB"
same products number; 32MB,64MB,128MB
2000-09-16 11:45:38 +00:00
toshii 8debbc34ab Change the second argument of tiocm_to_ucom to u_long,
since the second argument of ioctl is a u_long value.
2000-09-15 17:03:24 +00:00
augustss c1682ac85d Recognize Rio 600. 2000-09-14 03:13:21 +00:00
augustss 95cbe2c829 Regen. 2000-09-14 03:11:52 +00:00
augustss d28bd1b67f Ad some new devices and change vendor name from SUPRA to DIAMOND2. 2000-09-14 03:11:23 +00:00
hubertf 9b8c74f603 regen for trek thumbdrive 2000-09-14 00:04:15 +00:00
hubertf 494592f30d Add Trek Technology ThumbDrive (128MB) 2000-09-14 00:02:56 +00:00
toshii 8b74873d54 Cleanup the error handling code introduced in rev. 1.26. Commented by jhawk.
No functional change.
2000-09-13 05:17:14 +00:00
toshii f7d700a127 Make the control line handling a little better. Avoid a DTR/RTS issue
from uninitialized sc_mcr by not calling ucom_{dtr,rts} if possible.

XXX Flow control is still incomplete and needs more work.
2000-09-10 03:10:20 +00:00
toshii 6bc11dce71 In ucomopen(), make sure to call splx() before returning
when initialization fails.
2000-09-08 07:20:52 +00:00
augustss 19f36696bc ANSIfy last patch. 2000-09-08 01:27:12 +00:00
augustss 96d1acf3d6 Add isoc support. From FreeBSD via Berndt Josef Wulf <wulf@ping.net.au> 2000-09-08 00:55:26 +00:00
augustss 9a43fc6477 Regen. 2000-09-07 04:00:21 +00:00
augustss 006df0f4cb Add scores of scanners (from FreeBSD). 2000-09-07 03:59:55 +00:00
augustss 6c0346a534 Regen. 2000-09-05 22:39:59 +00:00
augustss 0b631b84eb Add a Logitech trackball. 2000-09-05 22:39:16 +00:00
augustss 5cf4edb506 Handle output packet headers in a cleaner way. From IWAMOTO Toshihiro
<iwamoto@sat.t.u-tokyo.ac.jp>, fixes kern/10573.
2000-09-03 19:15:45 +00:00
augustss b2af314f55 Add a few more defines. From Nick Hibma and FreeBSD. 2000-09-03 19:09:14 +00:00
augustss cf4250b7f3 Add UKBD_DEBUG. 2000-08-24 14:13:38 +00:00
augustss fa9cfe5e39 Removed unnecessary variable declaration. 2000-08-24 14:12:34 +00:00
augustss d08216d4e2 Add a quirk for audio devices that claim to have an extension unit, but it
can't be manipulated.
2000-08-24 14:11:09 +00:00
augustss b3b158b922 Implement handling of the UQ_SPUR_BUT_UP quirk. Some keyboards sometimes
generate a key up quickly followed by a key down for the same key, so we
take care of that.
(Finally I can type again without going nuts. :)
2000-08-20 22:30:17 +00:00
augustss d9426e06b6 Install usbdevs.h as well. 2000-08-20 22:25:20 +00:00
augustss 2af3c25d9d Regen. 2000-08-17 23:28:00 +00:00
augustss 7e5bb38ef2 Add an XXX comment. 2000-08-17 23:18:56 +00:00
augustss 2d8b50667e From FreeBSD: add code for Insystem USB cable. 2000-08-17 23:16:16 +00:00
augustss 44c15e95b5 Add two keys to the raw mapping for German keyboards.
From Matthias Kretschmer <McCratch@gmx.net>, fixes PR 10850.
2000-08-17 23:08:07 +00:00
darrenr e1d18090ac add vendor/product information for Rainbow i-Key 2000 2000-08-17 15:17:00 +00:00
augustss ed274219d5 Fix race condition when unlinking xfers. Thanks to IWAMOTO Toshihiro
<iwamoto@sat.t.u-tokyo.ac.jp> for analyzing the problem and suggesting a fix.
Fixes PR 10662.
2000-08-13 18:20:14 +00:00
augustss 4f325f2674 Implement what in Intel-speech is known as "bandwidth reclamation".
It means that we continously poll USB devices that have a pending transfer
instead of polling just once every ms.  This speeds up some transfers
at the expense of using more PCI bandwidth.
2000-08-13 16:18:09 +00:00
augustss 8cfcd021bd Take away some, add some. 2000-08-12 23:26:10 +00:00
augustss be1aad52d8 Regen. 2000-08-12 14:58:20 +00:00
augustss 807228a4d8 Make attach message correct for non-umass devices.
Handle RBC (a SCSI subset).
2000-08-12 14:52:44 +00:00
augustss 3fff1255ea Add some more vendors and devices. 2000-08-12 14:51:01 +00:00
augustss 124bec855a Minor whitespace change. 2000-08-12 14:35:20 +00:00
tv 2b3a50d3de %b -> bitmask_snprintf()
Because this code is shared, add a macro for bitmask_snprintf() that
should expand to the equivalent snprintf() on non-NetBSD systems.  This is
only used in ?HCI_DEBUG cases anyway.
2000-08-08 19:51:46 +00:00
drochner 78fa2d7e41 fix interrupt priority botch 2000-08-07 17:34:41 +00:00