summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_quirks.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support for various MS Wirless usb mice. the patch is fromimp2007-06-291-15/+17
| | | | | | | | | Hellmuth with some refinements by myself and flz@. It works for me with my non-MS mice, so nothing should be broken by it. Submitted by: Hellmuth Michaelis PR: 90162 Approved by: re (blanket)
* Latest round of usb cleanups:imp2007-06-211-3/+0
| | | | | | | | | | | | | | | | | | | o Consistently use device_foo_t and bus_foo_t for functions implementing device_foo and bus_foo respectively. Adjust those routines that were wrong (we should do this throughout the tree). o make all the modules depend on usb. Otherwise these modules won't load. o ucycom doesn't need usb_port.h o Minor unifdefing o uhub, umass, ums, urio, uscanner conversion complete. o ukbd: Remove the NO_SET_PROTO quirk (fixes a PR 77940). NetBSD removed their check and setting the proto a long time ago. o umodem panic fixed. UQ_ASSUME_CM_OVER_DATA quirk removed because I've never seen a umodem that needed this rejection for proection (this gets rid of ~20% of the quirks). Approved by: re@ (kensmith) PR: 77940
* Add a quirk for devices recognized as usb keyboards not to be hooked byflz2006-11-281-0/+1
| | | | | | | | ukbd(4). PR: usb/105669 Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> MFC after: 1 week
* Add a UQ_OPEN_CLEARSTALL quirk for devices that need a clear-stalliedowse2006-02-191-0/+1
| | | | | | | | operation when a pipe is opened, and add an entry for the ST Micro biometric CPU. Submitted by: Fredrik Lindberg MFC after: 1 week
* Remove the UQ_NO_OPEN_CLEARSTALL quirk, as this is now the defaultiedowse2006-01-081-2/+0
| | | | behaviour for all devices.
* Add a hid blacklist quirk.flz2005-12-271-0/+1
| | | | | | | | PR: usb/80383 Submitted by: Lonnie Mendez <lmendez19@austin.rr.com> Tested by: Adam Kropelin <akropel1@rochester.rr.com>, thierry, fenner Approved by: pjd MFC after: 1 week
* - Rename UQ_BROKEN_IPOD to UQ_NO_OPEN_CLEARSTALL since it's likely to be usedflz2005-12-111-1/+3
| | | | | | | | by more devices than iPods. Proposed by: iedowse Approved by: ssouhlal MFC after: 3 days
* - Add Product IDs for iPod 3G and iPod Video.flz2005-12-051-0/+1
| | | | | | | - Add an USB quirk for iPods, da(4) devices are now successfully created. Approved by: ssouhlal MFC after: 1 week
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Pull in the most recent version of usb_quirks.h and propagate the necessaryn_hibma2001-07-051-5/+9
| | | | | | changes to the various files. Also, pull in most of the current usb_subr.c file.
* Make the Ricochet modems work through the USB interface.n_hibma2000-11-011-8/+10
| | | | | Tested by: jim Obtained from: NetBSD
* Remove __P prototypes to reduce diffs between the NetBSD and FreeBSDn_hibma2000-07-171-1/+1
| | | | versions.
* Sync with NetBSD:n_hibma2000-05-141-3/+1
| | | | Add quirks for self-powered hubs that are not.
* Change Lennart's e-mail address.n_hibma2000-05-141-1/+1
|
* This commit adds device driver support for the ADMtek AN986 Pegasuswpaul1999-12-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USB ethernet chip. Adapters that use this chip include the LinkSys USB100TX. There are a few others, but I'm not certain of their availability in the U.S. I used an ADMtek eval board for development. Note that while the ADMtek chip is a 100Mbps device, you can't really get 100Mbps speeds over USB. Regardless, this driver uses miibus to allow speed and duplex mode selection as well as autonegotiation. Building and kldloading the driver as a module is also supported. Note that in order to make this driver work, I had to make what some may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer() function will use tsleep() for synchronous transfers that don't complete right away. This is a problem since there are times when we need to do sync transfers from an interrupt context (i.e. when reading registers from the MAC via the control endpoint), where tsleep() us a no-no. My hack allows the driver to have the code poll for transfer completion subject to the xfer->timeout timeout rather that calling tsleep(). This hack is controlled by a quirk entry and is only enabled for the ADMtek device. Now, I'm sure there are a few of you out there ready to jump on me and suggest some other approach that doesn't involve a busy wait. The only solution that might work is to handle the interrupts in a kernel thread, where you may have something resembling a process context that makes it okay to tsleep(). This is lovely, except we don't have any mechanism like that now, and I'm not about to implement such a thing myself since it's beyond the scope of driver development. (Translation: I'll be damned if I know how to do it.) If FreeBSD ever aquires such a mechanism, I'll be glad to revisit the driver to take advantage of it. In the meantime, I settled for what I perceived to be the solution that involved the least amount of code changes. In general, the hit is pretty light. Also note that my only USB test box has a UHCI controller: I haven't I don't have a machine with an OHCI controller available. Highlights: - Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part. - Updated usbdevs and regenerated generated files - Updated HARDWARE.TXT and RELNOTES.TXT files - Updated sysinstall/device.c and userconfig.c - Updated kernel configs -- device aue0 is commented out by default - Updated /sys/conf/files - Added new kld module directory
* Add a quirk for the Altec ASC495 speakers. They pretend to support then_hibma1999-11-281-2/+3
| | | | audio class, but they don't
* Add many new devicelabelsn_hibma1999-11-121-2/+3
| | | | | | | Rename a few (I wish companies would stop buying each other) Add a quirk entry for hubs that say they are self powered but are in fact bus powered (usage in uhub follows shortly).
* The Qtronix keyboard has a built in PS/2 port for a mouse.n_hibma1999-11-081-0/+1
| | | | | | | | | | | | It however posts a bogus button up event once in a while. Whenever we receive dx=dy=dz=buttons=0 we postpone adding it to the queue for 50msecs with a timeout. If in the meantime something else is posted the event is ignored. This avoids the problem Nik Sayer reported. He noticed that X windows would drop and pick up a window once in a while. Thanks, Nik, for supplying me with the keyboard to fix the problem!
* Major synchronisation with the NetBSD USB stack:n_hibma1999-10-071-4/+3
| | | | | | | | | | | - Some cleanup and improvements in the uhci and ohci drivers - Support for plugging and unplugging devices improved - Now available is bulk transport over OHCI controllers - Resume and suspend have been temporarily been disabled again. Proper support for it is available in the uhci.c and ohci.c files but I have not yet spent the brain cycles to use it. - OpenBSD now uses the USB stack as well - Add FreeBSD tags
* Textual changesn_hibma1999-01-221-1/+1
|
* Major synchronisation with NetBSD USB coden_hibma1999-01-071-5/+7
|
* Added Id to all filesn_hibma1998-12-141-0/+1
|
* Updated USB kernel sources to NetBSD sources of 1998-12-09.n_hibma1998-12-131-0/+1
| | | | | 1 bug fix and several textual changes. Preparing to feed back changes for port into NetBSD to create one source base.
* Initial commit of ported NetBSD USB stackn_hibma1998-11-261-0/+49
OpenPOWER on IntegriCloud