Bert Vermeulen
b0c8d7ac7f
hantek-dso: scan/info_get fixes
2012-08-03 10:27:39 +02:00
Bert Vermeulen
7dfcf010a0
demo: scan/info_get fixes
2012-08-03 10:27:39 +02:00
Bert Vermeulen
cfe8a84dd7
chronovu-la8: scan/info_get fixes
2012-08-03 10:27:39 +02:00
Bert Vermeulen
d7bbecfdb9
asix-sigma: scan/info_get fixes
2012-08-03 10:27:39 +02:00
Bert Vermeulen
626409abfb
zeroplus-logic-cube: use new driver info_get() API call
2012-08-03 10:27:38 +02:00
Bert Vermeulen
dddfb3dbf0
ols: use new driver info_get() API call
2012-08-03 10:27:38 +02:00
Bert Vermeulen
0b79bcbb9d
hantek-dso: use new driver info_get() API call
2012-08-03 10:27:38 +02:00
Bert Vermeulen
dfb0fa1a66
demo: use new driver info_get() API call
2012-08-03 10:27:38 +02:00
Bert Vermeulen
6a2761fd99
chronovu-la8: use new driver info_get() API call
2012-08-03 10:27:38 +02:00
Bert Vermeulen
4147960558
asix-sigma: use new driver info_get() API call
2012-08-03 10:27:38 +02:00
Bert Vermeulen
eec944c5b8
asix-sigma: don't attempt to free static struct
...
Added more debugging as well.
2012-08-03 10:27:38 +02:00
Bert Vermeulen
067d07166b
demo: use new scan API
2012-08-03 10:27:38 +02:00
Bert Vermeulen
7da6f9d54a
zeroplus-logic-cube: init and scan fixes
...
libusb context needs to be initialized only once, not ever scan.
Every scan invalidates the last one, so clean up any previous run's
results first.
2012-08-03 10:27:38 +02:00
Bert Vermeulen
4ca3898445
zeroplus-logic-cube: use new scan API
2012-08-03 10:27:38 +02:00
Bert Vermeulen
39cfdd75f9
hantek-dso: use new scan API
2012-08-03 10:27:38 +02:00
Bert Vermeulen
0448d11097
asix-sigma: use new scan API + fixes
...
Now freeing FTDI context and driver-private context.
2012-08-03 10:27:38 +02:00
Bert Vermeulen
c4f3ed4bb0
chronovu-la8: use new scan API + fixes
...
Now freeing FTDI context and driver-private context.
2012-08-03 10:27:38 +02:00
Bert Vermeulen
f8c617cf4c
hantek-dso: instance list fix
2012-08-03 10:27:38 +02:00
Bert Vermeulen
10e5cbede8
ols: use new scan API
2012-08-03 10:27:38 +02:00
Bert Vermeulen
ed300b9f6a
asix-sigma: use driver struct-based device instance list
2012-08-03 10:27:38 +02:00
Bert Vermeulen
765ef2f725
chronovu-la8: use driver struct-based device instance list
2012-08-03 10:27:38 +02:00
Bert Vermeulen
dcf03d6dbd
demo: use driver struct-based device instance list
2012-08-03 10:27:38 +02:00
Bert Vermeulen
3275654708
zeroplus-logic-cube: use driver struct-based device instance list
2012-08-03 10:27:38 +02:00
Bert Vermeulen
982947f7a2
hantek-dso: use driver struct-based device instance list
2012-08-03 10:27:38 +02:00
Bert Vermeulen
e5e81856b4
ols: use driver struct-based device instance list
2012-08-03 10:27:38 +02:00
Bert Vermeulen
d6db79a48c
genericdmm: device scan fixes
2012-08-03 10:27:38 +02:00
Bert Vermeulen
f1a14ea7ab
genericdmm: don't use deprecated hwcap_get_all() driver API call
2012-08-03 10:27:37 +02:00
Bert Vermeulen
6910bf6bf6
genericdmm: use new driver info_get() API call
2012-08-03 10:27:37 +02:00
Bert Vermeulen
a27999e657
fx2lafw: don't use deprecated hwcap_get_all() driver API call
2012-08-03 10:27:37 +02:00
Bert Vermeulen
c5e82ca5e3
fx2lafw: device scan fixes
2012-08-03 10:27:37 +02:00
Bert Vermeulen
f69b47f0f8
fx2lafw: a device scan always invalidates any previous scans
2012-08-03 10:27:37 +02:00
Bert Vermeulen
6e9339aae2
fx2lafw: use new driver info_get() API call
2012-08-03 10:27:37 +02:00
Bert Vermeulen
3a0fe4023d
genericdmm: use new scan API
2012-08-03 10:27:37 +02:00
Bert Vermeulen
bbb40871c8
genericdmm: more flexible device discovery
2012-08-03 10:27:37 +02:00
Bert Vermeulen
75337758d8
genericdmm: use driver struct-based device instance list
2012-08-03 10:27:37 +02:00
Bert Vermeulen
a8cc8e44b9
fx2lafw: use driver struct-based device instance list
2012-08-03 10:27:37 +02:00
Bert Vermeulen
06717a8a60
fx2lafw: use new instance-based probe list
2012-08-03 10:27:37 +02:00
Bert Vermeulen
3a7a22cb07
fx2lafw: use new init/scan API
2012-08-03 10:27:37 +02:00
Bert Vermeulen
633b2fac75
genericdmm: better subdriver API arguments
2012-08-03 10:27:37 +02:00
Bert Vermeulen
1ef445b3d6
genericdmm/fs9922: no initialization needed
2012-08-03 10:27:36 +02:00
Bert Vermeulen
7fc754a0db
genericdmm: allow for default options in DMM profiles
...
Much better than the special-cased USB vid.pid
2012-08-03 10:27:36 +02:00
Bert Vermeulen
7356a55db8
genericdmm: use vid.pid as USB conn spec
...
: is just too hard for the CLI
2012-08-03 10:27:36 +02:00
Bert Vermeulen
db1352007d
genericdmm: fix header guard
2012-08-03 10:27:36 +02:00
Bert Vermeulen
61136ea603
sr: add new driver API call: scan()
...
This changes the semantics of the init() call as well. That now only
initializes the driver -- an administrative affair, no hardware gets
touched during this call. It returns a standard SR_OK or SR_ERR* code.
The scan() call does a discovery run for devices it knows, and returns
the number found. It can be called at any time.
2012-08-03 10:27:36 +02:00
Bert Vermeulen
40dda2c3a5
sr: remove unused argument from hardware driver function init()
...
It was actually used in one way: the session file loaded abused it for
passing in the filename -- something it definitely wasn't intended for.
This now uses the proper way to pass arguments to a driver: the new
SR_HWCAP_SESSIONFILE.
The OLS driver could also use it as an indication of the serial port to
use instead of actively probing all serial ports on the system, but there
wasn't any frontend code that passed in such a parameter, making it
entirely useless. That will soon be handled differently with the new
scan() API call, regardless.
2012-08-03 10:27:36 +02:00
Ivan Fedorov
0e8d0e24d0
sr: fx2lafw: Add 16bit support for USBee DX and clones
...
gnuplot script support only 8 channels
2012-08-03 00:25:37 +02:00
Ivan Fedorov
c9166745f2
sr: fx2lafw: Add basic support for USBee DX and clones
2012-08-01 00:12:00 +04:00
Bert Vermeulen
d67b663e21
sr: chronovu-la8: fix segfault on discovery
...
If the uninitialized value didn't happen to contain 0, and there
is no Chronovu LA8 connected, the la8_close() causes a segfault
in libftdi.
2012-07-24 00:53:01 +02:00
Uwe Hermann
74e5f12d3d
sr: la8: Support for newer USB VID/PID of the device.
...
Thanks to Jerry Jacobs for the patch!
2012-07-15 00:34:27 +02:00
Uwe Hermann
43be303c84
sr: la8: Drop useless cast.
2012-07-12 23:23:13 +02:00