libsigrok/hardware
Alexandru Gagniuc a99e0d2a0c ols: Do not randomly probe serial ports
ols driver used to probe a series of available serial ports obtained
by regexp matching of common serial port names.
There are a number of problems with this approach:
1. It will probe all serial devices, including devices that do not
like to be probed, potentially causing them to act up.
2. It will try to probe serial ports which may already be opened in
other applications for other purposes.
3. It assumes the naming of the serial ports is set in stone, and
creates an unnecessary OS-specific list.
4. It produces unnecessary debug output even when an OLS device is
not connected.
5. etc...

Do not implicitly probe serial ports. Only probe the port specified
by the frontend, if any; otherwise, just quit.
Also get rid of all functionality in serial.c which was designed
specifically for random probing.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-11-11 03:12:10 +01:00
..
agilent-dmm agilent-dmm: use standard serial_readline() 2012-11-07 01:25:10 +01:00
alsa Return SR_ERR_MALLOC upon allocation errors. 2012-10-30 20:25:54 +01:00
asix-sigma asix-sigma: Use message logging helpers. 2012-11-10 19:42:37 +01:00
chronovu-la8 chronovu-la8: not a bug if an unused driver gets asked to clean up 2012-11-07 00:39:46 +01:00
colead-slm allow for intermediate stage in stopping acquisition 2012-11-06 15:16:22 +01:00
common ols: Do not randomly probe serial ports 2012-11-11 03:12:10 +01:00
demo demo: Use message logging helpers. 2012-11-10 19:42:37 +01:00
fluke-dmm more deconstifying sr_dev_inst for dev_acquisition_stop() 2012-11-06 19:32:53 +01:00
fx2lafw allow for intermediate stage in stopping acquisition 2012-11-06 15:16:22 +01:00
genericdmm allow for intermediate stage in stopping acquisition 2012-11-06 15:16:22 +01:00
hantek-dso hantek-dso: Use message logging helpers. 2012-11-10 19:42:37 +01:00
link-mso19 link-mso19: Use message logging helpers. 2012-11-10 19:42:37 +01:00
openbench-logic-sniffer ols: Do not randomly probe serial ports 2012-11-11 03:12:10 +01:00
radioshack-dmm radioshack-dmm: Use new file naming conventions. 2012-11-10 19:42:37 +01:00
tekpower-dmm more deconstifying sr_dev_inst for dev_acquisition_stop() 2012-11-06 19:32:53 +01:00
tondaj-sl-814 Add initial Tondaj SL-814 protocol handling. 2012-11-10 01:45:51 +01:00
uni-t-dmm allow for intermediate stage in stopping acquisition 2012-11-06 15:16:22 +01:00
victor-dmm victor-dmm: add protocol decoder 2012-11-06 19:37:33 +01:00
zeroplus-logic-cube allow for intermediate stage in stopping acquisition 2012-11-06 15:16:22 +01:00
Makefile.am tondaj-sl-814: Initial driver skeleton. 2012-11-10 01:01:28 +01:00