]> sigrok.org Git - libsigrok.git/log
libsigrok.git
11 years agoUnit tests for 'binary' input format & version APIs.
Uwe Hermann [Wed, 13 Mar 2013 08:46:08 +0000 (09:46 +0100)]
Unit tests for 'binary' input format & version APIs.

11 years agonorma-dmm: Minor cosmetics, coding-style, consistency fixes.
Uwe Hermann [Fri, 25 Oct 2013 18:10:01 +0000 (20:10 +0200)]
norma-dmm: Minor cosmetics, coding-style, consistency fixes.

Also, add a missing "%" in an sr_err() and a missing parameter in
another sr_err().

11 years agonorma dmm: Implemented driver.
Matthias Heidbrink [Thu, 17 Oct 2013 08:57:18 +0000 (10:57 +0200)]
norma dmm: Implemented driver.

11 years agonorma dmm: Initial driver skeleton.
Matthias Heidbrink [Thu, 17 Oct 2013 08:57:17 +0000 (10:57 +0200)]
norma dmm: Initial driver skeleton.

11 years agostd.c: Changed return value of std_dev_acquisition_stop_serial() for non-active devic...
Matthias Heidbrink [Thu, 17 Oct 2013 08:57:16 +0000 (10:57 +0200)]
std.c: Changed return value of std_dev_acquisition_stop_serial() for non-active device to SR_ERR_DEV_CLOSED for consistency with other functions.

11 years agoserial: Removed flag OPOST (turn off all output processing).
Matthias Heidbrink [Thu, 17 Oct 2013 08:57:14 +0000 (10:57 +0200)]
serial: Removed flag OPOST (turn off all output processing).

11 years agoserial: Added flags CLOCAL (ignore modem status lines) and CREAD (start receiver).
Matthias Heidbrink [Thu, 17 Oct 2013 08:57:13 +0000 (10:57 +0200)]
serial: Added flags CLOCAL (ignore modem status lines) and CREAD (start receiver).

11 years agoserial: Added flag IXANY (any char will restart) to XON/XOFF handshaking.
Matthias Heidbrink [Thu, 17 Oct 2013 08:57:12 +0000 (10:57 +0200)]
serial: Added flag IXANY (any char will restart) to XON/XOFF handshaking.

11 years agosaleae-logic16: claim device before using it
Sean Young [Sun, 13 Oct 2013 11:36:02 +0000 (12:36 +0100)]
saleae-logic16: claim device before using it

The kernel warns:

[ 7461.925685] usb 2-4: usbfs: process 11303 (sigrok-cli) did not claim interface 0 before use

11 years agoteleinfo: actual parser implementation
Aurelien Jacobs [Thu, 3 Oct 2013 19:20:18 +0000 (21:20 +0200)]
teleinfo: actual parser implementation

11 years agoteleinfo: Initial driver skeleton.
Aurelien Jacobs [Mon, 23 Sep 2013 20:02:02 +0000 (22:02 +0200)]
teleinfo: Initial driver skeleton.

11 years agoadd energy meter device type and related units
Aurelien Jacobs [Thu, 10 Oct 2013 20:28:35 +0000 (22:28 +0200)]
add energy meter device type and related units

11 years agometex14: Add support for pF (picofarad).
Uwe Hermann [Wed, 23 Oct 2013 16:41:13 +0000 (18:41 +0200)]
metex14: Add support for pF (picofarad).

This is used on some Metex DMMs.

11 years agometex14: Use case-insensitive string compares.
Uwe Hermann [Wed, 23 Oct 2013 16:07:54 +0000 (18:07 +0200)]
metex14: Use case-insensitive string compares.

This allows some other DMMs to be supported that use e.g. "kOhm" vs.
"KOhm", and so on.

11 years agometex14: Support DMMs with slightly different protocol.
Uwe Hermann [Sun, 20 Oct 2013 12:45:20 +0000 (14:45 +0200)]
metex14: Support DMMs with slightly different protocol.

This adds support for DMMs with 5 digits in the protocol (instead of 4)
and some more whitespace variants.

11 years agometex14: Support DMMs with whitespace differences.
Uwe Hermann [Sun, 29 Sep 2013 15:43:28 +0000 (17:43 +0200)]
metex14: Support DMMs with whitespace differences.

Most Metex DMMs use e.g. "  mV" as unit field, others use "mV  ",
though. Support these (and other) whitespace variants by stripping all
spaces and only comparing non-space characters.

11 years agoes519xx: restore correct packet size
Aurelien Jacobs [Thu, 10 Oct 2013 21:11:06 +0000 (23:11 +0200)]
es519xx: restore correct packet size

11 years agoserial: Changed order of flags PARENB and PARODD in deletion to same order as in...
Matthias Heidbrink [Thu, 17 Oct 2013 08:57:15 +0000 (10:57 +0200)]
serial: Changed order of flags PARENB and PARODD in deletion to same order as in setting (cosmetic).

11 years agoBump libzip requirement to >= 0.10.
Uwe Hermann [Wed, 16 Oct 2013 16:10:29 +0000 (18:10 +0200)]
Bump libzip requirement to >= 0.10.

We now use zip_int64_t and zip_get_num_entries() for example, which
requires at least libzip 0.10. This version was released in 03/2012,
which is old enough that we don't necessarily have to do a work-around
for older versions. Thus, simply bump the requirement to >= 0.10.

11 years agoBetter error reporting on session start failure
Bert Vermeulen [Wed, 16 Oct 2013 08:40:38 +0000 (10:40 +0200)]
Better error reporting on session start failure

11 years agoISO-TECH IDM103N: remove the useless -ser postfix
Aurelien Jacobs [Thu, 10 Oct 2013 23:36:52 +0000 (01:36 +0200)]
ISO-TECH IDM103N: remove the useless -ser postfix

11 years agoes519xx: correct initialization of es519xx_info structure
Aurelien Jacobs [Sat, 12 Oct 2013 15:25:29 +0000 (17:25 +0200)]
es519xx: correct initialization of es519xx_info structure

11 years agoes519xx: Fix incorrect packet size, and a typo.
Uwe Hermann [Sun, 6 Oct 2013 22:24:44 +0000 (00:24 +0200)]
es519xx: Fix incorrect packet size, and a typo.

11 years agoes519xx: Cosmetics, coding style, minor fixes.
Uwe Hermann [Sun, 6 Oct 2013 12:59:10 +0000 (14:59 +0200)]
es519xx: Cosmetics, coding style, minor fixes.

11 years agoadd ISO-TECH IDM103N serial-dmm driver
Aurelien Jacobs [Thu, 3 Oct 2013 20:10:25 +0000 (22:10 +0200)]
add ISO-TECH IDM103N serial-dmm driver

11 years agoadd cyrustek es519xx generic protocol parser
Aurelien Jacobs [Thu, 3 Oct 2013 20:00:22 +0000 (22:00 +0200)]
add cyrustek es519xx generic protocol parser

11 years agooutput/analog: add revolutions per minute unit
Aurelien Jacobs [Thu, 3 Oct 2013 19:37:14 +0000 (21:37 +0200)]
output/analog: add revolutions per minute unit

11 years agofx2lafw: Organize driver into api.c / protocol.[ch].
Uwe Hermann [Sat, 7 Sep 2013 12:48:38 +0000 (14:48 +0200)]
fx2lafw: Organize driver into api.c / protocol.[ch].

This now matches the naming conventions of the other drivers.

11 years agoagilent-dmm: Fix SEGV during incomplete reply from meter.
Daniel Thompson [Fri, 4 Oct 2013 07:34:05 +0000 (08:34 +0100)]
agilent-dmm: Fix SEGV during incomplete reply from meter.

If buf contains exactly the string "Agilent Technologies" (for example if
there are bugs in the timeout logic or serial driver causing the reply from
the meter to be abridged) then this code will SEGV. This is because tokens[1]
is NULL but only tokens[2] and tokens[3] (both of which are undefined) are
NULL checked.

Can be trivially corrected by NULL checking tokens[1] as well.

Signed-off-by: Daniel Thompson <redacted>
11 years agoserial: Only sleep when no characters are received.
Daniel Thompson [Thu, 19 Sep 2013 15:39:24 +0000 (16:39 +0100)]
serial: Only sleep when no characters are received.

g_usleep(XX) sleeps for *at least* XX microseconds but may sleep for
longers (on older kernels the sleep will typically be 10000us). Thus
byte receive loops containing an unconditional sleep will perform
very poorly (for example it causes the scan in agilent-dmm to timeout
prematurely).

Even on modern kernels serial_readline() has a 2ms sleep per byte which
means it will read at a maximum rate of half a character per millisecond
(~4800baud).

This is fixed by only sleeping when read() returns no data.

Signed-off-by: Daniel Thompson <redacted>
11 years agoREADME.devices: Various updates and additions.
Uwe Hermann [Tue, 24 Sep 2013 07:25:32 +0000 (09:25 +0200)]
README.devices: Various updates and additions.

11 years agoconfigure.ac: Don't build uni-t-ut32x if libusb-1.0 is not found.
Uwe Hermann [Tue, 24 Sep 2013 07:20:15 +0000 (09:20 +0200)]
configure.ac: Don't build uni-t-ut32x if libusb-1.0 is not found.

11 years agouni-t-ut32x: Shorten dev_list().
Uwe Hermann [Tue, 24 Sep 2013 07:16:44 +0000 (09:16 +0200)]
uni-t-ut32x: Shorten dev_list().

11 years agoMakefile.am: Add missing HACKING file.
Uwe Hermann [Tue, 24 Sep 2013 07:02:38 +0000 (09:02 +0200)]
Makefile.am: Add missing HACKING file.

11 years agolibsigrok.h: Fix enum entries order.
Uwe Hermann [Tue, 24 Sep 2013 07:00:16 +0000 (09:00 +0200)]
libsigrok.h: Fix enum entries order.

New enum items must be added at the bottom of the respective "category"
within the enum in order to not change any numbers (i.e. break the ABI).

11 years agoMinor documentation fixes
Bert Vermeulen [Wed, 25 Sep 2013 09:51:38 +0000 (11:51 +0200)]
Minor documentation fixes

11 years agoWhen adding a device instance to a running session, start acquisition on it
Bert Vermeulen [Sat, 21 Sep 2013 15:44:49 +0000 (17:44 +0200)]
When adding a device instance to a running session, start acquisition on it

11 years agoAdd sr_session_append(): add captured data to an existing session file
Bert Vermeulen [Wed, 18 Sep 2013 11:28:07 +0000 (13:28 +0200)]
Add sr_session_append(): add captured data to an existing session file

This extends the session file format to contain logic data files named
either "logic-1" as before, or "logic-1-1", "logic-1-2", ...
representing chronologically ordered chunks of captured data.

The chunks are transparently concatenated together by sr_session_load().

11 years agools: fixed demux mode disable noise filter
Matt Ranostay [Sat, 7 Sep 2013 05:27:46 +0000 (22:27 -0700)]
ols: fixed demux mode disable noise filter

Demux flag wasn't getting set off if one non-demux sample was ran
beforehand.

Signed-off-by: Matt Ranostay <redacted>
11 years agools: Moved FLAG_FILTER to demux check
Matt Ranostay [Fri, 6 Sep 2013 06:38:59 +0000 (23:38 -0700)]
ols: Moved FLAG_FILTER to demux check

Demux mode was having filter mode set which it doesn't
support per FPGA demon core docs.

Signed-off-by: Matt Ranostay <redacted>
11 years agoconfigure.ac: Properly use $HW_ENABLED_DEFAULT everywhere.
Uwe Hermann [Wed, 4 Sep 2013 07:36:47 +0000 (09:36 +0200)]
configure.ac: Properly use $HW_ENABLED_DEFAULT everywhere.

Otherwise --enable-all-drivers / --disable-all-drivers doesn't work
correctly.

11 years agoproto: Add missing prototype in proto.h
Matt Ranostay [Wed, 4 Sep 2013 03:47:10 +0000 (20:47 -0700)]
proto: Add missing prototype in proto.h

Add missing prototype sr_session_dev_list that was
breaking the Pulseview build.

Signed-off-by: Matt Ranostay <redacted>
11 years agoNew API function sr_session_dev_list()
Bert Vermeulen [Mon, 2 Sep 2013 12:24:32 +0000 (14:24 +0200)]
New API function sr_session_dev_list()

This exposes the list of devices added to the session. In the case of
loading a session from file, these struct sr_dev_inst are otherwise
not exposed to the frontend. See bug 145.

11 years agoProperly initialize session
Bert Vermeulen [Mon, 2 Sep 2013 12:23:42 +0000 (14:23 +0200)]
Properly initialize session

11 years agoVoltcraft VC-830: Fix diode mode handling.
Uwe Hermann [Sun, 1 Sep 2013 11:10:54 +0000 (13:10 +0200)]
Voltcraft VC-830: Fix diode mode handling.

This DMM is not using the standard bits in the FS9922 protocol/structure
to indicate the "volt" and "diode mode" flags. Instead, it only sets the
user-defined bit "z1" to indicate both "diode mode" and "volt".

This fixes #142.

11 years agoes51922/fs9721/fs9922/metex14: Use diode MQFLAG.
Uwe Hermann [Sun, 1 Sep 2013 11:40:17 +0000 (13:40 +0200)]
es51922/fs9721/fs9922/metex14: Use diode MQFLAG.

This fixes #141.

11 years agofs9922: Fix typo.
Uwe Hermann [Sun, 1 Sep 2013 11:41:02 +0000 (13:41 +0200)]
fs9922: Fix typo.

11 years agoserial.c: Drop unneeded <glob.h>.
Uwe Hermann [Fri, 30 Aug 2013 14:34:39 +0000 (16:34 +0200)]
serial.c: Drop unneeded <glob.h>.

This is no longer used, and also it is not available on Android and thus
breaks cross-compilation for Android.

Thanks Marcus Comstedt <redacted> for reporting.

11 years agooutput/analog: Support all known MQFLAGs.
Uwe Hermann [Fri, 30 Aug 2013 06:57:09 +0000 (08:57 +0200)]
output/analog: Support all known MQFLAGs.

11 years agools: fixed channel limit check
Matt Ranostay [Thu, 29 Aug 2013 07:06:53 +0000 (00:06 -0700)]
ols: fixed channel limit check

For demux mode we half the channels. Previous check method broke
the OLS randomly and but it in a bad state.

Signed-off-by: Matt Ranostay <redacted>
11 years agorigol-ds1xx2: newer Linux kernels have USBTMC in /sys/class/usbmisc
Bert Vermeulen [Fri, 30 Aug 2013 11:57:15 +0000 (13:57 +0200)]
rigol-ds1xx2: newer Linux kernels have USBTMC in /sys/class/usbmisc

11 years agools: combine demux samples
Matt Ranostay [Wed, 28 Aug 2013 05:17:05 +0000 (22:17 -0700)]
ols: combine demux samples

demux mode allows DDR sampling which disables group 2 & 3
and thus samples group 0 & 1 to sample on rising and falling of
the clock.

Signed-off-by: Matt Ranostay <redacted>
11 years agools: add swap channels feature
Matt Ranostay [Wed, 28 Aug 2013 04:19:56 +0000 (21:19 -0700)]
ols: add swap channels feature

Allow channel groups to be swapped. This is useful
for demux at 200mhz with the unbuffered channels.

Signed-off-by: Matt Ranostay <redacted>
11 years agools: Display noise filter flag
Matt Ranostay [Wed, 28 Aug 2013 04:19:55 +0000 (21:19 -0700)]
ols: Display noise filter flag

Show if noise filter is on. This is important to be
sure is off for demux mode.

Signed-off-by: Matt Ranostay <redacted>
11 years agools: Fix RLE count handling
Bert Vermeulen [Mon, 26 Aug 2013 22:33:20 +0000 (00:33 +0200)]
ols: Fix RLE count handling

The high bit of the sample, denoting this is a count, was not getting
properly cleared. This resulted in an inevitably negative count, and
corruption of the sample buffer before it was transferred to the
frontend.

11 years agools: Properly initialize entire single-sample buffer before start
Bert Vermeulen [Mon, 26 Aug 2013 21:42:09 +0000 (23:42 +0200)]
ols: Properly initialize entire single-sample buffer before start

The single sample buffer, up to 4 bytes long, was not getting initialized
on (every) acquisition start, only after the first full sample was in.
This caused the first sample to potentially hold garbage.

11 years agools: add external clock support
Matt Ranostay [Sun, 25 Aug 2013 05:01:15 +0000 (22:01 -0700)]
ols: add external clock support

Add external clock support that allows you to use the tracing
targets bus clock line for sampling.

Signed-off-by: Matt Ranostay <redacted>
11 years agools: add test mode support
Matt Ranostay [Sun, 25 Aug 2013 05:00:52 +0000 (22:00 -0700)]
ols: add test mode support

ols allows both external and internal test patterns at ~20khz
which are helpful for unit tests and demos.

pattern=internal -> route pattern internally to all 32 pins
                      (input otherwise disabled)

pattern=external -> generates pattern on unbuffered pins 16:31
                      (which can be looped back to the buffered pins 0:15)

Signed-off-by: Matt Ranostay <redacted>
11 years agools: fixed parallel stage triggers
Matt Ranostay [Sat, 24 Aug 2013 04:42:51 +0000 (21:42 -0700)]
ols: fixed parallel stage triggers

Stage count was always getting incremented one more than
actual stages, and this caused a extra stage with zero'ed data
probe lines to have the start bit field.

Signed-off-by: Matt Ranostay <redacted>
11 years agosaleae-logic16: Drop unneeded NUM_PROBES.
Uwe Hermann [Wed, 21 Aug 2013 09:41:21 +0000 (11:41 +0200)]
saleae-logic16: Drop unneeded NUM_PROBES.

11 years agosaleae-logic16: Shorten dev_list() implementation.
Uwe Hermann [Wed, 21 Aug 2013 09:37:40 +0000 (11:37 +0200)]
saleae-logic16: Shorten dev_list() implementation.

11 years agosaleae-logic16: Whitespace fixes, cosmetics.
Uwe Hermann [Wed, 21 Aug 2013 00:02:41 +0000 (02:02 +0200)]
saleae-logic16: Whitespace fixes, cosmetics.

11 years agosaleae-logic16: Cleanup the prime_fpga function
Marcus Comstedt [Mon, 5 Aug 2013 16:34:47 +0000 (18:34 +0200)]
saleae-logic16: Cleanup the prime_fpga function

The driver should now work on any Logic16.

11 years agosaleae-logic16: Update copyright blurbs.
Marcus Comstedt [Mon, 5 Aug 2013 10:05:40 +0000 (12:05 +0200)]
saleae-logic16: Update copyright blurbs.

Copied copyright lines from fx2lafw driver, since much of the code is
taken from there.

11 years agosaleae-logic16: Add voltage threshold conf.
Marcus Comstedt [Sun, 4 Aug 2013 14:20:07 +0000 (16:20 +0200)]
saleae-logic16: Add voltage threshold conf.

11 years agosaleae-logic16: Declare confs.
Marcus Comstedt [Sun, 4 Aug 2013 12:28:04 +0000 (14:28 +0200)]
saleae-logic16: Declare confs.

11 years agosaleae-logic16: Implemented acquisition.
Marcus Comstedt [Sun, 4 Aug 2013 11:46:35 +0000 (13:46 +0200)]
saleae-logic16: Implemented acquisition.

11 years agosaleae-logic16: Initialize the FPGA.
Marcus Comstedt [Fri, 2 Aug 2013 22:35:44 +0000 (00:35 +0200)]
saleae-logic16: Initialize the FPGA.

The map_eeprom_data function is currently unknown.  The map entries
provided were observed via bus-snooping of the vendor software on my
device.  Other devices may need additional values.

11 years agosaleae-logic16: Reworked scan/open to handle FW upload.
Marcus Comstedt [Fri, 2 Aug 2013 19:02:00 +0000 (21:02 +0200)]
saleae-logic16: Reworked scan/open to handle FW upload.

The new code is based on code from the fx2lafw driver.

11 years agosaleae-logic16: Detect the hardware.
Marcus Comstedt [Wed, 31 Jul 2013 14:53:35 +0000 (16:53 +0200)]
saleae-logic16: Detect the hardware.

11 years agoconfigure.ac: Fix build when libusb-1.0 not available.
Marcus Comstedt [Wed, 31 Jul 2013 09:44:57 +0000 (11:44 +0200)]
configure.ac: Fix build when libusb-1.0 not available.

The Saleae Logic16 needs libusb-1.0, thus disable this driver when
libusb-1.0 cannot be found.

11 years agosaleae-logic16: Initial driver skeleton.
Marcus Comstedt [Sun, 21 Jul 2013 10:30:32 +0000 (12:30 +0200)]
saleae-logic16: Initial driver skeleton.

11 years agouni-t-dmm: Require conn parameter for scan
Bert Vermeulen [Sun, 11 Aug 2013 08:52:43 +0000 (10:52 +0200)]
uni-t-dmm: Require conn parameter for scan

Since the uni-t-ut32x series handles devices with the same USB VID.PID,
which is linked to the WCH CH9325 USB/HID-UART interface chip, this
driver can no longer assume it can handle anything with this VID.PID.

11 years agouni-t-ut32x: Full acquisition support
Bert Vermeulen [Sun, 11 Aug 2013 08:44:03 +0000 (10:44 +0200)]
uni-t-ut32x: Full acquisition support

11 years agouni-t-ut32x: Flesh out driver
Bert Vermeulen [Fri, 9 Aug 2013 20:39:15 +0000 (22:39 +0200)]
uni-t-ut32x: Flesh out driver

11 years agouni-t-ut32x: Initial driver skeleton.
Bert Vermeulen [Thu, 8 Aug 2013 22:29:04 +0000 (00:29 +0200)]
uni-t-ut32x: Initial driver skeleton.

11 years agocenter-3xx: Initial Center 309 / Voltcraft K204 support.
Uwe Hermann [Mon, 22 Jul 2013 17:48:15 +0000 (19:48 +0200)]
center-3xx: Initial Center 309 / Voltcraft K204 support.

11 years agocenter-3xx: Initial driver skeleton.
Uwe Hermann [Fri, 19 Jul 2013 07:35:48 +0000 (09:35 +0200)]
center-3xx: Initial driver skeleton.

11 years agoDoxyfile: Set version to "unreleased development snapshot".
Uwe Hermann [Thu, 8 Aug 2013 17:39:50 +0000 (19:39 +0200)]
Doxyfile: Set version to "unreleased development snapshot".

11 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.

11 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.

11 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.

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

11 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.

11 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.

11 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.

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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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

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