itojun
300aa0dcd5
use bounded string ops (snprintf, strl*)
2004-04-23 17:25:25 +00:00
itojun
aca4c091d3
sprintf -> snprintf
2004-04-22 00:17:10 +00:00
martin
90aca47286
Initialize sc_rts and sc_dts to 0, instead of -1, as suggested in
...
PR kern/21043.
2004-04-09 19:06:52 +00:00
matt
f8bf8392a4
Regen.
2004-04-08 05:36:30 +00:00
matt
ebe3577cee
Add Dell BC02 Bluetooth USB Adapter
2004-04-08 05:36:00 +00:00
matt
e31defb1fb
Regen.
2004-04-07 18:11:31 +00:00
matt
6e500a5352
Add Dell's vendor code
2004-04-07 18:11:07 +00:00
tls
05e1bf3ec9
MAXBSIZE->MAXPHYS -- this mysteriously broke all *kinds* of stuff when
...
MAXBSIZE had been reduced by the user (e.g. transfers from umass disks).
2004-03-22 14:55:42 +00:00
augustss
26b7762c08
Regen.
2004-03-15 11:16:43 +00:00
augustss
ae2960eaf0
Add some devices. From FreeBSD.
2004-03-15 11:16:23 +00:00
augustss
92bc86cdb6
Add Epson Perfection 1670 scanner
2004-03-15 11:09:23 +00:00
augustss
eaf85ed85e
Regen.
2004-03-15 11:08:53 +00:00
augustss
fd28ddd148
Add Epson Perfection 1670 scanner
2004-03-15 11:08:34 +00:00
augustss
da2d21f6ee
Set the device address before reading the device descriptor.
...
This makes certain non-conforming devices work.
Suggested by Peter Burnett in kern/24716.
2004-03-15 10:35:04 +00:00
drochner
04325221da
regen
2004-03-12 13:32:00 +00:00
drochner
ff0d2298c2
add Canon EOS300d
2004-03-12 13:31:28 +00:00
martin
ce925f4f4f
Interrupt descriptors might become invalid while being processed in
...
uhci_check_intr - so remember their next pointer before calling it.
Patch provided by Matthew Orgass in PR kern/24542.
2004-03-02 16:32:05 +00:00
drochner
835771a879
On disconnect, set the "subdev" pointer to NULL, otherwise
...
free()d memory will be referenced through
usbd_add_dev_event(USB_EVENT_DEVICE_DETACH)->
usbd_fill_deviceinfo()
later.
might need more review, but at least it doesn't crash on
amd64 anymore
2004-02-25 21:52:59 +00:00
augustss
187630511a
Add a serial adapter. From PR 24482
2004-02-19 01:12:05 +00:00
augustss
84fc0b7421
Regen.
2004-02-19 01:11:13 +00:00
augustss
6f5601f100
Add a serial adapter. From PR 24482
2004-02-19 01:10:42 +00:00
augustss
7cbb919e9d
Fix pasto.
2004-01-28 22:37:50 +00:00
augustss
914d460136
Add Sony Clie v3.5. From FreeBSD.
2004-01-28 22:01:38 +00:00
augustss
33d0bfd046
If vendor or product is the empty string, ignore it.
...
From FreeBSD.
2004-01-28 22:00:06 +00:00
augustss
87d594416e
Regen.
2004-01-28 21:57:11 +00:00
augustss
ade63aa50c
Add more devices. From FreeBSD.
2004-01-28 21:56:51 +00:00
augustss
2e480fe6bf
Regen.
2004-01-28 21:50:52 +00:00
augustss
dc826a966b
Add another FTDI device. From FreeBSD.
2004-01-28 21:50:28 +00:00
gson
f3b20f4de0
In alloc_all_endpoints_genuine(), search for the endpoint descriptors
...
within the configuration descriptor, not the class specific interface
descriptor. The Edirol UM-1SX now successfully attaches and works as
a standard USB MIDI interface when the "advanced driver" switch is set
to "off".
2004-01-19 07:36:35 +00:00
jdolecek
52a99e6986
Michael van Elst reports his USB2 disk works stable after latest Chuck's
...
ehci.c changes, so remove the item from TODO.
2004-01-17 13:15:05 +00:00
chs
3c9eb7a6c4
in ehci_softintr() when looping over the active xfers, save the next pointer
...
before calling ehci_check_intr(), since that will free the xfer structure
if the xfer is complete.
2004-01-09 09:19:33 +00:00
jdolecek
6c869ee3b7
add list of known issues, from Lennart Augustsson and Michael van Elst
2004-01-07 09:17:47 +00:00
gson
e11055d090
Abort the USB transfer on an endpoint when the last midi device
...
referencing it is closed. Fixes kern/23987.
2004-01-06 05:42:47 +00:00
augustss
2be4a9297b
One more device. From OpenBSD.
2004-01-05 13:49:40 +00:00
augustss
35b09dafaa
Regen.
2004-01-05 13:46:43 +00:00
augustss
150753278e
Add a number of devices. From OpenBSD.
2004-01-05 13:46:20 +00:00
augustss
8bcf98def6
Add an HP adapter. From FreeBSD.
2004-01-05 13:36:24 +00:00
augustss
7cdc2658bb
Try harder to get initial descriptor. Do a port reset now and then
...
in the retry loop.
2004-01-05 13:32:23 +00:00
augustss
4d6e985752
Fix bug in error path. From OpenBSD.
2004-01-05 13:30:45 +00:00
augustss
5f31dab3df
Add more scanners.
2004-01-05 13:29:49 +00:00
augustss
cfbab17b08
Add another device.
2004-01-05 13:29:27 +00:00
augustss
9622982931
Get rid of a vnode.h include.
2004-01-05 13:29:08 +00:00
augustss
770f7ef656
Get rid of some vnode.h includes.
2004-01-05 13:28:18 +00:00
augustss
60846c1584
Regen.
2004-01-05 13:05:39 +00:00
augustss
e3d816149f
Add lots of devices. From FreeBSD.
2004-01-05 13:05:16 +00:00
schmonz
113854bb28
Add Compaq "iPaq" HNE-200 USB Ethernet adapter.
2004-01-05 01:52:03 +00:00
schmonz
b7319ca85e
Regen (Compaq "iPaq" HNE-200 USB Ethernet adapter).
2004-01-05 01:51:34 +00:00
schmonz
f3d2103991
Add Compaq "iPaq" HNE-200 USB Ethernet adapter.
2004-01-05 01:50:00 +00:00
augustss
3c5939dc02
Cosmetic changes.
2004-01-04 11:11:56 +00:00
jdolecek
482ad5b141
make uhid_graphire*_report_descr[] const
2004-01-04 08:35:52 +00:00
dsainty
232d108953
Kill the flow control interface. Bluetooth devices are not equipped to deal
...
with flow control being applied. It is simpler and no more problematic to
accept the data and drop it if we hit a resource limit than to expect the
Bluetooth device to do anything about it (which it won't).
2004-01-04 05:47:43 +00:00
dsainty
68c4826bcf
Correct buffer selection in uhidev_set_report for non-zero report IDs (rare!)
...
Spotted by Dave Huang, noted in tech-kern.
2004-01-04 02:13:11 +00:00
augustss
956a88bd1e
Support Graphire 4x5. From Dave Huang in kern/23965.
2004-01-04 01:29:11 +00:00
augustss
0daa8ba196
Regen.
2004-01-04 01:27:38 +00:00
augustss
2da03fdec4
Add Wacom Graphire3 4x5. From Dave Huang.
2004-01-04 01:26:23 +00:00
soren
51e7baecd8
Regen.
2004-01-03 14:16:45 +00:00
soren
fd87fe0125
Add Motorola A920.
2004-01-03 14:12:57 +00:00
dsainty
d3a5c746ab
Correct a conditional masking error conditions
2004-01-02 02:36:25 +00:00
dsainty
275cfd33b4
Correctly initialise ALL of the attach argument block. Fixes panic on
...
device open (previously avoided by compiler-dependent luck :)
2004-01-01 16:10:13 +00:00
hamajima
fc324f7812
add Logitech "QuickCam for Notebook Pro" and "QuickCam Pro 4000".
...
these are match for ugen, not uaudio.
requested from Takafumi Mizuno.
2003-12-31 14:33:20 +00:00
thorpej
683cebe2c8
No longer need to include <dev/ic/wdcreg.h>
2003-12-30 19:30:39 +00:00
toshii
05069ebd4d
Use the correct wValue to get hub desriptors.
...
Also, make wValue checks of root hub codes less strict.
2003-12-29 08:17:10 +00:00
augustss
f3abb712c4
Regen.
2003-12-28 17:12:00 +00:00
augustss
7ddfb31781
Add a couple of devices.
2003-12-28 17:11:14 +00:00
sekiya
5c3f47767d
Regen.
2003-12-22 10:29:41 +00:00
sekiya
4e9f2db432
Add MELCO LUA-U2-KTX 10/100 USB network interface IDs. Uses uax driver.
2003-12-22 10:27:51 +00:00
jmc
43bf89bfc6
Fixes from PR#23177. Various lint/logic fixes:
...
Fix some non-initialized variables
close the output files when done
Redo the printing for RCS strings so they don't expand in the awk script too
Do proper tests for variables existance before accessing
Verified output from all scripts is identical to original versions
2003-12-15 07:32:20 +00:00
thorpej
d8f4e7306d
No need to include wdvar.h anymore.
2003-12-14 05:34:29 +00:00
thorpej
a58ada4aad
Instead of calling wddone() directly, set a (*drv_done)() callback in
...
the ata_drive_datas structure and invoke that.
2003-12-14 05:33:29 +00:00
gson
9798a7bc46
Make the chars in the umidi_endpoint buffer unsigned; this fixes at
...
least one sign extension bug which caused umidi input to not work.
2003-12-05 06:05:53 +00:00
gson
07bb045f57
Opening umidi read-only failed to increment ep->num_open because
...
open_in_jack() treated USBD_IN_PROGRESS as a failure return.
2003-12-05 06:01:59 +00:00
keihan
b8702f530b
netbsd.org -> NetBSD.org
...
This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
2003-12-04 13:57:30 +00:00
atatat
5f01dc8ab2
Revert revision 1.3 "add sysctl support to firmware loader" by
...
"removing sysctl support from firmware loader". It was never
referenced or called from anywhere...
Suggested by augustss@netbsd.org in private email.
2003-12-01 01:09:24 +00:00
nathanw
68f7fcf078
Make the DPRINTF text for bulk in/out opening errors match which one
...
is in and which one is out.
2003-11-24 19:47:07 +00:00
augustss
852684606a
Add a device. From OpenBSD.
2003-11-24 00:00:07 +00:00
augustss
0e57233a47
Try harder to avoid 0 ports woth AMD756. From OpenBSD.
2003-11-23 19:20:25 +00:00
augustss
50ce2db105
Fix swapped lines in cleanup in ohci_init(). From OpenBSD.
2003-11-23 19:18:06 +00:00
augustss
7686442d28
Add more scanners. From FreeBSD.
2003-11-23 19:07:10 +00:00
augustss
25fc3e9769
Regen.
2003-11-23 19:06:39 +00:00
augustss
14f83fce74
Add another device. From FreeBSD.
2003-11-23 19:06:19 +00:00
augustss
743adeaf63
Add two more adapters. From FreeBSD.
2003-11-23 18:51:49 +00:00
augustss
57264be4a3
Regen.
2003-11-23 18:50:51 +00:00
augustss
0aac4b8f68
Update copyright years.
2003-11-23 18:50:27 +00:00
augustss
a8842a070e
Regen.
2003-11-23 18:37:50 +00:00
augustss
f01a819ee7
Add a number of devices. From FreeBSD.
2003-11-23 18:37:30 +00:00
augustss
d0bdc327b0
Add another product. From OpenBSD.
2003-11-23 18:17:58 +00:00
augustss
9184608aa6
Regen.
2003-11-23 18:16:25 +00:00
augustss
cd8b22197b
Add a number of devices. From OpenBSD.
2003-11-23 18:16:03 +00:00
augustss
422ce84f58
Add some more devices. From FreeBSD.
2003-11-23 12:22:51 +00:00
augustss
02bc5c0199
Regen.
2003-11-23 12:22:19 +00:00
augustss
de08e28c43
Add uplcom devices. From FreeBSD.
2003-11-23 12:21:54 +00:00
augustss
2fecfb383c
Don't free non-malloced memory. From mlang@delysid.org
2003-11-12 11:29:12 +00:00
augustss
b87f6623d3
Regen.
2003-11-11 10:55:32 +00:00
augustss
7e013f13c6
Add a Cypress USB2 hub.
2003-11-11 10:54:56 +00:00
wiz
c2f9db9c64
Update URLs; from Jared Yanovich via jmc@openbsd.
2003-11-10 09:02:08 +00:00
wiz
864bb22441
Update URL; from Jared Yanovich via jmc@openbsd.
2003-11-10 08:58:39 +00:00
carrel
f830588016
enable support for the TREO 600
...
tested and works...
2003-11-07 21:27:56 +00:00
wiz
6a2ed83373
URL updates, from Jared Yanovich and jmc@openbsd, forwarded by the latter.
2003-11-07 17:03:25 +00:00
kivinen
cd9bd33872
eUSB ORCA Quad Reader (SHUTTLE) returns invalid CSWTAGs
...
(always 0). Added quirk to fix it.
2003-11-07 01:04:27 +00:00
kivinen
57d07fa4e6
Regenerated.
2003-11-07 01:02:18 +00:00
kivinen
ff83a852f5
Added eUSB ORCA Quad Reader (Shuttle).
2003-11-07 00:59:38 +00:00
mycroft
c6589d2082
Ignore a CRCTO error on a SETUP transaction in combination with STALLED or NAK.
...
This fixes problems with the GL641.
2003-11-04 19:11:21 +00:00
mycroft
8ece2f61c0
Oops, fix a commito.
2003-10-29 03:54:17 +00:00
mycroft
cb4f7a1d86
Bogus initializers suck.
2003-10-29 03:46:10 +00:00
mycroft
909205520a
KNF.
2003-10-28 23:40:27 +00:00
mycroft
16413c6f77
The "bad status" case is impossible -- the switch value is constrained to 2
...
bits -- so just add the default case to the one that returns
STATUS_WIRE_FAILED.
2003-10-28 23:37:59 +00:00
mycroft
898602e6b1
Or the config_deactivate() return values.
2003-10-28 23:33:46 +00:00
augustss
6f77e29fd2
Appease new awk by changing \$ to $.
2003-10-28 10:35:12 +00:00
augustss
5a1764fb26
Regen.
2003-10-28 10:33:18 +00:00
augustss
fe59444985
Add Treo 600. From kern/23290.
2003-10-28 10:32:54 +00:00
christos
1cb1045a68
Fix uninitialized variable warnings.
2003-10-25 18:28:31 +00:00
augustss
f42962a2c2
Add Dvorak keyboard map. From PR kern/23230, jacereda@tractor.act.uji.es.
2003-10-22 17:24:43 +00:00
augustss
6d60d8ab89
Re-add the quirks that force certain In-System Design adapters to appear
...
as (non-standard) ATA over BBB adapters. Without these quirks they are
not regocnized by the umass driver.
2003-10-22 05:38:16 +00:00
wiz
810d184699
Fix typo in comment.
2003-10-18 07:41:26 +00:00
simonb
78c2103e34
Remove assigned-to but otherwise unused variables.
...
Remove unreachable break after return statements.
2003-10-18 04:50:35 +00:00
mycroft
e879d3a728
PQUIRK_NOSENSE is dead here. Remove the code supporting it.
2003-10-17 00:20:28 +00:00
mycroft
3fd37812f4
The Yano quirk was intended to do FORCE_SHORT_INQUIRY. Not that that's gone,
...
we shouldn't need this any more, so nuke it.
2003-10-17 00:12:58 +00:00
mycroft
ecb8d5d482
Set the REQUEST SENSE command length to 12 for ATAPI, too. (UFI and ATAPI are
...
really the same...)
Fixes problems with Sony Vaio memory stick slots, which advertise themselves as
"ATAPI over CBI".
Remove the quirk for Fuji cameras, since this is almost certainly the same bug.
2003-10-16 23:39:40 +00:00
mycroft
19ef8301a7
Switch back to UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO in a few cases. Not that
...
it really matters, but UMATCH_VENDOR_PRODUCT effectively overrides the class
code, and that is not supposed to be part of the "quirk".
2003-10-16 20:01:06 +00:00
mycroft
f8c8ef3b63
Document the Olympus, ScanLogic and Sony "quirks" better. Also, the ScanLogic
...
correctly reports itself as SCSI -- it is *not* UFI.
2003-10-16 19:54:01 +00:00
wiz
68f5a56945
regen
2003-10-16 08:05:54 +00:00
wiz
7127923ca9
According to Linux USB Ids list, 0b7a belongs to zeevo, inc.
2003-10-16 08:05:42 +00:00
mycroft
d7b6d72e8c
Deal with the damn DiskOnKey devices. See the comment for an explanation.
2003-10-16 00:36:46 +00:00
rjs
9f105a9400
Regen.
2003-10-15 11:11:55 +00:00
rjs
41929af1e0
Add more IDs.
2003-10-15 11:10:45 +00:00
tron
d8c9e38848
Fix build error caused by last change.
2003-10-15 08:28:29 +00:00
simonb
9606d846fa
Don't check an uninitialsed error variable before printing an error
...
message.
2003-10-15 06:43:36 +00:00
wiz
09d05922dc
Fix mixer wraparound. Closes PR 16652.
...
Patch from Sergey Svishchev. mycroft says "looks ok".
2003-10-14 13:12:19 +00:00
augustss
359109cff2
Regen.
2003-10-13 22:34:32 +00:00
augustss
6c07c4466a
Another Logitech camera.
2003-10-13 22:34:10 +00:00
augustss
32ee02b1f9
Regen.
2003-10-13 17:16:55 +00:00
augustss
c88ef72c1d
Add some IOMEGA products.
2003-10-13 17:15:03 +00:00
dyoung
f9d6bac599
dev/scsipi/atapi_disk.h is no more, and umass_scsipi.c compiles
...
fine w/o it.
2003-10-13 01:47:55 +00:00
enami
3dbf40b29d
KNF the previous commit.
2003-10-13 00:05:36 +00:00
enami
b3931d341e
Rest of PR23128, so that ehci.c compiles again.
2003-10-13 00:05:10 +00:00
mycroft
ba41e2e19b
Fix problems with ehci on controllers that support 64-bit addressing. From
...
Cliff Wright, PR 23128. Thanks!
2003-10-12 18:04:28 +00:00
wiz
d231b1cffc
regen (Acer BT-500 Bluetooth USB Adapter).
2003-10-11 12:13:00 +00:00
wiz
5da5ca0dde
Add IDs for Acer BT-500 Bluetooth USB Adapter.
2003-10-11 12:11:13 +00:00
toshii
6bd45c6229
Fix a done list handling bug which exhibits under high shared interrupt
...
rate and bus traffic. As the interrupt register is read after checking
hcca_done_head, there was a small chance of dropping a done list.
Ignore OHCI_WDH interrupt bit if hcca_done_head is zero so that OHCI_WDH
is processed later.
2003-10-11 03:04:26 +00:00
bouyer
7719e83c8b
Following Matt Thomas's request, rename ata attribute to ata_hl, and
...
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.
2003-10-08 20:57:59 +00:00
bouyer
99d6009c2a
Make the ATA mid-layer appears as atabus, as proposed in
...
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.
Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.
2003-10-08 10:58:12 +00:00
augustss
1c24ba42ab
Several changes:
...
* Implement read for ulpt.
* If the device is not opened for reading, occasionally drain any
data the printer might have (but don't hammer the printer with reads).
* Lower the buffer size to one page.
The driver seems to work with more printers now.
2003-10-04 21:19:50 +00:00
augustss
99ebb5ba5a
Add more printers that report bidir mode, but can't handle it. From Linux.
2003-10-02 19:10:37 +00:00
augustss
301ab7ace1
Regen.
2003-10-02 19:09:53 +00:00
augustss
e45171e5c1
Add more printers (from Linux).
2003-10-02 19:09:28 +00:00
augustss
7838ca0944
Regen.
2003-10-02 18:34:35 +00:00
augustss
3d6bbf42ca
Add HP Deskjet 6127.
2003-10-02 18:34:12 +00:00
augustss
1aa1d2f8e2
The umass attach can fail in many ways. Print a message about why it
...
failed instead of just being silent about it.
2003-09-29 20:04:25 +00:00
augustss
95b435b7b3
Update URLs. From PR 23004.
2003-09-29 11:54:26 +00:00
jdolecek
330360f6a6
regen: ROLAND MIDI devices and Piengineering Xkeys entry
2003-09-28 07:15:47 +00:00
jdolecek
eb3ff4c555
add usbdevs entries and umidi quirks for Roland USB MIDI devices
...
contributed in PR kern/18096 by Clemens Ladisch
2003-09-28 07:14:56 +00:00
jdolecek
b2122d6d98
add Piengineering Xkeys 58 entry, from kern/20838
2003-09-28 06:55:57 +00:00
mycroft
ab223e99bc
Allow a device to reject CLEAR_FEATURE ENDPOINT_STALL (with a STALL) -- the
...
assumption being that the device will never use a STALL of a non-control pipe,
I guess.
2003-09-23 21:44:42 +00:00
jdolecek
7cea8a1389
cleanup & uniform descriptor owner handling:
...
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals
the owner of descriptor, according to appropriate sematics
of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use
these routines instead of custom code where appropriate
* make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN
properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP
in sys_ioctl() & sys_fcntl()
* also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and
pass the ioctls down to soo_ioctl() as any other ioctl
change discussed on tech-kern@
2003-09-21 19:16:48 +00:00
jdolecek
ea7271519d
regen - addition of KYE G-07 joystick entry
...
contributed in kern/22837 by Sergey Svishchev
2003-09-20 09:17:36 +00:00
jdolecek
63eb0e1ad8
add entry for KYE G-07 joystick
...
contributed in PR kern/22837 by Sergey Svishchev
2003-09-20 09:16:44 +00:00
mycroft
4b716264f7
Shuttle products do not need PQUIRK_NOTUR any more. Also removing them for the
...
other two items, since they are presumed unnecessary.
2003-09-17 07:49:11 +00:00
mycroft
09e452d82a
Do the quirk initialization earlier.
2003-09-13 03:18:13 +00:00
mycroft
96b1a8d146
Arrange for the SCSI device to be target 0, and us to be the highest target
...
number. This will make my life easier later...
2003-09-13 03:16:49 +00:00
mycroft
509e3d9fce
Set SCSIPI_CHAN_NOSETTLE.
2003-09-12 19:02:30 +00:00
mycroft
8b05b0c1d3
In usbd_setup_pipe(), check the return value from usbd_clear_endpoint_stall().
2003-09-12 16:22:57 +00:00
mycroft
af7e1b8144
Tweak a debugging printf().
2003-09-12 16:18:08 +00:00
mycroft
6c1f753c7c
ZIP drives don't need PQUIRK_NOTUR -- tested on both a 100 (by me) and a 250
...
(by gendalia). The 100 seems to have another problem that I'm looking into.
2003-09-12 14:52:38 +00:00
mycroft
dad4d4580d
Update actlen even in the case where a TD returns an error -- this is critical
...
for the umass bulk-only STALL case.
2003-09-10 20:08:29 +00:00
augustss
efbfbb9402
Regen.
2003-09-10 06:54:40 +00:00
augustss
83c306df7e
Add a couple of devices.
2003-09-10 06:52:27 +00:00
mycroft
2b919cb36a
Mostly stylistic change, making comments and printf()s similar between BBB
...
and CBI.
2003-09-10 06:38:28 +00:00
mycroft
78435d869d
Copyright maintenance.
2003-09-10 05:42:18 +00:00
mycroft
ff7d94f5ec
Er, missed one thing.
2003-09-10 05:30:15 +00:00
mycroft
9c39f1d6a5
Exorcise UMASS_QUIRK_FORCE_SHORT_INQUIRY.
2003-09-10 05:25:44 +00:00
mycroft
2fe6c4d834
On a Bulk-In data stall, make sure we copy back the data received, per the
...
spec. This is the real problem behind FORCE_SHORT_INQUIRY.
2003-09-10 05:20:21 +00:00
mycroft
7bb5db4e3e
The Sony camera reports itself as a "disk", not a "simplified direct access"
...
device -- ergo, it is "SCSI", not "RBC".
2003-09-10 03:13:53 +00:00
mycroft
b8fd3dab7d
cc -pipe -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Fix several problems with CCI handling, and enable it:
...
* We were never calling the callback function when we got a UFI CCI(!).
* We were passing a bogus residual count on non-UFI CCIs.
* After a REQUEST SENSE, the UFI CCI may include the ASC/ASCQ from the sense
information -- don't consider this a failure.
In addition, remove a horrible hack that was causing us to drop sense
information on the floor and return empty INQUIRY responses, often in the case
where there is a UNIT ATTENTION pending during the INQUIRY. (Some drives send
the data and then fail, some don't.)
This eliminates the need for quirks for the Y-E DATA FlashBuster.
These changes work on:
umass0: SAMSUNG SFD-321U [FW 0C], rev 1.10/2.10, addr 2
umass0: using UFI over CBI with CCI
sd0 at atapibus1 drive 0: <SMSC, USB FDC, 2.10> disk removable
umass0: TEAC TEAC FD-05PUB, rev 1.10/0.00, addr 2
umass0: using UFI over CBI with CCI
sd0 at atapibus0 drive 0: <TEAC, FD-05PUB, 1026> disk removable
umass0: Y-E DATA FlashBuster-U, rev 1.00/3.04, addr 2
umass0: using UFI over CBI with CCI
sd0 at atapibus0 drive 0: <Y-E DATA, USB-FDU, 3.04> disk removable
2003-09-10 02:49:18 +00:00
mycroft
73b4a9d1ee
PQUIRK_NODOORLOCK seems to be strictly unnecessary. If the drive doesn't
...
support it, we'll just get an ILLEGAL REQUEST and ignore it. Furthermore,
on the PQI Travel Flash at least, it works just fine without. These seem to
have been added in omnibus changes for particular devices, along with other
"quirks" that are now gone. Adios, we won't cry for you.
2003-09-09 01:35:47 +00:00
mycroft
a599f64320
If maxlun>0, automatically set PQUIRK_FORCELUNS, rather than using quirk
...
table entries.
2003-09-08 19:57:29 +00:00
mycroft
de88b69b7b
Remove UMASS_QUIRK_NO_START_STOP and UMASS_QUIRK_NO_MAX_LUN.
2003-09-08 19:30:59 +00:00
tron
bab150d798
Regen.
2003-09-08 16:07:15 +00:00
tron
7a0eb6d14e
Add quirk for Sandisk SDDR-86. The patch was supplied by Peter Seebach
...
in PR kern/22720.
2003-09-08 16:06:57 +00:00
mycroft
4d89e946a7
Some of the table entries are now noops. Remove them.
2003-09-05 11:24:56 +00:00
mycroft
61c35f890c
Take vigilante action and remove all the NO_MAX_LUN, NOMODESENSE and
...
NOBIGMODESENSE "quirks". These problems should be fixed without klugery
now.
2003-09-05 11:18:25 +00:00
tsutsui
4189ddf652
Remove advertising clauses from code written by Shingo WATANABE.
...
He has kindly consented it.
2003-09-04 15:17:38 +00:00
mycroft
aea8e885f0
Cast a printf() arg so that USB_DEBUG compiles on multiple platforms.
2003-09-04 03:47:03 +00:00
mycroft
9bba9f60b6
Well, this is bloody obscure...
...
My Imation USB FlashGO! adapter responds to a Get Max Lun request with a
stall. With uhci, this does the expected thing. With ohci, it was returning
a "data underrun" error because we weren't setting "buffer rounding" (i.e.
USBD_SHORT_XFER_OK), and the underrun was taking priority. This happened with
both the ohci in a Mac cube and the builtin ohci on the S3C2410.
So, set USBD_SHORT_XFER_OK on the Get Max Lun. Now I get a stall reported and
umass attaches correctly.
2003-09-04 00:02:59 +00:00
itojun
413787298f
udav*, for ether w/ Davicom DM9601 chipset. Shingo WATANABE
2003-08-22 05:13:29 +00:00
itojun
8fb8c94387
regen
2003-08-16 06:39:12 +00:00
itojun
9a9c255e39
Corega USB-TXC (uses Davicom DM9601E, does not work with existing driver)
2003-08-16 06:36:29 +00:00
augustss
6100a552cc
Add Sony Ericsson DCU10 USB Cable. PR kern/22432.
2003-08-11 08:16:34 +00:00
augustss
3a0b9f8c20
Regen.
2003-08-11 08:15:00 +00:00
augustss
d35ae49748
Add Sony Ericsson DCU10 USB Cable. PR kern/22432
2003-08-11 08:13:42 +00:00
wulf
b6db36227b
Add SIIG UISDMC2S Multicard Reader/Writer
2003-08-08 08:24:23 +00:00
wulf
03b1800985
Regen after adding SIIG UISDMC2S (0x0200) Multicard Reader/Writer
2003-08-08 08:00:57 +00:00
wulf
1a6211e5ae
Add new product code for SIIG UISDMC2S (0x0200) Multicard Reader/Writer
2003-08-08 07:52:41 +00:00
nathanw
9cf81bef79
Bunch of changes to make the Palm Tungsten T work:
...
* Mark the actual Handspring Visor as type "VISOR" and all others
"PALM4" (notably, the Sony Clie 41 changes from Visor-type to
Palm4-type).
* For Palm4-type devices, use the GET_PALM_CONNECTION_INFORMATION
query instead of the GET_CONNECTION_INFORMATION query, and interpret
the returned data structure appropriately. This permits attaching a
ucom device to newer devices such as the Tungsten T that do not
support the Visor-style query (data structure definition gleaned
from the Linux 2.4.21 visor.c).
* Crank down UVISORBUFSIZE from 1024 to 64 to avoid a problem where
the Palm device and the USB host controller deadlock. The USB host
controller is expecting an early-end-of-transmission packet with 0
data, and the Palm doesn't send one because it's already
communicated the amount of data it's going to send in a header
(which ucom/uvisor are oblivious to). This is the problem that has
been known on the pilot-link lists as the "[Free]BSD USB problem",
but not understood.
XXX It would be better for the Palm protocol to be handled entirely
in userland via ugen, since the serial protocol abstraction isn't
really adequate for the amount of structure that's here, and the
64-byte limit is just a workaround. The pilot-link tools aren't up
to the task yet, though.
2003-08-03 21:59:26 +00:00
gehenna
63452158ba
Regen (EDIROL UA-3FX)
2003-07-30 04:50:25 +00:00
gehenna
63741a9060
Add suffix 'A' for UA-3FX advanced mode.
2003-07-30 04:49:12 +00:00
gehenna
0bdf85cae2
Add EDIROL UA-3FX audio I/F
2003-07-30 04:47:55 +00:00
lukem
365cbd9428
add missing __KERNEL_RCSID()
2003-07-14 15:47:00 +00:00
drochner
8c4f2074f2
avoid a gcc3 warning about a never-true comparision in the
...
mstohz() macro
2003-07-03 11:24:13 +00:00
martin
273141ddfc
Regen (Sony USB Memory Stick Slot (MSC-U03) added)
2003-06-30 12:42:27 +00:00
martin
950ba36af5
Add Sony USB Memory Stick Slot (MSC-U03),
...
from Katsuhisa ABE in PR 22017.
2003-06-30 12:41:37 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr
960df3c8d1
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
...
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
jschauma
0f675a710b
Regen after adding LaCie Pocket Drive and ACDC Pen Drive.
2003-06-26 00:20:18 +00:00
jschauma
1777ce56e3
Add support for two new devices:
...
- LaCie Pocket Drive (http://www.lacie.com/products/product.htm?id=10023 )
- a Pen Drive (http://www.flash-memory-store.com/51usbflasdri.html )
The latter shows as a uhub with a umass and a ugen. The ugen is the
"Secure Write" device, which presumably allows password protection with the
appropriate (windows only) driver. Works fine without.
Ok by augustss.
2003-06-26 00:18:08 +00:00
augustss
d495634233
Regen.
2003-06-23 23:01:09 +00:00
augustss
30b0700839
Add my new Laks watch with a flash disk.
...
Yes, I'm a geek.
2003-06-23 23:00:46 +00:00
augustss
a28c261a76
Regen.
2003-06-23 21:56:59 +00:00
augustss
49ccba6c53
Add new device. From Urban Boquist.
2003-06-23 21:56:36 +00:00
augustss
7cdd37a934
Another quirk from Urban Boquist.
2003-06-23 21:11:29 +00:00
martin
d505b18964
Make sure to include opt_foo.h if a defflag option FOO is used.
2003-06-23 11:00:59 +00:00
rjs
67e2545285
Regen.
2003-06-16 12:46:39 +00:00
rjs
946b6bccf2
Add vendor IDs for Ericsson, Hirose and AEI.
2003-06-16 12:45:20 +00:00
grant
42ddc68577
regen
2003-06-08 13:34:23 +00:00
grant
c1b1b84e38
add another vendor ID for OnSpec Electronic Inc.
2003-06-08 13:33:16 +00:00
augustss
be0211e579
Regn.
2003-06-07 17:01:24 +00:00
augustss
6c3bbf2a48
Eicon diva 852 isdn ta support. From Pavel Arnost, PR kern/21818.
2003-06-07 17:00:41 +00:00
augustss
18bd4aa617
Regen.
2003-06-03 23:22:16 +00:00
augustss
bd311307e3
Add Motorola T720c and a quirk for it.
2003-06-03 23:22:00 +00:00
gehenna
637efc0116
Add AboCom UFE2000.
2003-05-25 14:36:56 +00:00
gehenna
9e736dcfd9
Regen.
2003-05-25 14:32:43 +00:00
gehenna
d76735d9cf
Add AboCom UFE2000 USB2.0 Fast Ethernet Adapter
2003-05-25 14:31:41 +00:00
augustss
d9c803e9da
Regen.
2003-05-24 23:30:47 +00:00
augustss
a6c76ab0d9
Add some more entries. From FreeBSD and OpenBSD.
2003-05-24 23:29:11 +00:00
gson
34388cbdcc
Function names printed in debug messages did not always match the
...
actual name of the function.
2003-05-13 04:41:59 +00:00
augustss
581056322e
Support for Belkin F5U109. From PR kern/21534.
2003-05-11 16:26:49 +00:00
hamajima
8d97ea2fa6
Regen.
2003-05-10 17:52:02 +00:00
hamajima
54950a70eb
Add Platronics DSP-400 Headset.
2003-05-10 17:47:14 +00:00
augustss
96221eb168
Try to make message about missing companion controllers clearer.
2003-05-10 12:04:22 +00:00
augustss
7209b4436c
Regen.
2003-05-08 15:20:18 +00:00
augustss
b76302ea23
Add another Diskonkey product id.
2003-05-08 15:19:46 +00:00
enami
507b844289
Regen.
2003-05-08 04:39:33 +00:00
enami
c39e03508c
Spell AirH"PHONE correctly.
2003-05-08 04:38:23 +00:00
augustss
5a80843f7d
Regen.
2003-05-07 16:56:57 +00:00
augustss
392d5e112d
Add some new devices. From FreeBSD.
2003-05-07 16:56:34 +00:00
dsainty
3437bf0668
Add quirk for the 3in1 MobileDrive USB SD card reader, also sold as the
...
"DSE USB ProDrive".
2003-05-06 09:58:44 +00:00
rafal
5741e0f6ce
Regen for MELCO Inc. MCR-SM2 SmartMedia Card Reader
2003-05-06 02:07:16 +00:00
rafal
d856fe57b6
Add MELCO Inc. MCR-SM2 SmartMedia Card Reader, from FUKAUMI Naoki in PR 18990.
2003-05-06 02:05:43 +00:00
dsainty
ee6dbf8959
Regen.
2003-05-05 11:59:13 +00:00
dsainty
da6d9d4cb0
Add 3in1 MobileDrive product (inside the Dick Smith ProDrive)
2003-05-05 11:56:27 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
dsainty
325b10be64
Use the correct bus name in "bus not configured" errors for SCSI and ATAPI
2003-04-26 12:46:59 +00:00
augustss
4d876de100
Regen.
2003-04-22 22:08:00 +00:00
augustss
a237a7a011
Fix some naming bugs.
2003-04-22 22:07:40 +00:00
augustss
b12c8ecd7f
Add another device.
2003-04-22 22:07:05 +00:00
augustss
7d5779ad01
Recognize more devices. From FreeBSD.
2003-04-21 16:38:34 +00:00
augustss
6be8a91f88
Add quirk. From FreeBSD.
2003-04-21 16:37:42 +00:00
augustss
33011a8fcf
Regen.
2003-04-21 16:37:14 +00:00
augustss
ac600b6a72
Add more devices. From FreeBSD and OpenBSD.
2003-04-21 16:36:52 +00:00
uwe
7b16962da2
Quirk Pilotech CRW-600.
2003-04-18 23:38:18 +00:00
uwe
fa83041685
Regen for Pilotech CRW-600.
2003-04-18 23:31:43 +00:00
uwe
f700119cc7
Add Pilotech and its CRW-600 6-in-1 USB flash reader.
2003-04-18 23:28:09 +00:00
jdolecek
9d23bccfba
add quirk for Avance Logic USB Audio
...
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:43:44 +00:00
jdolecek
8d4a0cf374
regen:
...
fix handle for Avance Logic (AVANCELOGIC, not ADVANCELOGIC), and add
id for their USB Audio Speaker
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:41:48 +00:00
jdolecek
e566bf6b6e
fix handle for Avance Logic (AVANCELOGIC, not ADVANCELOGIC), and add
...
id for their USB Audio Speaker
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:41:00 +00:00
jdolecek
5e0c8413f3
uaudio_match_alt_sub(): fix the rate check in UA_SAMP_CONTNUOUS case
...
to match if UA_SAMP_LO() == UA_SAMP_HI() == rate
problem reported and fix provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:38:02 +00:00
augustss
44617bfaa7
Add quirk for Genesys Logic GL641USB. From PR kern/21131.
2003-04-13 20:54:31 +00:00
simonb
e200992e30
Use Tungsten T instead of m550.
2003-04-11 01:30:10 +00:00
simonb
fe2cc35875
Regen; rename Palm M550 to Tungsten T.
2003-04-11 01:28:18 +00:00
simonb
bbd68bc758
Rename Palm M550 to Tungsten T.
2003-04-11 01:25:25 +00:00
nakayama
a58fc7e1b2
Regen.
2003-04-05 19:11:44 +00:00
nakayama
c559c6cf5d
Rename "USB Reader" to "USB 6 in 1 Card Reader/Writer" more clearly
...
(pointed out by perry in private mail).
2003-04-05 19:10:12 +00:00
nakayama
f126378bbb
Add quirk for Pen USB Reader.
2003-04-05 17:25:33 +00:00
nakayama
5890db6c2a
Regen.
2003-04-05 17:23:49 +00:00
nakayama
59a67e04d6
Add USB Reader.
2003-04-05 17:22:50 +00:00
toshii
ba612a905f
Use MaxPacketSize for setting up isochronous pipe for recording.
...
This fixes dropping samples.
2003-03-30 04:47:13 +00:00
simonb
ea65230233
Regen: Add device id for Trumpion T33521.
2003-03-23 00:58:16 +00:00
simonb
3dd66de041
Add device id for Trumpion T33521 (used in (at least one) Creative MP3
...
player, almost attaches as a sd@umass).
2003-03-23 00:57:15 +00:00
augustss
ca5deec209
Regen.
2003-03-19 16:22:46 +00:00
augustss
9f3758dce4
Add an NHJ camera.
2003-03-19 16:22:24 +00:00
augustss
287c3adc4d
Update URLs for the HID spec.
...
(Committed at 36000 feet above the Atlantic on board LH418 using
a broadband satellite connection.)
2003-03-11 16:44:00 +00:00
augustss
bf2de652b1
Change debug message.
2003-03-09 19:51:13 +00:00
shiba
012395b8fb
Used correct aue_flags in ELECOM LD-USB/T and ELECOM LD-USB/TX.
...
Submitted by: Yasushi Oshima <oshimaya@sc.starcat.ne.jp>
Takeshi Shibagaki <shiba@netbsd.org>
(refer to [bsd-usb:685],[bsd-usb:686])
Approved by: gehenna, kanaoka
2003-03-05 17:37:36 +00:00
nakayama
3fd1afa7af
Add quirk to probe I-O DATA USB-SC2 as umass.
...
(tested on sparc64 and i386)
2003-02-24 13:11:55 +00:00
nakayama
b818704815
Regen.
2003-02-24 13:07:52 +00:00
nakayama
89f39fecfa
Add I-O DATA USB2-SC (USB2.0-SCSI Bridge)
2003-02-24 13:06:45 +00:00
simonb
ac161ae918
Remove assigned-to but not used variable.
2003-02-23 04:20:06 +00:00
simonb
9bfb5c46f4
Remove unreachable break after return.
2003-02-23 04:19:26 +00:00
tsutsui
881b65ce01
Use mstohz() in <sys/param.h> rather than homegrown MS_TO_TICKS().
2003-02-22 05:24:16 +00:00
tsutsui
fa7988ee3e
Remove unused MS_TO_TICKS().
2003-02-22 05:18:50 +00:00
augustss
fe29dd94be
Bail out early in isoc_done if the ii is not on the interrupt list.
2003-02-19 01:35:04 +00:00
augustss
47f7f552a2
Don't take xfers off the interrupt list if they are not on it yet.
2003-02-16 23:15:27 +00:00
augustss
50e312d584
Add a reference count to avoid detaching while the attach is still
...
waiting.
2003-02-16 23:14:06 +00:00
augustss
44563df953
Rework the mixer controls somewhat and give the controls in a FEATURE
...
unit alias names so normal mixer programs can access them.
2003-02-16 18:16:07 +00:00
augustss
6a5e88a858
Add a comment.
2003-02-16 17:40:05 +00:00
augustss
2eaee0aca2
Split out register definitions.
...
Clean up PHY init a little.
Use two outstanding read xfers to avoid dropping packets.
2003-02-16 17:18:47 +00:00
augustss
78521590f2
Make it work (albeit slow).
2003-02-16 13:52:37 +00:00
augustss
2fe25d04b8
Check in some work-in-progress (not yet operational).
2003-02-15 18:33:29 +00:00
augustss
b3861dad89
Regen.
2003-02-15 18:30:55 +00:00
augustss
2f45046cd8
Add two new devices.
2003-02-15 18:30:28 +00:00
ichiro
b43d919954
add SUNTAC Ir-Trinity IS96U
...
from FreeBSD
2003-02-12 15:36:20 +00:00
ichiro
f6b8f0fcf8
regen
2003-02-12 15:34:53 +00:00
ichiro
33925bb372
add SUNTAC Ir-Trinity IS96U
2003-02-12 15:34:18 +00:00
ichiro
7f36ac7104
add SUNTAC U-Cable type D2
...
from FreeBSD
2003-02-11 00:02:45 +00:00
ichiro
6e231f6386
regen
2003-02-11 00:01:24 +00:00
ichiro
d2e9b4b23d
add product SUNTAC U-Cable type D2
2003-02-11 00:00:43 +00:00
ichiro
443e6bd05b
regen
2003-02-08 04:21:51 +00:00
ichiro
b58be339b3
add product
...
National Instruments GPIB-USB-A
2003-02-08 04:21:22 +00:00
ichiro
79f2f91bad
regen
2003-02-08 04:08:23 +00:00
ichiro
d334318f81
add product
...
Sun Communications Inc. Mobile-adaptor
2003-02-08 04:07:36 +00:00
ichiro
6236662a85
change URL pointers of USB[1,2] specification
2003-02-08 03:32:50 +00:00