summaryrefslogtreecommitdiff
path: root/sys/dev/usb
AgeCommit message (Collapse)Author
2015-10-01No need to wakeup(9) the sensor thread because upd_refresh() does notMartin Pieuchot
sleep. Discussed with deraadt@
2015-09-29regenJoerg Jung
2015-09-29add keyboard/trackpad IDs found in recent MacBooks (12" retina)Joerg Jung
ok mpi@
2015-09-29Huawei K4511 3G modem.Martin Pieuchot
From phil AT unita.com.au
2015-09-29regenMartin Pieuchot
2015-09-29Huawei K4511 3G modem.Martin Pieuchot
From phil AT unita.com.au
2015-09-18Remove unused variables, from Michael McConville.Martin Pieuchot
ok stsp@
2015-09-15regenJasper Lievisse Adriaanse
2015-09-15add fingerprint reader as found the x250 as well as another similarJasper Lievisse Adriaanse
device found while figuring out the chipset. ok jsg@
2015-09-15Fix kpanic I found the hard way while using pcsc-liteDavid Coppa
From Grant Czajkowski <czajkow2 AT illinois DOT edu> OK mpi@
2015-09-10Show usb stack error code if a firmware page fails to load in urtwn(4).Stefan Sperling
ok mpi@
2015-09-07Do not set USBD_NO_COPY for interrupt transfers, only bulk transfersMartin Pieuchot
are converted for the moment. From Grant Czajkowski.
2015-09-04Do not use an intermediary buffer on the stack of the caller whenMartin Pieuchot
submitting a bulk write request. This also means big bulk write requests are no longer split into multiple small transfers something that libusb consumers do not expect. From Grant Czajkowski <czajkow2 AT illinois DOT edu> as part of the GSoC 2015.
2015-09-03Properly cancel any pending USB abort task when aborting a transferVisa Hankala
and skip completed transfers in dwc2_abort_xfer(). This fixes some timeout-related crashes. Feedback and ok mpi@
2015-09-03Remove the abort_task field in struct dwc2_xfer. There is an identicalVisa Hankala
field in struct usbd_xfer which is part of dwc2_xfer. ok mpi@
2015-09-03Remove sc->sc_lock and add several splusb()'s in dwc2, to avoid aVisa Hankala
possible lock recursion panic on transfer timeout. The lock is not needed yet because the USB stack is not MP-safe. ok mpi@, "makes sense" jasper@
2015-09-03Do not use an intermediary buffer on the stack of the caller whenMartin Pieuchot
submitting a read request. This also means big read requests are no longer split into multiple small transfers something that libusb consumers do not expect. Tested by ajacatoutot@. Found by Grant Czajkowski <czajkow2 AT illinois DOT edu> during the GSoC 2015.
2015-09-01Reject USB requests that could damage the bus integrity, just like itMartin Pieuchot
is done in ugen(4). Found by Grant Czajkowski during the GSoC 2015.
2015-08-31Use one xfer per pipe instead of doing an alloc/free dance for everyMartin Pieuchot
usbd_transfer(9). This fixes a use-after-free. Bug found by and diff from John L. Scarfone <john AT scarfone DOT net>
2015-08-28Fix compiling a kernel without NBPFILTER > 0.Reyk Floeter
OK mikeb@
2015-08-24Add some additional urtwn ids found in the linux rtl8192cu driver.Jonathan Gray
ok stsp@
2015-08-24regenJonathan Gray
2015-08-24Add some additional urtwn ids found in the linux rtl8192cu driver.Jonathan Gray
ok stsp@
2015-08-22Make urtwn(4) attach to Netgear WNA1000Mv2. From Mark Willson.Stefan Sperling
2015-08-22regenStefan Sperling
2015-08-22Add device ID for Netgear WNA1000Mv2. From Mark Willson via misc@Stefan Sperling
2015-08-12update author information of the copyright section.Yojiro Uo
no binary update.
2015-08-11fix regressions introduced in my previous commmit, resulting inJoerg Jung
'unknown command' dmesg lines for TEMPer devices and a possible type command loop for unsupported TEMPerHUM devices, moreover, 2 whitespace fixes while here tested by myself and frederic cambus ok mpi@
2015-07-16add USB3.0 related codeYojiro Uo
2015-07-16ignore 4 byte trailing padding of each recv packet, when copying to upperYojiro Uo
layer.
2015-07-16fix recv packet header definitonYojiro Uo
2015-07-15Fix urtw(4) error code paths to not panic the kernel. Makes the driver workStefan Sperling
with a somewhat flaky urtw(4) device of mine. ok mpi@
2015-07-15Use mallocarray() and unsigned integers.Miod Vallat
2015-07-15Match another Netgear WG111T. This one shares the Non-Firmware ID of aMartin Pieuchot
another device. ok stsp@
2015-07-15regenMartin Pieuchot
2015-07-15Another ID for the Netgear WG111T.Martin Pieuchot
2015-07-15Fix two bugs in the variable keys handling:Miod Vallat
- do not overrun the array if there are more than MAXVARS, by using the proper variable in the check. - correctly allow up to MAXVARS (128), not strictly less than. This makes mlarkin's new shiny Corsair K70 RGB gaming keyboard work. Tested by and ok mlarkin@
2015-07-15add support for newer PCsensor TEMPerHUM thermo- and hygrometers:Joerg Jung
TEMPerHUM1V1.2 tested by Raf Czlonka via bugs@ and TEMPerHUM1V1.0 tested by myself earlier version tested by sasano, input from mpi@ and deraadt ok mpi@
2015-07-15Fix a crash caused by uath(4) if device init fails.Stefan Sperling
usbd_close_pipes() now implies xfer cancellation and this driver was relying on assumptions from times when it didn't. With and ok mpi@
2015-07-12Do not trust the hardware when it says that the number of remainingMartin Pieuchot
bytes to transfer is superior to the length of the transfer. Found by krw@ with an ETRON controller.
2015-07-10usbd_{endpoint,interface}_count() are no longer used and die.Martin Pieuchot
2015-07-10Do not use usbd_endpoint_count() and usbd_interface_count(), thesesMartin Pieuchot
functions are almost unused and create confusion. Do like the rest of the drivers and simply get an interface or device descriptor. Tested by ajacoutot@ and Grant Czajkowski, thanks!
2015-07-09Revert previous, doesn't fix anything. I managed to reproduceStefan Sperling
the problem on one of my machines and the patch doesn't help. See http://marc.info/?l=openbsd-tech&m=143645936727569&w=2
2015-07-09Move the softc definition to uvideo.c so that userland can includeMartin Pieuchot
<dev/usb/uvideo.h> to get USB video descriptor definitions. from Ludovic Coues.
2015-07-09Allow more time for USB athn(4) firmware boot. It seems people on daemonforumsStefan Sperling
are running into the previous 1 second timeout on some machines, which the driver will treat as fatal. Not sure if this will really fix the issue but it won't hurt. Also reported in NetBSD land which inherited our driver: http://mail-index.netbsd.org/current-users/2014/05/06/msg024793.html ok mpi@
2015-07-09Do not use usbd_endpoint_count(), this function is almost unused andMartin Pieuchot
creates confusion. Do like the rest of the drivers and simply get a interface descriptor with usbd_get_interface_descriptor(). Tested by stsp@
2015-07-09Name unamed structures, from Ludovic Coues with some tweaks.Martin Pieuchot
2015-07-05regenJoerg Jung
2015-07-05add id for TEMPerHUM sensorJoerg Jung
ok mpi@
2015-06-30Rename if_output() into if_enqueue() to avoid confusion with commentsMartin Pieuchot
talking about (*ifp->if_output)(). ok claudio@, dlg@