summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
AgeCommit message (Collapse)AuthorFilesLines
2015-06-18CP2110 is handled by uslhcom not uslcomjsg1-2/+1
2015-06-18Only match devices with a valid configuration.mpi2-23/+5
Tested by jsg@
2015-06-18Only match devices with a valid configuration.mpi1-60/+12
2015-06-18Only match devices with a valid configuration.mpi2-19/+7
Most of the WiFi/Ethernet USB adapter only have one configuration and always use its first interface. In order to improve USB descriptors parsing start by reducing the number of places where a configuration is set. Tested by jsg@
2015-06-17when no fingers are down, send 0 for zjcs1-2/+3
fixes tap-to-click
2015-06-17fix compilation with UBCMTP_DEBUGjcs1-2/+2
2015-06-17Four new sensors, from David Higgs.mpi2-5/+19
2015-06-16Add a uslcom id for the Netgear M7100 console from Andrew Daugherity.jsg1-1/+43
Add some additional uslcom ids found in the Linux driver while here.
2015-06-16regenjsg2-7/+273
2015-06-16Add a uslcom id for the Netgear M7100 console from Andrew Daugherity.jsg1-3/+69
Add some additional uslcom ids found in the Linux driver while here.
2015-06-15Bring back r1.78 and r1.79, now that ajactouto@'s regression hasmpi1-14/+33
been found: it was a hardware failure. When a bus is explored, do not probe the ports which status hasn't changed. This saves a lot of I/O when attaching/detaching devices and might help with some timing related problems.
2015-06-15Set the length of isochronous transfers as the sum of the frames lengths.mpi3-27/+23
This reduces differences between non-isoch and isoch transfers submissions, makes the generic DMA buffer overrun check work with isoch transfers and will allow some code simplifications in HC drivers. Since short-transfers were never checked for isoch transfers, we now need to pass the USBD_SHORT_XFER_OK flag to not change this behavior. This might be revisited later. ok ratchov@
2015-06-12Only match devices with a valid configuration.mpi13-185/+45
Most of the WiFi/Ethernet USB adapter only have one configuration and always use its first interface. In order to improve USB descriptors parsing start by reducing the number of places where a configuration is set. Tests & ok stsp@
2015-06-10Typos: equalivant, fucntion, libary.miod1-2/+2
2015-06-08rearrange delayed_work to avoid the use of container_of while leaving it injmatthew5-22/+23
more or less the same shape. ok uebayasi@
2015-06-08refuse to do polled isochronous transfers, as other usb controller drivers dojmatthew1-4/+5
requested by mpi@
2015-06-08Ensure polled bulk, control and interrupt transfers actually poll, fixingjmatthew1-9/+6
panics on shutdown with various usb sticks. ok mpi@
2015-06-07The Swiss Federal Government decided to shut down HBG at the end of 2011.claudio1-90/+7
On 6 September 2012 at 12:02:00 UTC both antenna towers were demolished by controlled explosives. So this is not coming back and we can tedu the support for HBG form the DCF77 drivers. Remided by mbalmer
2015-05-27Improve the controller state check in xhci_resetmikeb1-2/+3
From FreeBSD, OK mpi
2015-05-25Make this build when using the __STRICT_ALIGNMENT version of USETW.jsg1-2/+2
2015-05-25Prevent a use after free in by closing all open endpoints upon detach.mpi1-14/+30
Fix a panic reported by landry@ with Android's ADB. Tested and ok ajacoutot@
2015-05-21Convert to if_output().mpi1-25/+2
2015-05-17Read ethernet address from EEPROM on AX88772B based on FreeBSDcanacar2-2/+33
ok djm@ jsg@
2015-05-14Make the "Battery Present" sensor a depency of all the battery-relatedmpi1-2/+6
sensors only if it is present, From David Higgs. Fix a regression reported by and ok halex@
2015-05-12Merge various urtwn(4) fixes from FreeBSD:stsp1-12/+31
Match additional devices (RTL8188CU_3, DWA123D1, DWA125D1). Fix efuse reading (fixes potential error in MAC address read from efuse). Replace some magic numbers with macros. Based on FreeBSD r270191, r273589, r281918, r281592, r282119, and r282623 via Mikhail mp39590@gmail on tech@ ok sthen@
2015-05-12Fix definition of R92C_USTIME_TSF.stsp1-2/+2
from FreeBSD r282623 via Mikhail mp39590@gmail on tech@
2015-05-12regenstsp1-2/+18
2015-05-12usbdevs_data.hstsp1-2/+6
2015-05-12Add 4 additional urtwn(4) device IDs.stsp1-1/+5
from FreeBSD via Mikhail mp39590@gmail on tech@
2015-05-11Refresh sensor values asynchronously.mpi1-64/+86
From David Higgs.
2015-05-11Remove all audio format conversion code from the kernel (btw holdingratchov2-9/+3
the kernel_lock), as we already do better conversions in user-mode. Yet, no need for every single driver to fiddle with the conversion code as they are done transparently by common MI code. With help from armani and miod, support from mpi ok armani@
2015-05-10Fix urtwn(4) 11b performance for RTL8188EU devices.stsp2-11/+55
With 11b APs the firmware retries excessively unless we force it into 11b-only mode instead of mixed b/g. Perhaps a firmware bug, perhaps a bug in our code elsewhere. For now, this makes it work. ok kettenis
2015-05-10My commit adding RTL8188EU did introduce a regression after all.stsp1-4/+5
Repair firmware reset on RTL8188CUS devices (and perhaps others) by restoring the proper register write order in the non-8188EU code path. Fixes "urtwn0: timeout waiting for firmware readiness" after device reset.
2015-05-05Huawei MU609 from Cristián Edwards.mpi1-1/+2
ok dcoppa@
2015-05-05regenmpi2-4/+9
2015-05-05Huawei MU609 from Cristián Edwards.mpi1-1/+2
ok dcoppa@
2015-05-04Add support for RTL8188EU chips to urtwn(4).stsp2-117/+892
Patch by Mikhail <mp39590@gmail.com>, based on FreeBSD r264912 by kevlo. Tested with 8188EU (TP-Link TL-WN725N). No regression on 8188CUS. There are performance problems with 8188EU devices, cause unknown. These will hopefully be resolved soon. ok mpi@
2015-05-02add missing splx callsjsg3-4/+9
2015-04-30Link report descriptors to known sensors.mpi1-9/+13
Since HID buffers always start by a reportID we can access the corresponding report descriptor in O(1). Having a list of sensors attached to each report descriptor makes it easier to update all of them with only on I/O request. Note that sensors are attached in depency order on every report list. From David Higgs.
2015-04-30Instead of using a single flat array for all sensors, put all thempi1-34/+62
children of a sensor in a separate structure. Children sensors should only be probbed if their parent is active. This make the dependency tree explicit and will reduce the number of I/O. From David Higgs.
2015-04-27Since upd(4) currently supports a known but limited number of sensors,mpi1-38/+33
parse the HID descriptor multiple times to find them. This logic is necessary to later create a tree of sensors in order to avoid lookups in the hot path for sensors that depend on the value of others. From David Higgs.
2015-04-27with more unit convertion when new sensors will appear.mpi1-20/+29
From David Higgs.
2015-04-27Make use of DEVNAME(), from David Higgs.mpi1-5/+6
2015-04-26regenstsp2-4/+14
2015-04-26Add IDs for RTL8188ETV and RTL8188EU. From FreeBSD via Mikhail on tech@stsp1-1/+3
2015-04-26regenstsp2-4/+9
2015-04-26Add USB device ID for RTL8812AU. Found in "TP-Link AC1200 T4U" device.stsp1-1/+2
2015-04-26Two extra messages required after sending a baud rate update, as observedjmatthew2-6/+30
in the linux mct_u232 driver, which apparently got them by sniffing usb traffic from the vendor's windows 98 driver. Makes this device work at 115200: umct0 at uhub0 port 2 "Belkin Components F5U109 Serial" rev 1.10/1.02 addr 2 ok dlg@
2015-04-19Do not truncate possible remaining transfer length.mpi1-2/+3
Reported by Takahiro HAYASHI on bugs@, thanks!
2015-04-17Crank the timeout and decrease the buffer size to not end up droppingmpi1-4/+6
all the entropy provided by the device. Also make sure we match the right endpoint. From Sean Levy based on comments from Andreas Gustafsson who's behind Alea.