Andrew Thompson
8817f29901
Use wMaxPacketSize for the uftdi input buffer size.
...
Submitted by: Hans Petter Selasky
2010-03-11 21:42:09 +00:00
Joel Dahl
7e4b1c0608
The NetBSD Foundation has granted permission to remove clause 3 and 4 from
...
their software.
Obtained from: NetBSD
2010-03-03 10:18:03 +00:00
Andrew Thompson
8bbbf173a2
Add device ID for the FTDI 4232H.
...
PR: usb/143832
Submitted by: UEMURA Tetsuya
2010-02-14 20:10:41 +00:00
Andrew Thompson
2386d71421
Add support for the E1752 3G modem and the required eject command.
...
Submitted by: Milan Obuch
2010-02-14 20:05:12 +00:00
Andrew Thompson
3e889e246c
Make umodem more tolerant for devices which modem descriptors are misplaced.
...
Reported by: Erick Wales
Submitted by: Hans Petter Selasky
2010-02-14 19:59:19 +00:00
Andrew Thompson
504cfaf891
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
MFC after: 3 days
2010-02-05 01:47:43 +00:00
Andrew Thompson
0988266155
Properly name the 0x0016 ZTE product as MF633R now that its known.
2010-02-04 23:34:35 +00:00
Andrew Thompson
e191eb5a50
Add the Globetrotter GE40x.
...
Submitted by: Mike Tancsa
2010-01-11 00:18:40 +00:00
Andrew Thompson
e54f81e0b9
Remove unneeded includes.
2010-01-08 01:41:58 +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
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
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
cc92254a07
add new ID to UFTDI driver.
...
Submitted by: YAMAMOTO, Shigeru
2009-12-22 02:13:23 +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
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
27148a6c72
Add new device ids.
...
PR: usb/140951, usb/140923
Submitted by: Romain Tartiere, Brett Glass
2009-12-09 20:24:49 +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
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
Andrew Thompson
acf4080f43
Check unit number and provide string name for consdev.
...
Submitted by: HPS
2009-11-01 21:41:44 +00:00
Andrew Thompson
11f35cfaa7
Add support for newer WinChipHead CH341 chips, previously in the uch341 driver.
...
Submitted by: HPS
2009-10-19 21:52:02 +00:00
Andrew Thompson
b20adc2b5a
Remove the newly added uch341 driver, it will be merged into uchcom instead.
...
Suggested by: takawata
Submitted by: HPS
2009-10-19 21:43:59 +00:00
Andrew Thompson
585b13f2cb
Add back endpoint swap detection that was disabled in an earlier driver
...
conversion.
Submitted by: Hans Petter Selasky
2009-09-28 08:18:14 +00:00
Andrew Thompson
7747063b8f
Add new FTDI IDs.
...
Submitted by: Maks Verver, Arrigo Marchiori
2009-09-28 08:15:26 +00:00
Andrew Thompson
655dc9d00a
Add experimental support for usb serial console and polled mode during DDB.
...
Submitted by: Hans Petter Selasky
2009-09-28 08:13:50 +00:00
Andrew Thompson
adedd2deb5
add more device IDs
...
Reported by: Mike Tancsa
Submitted by: Hans Petter Selasky
2009-09-28 08:07:20 +00:00
Andrew Thompson
3bfbd845ff
Add support for ChipHead 341 serial port adapter.
...
Submitted by: Hans Petter Selasky
2009-09-28 07:32:11 +00:00
Alfred Perlstein
40675d1a70
- fix uvisor support, mostly correct buffer sizes used.
...
- correct device info flag for SONY Cli NR70V
Reported by: Marc Fonvieille
Submitted by: hps
2009-08-24 05:01:40 +00:00
Alfred Perlstein
ec1201a2c9
- Fix false positive uipaq probe
...
Reported by: Alexander Motin <mav@freebsd.org>
Submitted by: hps
2009-08-24 05:01:06 +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