On 30/01/2022 13:53, Christian Eisendle wrote:
Currently I take the assumption in the driver, that there is a tight
coupling between API version and device. I assume all legacy devices
come with v1 API whilst new devices (U3Pro16 for now) support v2.
There is a sanity check during device scaning where the manufacturer
and product string is read out:
v1 has Product ID "USB-based Instrument"
v2 has "USB-based DSL Instrument v2"
If there is a mismatch the driver assumes that wrong firmware is
downloaded and triggeres a firmware download. So ideally you check the
Product ID before you launch pulseview or sigrok-cli. If legacy devices
now also come with v2, I need to update the driver to handle devices and
API version independently.
Christian.
Hi Christian,
DSLogic Plus arrived today, can confirm it has the new product string;
[297240.660912] usb 1-4: new high-speed USB device number 90 using xhci_hcd
[297241.040370] usb 1-4: New USB device found, idVendor=2a0e,
idProduct=0020, bcdDevice= 0.01
[297241.040385] usb 1-4: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[297241.040390] usb 1-4: Product: USB-based DSL Instrument v2
[297241.040394] usb 1-4: Manufacturer: DreamSourceLab
Regards,
Jon
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel