summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
Commit message (Collapse)AuthorAgeFilesLines
* Use a more obvious prefix for the USB control (endpoint 0) transfers ratherthompsa2010-04-229-55/+55
| | | | than default_*.
* Properly name the sxlocks, mutexes and condvars.thompsa2010-04-225-31/+33
|
* Use SX_DUPOK rather than making the string unique.thompsa2010-04-221-2/+2
|
* Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this hadthompsa2010-04-2239-95/+92
| | | | | | the illusion of a tunable setting but was always turned on regardless. MFC after: 1 week
* Also add the usb mode to the devd string as the usb controller can work in boththompsa2010-04-211-0/+4
| | | | | | host or device (gadget) modes. Suggested by: HPS
* Change usb devd events from fake attach to a notify. The ugen device is not athompsa2010-04-211-4/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | proper device_t so it faked the devctl event to appear like one, this is now a notify which allows more information to be passed. We notify for both the device attach/detach and for each usb interface. A devd rule can now match on the interface properties, including composite devices which may have a uvideo interface and also usound and possibly uhid too. An example to match a umass device with a scsi subclass and BBB protocol would be notify 100 { match "system" "USB"; match "subsystem" "INTERFACE"; match "type" "ATTACH"; match "intclass" "0x08"; match "intsubclass" "0x06"; match "intprotocol" "0x50"; action ... }; The old attach devctl event has been retained for the moment to make merging to 8.1 easier. This was never compatible with 7.x or earlier due to the ugen regex change needed. Reviewed by: warner MFC after: 1 week
* Use the UIPROTO_BOOT_KEYBOARD #define from usb.h rather than a localgavin2010-04-141-3/+1
| | | | | | (almost identically named) local #define. Reviewed by: hselasky
* Eliminate duplicate commentkevlo2010-04-141-1/+0
|
* The Quanta Q101 modem has a different type of cdrom driver disk,kevlo2010-04-132-0/+2
| | | | | | | add the product id and use a standard scsi eject. Reviewed by: thompsa MFC after: 3 days
* Remove previously added if 0's.rpaulo2010-04-091-12/+0
| | | | MFC after: 1 month
* Remove debugging code that snuck in.rpaulo2010-04-071-1/+0
|
* net80211 rate control framework (net80211 ratectl).rpaulo2010-04-079-210/+121
| | | | | | | | | | | | | | | | | This framework allows drivers to abstract the rate control algorithm and just feed the framework with the usable parameters. The rate control framework will now deal with passing the parameters to the selected algorithm. Right now we have AMRR (the default) and RSSADAPT but there's no way to select one with ifconfig, yet. The objective is to have more rate control algorithms in the net80211 stack so all drivers[0] can use it. Ideally, we'll have the well-known sample rate control algorithm in the net80211 at some point so all drivers can use it (not just ath). [0] all drivers that do rate control in software, that is. Reviewed by: bschmidt, thompsa, weyongo MFC after: 1 months
* Do not sync cache for the PL2506thompsa2010-03-282-0/+3
| | | | | PR: usb/144915 Submitted by: Monty Hall
* Do not swap Apple keys when detecting Apple-FN keyboards.thompsa2010-03-281-2/+1
| | | | | Reported by: Steven Noonan Submitted by: Hans Petter Selasky
* Make sure the bsd_urb_list gets initialised and that new URB's are queued atthompsa2010-03-281-1/+2
| | | | | | the end of the list. Submitted by: Hans Petter Selasky
* Add PCI IDs for two more nForce controllers.thompsa2010-03-282-0/+4
| | | | Submitted by: Dmitry Luhtionov @ gmail.com
* Add a couple of usb product IDs.thompsa2010-03-281-0/+3
| | | | Submitted by: Dmitry Luhtionov @ gmail.com
* - add some usb devices (scanner, printer, usb storage)netchild2010-03-262-0/+9
| | | | | | - add quirks for the usb storage Reviewed by: hselasky
* Add support for the Samsung S3C2xx0 family of ARM SoCs written byimp2010-03-201-0/+219
| | | | | | | | Andrew Turner. The kernel supports the LN2410SBC evaluation board, and likely others. These parts (or similar ones) are in some open hardware designs for phones. Submitted by: Andrew Turner
* Add device ID for the NATURAL4000 keyboardthompsa2010-03-111-0/+1
|
* - Integrate latest driver code from OpenBSDthompsa2010-03-114-131/+652
| | | | | | | - Drain our tasks from the ieee80211 taskqueue - Add more IDs Submitted by: Akinori Furukoshi
* extend search for Apple Function Key.thompsa2010-03-111-13/+18
| | | | | PR: usb/144414 Submitted by: Hans Petter Selasky
* Add new device ID for the SMC 2514HUBthompsa2010-03-111-0/+1
| | | | Submitted by: Alexander Best
* add new vendor ID for APACERthompsa2010-03-111-0/+1
| | | | Submitted by: Paul B Mahol
* Implement USB kernel driver detach from userland.thompsa2010-03-113-6/+21
| | | | Submitted by: Hans Petter Selasky
* Make sure there is a way to reset the endpoint FIFO on transfer errors forthompsa2010-03-111-4/+18
| | | | | | ISOCHRONOUS transfers Submitted by: Hans Petter Selasky
* For USS820 driver we need to manually reset TX FIFO at each SETUP transactionthompsa2010-03-111-0/+8
| | | | | | because the chip doesn't do this by itself. Submitted by: Hans Petter Selasky
* isochronous endpoint descriptors should have two more bytes which are zero bythompsa2010-03-111-7/+16
| | | | | | default. Submitted by: Hans Petter Selasky
* Add new uvisor(4) device ID.thompsa2010-03-112-0/+6
| | | | PR: usb/144201
* It appears that some UVISOR devices do not handle when the clear stall commandthompsa2010-03-111-5/+0
| | | | | | | | | is issued at the beginning of the initial IN/OUT data transfers. Reason unknown, probably firmware fault. Now the stall is only cleared on data transfer errors. PR: usb/144199 Submitted by: Hans Petter Selasky
* - make the usb_temp_setup() and usb_temp_unsetup() functions public so thatthompsa2010-03-113-21/+17
| | | | | | | | | other modules can generate USB descriptors. - extend the vendor specific request function by one length pointer argument, because not all descriptors store the length in the first byte. For example HID descriptors. Submitted by: Hans Petter Selasky
* Use wMaxPacketSize for the uftdi input buffer size.thompsa2010-03-111-3/+1
| | | | Submitted by: Hans Petter Selasky
* Reapply r185998 which was overwritten at some point.thompsa2010-03-111-3/+0
|
* Wrap the proc wakeup special case for ddb in ifdef DDB.thompsa2010-03-111-0/+6
| | | | Submitted by: Giovanni Trematerra
* The NetBSD Foundation has granted permission to remove clause 3 and 4 fromjoel2010-03-0320-140/+0
| | | | | | their software. Obtained from: NetBSD
* Add device ID for the FTDI 4232H.thompsa2010-02-142-0/+2
| | | | | PR: usb/143832 Submitted by: UEMURA Tetsuya
* Add support for the E1752 3G modem and the required eject command.thompsa2010-02-144-1/+16
| | | | Submitted by: Milan Obuch
* Make umodem more tolerant for devices which modem descriptors are misplaced.thompsa2010-02-141-4/+9
| | | | | Reported by: Erick Wales Submitted by: Hans Petter Selasky
* Add UQ_KBD_BOOTPROTO quirk needed in r203896thompsa2010-02-142-0/+2
|
* Detect when we are polling from kernel via cngetc() in the boot process andthompsa2010-02-141-34/+144
| | | | | | reserve the keypresses so they do not get passed to syscons. Submitted by: Hans Petter Selasky
* Disable the use of the IAAD usb doorbell on NVidia controllers as it can causethompsa2010-02-093-0/+33
| | | | | | the hardware to stall. Submitted by: Hans Petter Selasky
* The ZTE MF633R modem has a different type of cdrom driver disk, add the productthompsa2010-02-052-0/+2
| | | | | | | ID and use a standard scsi eject. Reported by: Patrick Lamaiziere MFC after: 3 days
* Properly name the 0x0016 ZTE product as MF633R now that its known.thompsa2010-02-042-2/+2
|
* Rework cam error handling to fix Mitsumi floppy drives.thompsa2010-01-291-4/+12
| | | | Submitted by: mav
* Simplify attach for UMASS_PROTO_CBI_I mode and change some switch() returnsthompsa2010-01-291-25/+27
| | | | | | into breaks. Submitted by: Hans Petter Selesky
* Add null check on quirk lookup and add a couple of umass quirks.thompsa2010-01-291-2/+10
| | | | Submitted by: Hans Petter Selesky
* Add the Netgear WPN111thompsa2010-01-291-0/+1
|
* Sync usb products to perforce.thompsa2010-01-291-0/+3
|
* Attempt to recover on a TX error rather than stopping all transfers.thompsa2010-01-292-8/+18
| | | | Submitted by: Hans Petter Selesky
* Optimise EHCI ISOC HS done check.thompsa2010-01-291-10/+7
| | | | Submitted by: Hans Petter Selasky
OpenPOWER on IntegriCloud