Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prevent a NULL-pointer dereference when closing a ugen(4) node | 2015-10-13 | 1 | -4/+2 | |
| | | | | | | in case the kernel failed to change the interface of a device. Found the hardway by okan | ||||
* | No need to wakeup(9) the sensor thread because upd_refresh() does not | 2015-10-01 | 1 | -4/+2 | |
| | | | | | | sleep. Discussed with deraadt@ | ||||
* | regen | 2015-09-29 | 2 | -4/+19 | |
| | |||||
* | add keyboard/trackpad IDs found in recent MacBooks (12" retina) | 2015-09-29 | 1 | -1/+4 | |
| | | | | ok mpi@ | ||||
* | Huawei K4511 3G modem. | 2015-09-29 | 1 | -2/+3 | |
| | | | | From phil AT unita.com.au | ||||
* | regen | 2015-09-29 | 2 | -4/+9 | |
| | |||||
* | Huawei K4511 3G modem. | 2015-09-29 | 1 | -3/+4 | |
| | | | | From phil AT unita.com.au | ||||
* | Remove unused variables, from Michael McConville. | 2015-09-18 | 1 | -7/+2 | |
| | | | | ok stsp@ | ||||
* | regen | 2015-09-15 | 2 | -4/+14 | |
| | |||||
* | add fingerprint reader as found the x250 as well as another similar | 2015-09-15 | 1 | -1/+3 | |
| | | | | | | device found while figuring out the chipset. ok jsg@ | ||||
* | Fix kpanic I found the hard way while using pcsc-lite | 2015-09-15 | 1 | -3/+7 | |
| | | | | | From Grant Czajkowski <czajkow2 AT illinois DOT edu> OK mpi@ | ||||
* | Show usb stack error code if a firmware page fails to load in urtwn(4). | 2015-09-10 | 1 | -3/+3 | |
| | | | | ok mpi@ | ||||
* | Do not set USBD_NO_COPY for interrupt transfers, only bulk transfers | 2015-09-07 | 1 | -2/+3 | |
| | | | | | | are converted for the moment. From Grant Czajkowski. | ||||
* | Do not use an intermediary buffer on the stack of the caller when | 2015-09-04 | 1 | -7/+13 | |
| | | | | | | | | | | | 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. | ||||
* | Properly cancel any pending USB abort task when aborting a transfer | 2015-09-03 | 1 | -2/+13 | |
| | | | | | | | and skip completed transfers in dwc2_abort_xfer(). This fixes some timeout-related crashes. Feedback and ok mpi@ | ||||
* | Remove the abort_task field in struct dwc2_xfer. There is an identical | 2015-09-03 | 2 | -8/+5 | |
| | | | | | | field in struct usbd_xfer which is part of dwc2_xfer. ok mpi@ | ||||
* | Remove sc->sc_lock and add several splusb()'s in dwc2, to avoid a | 2015-09-03 | 2 | -88/+15 | |
| | | | | | | | 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@ | ||||
* | Do not use an intermediary buffer on the stack of the caller when | 2015-09-03 | 1 | -8/+12 | |
| | | | | | | | | | | | | 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. | ||||
* | Reject USB requests that could damage the bus integrity, just like it | 2015-09-01 | 1 | -2/+11 | |
| | | | | | | is done in ugen(4). Found by Grant Czajkowski during the GSoC 2015. | ||||
* | Use one xfer per pipe instead of doing an alloc/free dance for every | 2015-08-31 | 1 | -30/+38 | |
| | | | | | | | | usbd_transfer(9). This fixes a use-after-free. Bug found by and diff from John L. Scarfone <john AT scarfone DOT net> | ||||
* | Fix compiling a kernel without NBPFILTER > 0. | 2015-08-28 | 1 | -2/+5 | |
| | | | | OK mikeb@ | ||||
* | Add some additional urtwn ids found in the linux rtl8192cu driver. | 2015-08-24 | 1 | -1/+6 | |
| | | | | ok stsp@ | ||||
* | regen | 2015-08-24 | 2 | -4/+29 | |
| | |||||
* | Add some additional urtwn ids found in the linux rtl8192cu driver. | 2015-08-24 | 1 | -1/+6 | |
| | | | | ok stsp@ | ||||
* | Make urtwn(4) attach to Netgear WNA1000Mv2. From Mark Willson. | 2015-08-22 | 1 | -1/+2 | |
| | |||||
* | regen | 2015-08-22 | 2 | -4/+9 | |
| | |||||
* | Add device ID for Netgear WNA1000Mv2. From Mark Willson via misc@ | 2015-08-22 | 1 | -1/+2 | |
| | |||||
* | update author information of the copyright section. | 2015-08-12 | 1 | -2/+2 | |
| | | | | no binary update. | ||||
* | fix regressions introduced in my previous commmit, resulting in | 2015-08-11 | 1 | -10/+24 | |
| | | | | | | | | | | '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@ | ||||
* | add USB3.0 related code | 2015-07-16 | 1 | -8/+33 | |
| | |||||
* | ignore 4 byte trailing padding of each recv packet, when copying to upper | 2015-07-16 | 1 | -4/+4 | |
| | | | | layer. | ||||
* | fix recv packet header definiton | 2015-07-16 | 1 | -6/+7 | |
| | |||||
* | Fix urtw(4) error code paths to not panic the kernel. Makes the driver work | 2015-07-15 | 1 | -32/+15 | |
| | | | | | with a somewhat flaky urtw(4) device of mine. ok mpi@ | ||||
* | Use mallocarray() and unsigned integers. | 2015-07-15 | 1 | -6/+5 | |
| | |||||
* | Match another Netgear WG111T. This one shares the Non-Firmware ID of a | 2015-07-15 | 1 | -2/+5 | |
| | | | | | | another device. ok stsp@ | ||||
* | regen | 2015-07-15 | 2 | -4/+9 | |
| | |||||
* | Another ID for the Netgear WG111T. | 2015-07-15 | 1 | -1/+2 | |
| | |||||
* | Fix two bugs in the variable keys handling: | 2015-07-15 | 1 | -2/+2 | |
| | | | | | | | | | - 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@ | ||||
* | add support for newer PCsensor TEMPerHUM thermo- and hygrometers: | 2015-07-15 | 1 | -19/+169 | |
| | | | | | | | | | | 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@ | ||||
* | Fix a crash caused by uath(4) if device init fails. | 2015-07-15 | 1 | -39/+43 | |
| | | | | | | usbd_close_pipes() now implies xfer cancellation and this driver was relying on assumptions from times when it didn't. With and ok mpi@ | ||||
* | Do not trust the hardware when it says that the number of remaining | 2015-07-12 | 1 | -1/+4 | |
| | | | | | | bytes to transfer is superior to the length of the transfer. Found by krw@ with an ETRON controller. | ||||
* | usbd_{endpoint,interface}_count() are no longer used and die. | 2015-07-10 | 2 | -26/+2 | |
| | |||||
* | Do not use usbd_endpoint_count() and usbd_interface_count(), theses | 2015-07-10 | 1 | -31/+18 | |
| | | | | | | | 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! | ||||
* | Revert previous, doesn't fix anything. I managed to reproduce | 2015-07-09 | 1 | -5/+4 | |
| | | | | | the problem on one of my machines and the patch doesn't help. See http://marc.info/?l=openbsd-tech&m=143645936727569&w=2 | ||||
* | Move the softc definition to uvideo.c so that userland can include | 2015-07-09 | 2 | -64/+64 | |
| | | | | | | <dev/usb/uvideo.h> to get USB video descriptor definitions. from Ludovic Coues. | ||||
* | Allow more time for USB athn(4) firmware boot. It seems people on daemonforums | 2015-07-09 | 1 | -4/+5 | |
| | | | | | | | | | 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@ | ||||
* | Do not use usbd_endpoint_count(), this function is almost unused and | 2015-07-09 | 1 | -5/+4 | |
| | | | | | | | creates confusion. Do like the rest of the drivers and simply get a interface descriptor with usbd_get_interface_descriptor(). Tested by stsp@ | ||||
* | Name unamed structures, from Ludovic Coues with some tweaks. | 2015-07-09 | 1 | -45/+62 | |
| | |||||
* | regen | 2015-07-05 | 2 | -4/+9 | |
| | |||||
* | add id for TEMPerHUM sensor | 2015-07-05 | 1 | -1/+2 | |
| | | | | ok mpi@ |