Andrew Thompson
298c330015
MFC r208016
...
Add new FTDI USB device ID.
2010-05-17 23:50:10 +00:00
Andrew Thompson
4251e3198f
MFC r208015
...
Increase the max ports to 12, 3G devices exist where the ppp endpoint is #9 .
2010-05-17 23:49:31 +00:00
Andrew Thompson
ad65806013
MFC r207077
...
Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had
the illusion of a tunable setting but was always turned on regardless.
2010-04-29 22:44:04 +00:00
Kevin Lo
499a07ef68
MFC r206544
...
The Quanta Q101 modem has a different type of cdrom driver disk,
add the product id and use a standard scsi eject.
Reviewed by: thompsa
2010-04-16 01:53:19 +00:00
Andrew Thompson
4e4177b3d0
MFC r205032
...
Add new uvisor(4) device ID.
PR: usb/144201
2010-04-06 23:25:53 +00:00
Andrew Thompson
15a1f2780d
MFC r205031
...
It appears that some UVISOR devices do not handle when the clear stall command
is issued at the beginning of the initial IN/OUT data transfers. Reason
unknown, probably firmware fault. Now the stall is only cleared on data
transfer errors.
PR: usb/144199
Submitted by: Hans Petter Selasky
2010-04-06 23:25:19 +00:00
Andrew Thompson
a8562ad046
MFC r205029
...
Use wMaxPacketSize for the uftdi input buffer size.
Submitted by: Hans Petter Selasky
2010-04-06 23:24:29 +00:00
Andrew Thompson
c96e62bb8a
MFC r203906
...
Add device ID for the FTDI 4232H.
PR: usb/143832
Submitted by: UEMURA Tetsuya
2010-04-06 23:23:19 +00:00
Andrew Thompson
5821ad555b
MFC r203905
...
Add support for the E1752 3G modem and the required eject command.
Submitted by: Milan Obuch
2010-04-06 23:22:47 +00:00
Andrew Thompson
5aab223c3c
MFC r203903
...
Make umodem more tolerant for devices which modem descriptors are misplaced.
Reported by: Erick Wales
Submitted by: Hans Petter Selasky
2010-04-06 23:22:19 +00:00
Andrew Thompson
9f524548aa
MFC r203507
...
The ZTE MF633R modem has a different type of cdrom driver disk, add the product
ID and use a standard scsi eject.
Reported by: Patrick Lamaiziere
2010-04-06 23:20:41 +00:00
Andrew Thompson
62bd90e5c7
MFC r203506
...
Properly name the 0x0016 ZTE product as MF633R now that its known.
2010-04-06 23:20:13 +00:00
Andrew Thompson
300db511e2
MFC r202054
...
Add the Globetrotter GE40x.
2010-01-17 18:36:22 +00:00
Andrew Thompson
ebd4481685
MFC r201766
...
Remove unneeded includes.
2010-01-17 18:33:47 +00:00
Andrew Thompson
9d25e8387f
MFC r201681
...
Improve u3g device ejecting by providing additional methods for the eject
command in the usb_msctest routines, as well as a general tidyup.
2010-01-17 18:31:27 +00:00
Andrew Thompson
e8f0a2d170
MFC r201318
...
Add new device ID to uipaq driver
PR: usb/141936
Submitted by: HASHI Hiroaki
2010-01-17 18:29:30 +00:00
Andrew Thompson
dc72f7b46c
MFC r201028
...
Use macros to strip off USB_VENDOR_ and USB_PRODUCT_ from some id tables to make
them more compact and readable.
2009-12-31 00:20:54 +00:00
Andrew Thompson
ba0bb08c53
MFC r200826
...
add new ID to UFTDI driver.
Submitted by: YAMAMOTO, Shigeru
2009-12-31 00:17:09 +00:00
Andrew Thompson
9d774551fc
MFC r200658
...
Keep list sorted.
2009-12-31 00:13:24 +00:00
Andrew Thompson
71db0b9765
MFC r200657
...
Add a bunch of new 3G ids obtained from from various operating systems and
Internet sources.
2009-12-31 00:12:38 +00:00
Andrew Thompson
ee4e4d544f
MFC r200653
...
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-31 00:10:26 +00:00
Andrew Thompson
a1028b88ba
MFC r200395
...
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-31 00:08:17 +00:00
Andrew Thompson
65701ca05f
MFC r200308
...
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-31 00:07:37 +00:00
Andrew Thompson
bb1fb02ae2
MFC r200306
...
Add new device ids.
PR: usb/140951, usb/140923
Submitted by: Romain Tartiere, Brett Glass
2009-12-31 00:06:12 +00:00
Andrew Thompson
1749b20333
MFC r199332
...
Sort ID list by vendor.
2009-12-31 00:03:29 +00:00
Andrew Thompson
c1b5138fc1
MFC r199816
...
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-12-09 22:42:40 +00:00
Andrew Thompson
975199a5ac
MFC r198774
...
Check unit number and provide string name for consdev.
Submitted by: HPS
2009-12-09 22:31:45 +00:00
Andrew Thompson
906c96039d
MFC r198257
...
Add support for newer WinChipHead CH341 chips, previously in the uch341 driver.
2009-10-29 23:27:40 +00:00
Andrew Thompson
48bd741396
MFC r197573
...
Add back endpoint swap detection that was disabled in an earlier driver
conversion.
2009-10-29 23:24:41 +00:00
Andrew Thompson
b56d97e2af
MFC r197572
...
Add new FTDI IDs.
2009-10-29 23:24:10 +00:00
Andrew Thompson
e792954dba
MFC r197570
...
Add experimental support for usb serial console and polled mode during DDB.
2009-10-29 23:23:34 +00:00
Andrew Thompson
589c414bdf
MFC r197568
...
add more device IDs
2009-10-29 23:22:23 +00:00
Andrew Thompson
d92f7ea655
MFC r196494
...
- fix uvisor support, mostly correct buffer sizes used.
- correct device info flag for SONY Cli NR70V
2009-10-29 23:11:48 +00:00
Andrew Thompson
d51a8c13ea
MFC r196493
...
- Fix false positive uipaq probe
2009-10-29 23:11:13 +00:00
Alfred Perlstein
4743e6da52
ULPT:
...
- add conditional printer status checking
- P4 ID: 166176
Submitted by: hps
Approved by: re
2009-07-30 00:16:06 +00:00
Alfred Perlstein
b27b901cb4
USB serial:
...
- add new ID for Huawei
- P4 ID: 166150
PR: usb/136761
Submitted by: hps
Approved by: re
2009-07-30 00:15:17 +00:00
Ed Schouten
f551adb0a9
Don't pick up Giant inside ucom(4).
...
Giant was only used here to lock down a bit mask of allocated unit
numbers. Change the code to use its own mutex.
Reviewed by: hselasky
Approved by: re (kib)
2009-06-28 20:52:11 +00:00
Andrew Thompson
8f9e0ef947
Fix a typeo in the frame len function to unbreak the build, make it shorter
...
while I am here.
2009-06-23 06:00:31 +00:00
Andrew Thompson
ed6d949afd
- Make struct usb_xfer opaque so that drivers can not access the internals
...
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
2009-06-23 02:19:59 +00:00
Andrew Thompson
3c8d24f43b
Fix usb2_find_descriptor function name.
2009-06-15 22:38:05 +00:00
Andrew Thompson
759736470c
Fix _USB2_* refernces in the header protection defines.
2009-06-15 01:09:19 +00:00
Andrew Thompson
a593f6b8de
s/usb2_/usb_|usbd_/ on all function names for the USB stack.
2009-06-15 01:02:43 +00:00
Andrew Thompson
8437751d86
Remove usb2_cv_* and just use the kernel condvar implementation, it was needed
...
earlier since condition variables didnt work with Giant but this was fixed 10
months ago.
2009-06-15 00:33:18 +00:00
Andrew Thompson
a8675cae2b
Make variables static where appropriate.
...
Found by: cscout
2009-06-13 04:56:45 +00:00
Andrew Thompson
ae60fdfba2
Rename usb pipes to endpoints as it better represents what they are, and struct
...
usb_pipe may be used for a different purpose later on.
2009-06-07 19:41:11 +00:00
Andrew Thompson
e0a69b51ac
s/usb2_/usb_/ on all typedefs for the USB stack.
2009-05-29 18:46:57 +00:00
Ed Schouten
c5e30cc02b
Last minute TTY API change: remove mutex argument from tty_alloc().
...
I don't want people to override the mutex when allocating a TTY. It has
to be there, to keep drivers like syscons happy. So I'm creating a
tty_alloc_mutex() which can be used in those cases. tty_alloc_mutex()
should eventually be removed.
The advantage of this approach, is that we can just remove a function,
without breaking the regular API in the future.
2009-05-29 06:41:23 +00:00
Andrew Thompson
760bc48e7e
s/usb2_/usb_/ on all C structs for the USB stack.
2009-05-28 17:36:36 +00:00
Andrew Thompson
2b85e080e3
Do not forcefully close the write transfer when closing the tty, it needs to
...
run to completion and drain the tty queue.
2009-05-26 17:06:36 +00:00
Andrew Thompson
df05202dd5
Add Sharp WILLCOM03 ipaq and Option GTHSDPA 3g device ids.
...
Submitted by: Hans Petter Selasky
2009-05-21 17:47:27 +00:00