summaryrefslogtreecommitdiff
path: root/sys/dev/usb
AgeCommit message (Collapse)Author
2011-08-29add gpsmap 62sMike Belopuhov
2011-08-19Let ums probe bounds of absolute devices if available.Matthieu Herrb
ok shadchin@ some weeks ago.
2011-08-17match on MSP-FET430UIF JTAG, so it can be used with mspdebugJasper Lievisse Adriaanse
from impatiens@gmail.com
2011-08-17regenJasper Lievisse Adriaanse
2011-08-17add MSP-FET430UIF JTAG, from impatiens@gmail.comJasper Lievisse Adriaanse
2011-07-22Add the Huawei E181.David Coppa
From Chris Turner <c.turner(at)199technologies(dot)com> OK sthen@
2011-07-22Add the Huawei E181.David Coppa
From Chris Turner <c.turner(at)199technologies(dot)com> OK sthen@
2011-07-21Add the Huawei E1750 USB modemDavid Coppa
From bsd.user(at)mail(dot)ru ok jsg@, sthen@
2011-07-21Add the Huawei E1750 USB modemDavid Coppa
From bsd.user(at)mail(dot)ru ok jsg@, sthen@
2011-07-20this works on the galaxy s2 too.Jasper Lievisse Adriaanse
ok dlg@
2011-07-20regenJasper Lievisse Adriaanse
2011-07-20add a newer samsung android phoneJasper Lievisse Adriaanse
2011-07-17Backout a bunch of my SCSI commits from c2k11. At least one of theseMatthew Dempsky
is causing problems when trying to boot sparc64 from an isp(4). Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@
2011-07-10Read the HCSPARAMS register from the correct location, and addEric Faurot
parentheses where needed to get the resulting mask right. ok krw@ yuo@ deraadt@
2011-07-09Switch umass(4) to use a single target scsibus withMatthew Dempsky
SCSI_NO_ADAPTER_TARGET instead of a two target bus with a reserved "host" target. ok krw@
2011-07-08add support for HUAWEI E1752 seriese modemYojiro Uo
ok jsg@
2011-07-08regenYojiro Uo
2011-07-08add HUAWEI E1752Yojiro Uo
ok jsg@
2011-07-08regenYojiro Uo
2011-07-08add entry for YUBICO yubikeyYojiro Uo
2011-07-08First batch of converting SCSI HBAs from setting saa_targets andMatthew Dempsky
saa_luns instead of adapter_buswidth and luns in the prototype link. ok dlg@, miod@
2011-07-03ucom(4) did not understand the last-close semantics. repair that, andTheo de Raadt
add a bit more locking in the open function. originally spotted by matthew, ok matthew miod
2011-07-03Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingMatthew Dempsky
that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
the obvious cases to return EINVAL and ENXIO. ok tedu deraadt
2011-06-23Back out inadvertently commited change.Owain Ainsworth
This one wanted some more comments before commit.
2011-06-23Don't leak the ctrl_data in uvideo_queryctrl, uvideo_s_ctrl and uvideo_g_ctrl.Owain Ainsworth
If one of the usb calls we did here failed we'd return immediately and not free our buffer. ok miod@
2011-06-23a bit more ansi; ok teduTheo de Raadt
2011-06-23ansify a few files. ok deraadt dlg krw matthewTed Unangst
2011-06-22kill a few more casts that aren't helpful. ok krw miodTed Unangst
2011-06-19fix up unbalanced format stringsJonathan Gray
ok deraadt@
2011-06-17M_WAITOK cleanup of two cases:Michael Knudsen
1) Allocating with M_WAITOK, checking for NULL, and calling panic() is pointless (malloc() will panic if it can't allocate) so remove the check and the call. 2) Allocating with M_WAITOK, checking for NULL, and then gracefully handling failure to allocate is pointless. Instead also pass M_CANFAIL so malloc() doesn't panic so we can actually handle it gracefully. 1) was done using Coccinelle. Input from oga. ok miod.
2011-06-15Add support for ZTE AC2746.Jonathan Gray
Slightly changed version of a diff from Martin Furter.
2011-06-15regenJonathan Gray
2011-06-15ZTE AC2746Jonathan Gray
from Martin Furter
2011-05-24On OpenBSD, we've always attached scsibus(4) to umass(4), even forMatthew Dempsky
ATAPI devices. atapiscsi(4) is only for handling ATAPI devices on an ATA bus, so umass(4) shouldn't care about it. ok krw@, dlg@; no objections from deraadt@
2011-05-05Attach to Samsung Galaxy S, from Erik Mugele. ok jsg@ mk@Stuart Henderson
It may be possible to use better heuristics to detect compatible devices (Linux driver appears to hand over from CDC to urndis) which would avoid listing IDs, but this gets tethering working on this phone for now.
2011-05-05syncStuart Henderson
2011-05-05Add Samsung Galaxy S, from Erik Mugele, ok jsg@ mk@Stuart Henderson
2011-04-28remove horrible abuse of kthread_create_deferred(9). this was beingJacob Meuser
used to "do things later" and was potentially sleeping in swapper context. the latter is really bad, because it might never wake up. instead, move the things that usb_first_explore() was doing to the first run of the explore task. since tasks are run in a kthread, they are in process context and ok to sleep. fixes boot hang noticed by jsg@, which mikeb@ debugged and found usb_first_explore() to be sleeping swapper context
2011-04-24Match Sierra USB305; from Erik MugeleTheo de Raadt
2011-04-24syncTheo de Raadt
2011-04-19Simplify umass devid generation. Only use the last 12 characters ofMatthew Dempsky
the USB serial number so as to limit the overall devid to just 20 characters. "Lovely!" deraadt@
2011-04-19Include USB vendor and product ids when manufacturing a unique disk idMatthew Dempsky
from a USB serial number, as recommended by the umass spec. ok dlg@
2011-04-11uncompressed video formats have a fixed per-pixel bit depth, whichJacob Meuser
means the data size of a frame can be calculated if the dimensions are known. * calculate frame data sizes for uncompressed formats instead of believing what the hardware says. the UVC spec changed between 1.0 and 1.1, and as a result, some devices return bogus information. * skip under-sized as well as over-sized uncompressed frames; there is only one correct size for uncompressed frames. * remove quirk to fix uncompressed frame sizes on certain devices, since that now always happens. * check that the device is actually using the parameters we think it's using.
2011-04-07Do not use NULL in integer comparisons. No functional change.Miod Vallat
ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
2011-04-06add a new "serial" devid type for scsi devices. add code to usb that fakesDavid Gwynne
it up by using the usb devices iSerial thing. ok deraadt@
2011-04-05binary vs logical or, found by clangJonathan Gray
ok mikeb@ deraadt@
2011-04-05- use nitems() no binary change on amd64Jasper Lievisse Adriaanse
"reads OK" claudio@
2011-04-05regenMiod Vallat
2011-04-05hid_locate() is supposed to accept the last two arguments being NULL, soMiod Vallat
correctly handle this in the failure case.