Bug 1396

Summary: driver inappropriately open codes conn=/dev/ttyUSB0 as the default
Product: libsigrok Reporter: Gerhard Sittig <Gerhard.Sittig>
Component: Driver: link-mso19Assignee: Nobody <nobody>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Gerhard Sittig 2019-06-22 12:03:44 CEST
It's common to require that serial port names get specified by users, and 
drivers shall not assume specific names. Enumeration is an option _if_ a 
serial port is involved and the VID/PID is not generic (cannot get confused 
with other regular ports).

The link-mso19 driver should drop the /dev/ttyUSB0 default, and _may_ use 
the 3195.f190 USB identifiers if they are unique to this instrument.

[ Background: Bug 1155 comment 4 made me look at the link-mso19 driver. 
The /dev/ttyUSB0 default is obviously inappropriate. The USB serial adapter 
lookup in the complex udev logic may or may not obsolete it. But that's 
another story, touching portability, haven't completely groked it yet. 
Could be that the link-mso19 driver re-invents parts of libserialport and 
limits itself in the process. ]