Uwe Hermann
c885268777
uni-t-dmm: Make driver more similar to serial-dmm.
2013-04-26 20:05:44 +02:00
Uwe Hermann
7381251e33
common/dmm: Drop obsolete *is_packet_start() functions.
2013-04-26 20:05:44 +02:00
Uwe Hermann
913abe8321
fs9922: Use common DMM API.
...
Use the same functions and structs as the other DMM protocol parsers
in hardware/common/dmm. Among other things, this allows the functions
to be used from drivers in a generic way, e.g. in serial-dmm, uni-t-dmm,
and possibly other drivers.
2013-04-26 20:05:44 +02:00
Uwe Hermann
695f32d89d
Bring back link-mso19/nexus-osciprime for now.
...
This patch will be re-introduced later.
2013-04-26 10:47:34 +02:00
Uwe Hermann
9d1164f9a1
Drop link-mso19/nexus-osciprime in preparation for release.
...
These two drivers are currently unfinished and don't work, so disable
and "unhook" them for now in preparation of the next libsigrok release.
They're still in the git repository, but not hooked up to the build
system, so that they won't get detected or built, and also don't end up
in the release tarball.
Since link-mso19 is the only driver that currently requires libudev,
drop any reference to that, too.
It should be relatively easy to apply this patch in reverse after the
release to bring back both drivers.
2013-04-25 19:16:13 +02:00
Bert Vermeulen
e73ffd4238
Enforce open device before config_set()/dev_acquisition_start()
2013-04-24 22:03:50 +02:00
Bert Vermeulen
46a743c1fa
Whitespace fixes
...
Damn editor.
2013-04-24 19:07:46 +02:00
Bert Vermeulen
a31a4d371f
fx2lafw: Minor cleanup
2013-04-24 03:23:23 +02:00
Bert Vermeulen
294dbac724
hantek-dso: Support conn scan parameter
2013-04-24 03:23:23 +02:00
Bert Vermeulen
cc9fd2d29c
rigol-ds1xx2: Code cleanup
2013-04-24 03:23:11 +02:00
Martin Ling
9bd4c95606
rigol-ds1xx2: Use common serial code.
2013-04-24 02:10:25 +02:00
Martin Ling
ca55277ca8
rigol-ds1xx2: Accept SR_CONF_CONN.
2013-04-24 02:10:25 +02:00
Uwe Hermann
886bd5e056
mic-985xx: Use sr_dev_inst to store connection handle.
2013-04-23 23:06:02 +02:00
Uwe Hermann
31e5377250
Fix minor warning with some compilers.
2013-04-23 22:54:02 +02:00
Uwe Hermann
50985c2019
GPL headers: Use correct project name.
2013-04-23 22:24:30 +02:00
Uwe Hermann
1e1bfcd0fe
serial-dmm: Use sr_dev_inst to store connection handle.
2013-04-23 20:55:04 +02:00
Bert Vermeulen
609bfd753c
zeroplus-logic-cube: Use sr_dev_inst to store connection handle
2013-04-22 15:00:04 +02:00
Bert Vermeulen
459a0f2623
ols: Use sr_dev_inst to store connection handle
2013-04-22 13:40:40 +02:00
Bert Vermeulen
2e5b73c00c
ols: Fix stack clobbering at start of acquisition
...
This off-by-one was clobbering the stack since introduced in a803c0db4d
.
However it only set one bit, and that generally appears to have been set
already, so this rarely affected anything. But when it did, it affected
a pointer, causing a segfault.
2013-04-22 13:33:31 +02:00
Bert Vermeulen
919681f0e8
fluke-dmm: Use sr_dev_inst to store connection handle
2013-04-22 01:07:35 +02:00
Bert Vermeulen
aa7066353c
colead-slm: Use sr_dev_inst to store connection handle
2013-04-22 01:01:10 +02:00
Bert Vermeulen
fb3a150599
agilent-dmm: Use sr_dev_inst to store connection handle
2013-04-21 21:49:15 +02:00
Martin Ling
e31d410d26
rigol-ds1xx2: fix delay time.
2013-04-21 20:42:22 +01:00
Martin Ling
d2e0b1fa71
rigol-ds1xx2: better error handling in hw_scan.
2013-04-21 19:48:34 +01:00
Bert Vermeulen
8bb2981df0
victor-dmm: Allow configuration before the device is opened
2013-04-20 15:26:16 +02:00
Bert Vermeulen
ac046ef8cf
victor-dmm: Support SR_CONF_CONN
2013-04-18 22:48:29 +02:00
Bert Vermeulen
0f1506497b
lascar-el-usb: Support SR_CONF_CONN
2013-04-18 22:48:29 +02:00
Bert Vermeulen
e2033d4917
hantek-dso: Consistently return SR_ERR_ARG if sdi is needed
2013-04-18 22:48:29 +02:00
Bert Vermeulen
38ab8dbec8
fx2lafw: Consistently return SR_ERR_ARG if sdi is needed
2013-04-18 22:48:29 +02:00
Bert Vermeulen
624f5b4c1e
hantek-dso: Support config_get(SR_CONF_CONN)
2013-04-18 01:24:42 +02:00
Bert Vermeulen
89befd46a8
fx2lafw: Support config_get(SR_CONF_CONN)
...
This generates a bus.address conn string which can be used to
uniquely identify the given sr_dev_inst.
2013-04-18 01:24:42 +02:00
Bert Vermeulen
d0eec1eea1
hantek-dso: Mark connection as USB
2013-04-17 01:08:18 +02:00
Bert Vermeulen
949b3dc091
hantek-dso: Use std_dev_clear()
2013-04-17 00:49:41 +02:00
Bert Vermeulen
72f9d6dc5e
fx2lafw: No device context internals to clear
2013-04-17 00:49:41 +02:00
Bert Vermeulen
c118080b1d
hantek-dso: Store USB connection in sr_dev_inst
2013-04-17 00:49:41 +02:00
Uwe Hermann
415e6389ce
chronovu-la8: Fix incorrect 0Hz samplerate being reported.
...
This closes bug #93 .
2013-04-16 22:35:17 +02:00
Bert Vermeulen
250a78c7d5
fx2lafw: Use standard dev_clear() instead
2013-04-16 17:57:08 +02:00
Bert Vermeulen
bd6fbf628a
drivers: return SR_ERR_NA on unsupported config key
...
Fixes bug 89.
2013-04-16 11:00:55 +02:00
Bert Vermeulen
72cd99b876
ols: Report when a device doesn't support metadata
...
Not an error, but it does mean it's either a really old or really
basic device, and will help us to debug people's problems with
these.
Fixes bug 92.
2013-04-16 00:23:34 +02:00
Bert Vermeulen
754b5ff2b4
fx2lafw: Support conn scan parameter
...
This takes a USB specification. Fixes bug 82.
2013-04-15 23:56:33 +02:00
Bert Vermeulen
1eb0a0df66
usb: Fix bus.address format detection
2013-04-15 23:47:04 +02:00
Bert Vermeulen
e5d15bd2a2
ols: Allow configuration before the device is opened
2013-04-15 20:05:43 +02:00
Bert Vermeulen
a7be14ada2
rigol-ds1xx2: Don't assume there's a valid sdi
2013-04-15 18:45:38 +02:00
Bert Vermeulen
bf25678359
ols: Properly initialize operational state before start
2013-04-15 18:28:43 +02:00
Uwe Hermann
e45ad6e24f
demo: Fix compiler warning, cosmetics.
2013-04-15 12:27:55 +02:00
Bert Vermeulen
1d16675769
lascar-el-usb: Use two probes for temp/humidity loggers
2013-04-15 01:30:24 +02:00
Joel Holdsworth
2150a69b76
demo: Unref the IO channel when it is no longer used
2013-04-14 23:39:15 +02:00
Joel Holdsworth
ed20a42803
demo: Free dev_contexts
2013-04-14 23:39:15 +02:00
Joel Holdsworth
a76842947f
demo: Moved demo configuration variables into dev_context
2013-04-14 23:39:15 +02:00
Joel Holdsworth
33ef757383
demo: Keep a pointer to dev_context in sr_dev_inst and vice-versa
2013-04-14 23:39:15 +02:00