Commit Graph

1010 Commits

Author SHA1 Message Date
augustss
7090ce901d Defer stopping the interface on error to a process context.
XXX The cue changes have not been tested, since I don't have a cue adapter.
2001-01-21 22:09:23 +00:00
augustss
dfa2282053 Change watchdog routine. (From FreeBSD.)
The only thing stopping us from getting totally rid of the evil
USBD_NO_TSLEEP hack is the (broken) assumption in the MII driver that
registers can be read and written without a process context.
2001-01-21 19:42:29 +00:00
augustss
2a7443922d Get rid of `#ifdef FreeBSD'; they maintain their own version. 2001-01-21 19:36:31 +00:00
augustss
aa75661373 Use the new usb_add_task() call to execute the statistics gathering.
This gets rid of the evil USBD_NO_TSLEEP hask from the cue driver.
2001-01-21 19:30:35 +00:00
augustss
996efaa78c Ad a comment. 2001-01-21 19:00:29 +00:00
augustss
df20cb2972 Change the operation of the USB event thread. Before it only performed
USB device discovery, now it can also perform (short) tasks for device
drivers that need a process context, but don't have one.
This is not pretty, but better than using busy-wait in an interrupt context.
2001-01-21 19:00:06 +00:00
augustss
d8f68f3949 Add a quirk for devices that cannot handle full length INQUIRY.
From FreeBSD.
2001-01-21 18:56:38 +00:00
augustss
8502ed9498 Remove `#ifdef FreeBSD'; they maintain their own version. 2001-01-21 16:55:11 +00:00
augustss
e391b64407 Change watchdog code (from FreeBSD). 2001-01-21 16:06:48 +00:00
augustss
1d6d81b317 Get rid of `#ifdef FreeBSD'; they maintain their own version. 2001-01-21 16:03:11 +00:00
augustss
25c15e3189 Regen. 2001-01-21 15:58:01 +00:00
augustss
f4f53b10ea Another hub. 2001-01-21 15:57:41 +00:00
augustss
b2245c50fc Several changes:
* Get rid of `#ifdef FreeBSD'; they seem to maintain their own version.
 * Change watchdog code (from FreeBSD).
 * Get rid of the horrible USBD_NO_TSLEEP hack.
 * Repair some const damage.
2001-01-21 15:55:05 +00:00
augustss
e8db629494 Add code to use soft interrupt to handle USB interrupt processing.
Don't enable the code since it doesn't work with the kludgy Ethernet drivers.
2001-01-21 02:39:52 +00:00
augustss
0c40fe5115 Ad define for warm boot rev. 2001-01-21 02:35:31 +00:00
augustss
29984607e8 Trim space off both ends of device product and vendor strings. 2001-01-21 02:34:34 +00:00
augustss
8894e84df0 Use a better way to test if we are cold starting the device. (From FreeBSD) 2001-01-21 02:33:52 +00:00
augustss
60708ce539 Regen. 2001-01-21 02:28:55 +00:00
augustss
27293db05d A couple of new devices (from FreeBSD). 2001-01-21 02:28:30 +00:00
augustss
227c27096f Add some initialization to struct ifnet that seems to have become
necessary.
2001-01-21 02:22:27 +00:00
augustss
1aca8405a5 Cosmetic changes. 2001-01-21 00:07:13 +00:00
augustss
f7dc96fe4c Change some splusb() to splhardusb(). 2001-01-20 23:36:02 +00:00
ichiro
541fa6ecfa regen 2001-01-20 20:53:34 +00:00
ichiro
2d5b0a4ff5 typo fix
reported by kei_sun@ba2.so-net.ne.jp
2001-01-20 20:53:07 +00:00
ichiro
88e7f62500 regen 2001-01-19 17:28:58 +00:00
ichiro
ee8a058b1d add USB serial adapter
I/O DATA USB-RSAQ2 (use PROLIFIC PL2303 chip)
2001-01-19 17:28:15 +00:00
jdolecek
e07a5ff574 constify 2001-01-19 08:54:21 +00:00
augustss
79c6c8ec3f Make this compile again after const-ification. 2001-01-19 04:01:10 +00:00
jdolecek
34c8ae80da constify 2001-01-18 20:28:15 +00:00
tv
e58532a4bf No-op commit to force update to a non-"-kk" revision. 2001-01-18 17:47:58 +00:00
augustss
1d25789f34 Update with recent files. 2001-01-16 11:54:13 +00:00
augustss
6fe782cff1 Use the real Y@P firmware. Permission granted by Kamal Parmar,
<kamal@siliconportals.com>, at Silicon Portals.
A big thanks to Silicon Portals for being cooperative (unlike many USB
device vendors).
2001-01-16 03:10:09 +00:00
tshiozak
2ed1e48455 List two USB MIDI I/Fs; YAMAHA UX256 and Roland UM-1.
These devices, however, aren't conforming to USB-MIDI class spec.

BTW, here is very experimental version of the driver for these devices:
http://www.imou.to/~AoiMoe/UNIX-at-Random/garbage/umidi-2001-01-15.diff.gz
2001-01-15 20:26:46 +00:00
augustss
845a2d5b53 Fix comment typo. 2001-01-15 03:52:03 +00:00
explorer
8fcc8721da Put the UQ_ASSUME_CM_OVER_DATA quirk back in. Without it, the Ricochet GS modem fails to work even with the other changes. 2001-01-11 20:35:02 +00:00
augustss
35e36fee18 Add USSCANNER_DEBUG 2001-01-11 06:33:51 +00:00
augustss
d03f7a8f4b Mention that I found protocol info in the Linux driver. 2001-01-11 06:33:22 +00:00
augustss
7d90b0cb9c Note that I got information about the protocol from the Linux driver. 2001-01-11 06:20:04 +00:00
augustss
8765aa2c42 Add a driver for HP5300 which uses a homebrew SCSI-over-USB protocol.
Furthermore, it uses Avisions scanner-over-SCSI protocol (but that's
not visible in the driver).
Thanks to Lloyd Parkes for testing and debugging and to Jukka Marin for
testing.
XXX This driver should be extended to handle Microtek scanners as well.
2001-01-11 06:00:31 +00:00
augustss
e6616f532a Cosmetic changes. 2001-01-08 20:21:16 +00:00
augustss
e90b26477e Regen. 2001-01-07 14:47:00 +00:00
augustss
6d5a1918f8 Add Epson 1640 scanner. (From FreeBSD) 2001-01-07 14:46:31 +00:00
augustss
5b6d98341e Try both the old (wrong) and new SOFT_RESET request type. 2001-01-07 14:26:19 +00:00
augustss
94094c44ab Change debugging output a little.
Don't the for the wrong id when UMASS_DEBUG is set.
2001-01-06 12:14:39 +00:00
augustss
f6f8ab2d11 Don't #define UAUDIO_DEBUG here. 2001-01-06 12:12:24 +00:00
mycroft
f73703a4a6 Set the play and record parameters separately.
If the device is unidirectional, just ignore parameters in the other direction.
(XXX We need a better way of dealing with this.)
Only set curaltidx if we're setting usemode.
This makes both the Altec Lansing speaker set and the Telex bidirectional frob
work again.
2001-01-04 07:05:00 +00:00
mycroft
c142ce184b Several things:
* Only match an alternate which is in the same direction.
* Use 16-bit ulaw and alaw conversions for output, if possible.
* Store the interface handle in the `alternate' table, so we use the right
  interface when creating pipes for devices with both play and record.
Record doesn't seem to actually return any data from the Telex frob, but at
least it doesn't crash or return EIO now.

XXXXXXXX
This is a big f*cking hack.  Play and record need to be separated completely
if this code is ever going to even pretend to support full duplex.
2001-01-04 06:20:49 +00:00
mycroft
6ff81e44ec No really, this is half-duplex for now. Lame. 2001-01-04 05:25:24 +00:00
mycroft
ab1d9b87b0 Make some vague attempt to handle devices that do both input and output. This
probably needs more work, but at least my Telex frob can play music now.
Also, AUDIO_DEBUG -> UAUDIO_DEBUG.
2001-01-04 03:53:09 +00:00
augustss
c2b9d052ba Cosmetics. 2001-01-02 23:08:54 +00:00