summaryrefslogtreecommitdiff
path: root/sys/dev/usb
AgeCommit message (Collapse)Author
2009-12-17Add Huawei E161.Marco Pfatschbacher
OK jsg@, yuo@
2009-12-17fix softc structure to fit as uhid sub device.Yojiro Uo
ok deraadt@
2009-12-16Support OpenRD JTAGKey, expect spip the jtag interface port.Theo de Raadt
from Tobias Ulmer; ok jsg
2009-12-16syncTheo de Raadt
2009-12-16OpenRD JTAGKey; Tobias UlmerTheo de Raadt
2009-12-10"please apply the same diff as for rt2860 to if_run.c" damien@Owain Ainsworth
original log message: fix a theoretical (but not possible) array bound overflow. since we will always match on a rate, we won't overflow, but in that case, make it more obvious by if the first 11 rates don't match, we assume the 12th. should shut up parfait. ok damien@ who came up with an identical diff
2009-12-10various bits of knf; ok yuoTheo de Raadt
2009-12-09add uhts(4) a driver for USB HID touchscreens. ok miod@.Matthieu Herrb
Man page advices by jmc@.
2009-12-08syncKevin Lo
2009-12-08USB IDs for Realtek RTL8192UKevin Lo
2009-12-07sync (with pckbd)Owain Ainsworth
2009-12-05Ignore HID devices that have the same vendor and product ids thanMatthieu Herrb
devices actually supported by this device. The Linux driver confirms they exist. ok miod@ jsg@.
2009-12-04calculate the number of frames per usb xfer only once, and take intoJacob Meuser
account possible "fractional samples" which occur when the usb frame rate is not a whole number factor of the audio sample rate, such as with 44.1 kHz audio sample rate and full-speed usb (1 kHz frame rate).
2009-12-04instead of returning a structure, return the only member of theJacob Meuser
structure that will be used. discussed with deraadt.
2009-12-04In uaudio_detach(), check that sc->sc_alts is not NULL beforeAlexandre Ratchov
using it. This could happen if uaudio_attach() failed, for instance because the device has no valid audio stream interface. Certain MIDI devices expose such descriptors. ok jakemsr@
2009-11-29On any sensor the SENSOR_FINVALID flag indicates whether we are able toTheo de Raadt
read a value from the sensor properly. The .status field, on the other hand, indicates whether the location that sensor is at, is OK, failed, on fire, or whatnot. In the case of uthum we have no idea whether that temperature is ok or not, so we must leave it SENSOR_S_UNSPEC
2009-11-26allow USB xfer requests to use up to 16 frames per xfer, depending onJacob Meuser
blocksize
2009-11-26greatly reduce latency and kill some XXXs:Jacob Meuser
* reduce number of outstanding USB xfers: 6 -> 3 * reduce number of USB frames per xfer: 10 -> 2 * if the device uses wMaxPacketSize frame sizes that are longer than 1 ms, allow 1 frame per xfer * instead of making blocksizes big enough to hold all outstanding xfers, just make it big enough to hold one xfer * calculate blocksizes a little better * be more careful to let the upper layer know exactly when a block has been moved in/out of the upper layer buffer ok ratchov
2009-11-26Call the existing power functions with our activate function forTheo de Raadt
the suspend and resume operations ok kettenis
2009-11-25- regenJasper Lievisse Adriaanse
2009-11-25- add another NEC hub and rename the other two hubs for proper enumerationJasper Lievisse Adriaanse
"go for it" kettenis@
2009-11-25Simpler logic to ignore the Naturetech keyboard babbling; discard extraMiod Vallat
data if we already have pending data to process in the timeout handler. help kettenis@; commited from the Naturetech #$@!&! machine.
2009-11-25Ignore repeated data in ukbd_intr(), for keyboards who flood us on a regularMiod Vallat
basis even in the absence of keyboard events; Naturetech onboard keyboard no longer loses keystrokes. Joint work with kettenis@
2009-11-24at close() get rid of the usb task before we start tearing down; ok mglockerTheo de Raadt
2009-11-24Toggle SENSOR_FINVALID based on sensor data validityTheo de Raadt
2009-11-24fix hardware polling interval calculation. uaudio on my Logitech webcamJacob Meuser
now records properly. ok miod, yuo
2009-11-23Add uthum(4) device driver for TEMPerHUM USB temperature andYojiro Uo
humidity sensor. ok deraadt@
2009-11-23suppress warning massage for polling only HID devices.Yojiro Uo
2009-11-23regenYojiro Uo
2009-11-23add some usb vendors and products to syncYojiro Uo
2009-11-23regenYojiro Uo
2009-11-23add new umsm type modems: Softbank C01SW (Sierra OEM) andYojiro Uo
Emobile H12HW (Huawei OEM) ok jsg@
2009-11-23add USB_GET_DEVICEINFO and USB_GET_STRING_DESC ioctl to the uhid(4).Yojiro Uo
ok jsg@ deraadt@
2009-11-22add a bunch of devices found in linux driversJonathan Gray
2009-11-22regenJonathan Gray
2009-11-22add a bunch of Ethernet and zyd devices found in linux drivers.Jonathan Gray
2009-11-22syncKevin Lo
2009-11-22add the Terminus Technology vendor id found on VIA VT6571Kevin Lo
2009-11-21in the detach function remove our usb task before calling any otherTheo de Raadt
teardown functions which could potentially sleep (and then, the usb task would get called for a half-torn down device)
2009-11-21Do the operations in atu_detach in the right order, as done inTheo de Raadt
other drivers recently.
2009-11-18- regenJasper Lievisse Adriaanse
2009-11-18- add startech.com and the product id for their ICUSB2321X/2X/4X devices,Jasper Lievisse Adriaanse
which seem to be a multiport TIUSB3410, which uticom(4) can't deal with yet. hints from sthen@
2009-11-17regenDamien Bergamini
2009-11-17another shitload of run(4) usb idsDamien Bergamini
we have 159 ids now just for run(4)
2009-11-17regenDamien Bergamini
2009-11-17the D-Link DWA-160 rev A2 is an otus(4) too.Damien Bergamini
2009-11-13do not need to pad up the uhub allocation anymore, from miodTheo de Raadt
2009-11-12Avoid using the trick of malloc'ing more than a struct to grow the arrayTheo de Raadt
of the last element. Bad technique. Use a pointer to the array. The author (or later people) will often not pay attention to the consequences of structure padding & alignment issues when they add new fields to the base structure, and there will be fireworks. tested by jasper, too
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and remove it from any occurences where both are used, except one for kqueue itself and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag). Based on a diff from tedu. ok deraadt
2009-11-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.Mark Kettenis
ok jsing@, miod@