Edward Tomasz Napierala
07020dae57
Remove unused uhci_dump_qhs().
...
Reviewed by: hps
2010-01-08 15:52:06 +00:00
Andrew Thompson
e54f81e0b9
Remove unneeded includes.
2010-01-08 01:41:58 +00:00
Martin Blapp
c2ede4b379
Remove extraneous semicolons, no functional changes.
...
Submitted by: Marc Balmer <marc@msys.ch>
MFC after: 1 week
2010-01-07 21:01:37 +00:00
Andrew Thompson
e33b1a7e54
Fix debug printf on 64bit arches.
...
Spotted by: b. f.
2010-01-07 02:25:19 +00:00
Andrew Thompson
1feda9b418
Add new umass quirks for Western Digital MYBook and JMicron JM20337.
...
PR: usb/142225, usb/142228
Submitted by: Thomas Ward, Yoshikazu GOTO
MFC after: 1 week
2010-01-07 00:30:59 +00:00
Andrew Thompson
d84a79e731
Improve u3g device ejecting by providing additional methods for the eject
...
command in the usb_msctest routines, as well as a general tidyup.
This now properly ejects the ZTE MF636, Option Gi0322 and Novatel MC950D
devices I have on my desk.
2010-01-06 22:14:05 +00:00
Andrew Thompson
c10e1453e7
scratch_size was incorrectly passed as language ID when retrieving the language
...
ID table, this broke string retrieval on some devices.
Submitted by: Hans Petter Selasky
Reported by: Renato Botelho
2010-01-06 21:46:08 +00:00
Andrew Thompson
87b88f757d
Add new device ID to uipaq driver
...
PR: usb/141936
Submitted by: HASHI Hiroaki
2009-12-31 00:55:50 +00:00
Andrew Thompson
b55b073f14
Compact USB_VENDOR_X and USB_PRODUCT_Y in the quirk tables.
2009-12-28 00:42:42 +00:00
Andrew Thompson
9e6b53136e
Use macros to strip off USB_VENDOR_ and USB_PRODUCT_ from some id tables to make
...
them more compact and readable.
2009-12-26 19:03:28 +00:00
Andrew Thompson
47d54fbb13
Shorten the USB_QUIRK_ENTRY macro and undef it at the end, its only internal.
2009-12-23 01:41:52 +00:00
Andrew Thompson
eb58441685
Move all Mass Storage Quirks over to the USB quirk module.
...
Submitted by: Hans Petter Selasky
2009-12-23 01:16:24 +00:00
Andrew Thompson
7b360bcc6c
Sync usb vendor/product defines to p4
...
Submitted by: HPS
2009-12-23 01:12:54 +00:00
Andrew Thompson
46e977391b
Add missed usb product define in r200826.
2009-12-22 02:15:36 +00:00
Andrew Thompson
cc92254a07
add new ID to UFTDI driver.
...
Submitted by: YAMAMOTO, Shigeru
2009-12-22 02:13:23 +00:00
Andrew Thompson
725f67ad7b
Add more OHCI pci ids.
...
Submitted by: Hans Petter Selasky
2009-12-22 01:59:17 +00:00
Andrew Thompson
bae15f4ab1
Add more EHCI pci ids.
...
Submitted by: Hans Petter Selasky
2009-12-22 01:57:34 +00:00
Andrew Thompson
b340b7be10
Keep list sorted.
2009-12-18 00:36:30 +00:00
Andrew Thompson
c0e2c17865
Add a bunch of new 3G ids obtained from from various operating systems and
...
Internet sources.
Obtained from: Linux, NetBSD, OpenBSD, etc
2009-12-18 00:34:58 +00:00
Andrew Thompson
2a4c6157ca
Use the EVENTHANDLER system to hook into the usb device configuration and
...
perform a function such as ejecting a 3G autoinstaller disk. The eventhandler
system properly tracks threads and is safe to unload, remove the
setting/clearing of a function pointer in the kernel by u3g(4) which included a
tsleep for safety.
2009-12-17 21:42:10 +00:00
Andrew Thompson
ae6de8d67a
Wrap long lines.
2009-12-11 02:52:14 +00:00
Andrew Thompson
4b5437a114
Add a quirk for the Curitel UM175 where setting multiplexing for call
...
management over the data endpoint causes communication to die.
Take this one step further and model it on the existing NetBSD quirk and import
other device IDs from them.
Obtained from: NetBSD
2009-12-11 02:44:15 +00:00
Andrew Thompson
84d250f195
Revert r199331, the UM175 is in fact a cdc-acm device handled by umodem(4).
2009-12-11 00:57:30 +00:00
Andrew Thompson
4a0bce1923
Fix hardware issue with FTDI chips: avoid sending a zero length packet due to
...
hardware sending garbage on ZLPs.
Reported by: Corey Smith
Submitted by: HPS
2009-12-09 20:28:33 +00:00
Andrew Thompson
85e3d588a5
Fix dwSignature for NCM mode and add extra debug output.
...
Submitted by: HPS
2009-12-09 20:27:06 +00:00
Andrew Thompson
27148a6c72
Add new device ids.
...
PR: usb/140951, usb/140923
Submitted by: Romain Tartiere, Brett Glass
2009-12-09 20:24:49 +00:00
Andrew Thompson
741194f111
Correct name, 82801IJ -> 82801JI
...
Submitted by: mitya_cabletv.dp.ua
2009-12-09 20:17:22 +00:00
Andrew Thompson
0ca80d71d0
If the ID byte is non zero then we allow descriptors having multiple sizes.
...
Submitted by: HPS
Reported by: daichi
2009-12-09 20:15:05 +00:00
Rui Paulo
64e5a27754
Improve response to multi-touch taps.
...
Submitted by: Rohit Grover <rgrover1 at gmail.com>
2009-12-08 00:52:59 +00:00
Andrew Thompson
ce70efd12e
Add uhci/ehci controller ids.
...
Submitted by: mitya_cabletv.dp.ua
2009-12-03 23:24:12 +00:00
Nathan Whitehorn
d7e7c660b4
Early-generation touchpads do not send periodic calibration frames for
...
baseline subtraction, and are very temperature sensitive, so would slowly
drift out of a calibrated state when under load. Escape this by taking
the last frame before we decide that the pad is idle as a finger-free
baseline.
Tested on: iBook G4
2009-11-29 20:48:19 +00:00
Ed Schouten
d343f5397d
Remove unneeded inclusion of <sys/termios.h>.
2009-11-28 13:20:29 +00:00
Andrew Thompson
767cb2e29d
Remove overuse of exclamation marks in kernel printfs, there mere fact a
...
message has been printed is enough to get someones attention. Also remove the
line number for DPRINTF/DPRINTFN, it already prints the funtion name and a
unique message.
2009-11-26 00:43:17 +00:00
Andrew Thompson
e6af527c11
Disable interrupts after doing early takeover of the usb controller in case usb
...
isnt actually compiled in (or kldloaded) as the controller could cause spurious
interrupts.
Tested by: Florian Smeets
2009-11-25 20:50:43 +00:00
Andrew Thompson
bda9babe90
Actually disable interrupts in ehci_detach().
...
Reviewed by: HPS
2009-11-23 18:12:09 +00:00
Andrew Thompson
3e65f9971a
Make the mode setting transfer asynchronous.
...
Submitted by: Rohit Grover
2009-11-22 21:53:09 +00:00
Andrew Thompson
add5cc2fad
Add missed register change in r199676.
...
Submitted by: Hans Petter Selasky
2009-11-22 21:31:31 +00:00
Andrew Thompson
f1eac1007e
Correct register access for USB device side operation on the musb controller.
...
Submitted by: Hans Petter Selasky
2009-11-22 21:24:38 +00:00
Andrew Thompson
c13fd8d42b
Provide tunables for some of the usb sysctls that affect boot behaviour.
...
Submitted by: Andriy Gapon
2009-11-22 21:21:22 +00:00
Andrew Thompson
78c94708fb
Initialise variable before use.
...
Submitted by: Hans Petter Selasky
2009-11-22 21:19:01 +00:00
Andrew Thompson
f12c6c2913
Improve High Speed slot allocation mechanism by moving the computation to the
...
endpoint rather than per xfer and provide functions around get/free of resources.
Submitted by: Hans Petter Selasky
2009-11-22 21:16:43 +00:00
Andrew Thompson
185d20b5f9
Sort ID list by vendor.
2009-11-16 20:36:43 +00:00
Andrew Thompson
2f5c868874
Add the Curitel UM175 3g device.
2009-11-16 20:35:16 +00:00
Nathan Whitehorn
b201cde68d
Reduce probe priority of USB input devices to BUS_PROBE_GENERIC from
...
BUS_PROBE_SPECIFIC. This allows device-specific drivers like atp to
attach reliably.
Reviewed by: hps
2009-11-11 03:17:51 +00:00
Nathan Whitehorn
d7f3684090
Add support for the touchpads found in later models of iBook and
...
Powerbook.
Reviewed by: Rohit Grover <rgrover1 at gmail.com>
2009-11-10 19:14:06 +00:00
Rui Paulo
4d16b4ec42
Driver for the Apple Touchpad present on MacBook (non-Pro & Pro).
...
Submitted by: Rohit Grover <rgrover1 at gmail.com>
MFC after: 2 months
2009-11-09 15:59:09 +00:00
Andrew Thompson
a1f7c632cc
Correct Olympus quirk.
...
Submitted by: Pavel Gubin
2009-11-08 21:08:50 +00:00
Andrew Thompson
9dac8e0ed2
Add missing mtx_destroy().
...
Submitted by: Sebastian Huber
2009-11-08 21:07:47 +00:00
Andrew Thompson
883bb30022
improve support for high speed isochronous endpoints which does not run 1:1,
...
but needs intervalling 1:2, 1:4 or 1:8
Submitted by: Hans Petter Selasky
2009-11-08 20:54:03 +00:00
Andrew Thompson
30b22abe40
Integrate lost interrupts patch from the old USB stack.
...
Some EHCI chips from VIA / ATI seem to trigger interrupts before writing back
the qTD status, or miss signalling occasionally under heavy load. If the host
machine is too fast, we can miss transaction completion - when we scan the
active list the transaction still seems to be active. This generally exhibits
itself as a umass stall that never recovers.
We work around this behaviour by setting up this callback after any softintr
that completes with transactions still pending, giving us another chance to
check for completion after the writeback has taken place
Submitted by: Alexander Nedotsuko
MFC after: 3 days
2009-11-08 20:51:15 +00:00