libsigrok/src
Gerhard Sittig aa8e4959e2 ftdi-la: work around missing USB strings during device probe
Some FTDI chip based products ship with EEPROM content which makes
libftdi fail to lookup the USB strings, which breaks the scan for the
device's presence. The previous implementation was strict and only
accepted the absence of a serial number. This implementation also copes
when vendor and model cannot be gathered from the device, and provides
fallback values based on VID:PID numbers.

Also factor out a magic number for string lengths. Stick with dynamic
allocation since 3x 32bytes would be rather huge a local stack use, and
future maintenance might bump that string length again.

[ gsi: magic number in one spot, bounded string assignment, style nits ]

Submitted-By: Christo Crause <christo.crause@gmail.com>
2020-12-25 12:47:01 +01:00
..
bt bt: drop bt_put_le16() dependency (not universally available) 2020-07-26 10:47:59 +02:00
dmm serial-dmm: add support for the Brymen BM820s family 2020-10-22 21:25:34 +02:00
hardware ftdi-la: work around missing USB strings during device probe 2020-12-25 12:47:01 +01:00
input input/vcd: fix a divide by zero bug in the analog-only case 2020-10-22 19:29:58 +02:00
lcr lcr/vc4080: introduce LCR packet parser for Voltcraft 4080 (and PeakTech 2165) 2019-07-31 22:40:44 +02:00
modbus serial: flush() after open() in the serial core. 2020-07-26 16:06:42 +02:00
output output/csv: always generate text for analog/logic data packets 2020-08-22 19:04:31 +02:00
scale license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
scpi scpi: accept numbers like 4.0000E3 as integer value 2020-09-27 12:51:39 +02:00
transform Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
analog.c analog.c: rephrase analog feed to float conversion routine 2020-09-18 16:42:37 +02:00
backend.c build: prepare serial over Bluetooth, search for optional BlueZ lib 2019-06-02 20:39:02 +02:00
binary_helpers.c binary_helpers: Drop unnecessary malloc check. 2020-06-05 00:25:26 +02:00
conversion.c Doxygen: Fix various warnings. 2020-03-25 20:27:57 +01:00
crc.c src/crc.c: Add missing file. 2020-06-05 00:25:26 +02:00
device.c Doxygen: Fix various warnings. 2020-03-25 20:27:57 +01:00
driver_list_start.c driver_list: unbreak list of builtin drivers for LTO configurations 2020-11-05 05:20:42 +01:00
driver_list_stop.c driver_list: unbreak list of builtin drivers for LTO configurations 2020-11-05 05:20:42 +01:00
drivers.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
error.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
ezusb.c drivers: Load firmware via new resource API 2015-10-01 15:44:55 +02:00
fallback.c serial: introduce more general "have serial comm" feature flag 2019-06-02 20:39:02 +02:00
hwdriver.c hwdriver: New entries for DC Load "CW" (Power) and "CR" (Resitance) modes. 2020-10-06 22:02:20 +02:00
libsigrok-internal.h strutil: introduce sr_atoul_base() conversion helper (non-decimal) 2020-11-17 17:51:02 +01:00
log.c Add a new sr_log_callback_get() API call. 2018-08-30 19:11:30 +02:00
resource.c Doxygen: Fix various warnings. 2020-03-25 20:27:57 +01:00
scpi.h Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
serial.c serial: extend stream detect for variable length packet checkers 2020-10-22 21:25:02 +02:00
serial_bt.c serial: add routine to manipulate handshake state (RTS, DTR) 2020-09-20 10:44:20 +02:00
serial_hid.c serial: add routine to manipulate handshake state (RTS, DTR) 2020-09-20 10:44:20 +02:00
serial_hid.h serial_hid: add iokit= prefix for the Mac IOKit special case 2020-08-09 16:09:04 +02:00
serial_hid_bu86x.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
serial_hid_ch9325.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
serial_hid_cp2110.c serial: make failed flush() in open() non-fatal, CP2110 flush() return 2020-08-01 14:55:20 +02:00
serial_hid_victor.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
serial_libsp.c serial: add routine to manipulate handshake state (RTS, DTR) 2020-09-20 10:44:20 +02:00
session.c Fix compiler warnings related to -Wcast-function-type. 2020-05-02 17:01:39 +02:00
session_driver.c Fix various gcc 8 compiler warnings related to ARRAY_SIZE. 2018-10-06 19:13:39 +02:00
session_file.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
soft-trigger.c Use std_session_send_df_trigger() where possible. 2020-04-08 23:21:39 +02:00
std.c serial: add routine to manipulate handshake state (RTS, DTR) 2020-09-20 10:44:20 +02:00
strutil.c strutil: introduce sr_atoul_base() conversion helper (non-decimal) 2020-11-17 17:51:02 +01:00
sw_limits.c sw_limits: add const for limits param for config_get 2020-08-03 17:53:11 +02:00
trigger.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
usb.c Fix compiler warnings related to -Wcast-function-type. 2020-05-02 17:01:39 +02:00
version.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00