Commit Graph

3006 Commits

Author SHA1 Message Date
jmcneill
548abe3d13 Note where the magic register information came from in this driver. No
functional change.
2008-09-17 03:57:19 +00:00
martin
6b8ff81d70 Remove hardcoded vendor/product ID based lookup for HX type chips and
decide based on the device descriptor instead. Simplifies things a
lot and fixes PR 39457.
2008-09-16 20:00:17 +00:00
mjf
0074b883b4 Fix pseye_start_transfer() to return the return value of kthread_create()
instead of always returning 0.
2008-09-13 18:51:10 +00:00
jmcneill
9397047d32 QuickCam Messenger: Set UQ_BAD_ADC quirk so uaudio will attach. The device
reports bcdADC == 0x200, but the microphone otherwise works fine.
2008-09-10 20:34:40 +00:00
jmcneill
f196dae5e9 regen 2008-09-10 20:07:46 +00:00
jmcneill
0470da95e3 Logitech QuickCam Messenger 2008-09-10 20:04:56 +00:00
cegger
41812eebff update TODO list: we have isoc support 2008-09-10 06:08:27 +00:00
hubertf
07d9131246 Sign over copyright of Jeremy Morse's code to TNF, OK'd by Jeremy Morse
(still mention Jeremy as contributor)
2008-09-09 21:51:32 +00:00
jmcneill
426e852b45 register with pmf 2008-09-09 17:40:40 +00:00
cegger
9153a46c8f make this build w/o UVIDEO_DEBUG 2008-09-09 05:44:08 +00:00
jmcneill
c08044b7db USB Video Class capture device driver, part of Patrick Mahoney's Google
Summer of Code 2008 project.
2008-09-09 01:13:42 +00:00
jmcneill
78974094d6 Clarify the message printed by the kernel when a low or full speed
device with isochronous endpoints is attached to a hi-speed hub. Also
silence a printf in ehci_device_isoc_close
2008-09-09 00:46:45 +00:00
jmcneill
51d385aeea No need for videoio.h in hw driver 2008-09-09 00:19:10 +00:00
jmcneill
6ea027b866 Run pseye_transfer_thread at a higher priority to ensure that we don't
receive partial frames in our bulk xfer.
2008-09-08 22:28:53 +00:00
jmcneill
dd848685c1 Implement try_format 2008-09-08 22:13:26 +00:00
jmcneill
94e5d88f48 Implement enum_format callback. 2008-09-07 17:12:21 +00:00
rmind
913f159e82 Regen. 2008-09-06 21:53:32 +00:00
rmind
aa93fc3fa8 PR/37948: Yojiro UO: Support for Sony GPS GPS-CS1 devices. Check the support
of UR_BBB_GET_MAX_LUN, and disable the logic, if needed.
2008-09-06 21:49:00 +00:00
rmind
3f36b1dd77 PR/38202: Jeff McMahill: Support for Sealevel SeaPORT+4 USB to Serial adaptor. 2008-09-06 21:42:05 +00:00
rmind
0474b30708 PR/39303: Izaac: Support for Novatel Wireless Ovation U727. 2008-09-06 21:38:44 +00:00
rmind
5c8acba58c PR/39147: Jasper Wallace: Support Metageek Wispy 2.4x as ugen device. 2008-09-06 21:34:49 +00:00
jmcneill
6902ca74cd Add driver for the Sony PLAYSTATION(R) Eye USB webcam. 2008-09-06 19:37:21 +00:00
matt
15f84f36ad Regen. 2008-08-30 03:29:56 +00:00
matt
3358bb85e1 Add some more usb devices that the updated if_axe.c supports. 2008-08-30 03:27:48 +00:00
drochner
6ea9cc30bf add a "break" so that the isoc setup code doesn't access uninitialized
data if the frames allocated by a client driver don't use up all the
microframes within a frame
2008-08-28 23:08:00 +00:00
jmcneill
fc513621ad Ignore HID and audio interfaces on iPhone, iPod Touch, and iPhone 3G. Maybe
we'll have better luck driving it with ugen(4)..
2008-08-28 21:43:11 +00:00
jmcneill
d722f149b1 Regen. 2008-08-28 21:41:51 +00:00
jmcneill
42ecdc8c24 Add iPhone, iPod Touch, and iPhone 3G product IDs. 2008-08-28 21:41:19 +00:00
matt
b10d12581a Regen. 2008-08-22 03:23:30 +00:00
matt
0793292db9 Add APPLE ETHERNET 2008-08-22 03:22:25 +00:00
drochner
8991542aa2 use M_NOWAIT in an early allocation for consistency, from Kevin Lo 2008-08-21 12:25:03 +00:00
kent
fb5a41ad3a Implement uhub_rescan(). After this change, "modload uaudio.kmod"
configures an audio device correctly for a device which is already
plugged.

* usb_subr.c
 Add locators parameter to usbd_attachinterfaces()
 Add usbd_reatach_device()

* usbdivar.h
 Export usbd_reatach_device()
2008-08-18 18:03:21 +00:00
cegger
6746e5563f regen. 2008-08-18 11:49:34 +00:00
cegger
64fb7cf189 add Cherry 6000 keyboard 2008-08-18 11:48:23 +00:00
drochner
d564f76750 fix my last commit: add missing "break"s, from Marcus Glocker 2008-08-16 15:41:37 +00:00
drochner
fdb6ecdb00 free memory on detach, fixes memory leak, from Andreas Jacobs per
PR kern/39322
2008-08-13 09:43:56 +00:00
drochner
a1d4089483 fix an off-by-one in isochronous interval check, and streamline some
frame / microframe calculation, avoiding overestimation of frames needed,
reviewed by Jared D. McNeill
2008-08-12 16:35:06 +00:00
drochner
95effdc79e fix an inconsistency in a check for invalid configuration index vs. value;
noticed by Frank Wille in PR kern/39211, but unrelated to the problem
described (The check can practically never be hit.)
2008-08-12 16:30:42 +00:00
cegger
6223c57814 make i386 ALL kernel compile 2008-08-03 07:05:22 +00:00
jmcneill
cd4f8360bb High speed isochronous transfer support, from Jeremy Morse as part of
Google Summer of Code 2008.
2008-08-02 23:14:34 +00:00
jmcneill
c4b944ba64 Update copyright. 2008-08-02 22:57:36 +00:00
jmcneill
4e6a458107 High speed isochronous support, from Jeremy Morse as part of Google
Summer of Code 2008.
2008-08-02 22:23:18 +00:00
drochner
551e75d811 -ubsa needs to be attached as whole device on USB, because it sets
the configuration. The match/attach code was assuming whole-device
 attach args all the time.
-Use the first (ie index 0) configuration for ubsa -- it makes the
 code work in at least one case (PR kern/39211 by Frank Wille), and
 there is no indication that an alternative configuration would
 be needed. (I've admittedly never seen a usb device with more than
 one configuration.)
This fixes mistakes when uhmodem support was added, and the changes were
not tested with a Huawei device yet. So please test if you can.
2008-07-31 22:01:15 +00:00
drochner
6a47db887e -in usbd_probe_and_attach(), split out the code for per-device and
per-interface attachment into individual functions, to ease
 maintainance and allow easier plugin of new attachment functions
-keep a counter of USB interfaces in use on a device, and try to
 keep track of interfaces claimed by drivers behind the framework's
 back
2008-07-28 15:22:01 +00:00
drochner
3126a6b09b Don't pmf_device_deregister() if it was not registered, which happens
if attach() encountered an error before.
In contrast, such a protection should not be needed for the register()
call, so remove it there.
2008-07-28 14:19:26 +00:00
plunky
86cf58d587 remove comment that is no longer true 2008-07-26 20:16:10 +00:00
tonnerre
232e862b92 Don't ignore poor retarded ubt(4) devices which have vendor and product id
== 0. Discovered by mballmer@obsd, ok'd by plucky@.
2008-07-16 08:43:01 +00:00
gmcgarry
bdd7de96c7 Constify most umidi-quirk data. Addresses PR#39017. 2008-07-08 11:34:43 +00:00
uebayasi
83bda9894d Regen. 2008-07-08 08:55:22 +00:00
uebayasi
42185747e6 WILLCOM Advanced W-ZERO3[es] device IDs. From Ryo Shimizu. 2008-07-08 08:47:32 +00:00