summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
Commit message (Collapse)AuthorAgeFilesLines
* Missed in last commit: add usb task for rue to use for its ticks.imp2007-07-091-0/+1
| | | | Approved by: re (bmah)
* When all the other drivers were converted to scheduling a taskqueue toimp2007-07-091-0/+18
| | | | | | | | | | do the heavy lifting of the 'mii_tick' function, rue was left behind. Implement this in a naive way. Reports from the field show this makes the driver functional with some locking issues, as opposed to an instant panic. Those will be addressed in a later version of the driver. Approved by: re@ (bmah)
* Fix duplicates that crept in at the last minute :-(.imp2007-07-091-2/+1
| | | | | Noticed by: Ian Freislich Approved by: re@ (blanket)
* Further diff reduction against the proposed merged usbdevs: Add a fewimp2007-07-091-21/+37
| | | | | | | | more vendors, use slightly more standardized names. No md5 chagnes for !USBVERBOSE kernels Approved by: re@ (blanket)
* More vendors from the merged list.imp2007-07-091-10/+71
| | | | | | | | | | Sort NETGEAR list per convention. Swap QUALCOMM and QUALCOMM2. Add a few vendor products. no md5 changes with this file (except when USBVERBOSE is enabled) Approved by: re@ (blanket)
* Trivial differences with the proposed merged BSD usbdevs file mergedimp2007-07-061-95/+94
| | | | | | | | | in. These are exclusively in the name of the company for this round. No new devices have been added, but the MITEL entry has been eliminated because nothing uses it. You won't see any difference unless you have USBVERBOSE defined for the kernel. Approved by: re@ (blanket)
* uhub already does the printing and naming of a device, so don't do itimp2007-07-061-5/+1
| | | | | | again here for compat drivers. Approved by: re@ (blanket)
* Prefer device_printf to printf + device_get_nameunit. This savesimp2007-07-051-17/+14
| | | | | | about 100 bytes. Approved by: re (blanket)
* Prefer device_printf to printf("%s: ...", device_get_nameunit()). Onimp2007-07-051-30/+23
| | | | | | amd64, we save about 240 bytes (this is about 20 per instance). Approved by: re (blanket)
* Prefer device_printf to printf("%s:...", device_get_nameunit(),...);imp2007-07-052-61/+51
| | | | | | This saves ~300 bytes for uvscom.c and ~100 for uvisor.c Approved by: re (blanket)
* Add quirks, derived from the linux quirks table for:imp2007-07-052-5/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Adonics Cable 205 o Aiptek PocketCAM 3Mega o Belkin USB2SCSI o Casio QV DigiCam o CCYU EasyDisk ED1064 o Desknote UCR-61S2B o Epson Stylus Photo 875DC Card Reader o Epson Stylus Photo 895 Card Reader o Feiya 5-in-1 Card Reader o Hitachi Dvd-CAM DZ-MV100A Camcorder o HP CD-WRiter+ CD-4e o Insystem Storage Adapter v2 o Kyocera Finecam S3x o Kyocera Finecam S4 o Kyocera Finecam S5 o Kyocera Finecam L3 o Lexar USB CF Reader o MindAtWork Digital Wallet o Minolta Dimage F300 o Minolta Dimage E223 o Minsumi USB Fdd o Netac USB-CF-Card o NetChip USB Clik! 40 o Onspec MDCFE-B USB CF Reader o Onspec SIIG/Datafab Memory Stick + CF Reader/Writer o Onspec Datafab-based Reader o Onspec PNY/Datafab CF+SM Reader o Onspec SimpleTech/Datafab CF+SM Reader o Onspec MDSM-b Reader o Onspec USB To CF + SM Combo (LC1) o Onspec ImageMate SDDR55 o Panasonic LS-120 Camera o Samsung Techwin Digimax 410 o Shuttle eUSB SmartMedia / CompactFlash Adapter o Skanhex MD 7425 Camera o Skanhex SX 520z Camera o Sony Memorystick NW-MS7 o Sony Portable USB Hardrive V2 o Sony Memorystick PEG N760c o Sony Memorystick MSC-U03 o TREK/IBM USB memory key o Trumpion T33520 USB Flash Card Controller o Trumpion MP3 Player o Vivtar Vivicam 35Xx o WinMaxGroup USB Flash Disk 64M-C o Zoran Digital Camera EX-20 DSC and maybe a few others... Submitted by: Vaidas Damosevicius and flz PR: 79893 Reviewed by: njl, flz Approved by: re (blanket)
* Add support for Western Digital MyBook external enclosures. They needimp2007-07-052-0/+10
| | | | | | | | this quirk to work. Submitted by: Dierk Sacher PR: usb/99419 Approved by: re (blanket)
* WD Firewire/USB Combo hangs under load on USB interface. Fix withimp2007-07-022-0/+5
| | | | | | | | these quirks. Submitted by: John Pettitt PR: 79140 Approved by: re@ (blanket)
* Fix two more PRs:imp2007-06-305-7/+28
| | | | | | | | | | (1) Add size parameter to usbd_get_string() (2) Properly limit speed when a full speed hub is plugged into a high speed hub. Submitted by: Hans Petter Selasky PR: 80773, 79725 Approved by: re@ (kensmith)
* Additional devices from NetBSD and OpenBSD. This includes devices notimp2007-06-302-24/+33
| | | | | | | | | | yet supported by this driver. Support will be committed soon, or a filter on all the 'newer' devices will be installed before the release. Approved by: re@ (blanket) Obtained from: NetBSD, OpenBSD Small Furry Animals by: Pink Floyd
* umass quirk: Samsung YP-U2 USB MP3/Ogg Playerimp2007-06-302-0/+5
| | | | | | Submitted by: Ulrich Spoerlein PR: 114154 Approved by: re@ (blanket)
* quirk for CENTURY EX35QUAT disk enclosureimp2007-06-302-23/+31
| | | | | | Submitted by: Daniel Hartmeier PR: 94132 Approved by: re (blanket)
* Fix cheapy Myson USB-IDE adapterimp2007-06-302-0/+7
| | | | | | Submitted by: Arno J. Klaassen PR: 88939 Approved by: re@ (blanket)
* Expand the transform API to allow transports to return 'success' forimp2007-06-301-5/+20
| | | | | | | | | the command. Make UFI devices return 'success' when asked to do a SYNC_CACHE. There's no support for write caching in the UFI spec, so this is the most appropriate action to undertake. Reviewed by: scottl Approved by: re@ (blanket)
* Reduce diffs to OtherBSD by using usb_lookup. No functional changes.imp2007-06-301-15/+4
| | | | Approved by: re@ (Blanket)
* Remove duplicate USBDEVUNIT #defineimp2007-06-301-1/+0
| | | | Approved by: re@ (blanket)
* Add definition for UIPROTO_MOUSE.imp2007-06-301-0/+1
| | | | Approved by: re@
* Update to merged names for things. No functional changes.imp2007-06-301-2/+2
| | | | Approved by: re (blanket)
* Add support for various MS Wirless usb mice. the patch is fromimp2007-06-294-83/+133
| | | | | | | | | 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)
* Change uhub to dynamic status size for status change endpoint. From aimp2007-06-291-2/+2
| | | | | | | | | | | | pr, the submitter says: Found this while running freebsd as guest in qemu with -usb parameter. The patch implements the missing dynamic size based on number of ports a hub has. Submitted by: Lonnie Mendez PR: 94946 Approved by: re@ (blanket)
* The timeout is in milliseconds, not in hz. Only the portion of theimp2007-06-281-2/+2
| | | | | | | | | patch that converts ms to ticks was used. Another PR states that a return code of 0 is the right one for libusb. Submitted by: Lonnie Mendez PR: 94311 Approved by: re (blanket)
* With the advent of G3/CDMA modems, the old buffer sizes are no longerimp2007-06-281-4/+4
| | | | | | | | | | | adequate. Increase them to 1k. The referenced PR made this a sysctl, but that seems like overkill to me. The difference between 320 and 2048 bytes in modern systems, even embedded ones, seems to be in the noise to be worth the extra hair to make it settable. PR: 74609 Submitted by: Divacky Roman Approved by: re (blanket)
* For both interrupt and isochronous (the patch was unclear which one itimp2007-06-281-3/+13
| | | | | | | | | | | | applied to, but I'd think both), honor the timeout that's been set. Return 0 bytes to be consistant with what libusb expects. By default, the timeout will be zero, so only applications that change the default will see a change. The patch only seems to apply to the interrupt end points, but it should also apply to isochronous endpoints as well. Submitted by: Maurice Castro PR: 110122 Approved by: re (blanket)
* Partially updated usbdevs from OpenBSD's usbdevs. Also, some sortingimp2007-06-261-43/+114
| | | | | | | | | | | of the file numerically for vendors and then each product numerically by vendor (with all the foo2's sorting after the foo's). Someday, all the usbdevs will be merged, I hope, but until then, we have these mega-merges. This also finishes the LINKSYS4 -> CISCOLINKSYS rename. Approved by: re@ (blanket)
* LINKSYS4 is going to be going away. Migrate to CISCOLINKSYS instead.imp2007-06-251-3/+3
| | | | | | There is no md5 delta for this change. Approved by: re@ (blanket)
* Starting in version 1.56, ucomstop started calling ucomstart to workimp2007-06-251-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | around an output freezing problem (see the CVS log for details). This is the same approach that sio takes to solve that problem. However, ucom has a problem that sio doesn't have. Consider the case where output is pending, and the device is closed. ttyclose calls tt_close (which indirects to ucomclose) and then calls ttyflush which calls tt_stop (which indirects to ucomstop). Since ucomclose removed all the usb transfer points, sc_oxfer will be NULL when ucomstop calls ucomstart. This results in a null pointer dereference. Since calling ucomstart in ucomstart solves other problems, we need to work with this calling sequence. The easiest way to do that is to bail early if sc_oxfer is NULL. Kazuaki ODA-san came up with this patch, and filed a PR. I had seen this bug at work and this patch does seem to solve it. He had no idea why it worked, but knew that either this patch, or backing out ucom.c 1.56 fixed his panic. I just did the legwork of chasing down the code paths that would cause this, and added a comment. This is obscure enough to warrant a comment, I think. Submitted by: Kazuaki ODA-san PR: 113964 Approved by: re (bmah)
* For USBVERBOSE case, we can't have " in any of the names.imp2007-06-231-5/+5
| | | | | Submitted by: Flemming Jacobsen Approved by: re (blanket)
* Drag in another device: The Surecom RT2570.imp2007-06-232-0/+2
| | | | | Obtained from: OpenBSD Approved by: re@ (blanket for device IDs)
* Add a boatload of devices from OpenBSD and NetBSD to kue and cdce.imp2007-06-233-22/+74
| | | | | Obtained From: OpenBSD/NetBSD Approved by: re (blanket)
* Note the Belkin F5U111 Adapter is covered by NETMATE entry.imp2007-06-231-0/+1
| | | | Approved by: re (blanket)
* Remove duplicate ID and recall that I comes after E in alphabeticalimp2007-06-231-2/+1
| | | | | | listings. Approved by: re@
* Merge some device IDs from OpenBSD for aue. Minor sorting of usbdevsimp2007-06-232-11/+38
| | | | | | | to fix disorder. Obtained from: OpenBSD Approved by: re@ (blanket)
* We need a special module loader routine, not the stock usbd one. Thisimp2007-06-231-1/+1
| | | | | | | also eliminates a routine unused message. Submitted by: mjacob Approved by: re@
* Initialize id before using it.imp2007-06-231-1/+1
| | | | | Submitted by: mjacob Approved by: re@
* Add support for Garmin iQue 3600imp2007-06-222-15/+20
| | | | | | Submitted by: Lapo Luchini PR: 113324 Approved by: re (kensmith, blanket)
* add support for Option GlobeTrotter 3G+imp2007-06-222-0/+3
| | | | | | | | (PR says this may be from OpenBSD) Submitted by: Simun Mikecin PR: 111710 Approved by: re (kensmith, blanket)
* Tactrix Openport supportimp2007-06-222-0/+9
| | | | | | Submitted by: Jonathan Charest PR: 110992 Approved by: re (kensmith, blanket)
* add Benq 3300U/4300U supportimp2007-06-222-0/+2
| | | | | | Submitted by: Denis Sadykov PR: 110477 Approved by: re (kensmith, blanket)
* Crystalfontz CFA-635 20x4 USB LCDimp2007-06-222-14/+13
| | | | | | | | (plus minor sorting) Submitted by: John Wilson PR: 107526 Approved by: re (kensmith, blanket)
* Update uvisor to support the Fossil Abacus Wrist PDAimp2007-06-222-0/+5
| | | | | | Submitted by: Simon Dick PR: 96714 Approved by: re (kensmith, blanket)
* USB Ethernet Adaptor "ELECOM LD-USB20"imp2007-06-222-0/+2
| | | | | | PR: 86195 Submitted by: kato <redzonemiata@yahoo.co.jp> Approved by: re (kensmith)
* USL101 Host-to-Host bridge supportimp2007-06-222-3/+8
| | | | | | PR: 82436 Submitted by: Maxim M. Kazachek Approved by: re (kensmith)
* Add support for YANO external USB-HDD.imp2007-06-212-0/+5
| | | | | | Submitted by: Norihiro TANAKA PR: 94742 Approved by: re (kensmith blanket)
* Fix two PRs by adding vendor IDs:imp2007-06-213-1/+5
| | | | | | | | PR 108097: ADMtek 851X USB-to-LAN adapter PR 74849: Samsung SPH-i500 does not attach properly as usb modem/Palm device PR: 108097, 74849 Approved by: re@ (kensmith trivial usb blanket)
* Latest round of usb cleanups:imp2007-06-2122-322/+203
| | | | | | | | | | | | | | | | | | | 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
OpenPOWER on IntegriCloud