augustss
5c7eb8bc86
Regen.
2001-03-16 12:48:16 +00:00
augustss
91c12c470c
Add Panasonic MultiMediaCard adapter.
2001-03-16 12:47:51 +00:00
abs
c51634b970
Regen after adding Hauppauge WinTV USB FM
2001-03-15 20:10:08 +00:00
abs
4bd593f038
Add Hauppauge WinTV USB FM
2001-03-15 20:09:50 +00:00
ichiro
38bf48d59a
Implement uplcom_intr().
...
use interrupt pipe of USB serial adapter
2001-03-14 15:53:01 +00:00
soren
d9c93ee62a
Regen.
2001-02-26 20:54:39 +00:00
soren
3ed46572f7
Add M-Systems DiskOnKey.
2001-02-26 20:53:43 +00:00
lukem
3aeb5f2f29
whitespace police
2001-02-24 01:59:46 +00:00
cgd
98af50970f
"#else if" is not a valid CPP directive. Use "#elif".
2001-02-24 00:03:46 +00:00
jdolecek
522f569810
make some more constant arrays 'const'
2001-02-21 21:39:52 +00:00
minoura
b53129e394
There is no reason to exclude FreeBSD :).
2001-02-21 10:19:30 +00:00
minoura
fa6cae09e2
Re-initialize some registers after resuming from suspend.
...
Some APM BIOSes do not restore them.
Reviewd by augustss.
2001-02-20 15:20:32 +00:00
kenh
d6cdd9ad5b
Connect to the interrupt endpoint on the control interface to receive
...
notification messages. This lets us properly pass line status changes
down to the ucom driver (specifically, DSR, DCD, and RI).
2001-02-16 20:15:57 +00:00
ichiro
175f4c6b75
regen
2001-02-11 05:49:42 +00:00
ichiro
2ea023a03f
add vendor/product id
...
CASIO label writer for USB
2001-02-11 05:49:20 +00:00
tsutsui
71d4eb1937
Fix INSYSTEM_USBCALBLE quirk entry:
...
- Make sure to pass iface properly to usbd_set_interface().
- Call usbd_set_interface before calling usbd_get_interface_descriptor().
It seems no one have tested this device. Anyway, my In-System ISD110
USB-IDE adapter does not work in this way..
2001-02-08 13:24:05 +00:00
tshiozak
b13009db08
separate mididev and jack logically.
2001-02-03 18:50:31 +00:00
tshiozak
579a1c26ca
change how to allocate xfer; alloc xfer when attach and free xfer when detach.
2001-02-03 16:49:06 +00:00
tshiozak
ca8eb9d318
correct MUX-MIDI state machine. (EXCL_2 state)
2001-01-31 16:02:38 +00:00
tshiozak
6c60c9ff82
initial commit of USB midi driver.
...
- I tested only ROLAND UM-1 and YAMAHA UX256.
These are not conforming to USB-MIDI spec, however these are
similar to USB-MIDI.
- Since I've not yet seen the "genuine" USB-MIDI device,
I cannot test such devices although I wrote the codes for it.
TODO:
- clean up the codes.
- umidi(4) manpage.
- /dev/rmidi? is working well, but /dev/music seems not working correctly.
2001-01-30 23:26:47 +00:00
augustss
57789d81c3
Regen.
2001-01-30 15:04:45 +00:00
augustss
9385e3019d
Add Abocom URE450 Ethernet adapter.
2001-01-30 15:04:23 +00:00
ichiro
e08982d234
add uplcom_{open,close}
...
it only reset routine yet.
2001-01-30 13:17:43 +00:00
enami
2c218a4926
Handle allmulti case correctly as a NetBSD network driver;
...
if we are requested range of multicast address or too many multicast address,
program multicast filter to receive all multicast address. And set/clear
IFF_ALLMULTI flag properly.
2001-01-29 01:24:42 +00:00
augustss
e6de2c6337
Commit second half of rate limit change.
2001-01-28 19:01:20 +00:00
augustss
a96a3fa4ca
Put a rate limiter on the scheduling overrun message.
2001-01-28 16:18:09 +00:00
ichiro
1225c5883f
USB-RSAQ work
...
but this product was discon.
2001-01-28 03:44:46 +00:00
ichiro
c501a146a0
regen
2001-01-27 13:19:48 +00:00
ichiro
be66040d49
add product
...
I/O DATA USB-RSAQ(discon.)
2001-01-27 13:19:27 +00:00
ichiro
fa52d46203
more datasheet
...
but same...
2001-01-24 14:46:49 +00:00
augustss
840a1d7e2b
Fiddle enough with the tty so that it wakes up on detach and drops
...
the reference count on the ucom.
2001-01-23 22:06:25 +00:00
augustss
4b0119383e
Ad support for an extra message in the ucom attach code.
2001-01-23 21:56:17 +00:00
augustss
0156530592
Null out pointers when closing pipes.
...
Try to wake upper layer on error.
2001-01-23 21:22:57 +00:00
augustss
af1fabe1bc
There are more ports than meet the eye on the Visor. Connect a ucom
...
to each of them.
2001-01-23 21:19:44 +00:00
augustss
23cffa82c7
Rearrange detach code so it is more likely to survive detaching an open
...
device (it's still not waking up readers properly).
2001-01-23 17:35:58 +00:00
augustss
5e8cefc2ea
Ad function to remove a usb task.
2001-01-23 17:04:30 +00:00
augustss
a88f037c70
MAke USB_DEBUG turn on UVISOR_DEBUG.
2001-01-23 17:03:19 +00:00
augustss
cbda952879
Make sure driver attach/detach events are generated in a consistent manner.
2001-01-23 14:04:13 +00:00
augustss
7fd4b01030
Change matching condition (we don't want to match on interface for this
...
type of device).
Don't generate a device detach event since there's no attach event.
Minor cosmetic changes.
2001-01-23 13:48:06 +00:00
ichiro
51ee272c28
simple datasheet
...
http://www.nisseisg.co.jp/jyouhou/_cp/@gif/2303.pdf
but not include register :<
2001-01-23 10:10:22 +00:00
ichiro
2b4a1ad203
increase size of UPLCOM{I,O}BUFSIZE
...
enabe uplcom_break
2001-01-23 08:15:58 +00:00
ichiro
db3f510ee6
s/2000/2001 :-)
...
and typo.
2001-01-23 02:36:17 +00:00
augustss
3a36335ddf
Don't turn on the dubug flag by default.
...
Don't print interface class/subclass; it's pointless since the device
doesn't follow any standard class definition.
2001-01-23 02:25:02 +00:00
ichiro
1227a240f1
driver for Prolific PL2303 serial adapter.
...
I/O DATA USB-USAQ2 work.
2001-01-23 01:24:10 +00:00
thorpej
69fd9caaae
Don't IFQ_SET_READY() -- this driver isn't ALTQ'ified.
2001-01-22 21:38:35 +00:00
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
augustss
3ea054452a
Add placeholder for firmware.
2001-01-02 22:38:51 +00:00
augustss
0e9ef4adc0
Forgotten commit for EZ-USB loader.
2001-01-02 22:24:00 +00:00
augustss
32e4d7004e
Add a transient driver for the YAP phone that downloads firmware into
...
the EZ-USB chip. After downloading the firmware the device detaches
and then reattaches as a composite device (audio + HID).
XXX For now there is no firmware committed since the vendor (Silicon
XXX Portals) has not yet agreed that we can redistribute their firmware.
2001-01-02 18:52:44 +00:00
augustss
5b86e8bfa8
Add subroutines to download firmware into Cypress (formerly Anchor)
...
EZ-USB chips.
2001-01-02 18:49:56 +00:00
augustss
f586756bcf
Regen.
2001-01-02 09:53:16 +00:00
augustss
d3fd188459
Add a new TI hub chip.
2001-01-02 09:52:55 +00:00
augustss
8afb11bb20
Don't match on a bunch of scanners that should be handled by a
...
different driver.
2001-01-01 18:52:05 +00:00
augustss
47c95db1c3
Regen.
2001-01-01 18:51:08 +00:00
augustss
f33102e85d
Add another scanner.
2001-01-01 18:50:42 +00:00
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