summaryrefslogtreecommitdiff
path: root/sys/dev/usb
AgeCommit message (Collapse)Author
2010-03-15The monitor struct member is gone. Make this compile again.enami
2010-03-15Remove duplicate USB_PRODUCT_LINKSYS3_WUSB11V28 entry.jakllsch
Pointed out by <db@db.net> in #NetBSD-code.
2010-03-14add device id and quirks for iPhone 3GS (just copy the 3G ones)explorer
2010-03-13Fix PR kern/42838 using option #1 as described by KIYOHARA Takashi inscw
http://mail-index.netbsd.org/current-users/2010/02/20/msg012654.html Add a comment in struct ucom_methods to explain usage of 'ptr' and 'count' in the ucom_read handler.
2010-03-12Match an additional `SHT1x' signature when attaching.jdc
Handle different temperature calculations for `SHT1x' and for `TEMPer' types. Display signature and data when UTHUM_DEBUG is defined. Tested on `SHT1x' (TEMPerHUM) and `TEMPer' (TEMPer and TEMPer1) devices. Also tested by Antoine Reilles on an `SHT1x' device.
2010-03-11Port uyurex(4) from OpenBSD. There is some XXX but works enough toenami
play with it.
2010-03-11Regen.enami
2010-03-11Add device id of yurex from OpenBSD.enami
2010-03-07s/delay/need_delay/ to get rid of shadowed variable warning (somejdc
ports define delay in machine/param.h).
2010-03-06add UHSO_DEBUG for uhso(4) driverplunky
2010-03-06Add uhso(4) driver and manpage for Option N.V. Wireless WAN modemsplunky
2010-03-06regen for uhso(4) driverplunky
2010-03-06add details of Option N.V. Wireless WAN modems for uhso(4) driverplunky
2010-03-06fix the relative humidity sensorcnst
2010-02-28Fight the ever-increasing size of src checkouts by spelling "useful"snj
without an extra l.
2010-02-24A pointer typedef entails trading too much flexibility to declare constdyoung
and non-const types, and the kernel uses both const and non-const PMF qualifiers and device suspensors, so change the pmf_qual_t and device_suspensor_t typedefs from "pointers to const" to non-pointer, non-const types.
2010-02-24print end of line before getting the descriptor as it sleepsplunky
2010-02-24use # for include directive, just because..plunky
2010-02-24Fix porting miss.kiyohara
However this change in between #ifdef notyet and #endif. Thanks for fukaumi.
2010-02-20printf -> aprint_normal to avoid empty linefeeds and partial messagespooka
for AB_QUIET.
2010-02-19Huawei K3765 requires another kind of magic to get it out of CD mode.pooka
It also changes product id after being configured. Without this change the device just lingers in u3ginit forever. With this change: u3ginit0 at uhub0 port 1: Switching to 3G mode u3ginit0: detached u3ginit0: at uhub0 port 1 (addr 2) disconnected u3g0 at uhub0 port 1 configuration 1 interface 0 ucom0 at u3g0 portno 0: 3G Modem u3g1 at uhub0 port 1 configuration 1 interface 1 ucom1 at u3g1 portno 1: 3G Modem u3g2 at uhub0 port 1 configuration 1 interface 2 ucom2 at u3g2 portno 2: 3G Modem u3g3 at uhub0 port 1 configuration 1 interface 3 ucom3 at u3g3 portno 3: 3G Modem (tested with rump)
2010-02-19regen: huawei K3765pooka
2010-02-19Add Huawei K3765 (two id's, it changes product id after being inited).pooka
2010-02-19Replace USB_GET_SC() instances with USB_GET_SC_OPEN(). The latterpooka
is exactly like the former, except it returns with ENXIO if sc is NULL instead of continuing on to use it. Most of the time this is handled by the fd layer and you get EBADF, but sometimes it's possible to race into the device method for whatever reason and you get a kernel panic. I have no idea what the "whatever reason" might be.
2010-02-13KNFmartin
2010-02-13Remove UMASS_QUIRK_IGNORE_RESIDUE, instead max out the expected responsemartin
size at the actual transfer length. Fixes PR kern/42225 differently.
2010-02-09Tweak comment about keyboard mapping.sborrill
2010-02-08Add ZTE MF626. From Marc Vertes in PR kern/41667.snj
2010-02-08Regen.snj
2010-02-08Add ZTE MF626. From Marc Vertes in PR kern/41667.snj
2010-02-06Add uthum(4) driver from openbsd, adapted to handle bothtonio
TEMPerHUM and TEMPer devices
2010-02-06Add uthum driver, ported from openbsdtonio
Handles Tenx temperature sensors TEMPer and TEMPerHUM and declares them to envsys
2010-02-06regentonio
2010-02-06Add TENX vendor and two devicestonio
2010-02-02Introduce the uhub_ubermatch variable. Setting it to 1 makes surepooka
than a uhub attaches even at higher priority than ugen when ugen_override is set to 1. This allows to probe the whole USB bus and attach its functions with ugen. A better infrastructure to control this would be nice ....
2010-01-19Redefine bpf linkage through an always present op vector, i.e.pooka
#if NBPFILTER is no longer required in the client. This change doesn't yet add support for loading bpf as a module, since drivers can register before bpf is attached. However, callers of bpf can now be modularized. Dynamically loadable bpf could probably be done fairly easily with coordination from the stub driver and the real driver by registering attachments in the stub before the real driver is loaded and doing a handoff. ... and I'm not going to ponder the depths of unload here. Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
2010-01-18Add two CTI rs485 donglesmartin
2010-01-18regenmartin
2010-01-18Add two CTI usb-rs485 adaptersmartin
2010-01-17Forward declare struct bpf_if and use that as the type for bpf_ifpooka
instead of "void *". Buys us oo times the type-safety for 0 times the price. (no functional change)
2010-01-16Fix leak of a usbd_xfer_handle when a interrupt pipe is aborted thenbouyer
closed: usbd_open_pipe_intr() allocates a usbd_xfer_handle for pipe->intrxfer. Most usb device drivers using interrupt pipes call usbd_abort_pipe() then usbd_close_pipe(), usbd_close_pipe() is supposed to free pipe->intrxfer. But usbd_abort_pipe() calls [uoe]hci_device_intr_abort() which, if the xfer aborted is pipe's intrxfer, sets pipe->intrxfer to NULL. So usbd_close_pipe() can't free it and the usbd_xfer_handle is lost. To fix this, in usbd_abort_pipe() remember the pipe->intrxfer's value on entrie, and if it's different after usbd_ar_pipe(), call usbd_free_xfer with the original value. Confirmed to fix the memory leak on close() with umodem(4) and uplcom(4).
2010-01-14Make ums.c work with a "Microsoft Natural Ergonomic Desktop 7000" mouse.matthias
XXX The tilt function still doesn't work for me.
2010-01-12Adjust report descriptor for Logitech USB Receiver M/N C-BT44 tojakllsch
more closely match what is in the report. (This corrects the off-by-one usages of most of the gray multimedia keys on a EX110 wireless keyboard so they can sensibly be used with libusbhid(3), usbhidctl(1) and usbhidaction(1).) This device also uses officially reserved usages (in the approximate range of 0x1000 to 0x1100) in the Consumer usage page, but these are out of the logical range the device reports as being valid.
2010-01-12Avoid treating the Griffin PowerMate knob as a ums(4).jakllsch
Should fix PR/19445.
2010-01-12regen.jakllsch
2010-01-12Add Logitech C-BT44 Receiver.jakllsch
2010-01-11_KERNEL_POTpooka
2010-01-08Expand PMF_FN_* macros.dyoung
2010-01-08Fix memory barrier in a debug functionmartin
2010-01-07Split the u3g driver into two parts: u3ginit attaches to those devicesmartin
that only come as a umass device in the default configuration and forces them to reinitialize in 3D mode and detach. The u3g part attaches to individual interfaces for the 3G functionality, leaving the umass interface(s) for that driver. With this change I can use the MMC card in my Huawey stick (as well as the integrated windows driver CD, which of course is pretty useless) and the 3G modem at the same time. Fixes PR 42577. Code contributed anonymously, minor tweaks (and all bugs) by me.