Warner Losh
f4d167bdda
Don't use ", but instead use ' instead. I suppose I could have also
...
used \". When compiling with USB_VERBOSE, this causes syntax issues.
Noticed by: Hans Petter Selasky
2006-04-27 17:33:25 +00:00
Florent Thoumie
e79417e5d4
- Add support for the Acer Acerscan 640BT.
...
- Add documentation bits.
PR: usb/95616
Submitted by: Matthieu Guegan <lesaint@gcu.info>
Approved by: cperciva (mentor)
MFC after: 3 days
2006-04-11 10:44:31 +00:00
Florent Thoumie
281f5eff33
- Add support for the Epson RX425 scanner.
...
PR: usb/95346
Submitted by: Matthieu Guegan <lesaint@gcu.info>
Approved by: cperciva (mentor)
MFC after: 3 days
2006-04-10 10:21:09 +00:00
Sam Leffler
512537d1a4
stop device so we don't panic on card removal when active
...
MFC after: 3 days
2006-03-24 19:11:26 +00:00
Ian Dowse
3ee42667a4
Correct the calculation of the report size and only look at reports
...
that have the specified kind, instead of assuming that there is
only one report of the right kind in the report descriptor.
Submitted by: Morten Johansen
Obtained from: NetBSD (indirectly)
PR: usb/77604
2006-03-22 02:04:12 +00:00
Ian Dowse
1ecfb7ed3d
Oops - fix the build in the !USB_DEBUG case.
2006-03-18 17:57:34 +00:00
Ian Dowse
a6725353dd
Let the EHCI hardware track the toggle state for bulk and interrupt
...
transfers. This fixes some cases where the software toggle tracking
was not doing the right thing. For example, a short transfer that
transferred 0 bytes of the requested qTD transfer size does cause
a toggle change, but the existing code was assuming it didn't.
Reported and tested by: pav
MFC after: 2 weeks
2006-03-18 13:55:16 +00:00
Ian Dowse
fad8387468
Sony DSC cameras with revision number 6.0 require the same quirk
...
as those reporting revision 5.0.
Reported by: Brian Reichert
MFC after: 1 week
2006-03-17 18:16:22 +00:00
Poul-Henning Kamp
327643e3ca
When we get an unknown ATAPI comand, try it even if it is not listed,
...
in all likelyhood just passing it through will work.
2006-03-05 17:52:32 +00:00
Warner Losh
e8bfdb2a33
Don't free ifaces yet, should fix a panic
2006-03-01 06:31:24 +00:00
Maksim Yevmenkin
2d6b1da721
Make ukbd(4) to not delay break scancodes in "raw" mode.
...
Developed with: Norbert Koch < NKoch at demig dot de >
No response from: freebsd-current@
Tested by: Norbert Koch < NKoch at demig dot de >
MFC after: 1 day
2006-02-28 03:34:06 +00:00
Warner Losh
04a6a8a8e5
Since we set the decription, we don't need to also print it. Noticed by: ru@
2006-02-27 19:40:37 +00:00
Warner Losh
b0e8c55437
Don't forget to free the ifaces when we free the ivars
2006-02-27 19:36:22 +00:00
Ian Dowse
564d760afe
Add the Tripp-Lite U209-000-R serial adapter.
...
PR: usb/78543, usb/93347
MFC after: 1 week
2006-02-27 01:01:27 +00:00
Ian Dowse
cc06b755fe
The UQ_OPEN_CLEARSTALL entry added in revision 1.48 is no longer
...
required now that we save the data toggle when closing a pipe.
Verified by: Fredrik Lindberg
2006-02-26 22:20:45 +00:00
Ian Dowse
78e3c96cc9
Save and restore the data toggle value when a pipe to an endpoint
...
is closed and then reopened. This appears to be necessary now that
we no longer clear endpoint stalls every time a pipe is opened.
Previously we could assume an initial toggle value of zero because
the clear-stall operation resets the device's toggle state.
Reported by: Holger Kipp
MFC after: 3 days
2006-02-26 02:57:57 +00:00
Ian Dowse
b184cddcc2
Add a missing ohci_waitintr() call that allows polled operation of
...
bulk transfers to have a chance of working.
PR: usb/93720
Submitted by: Nate Nielsen
MFC after: 1 week
2006-02-25 17:44:29 +00:00
Ian Dowse
199a2380fe
Add a UQ_OPEN_CLEARSTALL quirk for devices that need a clear-stall
...
operation when a pipe is opened, and add an entry for the ST Micro
biometric CPU.
Submitted by: Fredrik Lindberg
MFC after: 1 week
2006-02-19 14:48:02 +00:00
Sam Leffler
08d7a88599
use s/w bmiss facility
...
MFC after: 1 week
2006-02-18 01:04:08 +00:00
Gleb Smirnoff
23033eebf4
Do not touch ifp->if_baudrate in miibus aware drivers.
2006-02-14 12:44:56 +00:00
Gleb Smirnoff
2ce61916c2
Typo: s/fint/find/
2006-02-12 17:32:59 +00:00
Ian Dowse
496a1b8908
Add USB polling calls to umass_cam_poll(). This appears to be enough
...
to make kernel crash dumps to umass devices work, at least in some
cases.
2006-02-12 15:51:03 +00:00
Warner Losh
0085aa8869
Improve the memory resoruce allocation and usage during the probe.
...
I've had these improvements in my tree for almost a year now...
2006-02-11 03:41:20 +00:00
Warner Losh
55303171a4
Use the release version as a floor, not an exact match. Add comment to that
...
effect and draw attention to the fact that the list has stronger ordering
requirements than before.
2006-02-11 03:30:17 +00:00
Warner Losh
5df2beab5b
Give ohci_intr a proper return value. In FreeBSD, this is void. Remove
...
now-redundant cast on establishing the interrupt.
2006-02-11 03:29:02 +00:00
Warner Losh
da8341a31a
Update the keyspan product list from NetBSD.
2006-02-11 03:27:57 +00:00
Warner Losh
01538a58fd
ADDON is registered as 0x0d7d, not PNY. Don't confuse the two as we
...
try to use the registrant for numbers in this file, not the OEM that
put their label on it. Use PNY's real number 0x154b. Add another PNY
atachmate with quirks from a PR filed a while ago, but that I can't
seem to find now...
2006-01-31 19:09:38 +00:00
Florent Thoumie
b308457205
- Add a scsi_da.c and a umass.c quirk for Genesys 6-in-1 Card Reader.
...
Reported by: anders on freebsd-usb@
Tested by: anders
Approved by: ssouhlal
MFC after: 3 days
2006-01-30 20:27:44 +00:00
Florent Thoumie
5cd7adbfe3
- Add a umass quirk that should have been part of latest commit.
...
Approved by: iedowse (implicit)
MFC after: 3 days
2006-01-26 01:23:29 +00:00
Florent Thoumie
fa9d414d41
Add Product IDs :
...
- Sandisk Cruzer Micro 128MB [5]
- DANE-ELEC zMate 512MB USB flash drive [7]
- Attache 256MB USB 2.0 Flash Drive [8]
- Sandisk Cruzer Micro 256MB [9]
Add scsi_da.c quirks :
- Samsung USB key 128Mb [1]
- Kingston DataTraveler 2.0 [2]
- Creative MuVo Slim [3]
- United MP 5512 Portable MP3 Player [4]
- Sandisk Cruzer Micro 128MB [5], [9]
- PNY USB Flash keys [6], [7], [8]
Add umass.c quirks :
- Sandisk Cruzer Micro 128MB [5]
- DANE-ELEC zMate 512MB USB flash drive [7]
- Attache 256MB USB 2.0 Flash Drive [8]
- Sandisk Cruzer Micro 256MB [9]
PR: usb/90081 [1],
usb/89196 [2],
kern/86131 [3],
usb/80487 [4],
usb/75970 [5],
usb/75578 [6],
usb/72344 [7],
usb/65436 [8],
usb/70835 [9]
Submitted by: Henri-Pierre CHARLES <hpc@prism.uvsq.fr> [1],
Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> [2],
Erich Rickheit KSC <rickheit-fbp@numachi.com> [3],
tnu@chania.di.uoa.gr [4],
Bram Abbekerk <bram@abbekerk.demon.nl> [5],
Thomas Pornin <pornin@bolet.org> [6],
parv <parv@pair.com> [7],
Peter D. Quilty <pdquilty@adelphia.net> [8],
Raymundo M. Vega <rvega@ms-smtp-03-eri0.socal.rr.com> [9]
Approved by: iedowse
MFC after: 3 days
2006-01-26 00:35:54 +00:00
Damien Bergamini
f014cff4cd
account tx retry-fail errors in if_oerrors.
2006-01-21 12:46:57 +00:00
Damien Bergamini
e97333cbc4
Adjust tx power based on user preferences.
2006-01-21 10:45:07 +00:00
Damien Bergamini
25227ab8c5
o fix initialization sequence.
...
o re-enable ural_disable_rf_tune().
2006-01-21 10:25:51 +00:00
Damien Bergamini
1749c2163b
Add two new ural(4) product ids.
...
Obtained from: OpenBSD
2006-01-21 09:53:11 +00:00
Damien Bergamini
86d55f61a5
sync w/ openbsd:
...
o fix contention window
o silently discard received frames that are too short
o simplify lookup of 802.11a channels (we know they exist)
o fix short preamble support
o add short slot support
o fix eifs settings
o many consistency tweaks
2006-01-21 09:37:51 +00:00
Damien Bergamini
beee67e182
Fix computation of the tx retry count in AMRR.
2006-01-21 08:58:03 +00:00
Ariff Abdullah
ed3b31fc67
ehci_pci.c:
...
ATI EHCI controllers exhibit simmilar stall issues and require
this dropped interrupts workaround. Be verbose about it.
ehci.c:
ehcivar.h:
Slight change in comments to note about issues surrounding both
VIA and ATI EHCI controllers.
Approved by: iedowse
2006-01-16 19:23:59 +00:00
Ariff Abdullah
d26f1706b9
Add PCI vendor id for ATI OHCI USB controllers.
...
Approved by: iedowse
2006-01-16 19:07:05 +00:00
Ian Dowse
afcb6f8261
Work around a problem seen on VIA EHCI controllers where occasionally
...
an interrupt appears to occur before the transfer has been marked
as completed. This caused umass transfers to get stuck, especially
when writing large files. The workaround sets up a timer that
rechecks for missed completed transfers if some operations are still
pending. Other suggested workarounds, such as performing a PCI read
immediately after acknowledging the interrupts, do not appear to
help.
Obtained from: OpenBSD
2006-01-15 21:03:19 +00:00
Ian Dowse
df3e5efa87
Set sc_dying to 1 when detaching. In NetBSD and OpenBSD this was
...
done by the DVACT_DEACTIVATE case in *hci_activate(), but we don't
use that code in FreeBSD so it was never set.
2006-01-15 20:41:04 +00:00
Ian Dowse
c15e3d30c7
The ehci driver doesn't use the transfer `hcpriv' field, so don't
...
bother setting it to NULL in ehci_root_ctrl_done().
2006-01-15 20:32:52 +00:00
Scott Long
2ffb18fec1
Don't use the ALLOCNOW flag for tags that will only be used for static
...
allocations.
2006-01-10 22:55:35 +00:00
Takanori Watanabe
a0fe548a14
Add FOMA (NTT DoCoMo 3G mobile phone system) driver.
...
This is based on MCPC USB mobile phone guide line (MCPC-GL005)
Some other 3G system or so will work with this driver.
Kyocera PHS terminal (a.k.a. Kyopon) is known to work, which
is now supported by umodem(4) driver.
2006-01-09 17:46:36 +00:00
Florent Thoumie
465ad22910
Enable NO_GETMAXLUN quirk.
...
PR: usb/90670
Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl>
Approved by: iedowse
MFC after: 1 week
2006-01-09 01:33:53 +00:00
Alexander Leidinger
b85f5cf149
Add support for Canon CanoScan D660U.
...
PR: 87395
Submitted by: Eirik Mikkelsen <eirik@bsdbox.org>
2006-01-08 14:17:04 +00:00
Ian Dowse
662f5fb6d9
Remove the UQ_NO_OPEN_CLEARSTALL quirk, as this is now the default
...
behaviour for all devices.
2006-01-08 03:34:29 +00:00
Ian Dowse
dd35c3642c
Don't perform an endpoint stall clear every time a pipe is opened.
...
This should not be necessary, and it is known to confuse certain
devices.
Obtained from: NetBSD
Requested by: many
2006-01-08 03:27:43 +00:00
Florent Thoumie
d908e8fa84
Add Product ID for Acerscan 1240u and the corresponding entry in uscanner.c.
...
PR: usb/91466
Submitted by: Cameron Lerch <cam@zarya.org>
MFC after: 3 days
Approved by: ssouhlal
2006-01-08 01:43:00 +00:00
Maxime Henrion
bc184556bf
Add a new vendor ID for Personal Cummunication Systems. They make a nice
...
USB HID device that allows to plug two PS2 controllers. This specific
device doesn't work yet but will as soon as we support devices with
multiple report IDs.
MFC after: 3 days
2005-12-31 04:41:17 +00:00
Maxime Henrion
092dbdfb4c
Add support for the Wacom Graphire 3 4x5. Like the Graphire 3, it has a
...
broken report descriptor. While I'm here, make all the other report
descriptors const to match the newly added one.
Obtained from: NetBSD
MFC after: 1 week
2005-12-31 04:38:50 +00:00