summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
Commit message (Collapse)AuthorAgeFilesLines
* Add a new vendor ID for Personal Cummunication Systems. They make a nicemux2005-12-311-0/+1
| | | | | | | | 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
* Add support for the Wacom Graphire 3 4x5. Like the Graphire 3, it has amux2005-12-314-9/+107
| | | | | | | | 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
* Add support for Xbox 360 gamepads. They are HID-capable devices, butmux2005-12-313-4/+149
| | | | | | | | | | lack a report descriptor and don't use the standard interface class. This patch works around these deficiencies so that the uhid(4) driver can recognize and use those broken devices. PR: usb/90141 Submitted by: Ed Schouten <ed@fxq.nl> (with minor mods from me) MFC after: 1 week
* Add a bunch of ipod entries, one as suggested by Bryan Liesner. Weimp2005-12-302-0/+14
| | | | | | should likely fix this better... Submitted by: Bryan Liesner (ipod mini)
* Sync the type (and size, compare mousestatus_t in /usr/include/sys/mouse.h)netchild2005-12-291-1/+1
| | | | | | | of a variable according to the usage (after increasing the number of max buttons this may matter). Noticed by: flz
* Add support for the HP 8200C/8250C/8290C scanners.netchild2005-12-292-0/+2
| | | | | PR: 90467 Submitted by: Adam McDougall <mcdouga9@egr.msu.edu>
* Add support for the Canon CanoSvan LIDE 25.netchild2005-12-292-0/+2
| | | | | PR: 89509 Submitted by: David Gilbert <dgilbert@daveg.ca>
* Merge NetBSD rev. 1.61:netchild2005-12-291-1/+1
| | | | | | | - Support more than 7 buttons for USB mice. Patch from NetBSD kern/30248. PR: 83353 Submitted by: Seán Farley <sean-freebsd@farley.org>
* Add support for Epson 2480 scanner.netchild2005-12-292-0/+2
| | | | | PR: 86094 Submitted by: Erik Norgaard <norgaard@locolomo.org>
* Emit USB_EVENT_DRIVER_DETACH on detach.netchild2005-12-291-0/+3
| | | | | | PR: 83247 Submitted by: Sangwoo Shim <ssw@neo.redjade.org> MFC after: 2 weeks
* Add a hid blacklist quirk.flz2005-12-274-1/+20
| | | | | | | | 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
* - Fix type in previous commit; unbreak buildpav2005-12-201-1/+1
| | | | | Approved by: ssouhlal Pointy hat to: pav
* - Ignore incorrect CSW signatures on my PURE PocketDab 2000 playerpav2005-12-202-3/+15
| | | | | Approved by: ssouhlal MFC after: 1 week
* Allow to use TransFlash drive, which can be found in Motorola E398 Mobile Phone.pjd2005-12-192-0/+5
| | | | | | PR: usb/89889 Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl> MFC after: 1 week
* - Add ProductID for the iPod Nano.flz2005-12-182-0/+2
| | | | | | Reported by: Nathan Kay <mcnate@numenor.net> Approved by: ssouhlal MFC after: 3 days
* Use %t (ptrdiff_t modifier) to print a couple of pointer differences ratherjhb2005-12-151-2/+1
| | | | than casting them to int.
* - Rename UQ_BROKEN_IPOD to UQ_NO_OPEN_CLEARSTALL since it's likely to be usedflz2005-12-113-4/+6
| | | | | | | | by more devices than iPods. Proposed by: iedowse Approved by: ssouhlal MFC after: 3 days
* Reorder the calling of the completion callback and the transferiedowse2005-12-081-10/+14
| | | | | | | | | | | | | "done" method so that for non-repeat operations we have completely finished with the transfer by the time the callback is invoked. This makes it possible to recycle a transfer from within the callback routine for the same transfer. Previously this almost worked, but with OHCI controllers calling the "done" method after the callback would zero out some important fields needed by the recycled transfer. Only some usb peripheral drivers such as ucom appear to rely on the ability to reuse a transfer from its callback. MFC after: 1 week
* - Add Product IDs for iPod 3G and iPod Video.flz2005-12-054-12/+21
| | | | | | | - Add an USB quirk for iPods, da(4) devices are now successfully created. Approved by: ssouhlal MFC after: 1 week
* Fix -Wundef from compiling the amd64 LINT.ru2005-12-045-10/+10
|
* Recognize the Sony Clie PEG-TJ37.bmah2005-12-042-0/+2
| | | | | Tested on: My PEG-TJ37 and my RELENG_6 workstation MFC after: 1 week
* Tell Rx radiotap that hardware leaves FCS at the end of the frame.damien2005-11-291-1/+1
| | | | Obtained from: NetBSD (drochner@)
* Use usbd_clear_endpoint_stall_async() instead of usbd_clear_endpoint_stall()damien2005-11-291-2/+2
| | | | | | in Tx/Rx callbacks. Obtained from: NetBSD
* o Send management frames at the lowest possible rate.damien2005-11-293-8/+43
| | | | | | o Include rate in the Rx radiotap code. o Fix RSSI value in the Rx path. o Minor tweaks.
* The ohci driver's processing of completed transfer descriptors (TDs)iedowse2005-11-272-31/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | appeared to rely on all kinds of non-guaranteed behaviours: the transfer abort code assumed that TDs with no interrupt timeout configured would end up on the done queue within 20ms, the done queue processing assumed that all TDs from a transfer would appear at the same time, and there were access-after-free bugs triggered on failed transfers. Attempt to fix these problems by the following changes: - Use a maximum (6-frame) interrupt delay instead of no interrupt delay to ensure that the 20ms wait in ohci_abort_xfer() is enough for the TDs to have been taken off the hardware done queue. - Defer cancellation of timeouts and freeing of TDs until we either hit an error or reach the final TD. - Remove TDs from the done queue before freeing them so that it is safe to continue traversing the done queue. This appears to fix a hang that was reproducable with revision 1.67 or 1.68 of ulpt.c (earlier revisions had a different transfer pattern). With certain HP printers, the command "true > /dev/ulpt0" would cause ohci_add_done() to spin because the done queue had a loop. The list corruption was caused by a 3-TD transfer where the first TD completed but remained on the internal host controller done queue because it had no interrupt timeout. When the transfer timed out, the TD got freed and reused, so it caused a loop in the done queue when it was inserted a second time from a different transfer. Reported by: Alex Pivovarov MFC after: 1 week
* Revision 5.0 of the Sony DSC camera appears to require RBC commandsiedowse2005-11-261-2/+14
| | | | | | | | to be padded to 12 bytes in length. Otherwise the requests just time out. Reported by: anders MFC after: 1 week
* o Pass received frames to radiotap.damien2005-11-252-18/+29
| | | | | | | o Remove some unsupported flags from the ic_caps field. o Various cosmetic tweaks. MFC after: 6 days
* Fix AMRR initialization.damien2005-11-251-1/+1
| | | | MFC after: 6 days
* Send the packet to BPF after setting the duration field of the frame.damien2005-11-241-24/+24
| | | | MFC after: 1 week
* o Force the sending of an extra URB if there is less than 2 bytes leftdamien2005-11-241-5/+23
| | | | | | | | at the end of the last URB (URB = USB Request Block = 64 bytes). o Free the AMRR reserved xfer in detach. o Minor tweaks. MFC after: 1 week
* Optimize PLCP length field computation for 802.11b rates.damien2005-11-231-5/+4
|
* Minor tweaks.damien2005-11-191-10/+13
|
* Second part of the AMRR commit.damien2005-11-182-13/+112
| | | | | Enable automatic rate adaptation in BSS operating mode. Works great here. Will need a lot of testing though.
* Add some initial bits (currently unused) for upcoming AMRR support.damien2005-11-151-0/+10
| | | | | | | AMRR = Adaptive Multi Rate Retry algorithm More information: http://www-sop.inria.fr/rapports/sophia/RR-5208.html More to come.
* Add some initial bits (currently unused) for upcoming AMRR support.damien2005-11-151-0/+77
| | | | | AMRR = Adaptive Multi Rate Retry algorithm More information: http://www-sop.inria.fr/rapports/sophia/RR-5208.html
* Optimize and clean TX time computation.damien2005-11-151-22/+7
| | | | | | Avoid a test and a modulus operation. MFC after: 2 weeks
* Be more robust when handling Rx interrupts. If we can't allocate a new mbuf,damien2005-11-131-11/+11
| | | | | | | just discard the received frame and reuse the old mbuf. This should prevent the connection from stalling after high network traffic. MFC after: 2 weeks
* Fix a > 1 year old typo that caused the ulpt driver to try readingiedowse2005-11-121-1/+1
| | | | | | | | | | from the printer and discarding the data even if the ulpt device was opened for reading. This resulted in crashes because two conconcurrent read transfers were using the same transfer structure. PR: usb/88886 Reported By: Alex Pivovarov MFC after: 1 week
* - Store pointer to the link-level address right in "struct ifnet"ru2005-11-116-6/+6
| | | | | | | | | | rather than in ifindex_table[]; all (except one) accesses are through ifp anyway. IF_LLADDR() works faster, and all (except one) ifaddr_byindex() users were converted to use ifp->if_addr. - Stop storing a (pointer to) Ethernet address in "struct arpcom", and drop the IFP2ENADDR() macro; all users have been converted to use IF_LLADDR() instead.
* Remove spl.ticso2005-11-051-28/+16
| | | | | | Restart request on USBD_IOERROR. MFC after: 2 weeks
* Replace FreeBSD 3.x syntax (controller miibus0) with 4.x syntaximp2005-10-224-4/+4
| | | | (device miibus) in time for 7.0 :-)
* Eliminate two unused arguments to ttycreate().phk2005-10-163-3/+3
|
* add product ID for Linux Ethernet/RNDIS gadget on pxa210/25x/26x.ume2005-09-282-0/+2
| | | | | Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net> MFC after: 2 days
* Add dummy support for ifmedia subsystem. This allows devd to see cdce as ansobomax2005-09-262-0/+32
| | | | | | ethernet device and configure IP etc. Submitted by: Craig Boston <craig@tobuj.gank.org>
* This part of the struct isn't needed on FreeBSD:netchild2005-09-241-0/+2
| | | | | | | | | | ---snip--- FYI this bit isn't needed for FreeBSD - I think it came from either OpenBSD or NetBSD where arc4random() wasn't available during cold boot. ---snip--- Explained by: iedowse
* 'PC Card' instead of other variantsimp2005-09-221-2/+2
|
* Remove OLDCARD shimsimp2005-09-221-33/+17
|
* The "SMC EZ Connect SMC2862W-G" product is not based on the Ralink RT2500USBdamien2005-09-191-1/+0
| | | | | | chipset. MFC after: 5 days
* ehcivar.h:netchild2005-09-184-12/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | Synchronise with NetBSD upto rev 1.19: - Allow 32 chars in the saved vendor string. - Some NetBSD-only changes. - Some missing parts (define, variable). ehci_pci.c: Add vendor ids for ATI and Philips. Add identification strings for the following: o ALi's M5239 o AMD 8111 o ATI SB200, SB400 o Intel 6300ESB, ICH4, ICH5, ICH7 o NVIDIA nForce 2, nForce 3, nForce 4 o Philips ISP156x ehcireg.h: We're at the same level as rev 1.18 from NetBSD. usb_port.h: NetBSD/OpenBSD specific things Obtained from: NetBSD via DragonFly No comment from: usb@
* Add missing mtx_destroy() when if_alloc() fails.ru2005-09-166-4/+27
| | | | | Add missing if_free() when mii_phy_probe() fails. Put if_free() into the correct #ifdef in detach().
OpenPOWER on IntegriCloud