summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/serial
Commit message (Collapse)AuthorAgeFilesLines
* MFC r306478:hselasky2016-10-101-5/+6
| | | | | | | | | Add new USB ID. While at it remove some whitespaces. Submitted by: Jose Luis Duran <jlduran@gmail.com> PR: 213110
* MFC r306205:loos2016-09-271-0/+1
| | | | | | | Add the ID for the Huawei ME909S LTE modem. Submitted by: svenauhagen at github Sponsored by: Rubicon Communications, LLC (Netgate)
* MFC r305388:dim2016-09-071-2/+2
| | | | | | | | | | | | | | | | | With clang 3.9.0, compiling uplcom results in the following warnings: sys/dev/usb/serial/uplcom.c:543:29: error: implicit conversion from 'int' to 'int8_t' (aka 'signed char') changes value from 192 to -64 [-Werror,-Wconstant-conversion] if (uplcom_pl2303_do(udev, UT_READ_VENDOR_DEVICE, UPLCOM_SET_REQUEST, 0x8484, 0, 1) ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ sys/dev/usb/usb.h:179:53: note: expanded from macro 'UT_READ_VENDOR_DEVICE' #define UT_READ_VENDOR_DEVICE (UT_READ | UT_VENDOR | UT_DEVICE) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ This is because UT_READ is 0x80, so the int8_t argument is wrapped to a negative value. Fix this by using uint8_t instead. Reviewed by: imp, hselasky Differential Revision: https://reviews.freebsd.org/D7776
* MFC r294235:ian2016-01-231-21/+24
| | | | | | | | | | | | Make PPS ASSERT/CLEAR events match the RS-232 signal levels as per RFC 2783. Previously the polarity was for TTL levels, which are the reverse of RS-232. Also add handling of the UART_PPS_INVERT_PULSE option bit in the sysctl value, the same as was recently added to uart(4), so that people using TTL level connections can request a logical inverting of the signal. Use the named constants from the new dev/uart/uart_ppstypes.h for the pps capture modes and option bits.
* MFC 292366: Flag the first port on a Sheevaplug ftdi serial device as jtag.ian2016-01-051-1/+1
|
* MFC r287592 and r287616:hselasky2015-10-131-0/+1
| | | | | | Add new USB ID. PR: 202968
* MFC r287828:garga2015-09-221-0/+1
| | | | | | | | | Add support for Sierra MC7355 card Submitted by: Jeremy Porter <jporter@netgate.com> Approved by: loos Obtained from: pfSense Sponsored by: Rubicon Communications (Netgate)
* MFC r287574:garga2015-09-111-1/+1
| | | | | | | | | | | | - Fix Sierra MC7354 ID from a bad copy/paste, correct ID is 68C0 MFC r287575: - Remove duplicate entry for Sierra Wireless Aircard 875 Approved by: loos Obtained from: pfSense (r287574) Sponsored by: Rubicon Communications (Netgate)
* MFC r264394, r286382, r286385, r286389:ian2015-08-232-5/+101
| | | | | | | | | Add support to the uftdi driver for reading and writing the serial eeprom that can be attached to the chips, via ioctl() calls. Return the current ftdi bitbang mode with the UFTDIIOC_GET_BITMODE ioctl. Document the recently added get-bitmode and eeprom read/write functionality.
* MFC r279728, r279729, r279756, r279773, r282424, r281367:ian2015-05-243-6/+48
| | | | | | | | | | | | | | | | | | | Add mutex support to the pps_ioctl() API in the kernel. Add PPS support to USB serial drivers. Use correct mode variable for PPS support. Switch polarity of USB serial PPS events. The ftdi "get latency" and "get bitmode" device commands are read operations, not writes. Implement a mechanism for making changes in the kernel<->driver PPS interface without breaking ABI or API compatibility with existing drivers. Bump version number to indicate the new PPS ABI version changes in the pps_state structure.
* MFC r282505:hselasky2015-05-211-0/+1
| | | | | | Add new USB ID. PR: 199843
* MFC r282469:garga2015-05-121-0/+1
| | | | | | | | | Add support for Sierra MC7354 card Author: Jeremy Porter <jporter@netgate.com> Differential Revision: https://reviews.freebsd.org/D2444 Reviewed by: gnn, hselasky Sponsored by: Netgate
* MFC r279725:hselasky2015-03-251-0/+2
| | | | | | Add more USB IDs. PR: 197753
* MFC r278379:dchagin2015-02-161-0/+1
| | | | Add Neoway WM620 module ID.
* MFC r277246:hselasky2015-01-281-0/+2
| | | | | | Add more USB device IDs. PR: 196362
* MFC r276892:hselasky2015-01-201-19/+134
| | | | Add support for USB device side mode to the USB modem driver.
* MFC r275790 and r275791:hselasky2014-12-261-1/+1
| | | | | Resolve USB driver identification conflict. Regenerate etc/devd/usb.conf.
* MFC r275606:hselasky2014-12-151-0/+4
| | | | Add more U3G USB IDs.
* MFC r274227:hselasky2014-11-191-0/+2
| | | | Add new USB IDs.
* MFC r264801, r264802, r264934, r273181, r273216 and r273252:hselasky2014-10-312-2/+7
| | | | Add more USB IDs.
* MFC r269575, r269576 and r269578:hselasky2014-10-311-1/+7
| | | | | | | | - Add a second Huawei SCSI eject command as USB mode switch config files sometimes use one or the other. Maybe newer Huawei modems switched. - Return USB_ERR_INVAL if the eject method is not known. PR: 145319
* MFC r264923:hselasky2014-10-312-648/+703
| | | | Remove device type from the uftdi_devs table, enhance the jtag-skip feature.
* MFC r269569:hselasky2014-10-312-11/+2
| | | | | | | | Remove unused defines. Fix some device_printf's that were missing '\n' at the end or had spelling errors. PR: 145319
* MFC r271874:hselasky2014-09-271-0/+2
| | | | | | | Add new USB IDs. PR: 193775 Approved by: re, gjb
* MFC r271492:hselasky2014-09-201-3/+14
| | | | | | | | | | | | Workaround for receiving Voice Calls using the E1750 dongle from Huawei. It might appear as if the firmware is allocating memory blocks according to the USB transfer size and if there is initially a lot of data, like at the answering machine prompt, it simply dies without any apparent reason. The simple workaround for this is to force a zero length packet at hardware level after every 512 bytes of data. This will force the other side to use smaller memory blocks aswell. Approved by: re, gjb
* Merge r269470:joerg2014-08-081-1/+4
| | | | Avoid a divide-by-zero panic when setting the baudrate to 0.
* MFC r268929:hselasky2014-07-291-0/+1
| | | | | | Add new device ID. PR: 191959
* MFC r268078 and r268080:hselasky2014-07-032-2/+2
| | | | Fix for memory use after free() and mtx_destroy().
* Merge r256782 from head:gavin2014-05-071-0/+26
| | | | | Add 26 new device IDs to uslcom(4). This brings us in sync with Linux v3.12 rc5
* MFC r264800: fixes for problems found by Coverity scan...ian2014-04-281-5/+12
| | | | | | | - Get transmit loop more in line with the other serial drivers. - Add a comment about FTDI and ZLPs. - Correctly check odditiy of baud rate divisor. - Correct IOCTL handling for "error" and "event" char.
* MFC uftdi(4) driver changes...ian2014-04-282-235/+572
| | | | | | | r264010: Support speeds up to 12mbaud on newer chips. r264031: Use 2K IO buffers for improved throughput. r264149: Add ioctl(2) calls to access bitbang, MPSSE, CPU_FIFO, and other modes.
* Merge r264084: make the Dresden Elektronik "USB Level Shifter Low Cost"joerg2014-04-101-0/+1
| | | | known to the FTDI driver.
* MFC r263289: Update NetBSD Foundation copyrights to 2-clause BSDemaste2014-03-248-56/+0
| | | | | | | | | | | The NetBSD Foundation states "Third parties are encouraged to change the license on any files which have a 4-clause license contributed to the NetBSD Foundation to a 2-clause license." This change removes clauses 3 and 4 from copyright / license blocks that list The NetBSD Foundation as the only copyright holder. Sponsored by: The FreeBSD Foundation
* MFC r260559:hselasky2014-01-241-22/+13
| | | | | Don't do synchronous USB requests inside USB transfer callbacks. It is technically OK, but not recommended.
* MFC r258363:truckman2013-12-191-0/+1
| | | | | Add alternate ID for Novatel MiFi 2200 CDMA, which is used by my Virgin Mobile branded device. It needs the U3GINIT_SCSIEJECT quirk.
* Add the device ID for a new flavor of FTDI serial adapter (model 232EX).ian2013-09-011-0/+1
|
* Add support for the NTT Docomo L-02C card.remko2013-06-271-0/+1
| | | | | | | PR: 180017 Submitted by: Masaharu FUJITA Glanced at by: imp MFC after: 1 week
* Revert previous change to uark.c (restore previous rev), which wasthomas2013-06-231-20/+1
| | | | committed by mistake.
* Fix minor typo in commentthomas2013-06-232-2/+21
|
* o Retrive the part number (CP2103 etc) from the hardware on attach.gavin2013-05-171-12/+56
| | | | | | | | | o The CP2101 and CP2102 do not support GPIO pin use at all, enforce this. o Support reading the GPIO status on the second port of the CP2105. More work is needed before the CP2105 GPIO pins can be used as outputs. Hardware donated by: Silicon Labs MFC after: 3 weeks
* Fix several typoseadler2013-05-122-2/+2
| | | | | | PR: kern/176054 Submitted by: Christoph Mallon <christoph.mallon@gmx.de> MFC after: 3 days
* Add new USB ID.hselasky2013-04-061-0/+1
| | | | | PR: usb/177666 Submitted by: Nicolai Petri <nicolai@petri.dk>
* Add new USB ID.hselasky2013-03-191-0/+2
| | | | | PR: usb/177105 MFC after: 1 week
* Add support for Optoelectronics USB barcode readers to uftdi(4).gavin2013-03-111-0/+2
| | | | | | Add entries for other Optoelectronics devices to usbdevs. MFC after: 1 week
* Add new USB ID to FTDI driver.hselasky2013-02-131-0/+1
| | | | | | MFC after: 1 week PR: kern/175893 Submitted by: Tomek
* Add new u3g device quirk.hselasky2013-01-141-0/+1
| | | | | Submitted by: Lowell Gilbert MFC after: 1 week
* Add new USB ID.hselasky2012-12-291-0/+1
| | | | | | PR: usb/174814 Submitted by: Andy Balholm MFC after: 1 week
* Make sure we block recursion on TTY's inwakeup callbackhselasky2012-12-202-1/+8
| | | | | Suggested by: davide MFC after: 1 week
* Add new USB ID.hselasky2012-12-091-0/+1
| | | | | MFC after: 1 week Submitted by: Artyom Mirgorodskiy
* Add support for AT&T Sierra Wireless USB 3G adaptereadler2012-11-291-0/+1
| | | | | | | PR: kern/173982 Submitted by: Eric Camachat <eric@camachat.org> Approved by: cperciva (implicit) MFC after: 1 week
OpenPOWER on IntegriCloud