Bert Vermeulen
b1a051544d
serial: more serial processing flags to turn off
2013-01-23 02:32:58 +01:00
Bert Vermeulen
08a9260ba4
Header cleanup: remove unused structs.
2013-01-22 11:18:18 +01:00
Bert Vermeulen
431ec7ca4a
uni-t-dmm: use new sr_config struct
2013-01-21 23:40:09 +01:00
Bert Vermeulen
1953564a96
Rename SR_HWOPT_* and SR_HWCAP_* to SR_CONF_*
2013-01-21 23:32:50 +01:00
Bert Vermeulen
c89c1c9c21
Unify all SR_HWOPT_* and SR_HWCAP_* enums.
...
Only two functions remain for accessing meta info on the keys:
sr_config_info_get() and sr_config_info_name_get().
2013-01-21 23:32:49 +01:00
Bert Vermeulen
63b9e16e7e
No need to send a metapacket when loading a sigrok file.
2013-01-21 23:32:49 +01:00
Bert Vermeulen
c71bac3b98
Adjust session debugging to the new SR_DF_META packets.
2013-01-21 23:32:49 +01:00
Bert Vermeulen
fbf394c617
Deprecate SR_HWOPT_MODEL
...
This was only ever used for the defunct genericdmm driver.
2013-01-21 23:32:49 +01:00
Bert Vermeulen
083d64f94f
Use new struct sr_config_info for option metadata
2013-01-21 23:32:49 +01:00
Bert Vermeulen
4c0e310ca3
Add small helper for creating struct sr_config
2013-01-21 23:32:49 +01:00
Bert Vermeulen
72e435ab94
Adjust option helpers to new sr_config struct
2013-01-21 23:32:49 +01:00
Bert Vermeulen
2df1e81970
Use new SR_DF_META packet.
...
Since input modules determine a samplerate by reading from their
file format (or having it overridden with an option), they need
to pass this up to the frontend.
2013-01-21 23:32:49 +01:00
Bert Vermeulen
d8e3685c47
free USB config descriptor after use
2013-01-21 23:32:49 +01:00
Bert Vermeulen
1987b8d63e
drivers: use new sr_config struct
...
Sending an SR_DF_META packet at the start of every stream is not
mandatory; the frontend should ask for what it needs, and any extra
information the driver wants to send will come in due time.
2013-01-21 23:32:49 +01:00
Bert Vermeulen
9a5693a5ac
unify sr_datafeed_meta_* into one struct containing sr_config
...
struct sr_config is the new name for sr_hwopt. Its companion meta
struct, sr_hwcap_option, was renamed sr_config_info.
2013-01-21 23:32:49 +01:00
Uwe Hermann
86c02e6554
serial.c: Fix copy-paste error.
...
Thanks Bert Vermeulen for reporting.
2013-01-21 01:47:30 +01:00
Uwe Hermann
9d8fde40c3
uni-t-dmm: Quickfix for UNI-T UT61D.
...
This is a temporary fix only, since a major rework of uni-t-dmm is being
done at the moment, soon to be merged.
2013-01-21 01:45:02 +01:00
Uwe Hermann
5edc02c77c
Add missing "ULL" suffixes.
...
These numbers are larger than 32bit, mark them as ULL to avoid compile
failures on 32bit systems.
2013-01-20 20:39:18 +01:00
Uwe Hermann
73365eaed0
uni-t-dmm: Expose hwopts.
2013-01-20 19:57:04 +01:00
Uwe Hermann
388f9d3e25
uni-t-dmm: Fix scanning, properly use new sr_usb_find().
2013-01-20 19:55:33 +01:00
Uwe Hermann
4ebd48b352
Remove non-error hw_info_get() messages.
...
Currently hw_info_get() can receive requests for entries (info_id) that
the specific driver doesn't support. That is (right now) a valid
use-case and not an error (might change later, though).
Thus, for now, don't output messages for such requests at all (certainly
not as sr_err() where they show up in e.g. sigrok-cli output per default).
2013-01-20 18:48:02 +01:00
Uwe Hermann
a978eda2c9
udev: Add UNI-T UT-D04 multimeter cable entry.
2013-01-20 18:47:35 +01:00
Uwe Hermann
7d39e2105f
configure.ac: Drop AC_PROG_CXX.
...
We don't need a C++ compiler for libsigrok, so don't check for one.
This would cause a build failure on all systems where there is a C compiler
but no C++ compiler installed.
2013-01-19 21:20:56 +01:00
Uwe Hermann
294245ecf2
README: Document alsa (optional) library.
2013-01-19 19:13:52 +01:00
Uwe Hermann
b97cbca6c9
serial.c: OpenBSD doesn't have B460800.
2013-01-19 15:55:22 +01:00
Uwe Hermann
262dd3e47d
configure.ac: Drop gthread check, no longer used.
...
We no longer use gthread (its only user was the 'demo' driver), so drop
the 'configure' check for it.
The libsigrok.pc pkg-config file is still correct, since the 'configure'
result propagates there automatically.
2013-01-16 01:31:46 +01:00
Uwe Hermann
3d6de074a4
alsa: Silence ALSA scanning process.
...
Errors while opening or configuring ALSA devices during scan for devices
should not be shown by default (i.e., no sr_err() usage). Non-working
or non-accessible devices (due to permissions or other reasons) will
simply not show up in frontends. Use sr_dbg() instead of sr_err().
2013-01-16 00:02:24 +01:00
Bert Vermeulen
6b8d6f93bb
Get rid of obsolete SR_DI_NUM_PROBES and SR_DI_PROBE_NAMES.
...
Frontends should use the probe list in the device's sr_dev_inst
to get this information.
2013-01-15 17:42:23 +01:00
Uwe Hermann
bd58d8f3ec
Makefile.am: Fix typo in 'ChangeLog' target.
2013-01-14 11:13:58 +01:00
Bert Vermeulen
8a22e8c0ff
cosmetics
2013-01-14 00:59:46 +01:00
Bert Vermeulen
dbf2482ec1
add --disable-all-drivers option
...
Can be overridden by driver --enable options to build only those drivers.
2013-01-14 00:52:55 +01:00
Bert Vermeulen
512bb890df
rigol-ds1xx2: More selective Rigol DS1xx2 scan
...
Patch submitted by Martin Ling.
2013-01-13 22:42:21 +01:00
Bert Vermeulen
5635705c83
cleanup of obsolete definition
2013-01-13 18:07:05 +01:00
Bert Vermeulen
18bc270461
sr_session_save(): don't use datastore
2013-01-08 14:14:44 +01:00
Bert Vermeulen
6936ee4206
remove datastore functionality
...
Keeping a copy of acquired data is up to the frontend, not libsigrok.
2013-01-08 14:14:44 +01:00
Bert Vermeulen
305de92e9d
use a dynamically expanding probe list
2013-01-08 14:14:44 +01:00
Alexandru Gagniuc
cbc80f8f8a
fx2lafw: Say if chip is old FX2 or FX2LP
...
Look at the extracted REVID, and print out if it is an FX2 (non-LP), or FX2LP.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2013-01-08 03:44:36 +01:00
Uwe Hermann
a24e9d0484
link-mso19: Use more portable g_htons().
...
Not all systems provide <arpa/inet.h> and/or htons(). Use portable and
always available g_htons() from glib instead.
2013-01-08 03:13:45 +01:00
Uwe Hermann
753d722f34
link-mso19: Fix a bunch of compiler warnings.
2013-01-08 03:13:14 +01:00
Uwe Hermann
00b44ccb8b
link-mso19: Fix white-space, cosmetics, coding-style.
...
Fix the bare minumum of whitespace/indentation/coding-style via
automatic 'indent' run, followed by some minor manual fixes.
Some more fixes and cleanups might follow later.
2013-01-08 03:13:08 +01:00
Uwe Hermann
f48cef7897
link-mso19: Fix (C) lines.
...
Bring back the original (C) lines from before the split into api.c
and protocol.[ch].
Add "Copyright (C) 2013 Lior Elazary <lelazary@yahoo.com>" since there
were nontrivial changes to those files.
2013-01-08 02:30:40 +01:00
Uwe Hermann
8472ae868e
configure.ac: Enable Link Instruments MSO-19.
...
This driver now compiles again and (partially) seems to work, so enable it.
2013-01-08 01:27:11 +01:00
lelazary
eb913174ab
Added limit samples Eveything seems to work find up to 1024 samples
2013-01-08 01:00:14 +01:00
lelazary
087a9161ff
Rewrote the trigger config. Added trigger position and trigger slope
2013-01-08 01:00:14 +01:00
lelazary
5a24e89ca4
Eveything seems to work now except for triggers.
2013-01-08 01:00:14 +01:00
lelazary
4db2aaffe7
More cleanup. Communication with mso19 is working, but its not triggering. Need to check why.
2013-01-08 01:00:13 +01:00
lelazary
26ddb5baca
Added flow control to serial configuration to support xon/xoff for link-mso19
2013-01-08 01:00:13 +01:00
lelazary
4b719338cc
Added missing mso functions
2013-01-08 01:00:13 +01:00
lelazary
def5c35c4c
Removing the old link-mso19 files and changing makefile
2013-01-08 01:00:13 +01:00
lelazary
df92e5cf6b
Rewrote the link-mso19.c into api and protocol. Still need to test and cleanup some more
2013-01-08 01:00:13 +01:00