]> sigrok.org Git - libsigrok.git/log
libsigrok.git
11 years agosr: hantek-dso: Fix copy-paste error.
Uwe Hermann [Wed, 27 Jun 2012 23:47:38 +0000 (01:47 +0200)]
sr: hantek-dso: Fix copy-paste error.

11 years agosr: fx2lafw: Move empty_transfer_count to device ctx
Lars-Peter Clausen [Mon, 25 Jun 2012 21:51:38 +0000 (23:51 +0200)]
sr: fx2lafw: Move empty_transfer_count to device ctx

If one device is failing it should not affect the transfers of other devices.

Signed-off-by: Lars-Peter Clausen <redacted>
11 years agosr: fx2lafw: Calculate buffer size and timeout based on sample rate
Lars-Peter Clausen [Mon, 25 Jun 2012 20:15:59 +0000 (22:15 +0200)]
sr: fx2lafw: Calculate buffer size and timeout based on sample rate

Currently timeout and buffer size are hard-coded in the fx2lafw driver which is
non-optimal if we want to get good results at both high and low sample rates.

The timeout is hard-coded to 40ms, which doesn't work well when sampling at
a low sample rate. E.g. at 20kHz filling all available buffer space alone takes
6 seconds. So naturally we'll see a lot of transfers timeout in this case.

The buffer size is hard-coded to 4096 bytes, which does not work well with high
sample rates. E.g. at 24MHz these 4096 bytes are enough space for 0.17ms of
data. The total buffer size is enough for about 5ms of data. Sooner or later the
application won't be able to resubmit a transfer within this time span and the
device will abort data acquisition. Usually this happens within the first few
seconds of sampling.

This patch adds a few new helper functions which calculate the buffer size and
timeout based on the current sample rate.

The buffer size is chosen to be large enough to hold about 10ms of data and it
also must be a multiple of 512 bytes since the firmware will send us the data
in 512 byte chunks.

The timeout is set to the time it would take to fill the whole available buffer
space plus a 25% headroom to accommodate for jitter. This is more than enough,
but there is no need to make the timeout a tight deadline, since it is only
meant as a last resort in case the device stops submitting data. And in this
case data acquisition will be aborted anyway.

The patch also limits the the number of transfers so that the total buffer
space is not much more of 500ms. This will ensure that we do not have to
wait too long when aborting data acquisition.

This patch also significantly reduces the number of context switches when
sampling at a higher sample rate. On my system for example the CPU load of
sigrok-cli when sampling at 24MHz goes down from ~25% to 3-4%.

Signed-off-by: Lars-Peter Clausen <redacted>
11 years agosr: fx2lafw: Handle the transfer's status
Lars-Peter Clausen [Sun, 24 Jun 2012 14:45:08 +0000 (16:45 +0200)]
sr: fx2lafw: Handle the transfer's status

While errors are usually already implicitly caught by looking at the packet
length field there is one error status which is worth special handling. If the
device has been removed there is not really a chance to recover from this error
so data acquisition can be stopped immediately.

Signed-off-by: Lars-Peter Clausen <redacted>
11 years agosr: fx2lafw: Avoid unnecessary alloc/free combo
Lars-Peter Clausen [Sun, 24 Jun 2012 10:19:09 +0000 (12:19 +0200)]
sr: fx2lafw: Avoid unnecessary alloc/free combo

In receive_transfer for each completed transfer a new buffer is allocated and
the old one is freed. We can avoid this by simply reusing the buffer for the
next transfer. This is possible if we only resubmit the transfer after all
processing on the data buffer has been done. A new buffer is only allocated if
the size of the old one is not 4096 bytes.

Signed-off-by: Lars-Peter Clausen <redacted>
11 years agosr: fx2lafw: Properly free transfer
Lars-Peter Clausen [Sun, 24 Jun 2012 10:08:59 +0000 (12:08 +0200)]
sr: fx2lafw: Properly free transfer

When freeing a transfer we also have to free the transfer buffer. We also have
to keep track of the number of allocated transfers and if the freed transfer was
the last one stop acquisition. This patch introduces a helper function which
takes care of all of this.

Signed-off-by: Lars-Peter Clausen <redacted>
11 years agosr: fx2lafw: Allocate header and packet struct on the stack
Lars-Peter Clausen [Sun, 24 Jun 2012 10:04:35 +0000 (12:04 +0200)]
sr: fx2lafw: Allocate header and packet struct on the stack

The header and packet struct are only used in the scope of this function and
they are freed at the end of it. Also these structs are rather small, so they
can safely be allocated on the stack. By doing so memory leaks on the error
paths are avoided.

Signed-off-by: Lars-Peter Clausen <redacted>
11 years agofx2lafw: Made libusb_claim_interface error messages more informative
Joel Holdsworth [Wed, 27 Jun 2012 20:39:26 +0000 (21:39 +0100)]
fx2lafw: Made libusb_claim_interface error messages more informative

11 years agohantek-dso: add profiles for all five models in the series
Bert Vermeulen [Wed, 27 Jun 2012 17:36:30 +0000 (19:36 +0200)]
hantek-dso: add profiles for all five models in the series

Also cleaned up profile struct, and use the new firmware filenames.

11 years agofx2lafw: fix broken firmware upload timeout
Bert Vermeulen [Tue, 26 Jun 2012 23:02:39 +0000 (01:02 +0200)]
fx2lafw: fix broken firmware upload timeout

Also corner case error init.

11 years agohantek-dso: get rid of broken GTV_TO_MSEC firmware upload timeout
Bert Vermeulen [Tue, 26 Jun 2012 22:55:15 +0000 (00:55 +0200)]
hantek-dso: get rid of broken GTV_TO_MSEC firmware upload timeout

11 years agohantek-dso: start sending the frame only from the trigger point
Bert Vermeulen [Tue, 26 Jun 2012 21:26:55 +0000 (23:26 +0200)]
hantek-dso: start sending the frame only from the trigger point

Samples received before the trigger point are stored. From the
trigger point on, every chunk received from the device is sent
up the session bus. After the device has finished sending, the
stored samples are transmitted.

11 years agosr: fx2lafw: Set correct unitsize for trigger buffer
Lars-Peter Clausen [Thu, 21 Jun 2012 17:54:29 +0000 (19:54 +0200)]
sr: fx2lafw: Set correct unitsize for trigger buffer

Commit 88b75eb719 ("fx2lafw: Added device caps and added support for wide
sampling") increased the size of the trigger buffer from 8 to 16 bit, but forgot
to adjust the unitsize logic packet which is used to send the contents of the
trigger buffer. This patch sets the unitsize to sizeof() of the trigger buffer.

Signed-off-by: Lars-Peter Clausen <redacted>
11 years agohantek-dso: fix triggerpoint conversion
Bert Vermeulen [Sun, 24 Jun 2012 16:57:37 +0000 (18:57 +0200)]
hantek-dso: fix triggerpoint conversion

11 years agosr: fx2lafw: Fix multistage trigger
Lars-Peter Clausen [Thu, 21 Jun 2012 08:30:38 +0000 (10:30 +0200)]
sr: fx2lafw: Fix multistage trigger

Multistage triggers currently do no work, because there is a return statement
in the middle of the trigger detector which will be hit as soon as the first
stage in a multistage trigger matches. This patch removes the return statement
so that the trigger detector can continue to try to match the next stage. In
order for this to work we also make sure that the trigger stage is only reset
if the current sample does not match.

Signed-off-by: Lars-Peter Clausen <redacted>
11 years agosr/srd/cli: require glib version >= 2.28
Bert Vermeulen [Fri, 22 Jun 2012 23:17:36 +0000 (01:17 +0200)]
sr/srd/cli: require glib version >= 2.28

Needed for g_get_monotonic_time(). Thanks to Tomaž Šolc.

11 years agosr: fx2lafw: Fix memory leaks in receive_transfer
Lars-Peter Clausen [Thu, 21 Jun 2012 08:30:39 +0000 (10:30 +0200)]
sr: fx2lafw: Fix memory leaks in receive_transfer

There are a few memory leaks in the receive_transfer transfer function. The most
serve of them is that a sample buffer is not freed if the triggered has not
matched yet, which causes a sigrok process which is waiting for a trigger to
consume several megabytes of memory within seconds. The other leaks are on the
error paths in that function.

Signed-off-by: Lars-Peter Clausen <redacted>
11 years agosr: ols: Fix incorrect comment.
Uwe Hermann [Thu, 21 Jun 2012 21:59:27 +0000 (23:59 +0200)]
sr: ols: Fix incorrect comment.

11 years agosr: Unfinished Mastech VA18B (DMM) support.
Uwe Hermann [Wed, 20 Jun 2012 17:56:54 +0000 (19:56 +0200)]
sr: Unfinished Mastech VA18B (DMM) support.

11 years agosr: chronovu-la8: Split code into api.c and driver.c.
Uwe Hermann [Thu, 21 Jun 2012 20:36:13 +0000 (22:36 +0200)]
sr: chronovu-la8: Split code into api.c and driver.c.

We should generally use api.c for API related functions and put the other
functions (mostly hardware-specific low-level code) into other C file(s)
for better readability.

11 years agosr: analog: Add MQ and UNIT enums.
Uwe Hermann [Wed, 20 Jun 2012 21:55:23 +0000 (23:55 +0200)]
sr: analog: Add MQ and UNIT enums.

MQ is the measured quantity, e.g. voltage, current, temperature.

UNIT is the unit in which these quantities are measured, e.g. volt,
ampere, celsius, kelvin, etc. etc.

The same MQ can be specified in different UNITs by the driver, depending
on what the hardware reports. Conversion is left to the frontends.

11 years agosr: backend/zeroplus: Improve debug output.
Uwe Hermann [Tue, 19 Jun 2012 21:33:50 +0000 (23:33 +0200)]
sr: backend/zeroplus: Improve debug output.

11 years agosr: new output format 'float', just floating point values
Bert Vermeulen [Tue, 19 Jun 2012 00:05:28 +0000 (02:05 +0200)]
sr: new output format 'float', just floating point values

Also outputs FRAME-BEGIN and FRAME-END, if present in the stream.

11 years agosr: remove unused code
Bert Vermeulen [Tue, 19 Jun 2012 00:04:18 +0000 (02:04 +0200)]
sr: remove unused code

11 years agosr: only handling analog voltage units for now
Bert Vermeulen [Mon, 18 Jun 2012 23:06:02 +0000 (01:06 +0200)]
sr: only handling analog voltage units for now

11 years agohantek-dso: capturestate packet also contains the trigger point
Bert Vermeulen [Mon, 18 Jun 2012 21:09:37 +0000 (23:09 +0200)]
hantek-dso: capturestate packet also contains the trigger point

Not yet used, but it's the key to knowing where in the frame to
start displaying; the frame is used as a circular buffer, and what
is sent is effectively a snapshot.

11 years agohantek-dso: relays now set properly
Bert Vermeulen [Mon, 18 Jun 2012 21:05:02 +0000 (23:05 +0200)]
hantek-dso: relays now set properly

They appear to be arranged to switch on/off a hierarchical series of
devices that attenuate the channel by an order of magnitude.

11 years agosr: hantek-dso: Use portable g_ntohs() function.
Uwe Hermann [Wed, 13 Jun 2012 16:58:24 +0000 (18:58 +0200)]
sr: hantek-dso: Use portable g_ntohs() function.

The ntohs() from <arpa/inet.h> is not available on MinGW/Windows. There
are ways to work around this, but as we use glib already, using g_ntohs()
is the best option anyway.

11 years agohantek-dso: calculate voltage based on vdiv setting
Bert Vermeulen [Tue, 5 Jun 2012 16:17:01 +0000 (18:17 +0200)]
hantek-dso: calculate voltage based on vdiv setting

11 years agohantek-dso: default to DC coupling
Bert Vermeulen [Tue, 5 Jun 2012 16:16:23 +0000 (18:16 +0200)]
hantek-dso: default to DC coupling

11 years agohantek-dso: fix CH2 vdiv setting
Bert Vermeulen [Tue, 5 Jun 2012 16:15:58 +0000 (18:15 +0200)]
hantek-dso: fix CH2 vdiv setting

11 years agosr: add udev entry for Victor 70C multimeter
Bert Vermeulen [Tue, 5 Jun 2012 16:15:04 +0000 (18:15 +0200)]
sr: add udev entry for Victor 70C multimeter

11 years agosr: fix udev rules for Hantek DSO-2090
Bert Vermeulen [Tue, 5 Jun 2012 16:14:23 +0000 (18:14 +0200)]
sr: fix udev rules for Hantek DSO-2090

11 years agosr: add unit field to sr_df_analog packet
Bert Vermeulen [Tue, 5 Jun 2012 15:37:28 +0000 (17:37 +0200)]
sr: add unit field to sr_df_analog packet

11 years agosr: hantek-dso: Consistency renames, constification.
Uwe Hermann [Thu, 31 May 2012 23:12:09 +0000 (01:12 +0200)]
sr: hantek-dso: Consistency renames, constification.

11 years agocli/gtk/qt: Now all require libsigrok >= 0.2.0 (API changes).
Uwe Hermann [Thu, 31 May 2012 22:23:47 +0000 (00:23 +0200)]
cli/gtk/qt: Now all require libsigrok >= 0.2.0 (API changes).

11 years agosr: Increase pkg version to 0.2.0, increase lib version.
Uwe Hermann [Thu, 31 May 2012 22:16:42 +0000 (00:16 +0200)]
sr: Increase pkg version to 0.2.0, increase lib version.

11 years agosr: fx2lafw: Use gboolean, cosmetics, fix gcc warning.
Uwe Hermann [Thu, 31 May 2012 20:46:28 +0000 (22:46 +0200)]
sr: fx2lafw: Use gboolean, cosmetics, fix gcc warning.

11 years agohantek-dso: Update to constified libsigrok API.
Uwe Hermann [Thu, 31 May 2012 20:43:12 +0000 (22:43 +0200)]
hantek-dso: Update to constified libsigrok API.

11 years agohantek-dso: Quickfix for build issue (will be removed later).
Uwe Hermann [Thu, 31 May 2012 20:40:41 +0000 (22:40 +0200)]
hantek-dso: Quickfix for build issue (will be removed later).

11 years agofx2lafw: Added a check to limit the sample rate during 16-bit sampling
Joel Holdsworth [Thu, 10 May 2012 15:34:24 +0000 (16:34 +0100)]
fx2lafw: Added a check to limit the sample rate during 16-bit sampling

11 years agofx2lafw: Added device caps and added support for wide sampling
Joel Holdsworth [Mon, 7 May 2012 15:01:10 +0000 (16:01 +0100)]
fx2lafw: Added device caps and added support for wide sampling

11 years agosr: Made sample rate lists const
Joel Holdsworth [Mon, 7 May 2012 14:07:06 +0000 (15:07 +0100)]
sr: Made sample rate lists const

11 years agosr: Made the dev_config_set parameter a const pointer
Joel Holdsworth [Mon, 7 May 2012 14:02:02 +0000 (15:02 +0100)]
sr: Made the dev_config_set parameter a const pointer

11 years agosr: Made the dev_info_get return value const
Joel Holdsworth [Mon, 7 May 2012 12:35:56 +0000 (13:35 +0100)]
sr: Made the dev_info_get return value const

11 years agosr: Made hwcap const
Joel Holdsworth [Mon, 7 May 2012 12:57:43 +0000 (13:57 +0100)]
sr: Made hwcap const

11 years agohantek-dso: hopefully handle endianness in voltage setting
Bert Vermeulen [Sat, 19 May 2012 23:14:37 +0000 (01:14 +0200)]
hantek-dso: hopefully handle endianness in voltage setting

11 years agohantek-dso: enable SR_HWCAP_COUPLING
Bert Vermeulen [Sat, 19 May 2012 23:11:09 +0000 (01:11 +0200)]
hantek-dso: enable SR_HWCAP_COUPLING

11 years agohantek-dso: support for SR_HWCAP_COUPLING
Bert Vermeulen [Thu, 17 May 2012 01:17:09 +0000 (03:17 +0200)]
hantek-dso: support for SR_HWCAP_COUPLING

11 years agosr: support for SR_HWCAP_COUPLING and SR_DI_COUPLING
Bert Vermeulen [Thu, 17 May 2012 01:16:01 +0000 (03:16 +0200)]
sr: support for SR_HWCAP_COUPLING and SR_DI_COUPLING

11 years agohantek-dso: support SR_HWCAP_VDIV
Bert Vermeulen [Thu, 17 May 2012 00:03:12 +0000 (02:03 +0200)]
hantek-dso: support SR_HWCAP_VDIV

11 years agosr: support for SR_HWCAP_VDIV and SR_DI_VDIVS
Bert Vermeulen [Wed, 16 May 2012 23:55:59 +0000 (01:55 +0200)]
sr: support for SR_HWCAP_VDIV and SR_DI_VDIVS

11 years agosr: add voltage parser and prettyprinter
Bert Vermeulen [Wed, 16 May 2012 23:54:57 +0000 (01:54 +0200)]
sr: add voltage parser and prettyprinter

11 years agosr: use SR_T_RATIONAL_PERIOD (new-style types)
Bert Vermeulen [Wed, 16 May 2012 00:07:51 +0000 (02:07 +0200)]
sr: use SR_T_RATIONAL_PERIOD (new-style types)

SR_T_<type>_<parsehint>

11 years agohantek-dso: support for SR_HWCAP_FILTER
Bert Vermeulen [Tue, 15 May 2012 20:41:00 +0000 (22:41 +0200)]
hantek-dso: support for SR_HWCAP_FILTER

11 years agosr: support for SR_HWCAP_FILTER and SR_DI_FILTERS
Bert Vermeulen [Tue, 15 May 2012 20:39:32 +0000 (22:39 +0200)]
sr: support for SR_HWCAP_FILTER and SR_DI_FILTERS

11 years agohantek-dso: support for setting all CMD_SET_TRIGGER_SAMPLERATE params
Bert Vermeulen [Tue, 15 May 2012 18:56:29 +0000 (20:56 +0200)]
hantek-dso: support for setting all CMD_SET_TRIGGER_SAMPLERATE params

11 years agosr: add period parser
Bert Vermeulen [Tue, 15 May 2012 18:46:14 +0000 (20:46 +0200)]
sr: add period parser

11 years agosr: add support for sr_rational and various HWCAPs and DIs
Bert Vermeulen [Tue, 15 May 2012 18:45:46 +0000 (20:45 +0200)]
sr: add support for sr_rational and various HWCAPs and DIs

11 years agohantek-dso: proper protocol implementation of trigger/samplerate setting
Bert Vermeulen [Mon, 14 May 2012 00:33:37 +0000 (02:33 +0200)]
hantek-dso: proper protocol implementation of trigger/samplerate setting

11 years agohantek-dso: fix channel selection
Bert Vermeulen [Tue, 1 May 2012 18:35:04 +0000 (20:35 +0200)]
hantek-dso: fix channel selection

11 years agohantek-dso: delimit frames with SR_DF_FRAME_* packets
Bert Vermeulen [Mon, 30 Apr 2012 20:29:31 +0000 (22:29 +0200)]
hantek-dso: delimit frames with SR_DF_FRAME_* packets

11 years agosupport for frame begin/end packets
Bert Vermeulen [Mon, 30 Apr 2012 17:55:06 +0000 (19:55 +0200)]
support for frame begin/end packets

11 years agosr: initial support for Hantek 2xxx/5200 USB oscilloscopes
Bert Vermeulen [Sun, 22 Apr 2012 23:05:58 +0000 (01:05 +0200)]
sr: initial support for Hantek 2xxx/5200 USB oscilloscopes

11 years agosr: change all drivers to use SR_DF_META_LOGIC
Bert Vermeulen [Sun, 22 Apr 2012 18:06:19 +0000 (20:06 +0200)]
sr: change all drivers to use SR_DF_META_LOGIC

11 years agosr: SR_DF_ANALOG type, and meta types for analog+logic
Bert Vermeulen [Sun, 22 Apr 2012 16:11:31 +0000 (18:11 +0200)]
sr: SR_DF_ANALOG type, and meta types for analog+logic

11 years agosr: fx2lafw: Forgot to add (C) line to fx2lafw.h in recent commit. libsigrok-0.1.1
Uwe Hermann [Wed, 30 May 2012 21:31:03 +0000 (23:31 +0200)]
sr: fx2lafw: Forgot to add (C) line to fx2lafw.h in recent commit.

11 years agosr: fx2lafw: Only check for correct major FW version.
Uwe Hermann [Wed, 30 May 2012 21:15:23 +0000 (23:15 +0200)]
sr: fx2lafw: Only check for correct major FW version.

Changes in the minor version number are OK, as those should never
contain any incompatible/API changes.

11 years agosr: Consistently use ZEROPLUS spelling.
Uwe Hermann [Wed, 30 May 2012 20:55:03 +0000 (22:55 +0200)]
sr: Consistently use ZEROPLUS spelling.

This is the version used throughout their website, let's use it.

11 years agosr: Fix typos.
Uwe Hermann [Wed, 30 May 2012 20:42:19 +0000 (22:42 +0200)]
sr: Fix typos.

11 years agosr: fx2lafw: Add (C) line from old saleae driver it's based on.
Uwe Hermann [Wed, 30 May 2012 20:40:59 +0000 (22:40 +0200)]
sr: fx2lafw: Add (C) line from old saleae driver it's based on.

11 years agosr: README: Add section about firmware files.
Uwe Hermann [Wed, 30 May 2012 20:23:36 +0000 (22:23 +0200)]
sr: README: Add section about firmware files.

11 years agosr: udev file: Minor fixes/additions.
Uwe Hermann [Wed, 30 May 2012 19:48:40 +0000 (21:48 +0200)]
sr: udev file: Minor fixes/additions.

11 years agosr: NEWS: Minor updates/fixes.
Uwe Hermann [Wed, 30 May 2012 19:36:28 +0000 (21:36 +0200)]
sr: NEWS: Minor updates/fixes.

11 years agosr: Increase version number to 0.1.1.
Uwe Hermann [Wed, 30 May 2012 07:26:15 +0000 (09:26 +0200)]
sr: Increase version number to 0.1.1.

11 years agosr: Update NEWS in preparation of upcoming 0.1.1 release.
Uwe Hermann [Wed, 30 May 2012 07:25:11 +0000 (09:25 +0200)]
sr: Update NEWS in preparation of upcoming 0.1.1 release.

11 years agosr: fx2lafw: s/MAX_RENUM_DELAY/MAX_RENUM_DELAY_MS/.
Uwe Hermann [Wed, 30 May 2012 07:24:01 +0000 (09:24 +0200)]
sr: fx2lafw: s/MAX_RENUM_DELAY/MAX_RENUM_DELAY_MS/.

11 years agosr: fx2lafw: Fix a firmware upload bug on 32bit systems.
Uwe Hermann [Wed, 30 May 2012 07:10:41 +0000 (09:10 +0200)]
sr: fx2lafw: Fix a firmware upload bug on 32bit systems.

The glib GTimeVal data type (and some functions using it) will be faded
out from glib sooner or later, so it's not a good idea to use them anyway.

In this specific case GTimeVal.tv_sec was overflowing, leading a check in
libsigrok to fail, and thus to FX2 firmware upload errors, i.e.
non-working fx2lafw devices.

  http://thread.gmane.org/gmane.comp.debugging.sigrok.devel/166

The root cause is that GTimeVal.tv_sec is a 'glong' (8 bytes on 64bit
systems, but only 4 on 32bit systems).

We now use an int64_t (and g_get_monotonic_time() instead of the more
problematics g_get_current_time() which uses a GTimeVal).

This has been verified to fix the issue on a 32bit system.

Other uses of GTimeVal in libsigrok will be removed in a later release.

Also, drop unneeded GTV_TO_MSEC.

11 years agosr: input/chronovu_la8.c: Add missing #include.
Uwe Hermann [Wed, 30 May 2012 00:27:30 +0000 (02:27 +0200)]
sr: input/chronovu_la8.c: Add missing #include.

This fixes a compiler warning.

11 years agosr: New default firmware dir: $prefix/share/sigrok-firmware.
Uwe Hermann [Tue, 29 May 2012 22:00:33 +0000 (00:00 +0200)]
sr: New default firmware dir: $prefix/share/sigrok-firmware.

We no longer expect firmware files to be in the
$prefix/share/libsigrok/firmware directory, as that would require an
additional (distro) package 'sigrok-firmware' or the like to install
files into another package's (libsigrok) path, which can be problematic.

The current 'sigrok-firmware' repo's "make install" will already install
all files into $prefix/share/sigrok-firmware.

11 years agosr/srd/cli/gtk: ChangeLog -> MAINTAINERCLEANFILES.
Uwe Hermann [Tue, 29 May 2012 18:30:15 +0000 (20:30 +0200)]
sr/srd/cli/gtk: ChangeLog -> MAINTAINERCLEANFILES.

If the (generated) ChangeLog file is marked for DISTCLEANFILES, it'll be
removed whenever "make distclean" is called (and is then gone forever if
you use the tarballs, for example).

11 years agosr: la8 in: Files must be exactly 8388613 bytes.
Uwe Hermann [Mon, 28 May 2012 22:21:21 +0000 (00:21 +0200)]
sr: la8 in: Files must be exactly 8388613 bytes.

All ChronoVu LA8 files (*.kdt extension usually) are exactly 8388613
bytes in size (8MB + 5 bytes). Check this, when trying to autodetect the
file format, to reduce the likelihood of 'chronovu-la8' being
autodetected on all binary files (instead of 'binary').

11 years agosr: ARMFLY AX-Pro is supported by fx2lafw (LA only).
Uwe Hermann [Mon, 28 May 2012 21:40:12 +0000 (23:40 +0200)]
sr: ARMFLY AX-Pro is supported by fx2lafw (LA only).

12 years agosr/srd/cli: Fix compiling with Homebrew.
Pekka Nikander [Fri, 11 May 2012 16:23:21 +0000 (19:23 +0300)]
sr/srd/cli: Fix compiling with Homebrew.

Add ACLOCAL_DIR setting and AM_PROG_AR macro for compiling with Homebrew
under Mac OS X.

Applies essentially the same change to
{libsigrok,libsigrokdecode,sigrok-cli}/{autogen.sh,configure.ac}

It may be that the same fix is needed for the other autogen.sh and/or
configure.ac files, but that hasn't been tested and therefore not in
this commit.

12 years agoNEWS: Add some news items.
Uwe Hermann [Thu, 10 May 2012 19:27:17 +0000 (21:27 +0200)]
NEWS: Add some news items.

12 years agofx2lafw: Cosmetics.
Uwe Hermann [Thu, 10 May 2012 22:19:01 +0000 (00:19 +0200)]
fx2lafw: Cosmetics.

12 years agofx2lafw: Added a gpif delay debug message
Joel Holdsworth [Mon, 7 May 2012 15:44:25 +0000 (16:44 +0100)]
fx2lafw: Added a gpif delay debug message

12 years agofx2lafw: Added support for 20kHz and 25kHz sampling
Joel Holdsworth [Mon, 7 May 2012 15:42:50 +0000 (16:42 +0100)]
fx2lafw: Added support for 20kHz and 25kHz sampling

12 years agofx2lafw: Added support for 100kHz and 50kHz sampling
Joel Holdsworth [Mon, 7 May 2012 11:40:52 +0000 (12:40 +0100)]
fx2lafw: Added support for 100kHz and 50kHz sampling

12 years agosr: fx2lafw: Get/display FX2 REVID.
Uwe Hermann [Sun, 6 May 2012 17:54:46 +0000 (19:54 +0200)]
sr: fx2lafw: Get/display FX2 REVID.

12 years agosr: fx2lafw: Braintechnology USB-LPS support.
Uwe Hermann [Sun, 6 May 2012 15:13:49 +0000 (17:13 +0200)]
sr: fx2lafw: Braintechnology USB-LPS support.

12 years agosr: We support both SIGMA and SIGMA2.
Uwe Hermann [Wed, 2 May 2012 17:02:03 +0000 (19:02 +0200)]
sr: We support both SIGMA and SIGMA2.

Also, a few minor coding-style fixes etc.

12 years agosr: udev: Add Ideofy LA-08 entry.
Uwe Hermann [Tue, 1 May 2012 17:09:06 +0000 (19:09 +0200)]
sr: udev: Add Ideofy LA-08 entry.

12 years agosr: udev: Add Velleman PCSU1000 entry.
Uwe Hermann [Tue, 1 May 2012 17:05:09 +0000 (19:05 +0200)]
sr: udev: Add Velleman PCSU1000 entry.

12 years agosr: udev: Fix alphabetical order.
Uwe Hermann [Tue, 1 May 2012 17:03:44 +0000 (19:03 +0200)]
sr: udev: Fix alphabetical order.

12 years agosr: udev: Add Robomotic BugLogic 3.
Uwe Hermann [Tue, 1 May 2012 17:00:28 +0000 (19:00 +0200)]
sr: udev: Add Robomotic BugLogic 3.

12 years agofx2lafw: use iManufacturer/iProduct fields to identify our firmware
Bert Vermeulen [Thu, 26 Apr 2012 23:28:47 +0000 (01:28 +0200)]
fx2lafw: use iManufacturer/iProduct fields to identify our firmware

It's more deterministic than the endpoint profile check we did before. Which
was also broken.

12 years agosr: zeroplus: Fix segfault, add debug output.
Uwe Hermann [Thu, 26 Apr 2012 21:18:05 +0000 (23:18 +0200)]
sr: zeroplus: Fix segfault, add debug output.

There are various ZEROPLUS models with different probe numbers. For now
hardcode to 16 (for the popular LAP-C(16032)). This will need to be
fixed in a dynamic way later.

This fixes a segfault due to only 16 probe-names being defined, but the
drivers returning 32 as probecount.

Also, add some additional debug output.

12 years agosr: don't use deprecated glib functions
Bert Vermeulen [Mon, 23 Apr 2012 13:31:41 +0000 (15:31 +0200)]
sr: don't use deprecated glib functions

As of the recent glib 2.32 release, these produce deprecation warnings
at compile time.

12 years agosigma: Fix segfault when no Sigma present.
Håvard Espeland [Mon, 23 Apr 2012 11:36:17 +0000 (13:36 +0200)]
sigma: Fix segfault when no Sigma present.