]> sigrok.org Git - libsigrok.git/log
libsigrok.git
10 years agoBump package version to 0.2.1, libtool version to 1:1:0. libsigrok-0.2.1
Uwe Hermann [Tue, 6 Aug 2013 23:08:37 +0000 (01:08 +0200)]
Bump package version to 0.2.1, libtool version to 1:1:0.

The last release (0.2.0) had the libtool version (current:revision:age)
set to 1:0:0. Since this release doesn't add/change/remove any
interfaces, only 'revision' is increased, resulting in 1:1:0.

http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info

Frontends using libsigrok don't need to be recompiled or relinked.

10 years agoDoxyfile: Change version to 0.2.1.
Uwe Hermann [Tue, 6 Aug 2013 20:32:46 +0000 (22:32 +0200)]
Doxyfile: Change version to 0.2.1.

10 years agoNEWS: Add entries for the upcoming 0.2.1 release.
Uwe Hermann [Tue, 6 Aug 2013 20:31:18 +0000 (22:31 +0200)]
NEWS: Add entries for the upcoming 0.2.1 release.

10 years agoREADME.devices: Minor documentation updates.
Uwe Hermann [Tue, 6 Aug 2013 22:40:51 +0000 (00:40 +0200)]
README.devices: Minor documentation updates.

10 years agoMake sr_session_iteration() static.
Uwe Hermann [Tue, 6 Aug 2013 22:34:06 +0000 (00:34 +0200)]
Make sr_session_iteration() static.

This function is not used outside of session.c at the moment, so make
it static for now.

10 years agoudev rules: Add missing IKALOGIC ScanaPLUS entry.
Uwe Hermann [Tue, 6 Aug 2013 22:28:40 +0000 (00:28 +0200)]
udev rules: Add missing IKALOGIC ScanaPLUS entry.

10 years agoConsistent use of "IKALOGIC" spelling.
Uwe Hermann [Tue, 6 Aug 2013 22:22:14 +0000 (00:22 +0200)]
Consistent use of "IKALOGIC" spelling.

The company name is written all-caps pretty consistently on the
vendor website and docs, so use that spelling everywhere.

10 years agoCosmetics, typos.
Uwe Hermann [Tue, 6 Aug 2013 22:18:36 +0000 (00:18 +0200)]
Cosmetics, typos.

10 years agounittests: Comment out a testcase.
Uwe Hermann [Tue, 6 Aug 2013 22:03:14 +0000 (00:03 +0200)]
unittests: Comment out a testcase.

The boundary test-case with SR_GHZ(18446744073ULL) currently fails, but
that is not practically relevant so comment it out for now, until we add
a proper fix.

10 years agoFormat decimals correctly in sr_si_string_u64()
Peter Stuge [Tue, 4 Jun 2013 00:20:57 +0000 (02:20 +0200)]
Format decimals correctly in sr_si_string_u64()

The function previously formatted 1004 as 1.4 k and 1004000 as 1.4 M.
The function now formats 1004 as 1.004 k, 1004000 as 1.004 M and
1004000000 as 1.004 G.

Fixes #73.

10 years agoFix sr_si_string_u64() test cases.
Paul Sokolovsky [Mon, 3 Jun 2013 19:23:57 +0000 (22:23 +0300)]
Fix sr_si_string_u64() test cases.

The function shall format 1004 as 1.004 k, 1004000 as 1.004 M and
1004000000 as 1.004 G.

References #73.

10 years agoalsa: Fix double-free issue.
Uwe Hermann [Tue, 6 Aug 2013 19:45:27 +0000 (21:45 +0200)]
alsa: Fix double-free issue.

This fixes bug #129.

10 years agouni-t-dmm: Fix UT61E bug related to the UNI-T UD-D04 cable.
Uwe Hermann [Tue, 6 Aug 2013 21:25:18 +0000 (23:25 +0200)]
uni-t-dmm: Fix UT61E bug related to the UNI-T UD-D04 cable.

This fixes bug #136.

10 years agoikalogic-scanaplus: Don't build if libftdi was not found.
Uwe Hermann [Mon, 5 Aug 2013 12:52:44 +0000 (14:52 +0200)]
ikalogic-scanaplus: Don't build if libftdi was not found.

10 years agokecheng-kc-330b: Don't build if libusb-1.0 was not found.
Uwe Hermann [Mon, 5 Aug 2013 11:34:10 +0000 (13:34 +0200)]
kecheng-kc-330b: Don't build if libusb-1.0 was not found.

10 years ago.gitignore: Add some files from the testsuite.
Uwe Hermann [Mon, 5 Aug 2013 11:19:21 +0000 (13:19 +0200)]
.gitignore: Add some files from the testsuite.

10 years agoDisable mso-19 per default, mark experimental.
Uwe Hermann [Mon, 5 Aug 2013 11:16:31 +0000 (13:16 +0200)]
Disable mso-19 per default, mark experimental.

This driver is not yet in a really usable or working state, it'll be
re-enabled by default when we're sure it works properly.

10 years agoDrop nexus-osciprime skeleton for now.
Uwe Hermann [Mon, 5 Aug 2013 10:59:23 +0000 (12:59 +0200)]
Drop nexus-osciprime skeleton for now.

This is mostly just a skeleton driver framework at the moment, we'll
bring it back when the driver is fully implemented.

10 years agouni-t-dmm: Drop DMM table (comment).
Uwe Hermann [Thu, 1 Aug 2013 23:02:03 +0000 (01:02 +0200)]
uni-t-dmm: Drop DMM table (comment).

This info is in the wiki already, no need to duplicate in the code.

10 years agools: Workaround for mac os X stray events
Bert Vermeulen [Thu, 1 Aug 2013 17:14:49 +0000 (19:14 +0200)]
ols: Workaround for mac os X stray events

10 years agoVarious cosmetics, whitespace, consistency fixes.
Uwe Hermann [Wed, 31 Jul 2013 11:09:48 +0000 (13:09 +0200)]
Various cosmetics, whitespace, consistency fixes.

10 years agoudev rules file: Only list supported devices.
Uwe Hermann [Wed, 31 Jul 2013 10:31:47 +0000 (12:31 +0200)]
udev rules file: Only list supported devices.

The udev rules file should only list devices that are actually supported
by a driver in the current libsigrok version. Thus, drop all entries for
devices which will get support later on (at which point the respective udev
rule will be re-added again).

Also, add a few missing entries.

10 years agoudev rules file: Drop URLs and lsusb.
Uwe Hermann [Wed, 31 Jul 2013 10:22:06 +0000 (12:22 +0200)]
udev rules file: Drop URLs and lsusb.

The URLs to vendor webpages and the full lsusb are in the wiki
already, no need to duplicate them here.

10 years agoMake sr_session_iteration() private
Bert Vermeulen [Thu, 18 Jul 2013 13:06:06 +0000 (15:06 +0200)]
Make sr_session_iteration() private

10 years agoserial-dmm/uni-t-dmm: Drop Tecpel DMM-8060.
Uwe Hermann [Wed, 17 Jul 2013 20:17:17 +0000 (22:17 +0200)]
serial-dmm/uni-t-dmm: Drop Tecpel DMM-8060.

The Tecpel DMM-8060 was added since we assumed it would be a rebadged
Voltcraft VC-820 (since we know the Tecpel DMM-8061 is a rebadged VC-840).

However, according to the vendor webpage it doesn't have PC connectivity
at all, so drop it for now (until someone can confirm that it does or does
not actually have RS232/USB connectivity).

10 years agoFix build
Bert Vermeulen [Tue, 16 Jul 2013 15:18:20 +0000 (17:18 +0200)]
Fix build

10 years agokecheng-kc-330b: Code cleanup
Bert Vermeulen [Tue, 16 Jul 2013 15:17:54 +0000 (17:17 +0200)]
kecheng-kc-330b: Code cleanup

10 years agolascar-el-usb: Don't close device after acquisition
Bert Vermeulen [Tue, 16 Jul 2013 13:58:46 +0000 (15:58 +0200)]
lascar-el-usb: Don't close device after acquisition

10 years agokecheng-kc-330b: Acquisition from stored logs
Bert Vermeulen [Tue, 16 Jul 2013 13:58:11 +0000 (15:58 +0200)]
kecheng-kc-330b: Acquisition from stored logs

10 years agoAdd sr_session_iteration() API function
Bert Vermeulen [Mon, 15 Jul 2013 12:14:28 +0000 (14:14 +0200)]
Add sr_session_iteration() API function

10 years agokecheng-kc-330b: Check device status before acquisition
Bert Vermeulen [Tue, 25 Jun 2013 20:00:29 +0000 (22:00 +0200)]
kecheng-kc-330b: Check device status before acquisition

Can't really count on it either way though, the device is just
too flaky to conclude whether it's going to work or not, regardless
of the status returned.

10 years agokecheng-kc-330b: Live SPL acquisition
Bert Vermeulen [Tue, 25 Jun 2013 12:09:01 +0000 (14:09 +0200)]
kecheng-kc-330b: Live SPL acquisition

10 years agokecheng-kc-330b: Implement all SR_CONF options
Bert Vermeulen [Mon, 24 Jun 2013 11:24:43 +0000 (13:24 +0200)]
kecheng-kc-330b: Implement all SR_CONF options

10 years agoAdd Kecheng KC-330B
Bert Vermeulen [Fri, 21 Jun 2013 13:58:08 +0000 (15:58 +0200)]
Add Kecheng KC-330B

10 years agokecheng-kc-330b: Flesh out driver, add scan functionality
Bert Vermeulen [Fri, 21 Jun 2013 13:57:48 +0000 (15:57 +0200)]
kecheng-kc-330b: Flesh out driver, add scan functionality

10 years agokecheng-kc-330b: Initial driver skeleton.
Bert Vermeulen [Thu, 20 Jun 2013 19:31:31 +0000 (21:31 +0200)]
kecheng-kc-330b: Initial driver skeleton.

10 years agoikalogic-scanaplus: Initial driver implementation.
Uwe Hermann [Tue, 4 Jun 2013 13:32:20 +0000 (15:32 +0200)]
ikalogic-scanaplus: Initial driver implementation.

10 years agoikalogic-scanaplus: Initial driver skeleton.
Uwe Hermann [Fri, 21 Jun 2013 15:15:10 +0000 (17:15 +0200)]
ikalogic-scanaplus: Initial driver skeleton.

10 years agoSupport for UNI-T UT60A/E multimeters via RS232 or USB
Florian Knodt [Fri, 5 Jul 2013 12:02:50 +0000 (14:02 +0200)]
Support for UNI-T UT60A/E multimeters via RS232 or USB

10 years agoUse GET_REPORT request for device to host transfer.
Marc Schink [Tue, 2 Jul 2013 19:52:23 +0000 (21:52 +0200)]
Use GET_REPORT request for device to host transfer.

10 years agoerror.c: Simplify and shorten.
Uwe Hermann [Sat, 22 Jun 2013 15:12:38 +0000 (17:12 +0200)]
error.c: Simplify and shorten.

10 years agoREADME.devices: Minor updates.
Uwe Hermann [Sat, 22 Jun 2013 15:05:57 +0000 (17:05 +0200)]
README.devices: Minor updates.

10 years agouni-t-dmm: Add support for the Voltcraft VC-830.
Uwe Hermann [Sat, 22 Jun 2013 14:53:13 +0000 (16:53 +0200)]
uni-t-dmm: Add support for the Voltcraft VC-830.

10 years agoserial-dmm: Add support for the Voltcraft VC-830.
Uwe Hermann [Sat, 22 Jun 2013 14:48:00 +0000 (16:48 +0200)]
serial-dmm: Add support for the Voltcraft VC-830.

10 years agoconfigure.ac: Move an AM_CONDITIONAL to the correct location.
Uwe Hermann [Fri, 21 Jun 2013 13:18:33 +0000 (15:18 +0200)]
configure.ac: Move an AM_CONDITIONAL to the correct location.

10 years agoconfigure.ac: Fix build when libusb-1.0 not available.
Uwe Hermann [Fri, 21 Jun 2013 13:11:36 +0000 (15:11 +0200)]
configure.ac: Fix build when libusb-1.0 not available.

The IKALOGIC Scanalogic2 needs libusb-1.0, thus disable this driver when
libusb-1.0 cannot be found.

10 years agocem-dt-885x: Support for retrieving stored samples
Bert Vermeulen [Thu, 20 Jun 2013 12:35:34 +0000 (14:35 +0200)]
cem-dt-885x: Support for retrieving stored samples

10 years agocem-dt-885x: Support for SR_CONF_DATA_SOURCE
Bert Vermeulen [Wed, 19 Jun 2013 10:23:30 +0000 (12:23 +0200)]
cem-dt-885x: Support for SR_CONF_DATA_SOURCE

This device can do both live and memory-based acquisition.

10 years agoAdd SR_CONF key for data source
Bert Vermeulen [Wed, 19 Jun 2013 10:18:00 +0000 (12:18 +0200)]
Add SR_CONF key for data source

10 years agocem-dt-885x: Support for powering off the device
Bert Vermeulen [Mon, 17 Jun 2013 13:46:14 +0000 (15:46 +0200)]
cem-dt-885x: Support for powering off the device

10 years agoAdd SR_CONF key for powering off a device
Bert Vermeulen [Mon, 17 Jun 2013 09:54:37 +0000 (11:54 +0200)]
Add SR_CONF key for powering off a device

10 years agocem-dt-885x: Support for sound pressure level measurement range
Bert Vermeulen [Sun, 16 Jun 2013 23:26:25 +0000 (01:26 +0200)]
cem-dt-885x: Support for sound pressure level measurement range

10 years agoAdd SR_CONF key for sound pressure level measurement range
Bert Vermeulen [Sun, 16 Jun 2013 23:25:41 +0000 (01:25 +0200)]
Add SR_CONF key for sound pressure level measurement range

10 years agocem-dt-885x: Fix datalog on/off setting in max/min hold mode
Bert Vermeulen [Sun, 16 Jun 2013 11:23:58 +0000 (13:23 +0200)]
cem-dt-885x: Fix datalog on/off setting in max/min hold mode

As it turns out, the device randomly decides to send no logging state
info when max hold or min hold mode is enabled.

10 years agocem-dt-885x: Support for max/min hold modes
Bert Vermeulen [Sun, 16 Jun 2013 10:14:09 +0000 (12:14 +0200)]
cem-dt-885x: Support for max/min hold modes

10 years agoAdd SR_CONF keys for max/min hold modes
Bert Vermeulen [Sun, 16 Jun 2013 10:12:20 +0000 (12:12 +0200)]
Add SR_CONF keys for max/min hold modes

10 years agocem-dt-885x: Support for changing time weighting
Bert Vermeulen [Sat, 15 Jun 2013 11:00:41 +0000 (13:00 +0200)]
cem-dt-885x: Support for changing time weighting

10 years agocem-dt-885x: Support for changing frequency weighting
Bert Vermeulen [Sat, 15 Jun 2013 10:17:55 +0000 (12:17 +0200)]
cem-dt-885x: Support for changing frequency weighting

10 years agoAdd SR_CONF keys for sound pressure level time and frequency weighting
Bert Vermeulen [Sat, 15 Jun 2013 10:09:31 +0000 (12:09 +0200)]
Add SR_CONF keys for sound pressure level time and frequency weighting

10 years agocem-dt-885x: Support for turning data logging on/off
Bert Vermeulen [Thu, 13 Jun 2013 12:33:15 +0000 (14:33 +0200)]
cem-dt-885x: Support for turning data logging on/off

10 years agoAdd SR_ERR_TIMEOUT
Bert Vermeulen [Thu, 13 Jun 2013 12:23:06 +0000 (14:23 +0200)]
Add SR_ERR_TIMEOUT

10 years agoadded Voltcraft M-3650D Multimeter
Florian Steinhardt [Tue, 11 Jun 2013 18:35:57 +0000 (20:35 +0200)]
added Voltcraft M-3650D Multimeter

10 years agocem-dt-885x: Send last measurement at normal rate in hold mode
Bert Vermeulen [Wed, 12 Jun 2013 14:04:23 +0000 (16:04 +0200)]
cem-dt-885x: Send last measurement at normal rate in hold mode

The device only sends the "hold" token otherwise, which clashes somewhat
with other devices. This makes the device more predictable for frontends.

10 years agocem-dt-885x: Hold off measurements in max/min hold mode
Bert Vermeulen [Wed, 12 Jun 2013 13:45:37 +0000 (15:45 +0200)]
cem-dt-885x: Hold off measurements in max/min hold mode

10 years agocem-dt-885x: Live SPL acquisition
Bert Vermeulen [Wed, 12 Jun 2013 11:10:56 +0000 (13:10 +0200)]
cem-dt-885x: Live SPL acquisition

10 years agocem-dt-885x: Flesh out driver, add scan functionality
Bert Vermeulen [Tue, 11 Jun 2013 21:33:25 +0000 (23:33 +0200)]
cem-dt-885x: Flesh out driver, add scan functionality

10 years agocem-dt-885x: Initial driver skeleton.
Bert Vermeulen [Fri, 7 Jun 2013 23:12:10 +0000 (01:12 +0200)]
cem-dt-885x: Initial driver skeleton.

10 years agoscanalogic2: Only print actual state changes in the log.
Uwe Hermann [Tue, 11 Jun 2013 16:55:47 +0000 (18:55 +0200)]
scanalogic2: Only print actual state changes in the log.

10 years agoscanalogic2: Replace %i with %s where needed.
Uwe Hermann [Tue, 11 Jun 2013 16:55:47 +0000 (18:55 +0200)]
scanalogic2: Replace %i with %s where needed.

10 years agoscanalogic2: Shorten a few function name prefixes.
Uwe Hermann [Tue, 11 Jun 2013 16:55:47 +0000 (18:55 +0200)]
scanalogic2: Shorten a few function name prefixes.

The driver-private helper functions in protocol.c can have a shorter
prefix to make the code look nicer.

10 years agoscanalogic2: Cosmetics, whitespace, typos, etc.
Uwe Hermann [Tue, 11 Jun 2013 16:55:47 +0000 (18:55 +0200)]
scanalogic2: Cosmetics, whitespace, typos, etc.

10 years agoInitial driver for IKALOGIC Scanalogic-2
Marc Schink [Mon, 10 Jun 2013 08:10:13 +0000 (10:10 +0200)]
Initial driver for IKALOGIC Scanalogic-2

10 years agoikalogic-scanalogic2: Initial driver skeleton.
Marc Schink [Fri, 7 Jun 2013 18:34:40 +0000 (20:34 +0200)]
ikalogic-scanalogic2: Initial driver skeleton.

10 years agools/link-mso19: Consistency fixes.
Uwe Hermann [Sun, 2 Jun 2013 14:54:31 +0000 (16:54 +0200)]
ols/link-mso19: Consistency fixes.

Use the same setup/ordering/naming for the cleanup/dev_clear functions
as all other drivers do.

10 years agodemo: Use std_dev_clear().
Uwe Hermann [Sun, 2 Jun 2013 14:43:26 +0000 (16:43 +0200)]
demo: Use std_dev_clear().

10 years agos/clear_instances/dev_clear/.
Uwe Hermann [Fri, 31 May 2013 14:09:57 +0000 (16:09 +0200)]
s/clear_instances/dev_clear/.

Consistently use the same name for the dev_clear() API callback
everywhere.

10 years agostd: Drop hw_ from function names.
Uwe Hermann [Fri, 31 May 2013 13:46:57 +0000 (15:46 +0200)]
std: Drop hw_ from function names.

The per-driver API calls no longer have a hw_ prefix (e.g. hw_init()
became init() and so on), so drop the 'hw_' from the std versions
for those API callbacks too.

10 years agoasix-sigma: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 13:33:58 +0000 (15:33 +0200)]
asix-sigma: Use std_dev_clear().

10 years agoalsa: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 13:28:43 +0000 (15:28 +0200)]
alsa: Use std_dev_clear().

10 years agorigol-ds1xx2: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 13:19:53 +0000 (15:19 +0200)]
rigol-ds1xx2: Use std_dev_clear().

10 years agohantek-dso: Simplify cleanup().
Uwe Hermann [Fri, 31 May 2013 13:18:47 +0000 (15:18 +0200)]
hantek-dso: Simplify cleanup().

10 years agonexus-osciprime: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 13:18:22 +0000 (15:18 +0200)]
nexus-osciprime: Use std_dev_clear().

10 years agolascar-el-usb: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 12:25:33 +0000 (14:25 +0200)]
lascar-el-usb: Use std_dev_clear().

10 years agofluke-dmm: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 12:20:34 +0000 (14:20 +0200)]
fluke-dmm: Use std_dev_clear().

10 years agocolead-slm: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 12:17:38 +0000 (14:17 +0200)]
colead-slm: Use std_dev_clear().

10 years agoagilent-dmm: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 12:13:20 +0000 (14:13 +0200)]
agilent-dmm: Use std_dev_clear().

10 years agovictor-dmm: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 12:10:59 +0000 (14:10 +0200)]
victor-dmm: Use std_dev_clear().

10 years agobrymen-dmm: Use std_dev_clear().
Uwe Hermann [Fri, 31 May 2013 12:00:30 +0000 (14:00 +0200)]
brymen-dmm: Use std_dev_clear().

10 years agocsv output: Fix incorrect ordering of the probes.
Uwe Hermann [Tue, 21 May 2013 18:54:42 +0000 (20:54 +0200)]
csv output: Fix incorrect ordering of the probes.

The comment for the CSV output module says probes are ordered e.g.
0,1,2,3, but the actual values were in the 3,2,1,0 order.

We're fixing this by making the order of the probe values 0,1,2,3 too
for now, but this will become a configurable option later on.

Thanks Patrick Servello <redacted> for the patch.

10 years agoAlways link against the math library.
Uwe Hermann [Fri, 10 May 2013 18:59:42 +0000 (20:59 +0200)]
Always link against the math library.

This fixes bug #115.

10 years agosession_driver: Fix return codes, cosmetics.
Uwe Hermann [Fri, 10 May 2013 18:31:25 +0000 (20:31 +0200)]
session_driver: Fix return codes, cosmetics.

10 years agoUse consistent API callback function names.
Uwe Hermann [Fri, 10 May 2013 17:37:54 +0000 (19:37 +0200)]
Use consistent API callback function names.

This now matches what the 'new-driver' tool generates.

10 years agozeroplus: Properly set inst_type to SR_INST_USB.
Uwe Hermann [Fri, 10 May 2013 17:16:25 +0000 (19:16 +0200)]
zeroplus: Properly set inst_type to SR_INST_USB.

10 years agozeroplus: Use std_dev_clear().
Uwe Hermann [Fri, 10 May 2013 17:06:47 +0000 (19:06 +0200)]
zeroplus: Use std_dev_clear().

10 years agouni-t-dmm: Use std_dev_clear().
Uwe Hermann [Fri, 10 May 2013 16:59:46 +0000 (18:59 +0200)]
uni-t-dmm: Use std_dev_clear().

10 years agoserial-dmm: Use std_dev_clear().
Uwe Hermann [Fri, 10 May 2013 16:53:42 +0000 (18:53 +0200)]
serial-dmm: Use std_dev_clear().

10 years agochronovu-la8: Use std_dev_clear().
Uwe Hermann [Fri, 10 May 2013 16:40:13 +0000 (18:40 +0200)]
chronovu-la8: Use std_dev_clear().

10 years agoDrop some lines that are no longer needed.
Uwe Hermann [Fri, 10 May 2013 16:30:32 +0000 (18:30 +0200)]
Drop some lines that are no longer needed.

10 years agotondaj-sl-814: Use std_dev_clear().
Uwe Hermann [Fri, 10 May 2013 15:56:53 +0000 (17:56 +0200)]
tondaj-sl-814: Use std_dev_clear().

10 years agomic-985xx: Use std_dev_clear().
Uwe Hermann [Fri, 10 May 2013 15:54:53 +0000 (17:54 +0200)]
mic-985xx: Use std_dev_clear().