DSView/libsigrok4DSL/ChangeLog
2019-09-09 00:07:19 -07:00

12055 lines
380 KiB
Plaintext
Executable File

commit 26aec7fdc4c5d1f3e7ec6c373b16b6605b4a6e38
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 25 19:01:54 2013 +0200
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.
commit a4fdbbe1c2d9e95982c48aea46773affd6812ec8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 4 15:55:11 2013 +0200
Doxyfile: Set version number to 0.2.0.
commit 7c3e7b43067d14fc717a0bf825e57ed959032771
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 4 15:22:45 2013 +0200
udev rules file: Add entry for the ZEROPLUS LAP-16128U.
commit 048e8babf73565721707dd9e9ecf4f915941d23e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 4 15:17:50 2013 +0200
NEWS: Minor update.
commit 6941f84568b0e362decdc25e6aecaf304dc670bb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 4 15:12:20 2013 +0200
Fix libsigrok lib version (current:revision:age).
The last release (libsigrok 0.1.1) had a lib version of 0:0:0.
This release thus gets 1:0:0 according to the libtool manual guidelines.
commit c5ffac414899eb7f0e187b8eb9d61e381d40f0a6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 4 00:07:34 2013 +0200
uni-t-dmm: Add missing SR_CONF_LIMIT_MSEC support.
commit 29a27196a13de2ffd9b671185e4b464b9db9b549
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 21:59:32 2013 +0200
s/DRIVER_LOG_DOMAIN/LOG_PREFIX/.
This is more correct anyway, and also a bit shorter and more readable.
commit 06c45a66f76f986cd845a05fdee36956b1339621
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 14:03:49 2013 +0200
Minor whitespace fixes.
commit e6b2b4df9dcfaf9eb6fa10f94e0aa5e039230e21
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 2 23:37:23 2013 +0200
README.devices: Document how to make some DMMs log.
commit 456dfd9f704885c8ffbeb5dd1c2b281d27fff053
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 2 19:03:47 2013 +0200
NEWS: Various updates and minor fixes.
commit a0c7e23ad871c0e77dd8632c76f87bec1c6fd002
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 2 17:37:55 2013 +0200
Fix the build when libusb is not available.
Thanks Simon Richter <Simon.Richter@hogyros.de> for reporting.
commit 3a277f3b2b01da3d7d1e26ddbb30471db68fc11c
Author: Bert Vermeulen <bert@biot.com>
Date: Wed May 1 14:54:44 2013 +0200
Deal with uninitialized drivers
commit c2fa697afa86a8e6f37bef13acb5b8532714274e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 03:16:47 2013 +0200
serial-dmm: Add Tecpel DMM-8060 support.
commit b38e08fbb7b6fec5ff22495f13f039b1f7218361
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 03:13:15 2013 +0200
serial-dmm: Add Tecpel DMM-8061 support.
commit 4554314c4f72d8df69b7236cb19d15a00fdceaeb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 03:04:46 2013 +0200
uni-t-dmm: Add Tecpel DMM-8060 support.
This is _very_ likely to be a rebadged Voltcraft VC-820, treating as such.
commit b6bad47c91a7cbc19571cbe49918a0612ad2babe
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 03:00:08 2013 +0200
uni-t-dmm: Add Tecpel DMM-8061 support.
commit 2451a20ff5137d178ed4a02ee04076c6eae97235
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 02:10:56 2013 +0200
fs9721: Factor out common code from serial-dmm.
These functions are FS9721 specific (and DMM specific), and can be used
from various drivers (e.g. serial-dmm or uni-t-dmm or possibly others).
commit 48535594664cc5d55db428cd8ca5ffba328be05a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 01:56:30 2013 +0200
uni-t-dmm/serial-dmm: Handle Voltcraft VC-840 temperature.
commit ad00a54da6a17c881881d2ed7a3f3fe41170fa26
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 01:02:46 2013 +0200
fs9922: Fix beep mode.
commit 649a4cd672e5ea14707c4591dd0426fdd87ddd5a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 01:00:54 2013 +0200
fs9922: Fix diode mode parsing.
commit 767aae30edce24c9e5b8b6e083653b2f68dbc922
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 30 20:28:29 2013 +0200
uni-t-dmm: Fix incorrect UNI-T UT61D baudrate.
commit 695d0e1efa819dc98914ce1baec388c8734e98a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 30 20:27:04 2013 +0200
uni-t-dmm: Add support for the Voltcraft VC-840.
This DMM is already supported via the serial-dmm driver when using the
RS232 cable. The uni-t-dmm support makes it usable with the USB/HID
cable too.
commit bbef5e326de1669b039413d8753fceda7281e936
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 29 20:23:21 2013 +0200
uni-t-dmm: Add support for the UNI-T UT61E.
This DMM is already supported via the serial-dmm driver when using the
RS232 cable. The uni-t-dmm support makes it usable with the USB/HID
cable too.
commit ae3a59de62e5912d68d8738a78a4403146cbfda5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 29 20:15:02 2013 +0200
serial-dmm: Add support for the UNI-T UT61D.
This DMM is already supported via the uni-t-dmm driver when using the
USB/HID cable. The serial-dmm support makes it usable with the RS232
cable too.
commit 3ece1dff6ce9d29021215a1aa4a4ae8cff25aa49
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 28 08:13:15 2013 +0200
uni-t-dmm: Use sr_dev_inst to store connection handle.
commit d9a7c349ed731f826b166c12f6d03dbd973cc0ec
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 28 08:01:51 2013 +0200
brymen-dmm: Use sr_dev_inst to store connection handle.
commit af51a7718eb22e9630107af814db6ae9f179a969
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 30 16:03:37 2013 +0200
output: Use sr_config_get() wrapper
This obviates the need for a valid driver, and thus makes converting
from any (non-sr) input format to any output format possible; the only
thing missing is the samplerate.
Fixes bug 105.
commit 0a7da5f8c9f1c6656672152ad48d76b5a4cd7ecd
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 30 09:55:44 2013 +0200
fx2lafw: Keep track of our own libusb fds
commit 037286445116d0f4f7f9b16a4a7353f3be207ff0
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 30 00:04:39 2013 +0200
Don't remove stray source from the session after stopping
It's up to the drivers and frontends to remove the sources they
added to the session.
Also don't tell the driver about a forced session stop more than
once, because it's sloppy.
Fixes bug 62.
commit 2a67abfe349f26f0cc9d34e36f48b250cb9cac50
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 29 19:02:26 2013 +0200
fx2lafw: Properly initialize operational state before acquisition
commit 0f75d6f5a9b5d9d479dc03d67a8c828f99dce8f0
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 29 12:39:26 2013 +0200
ols: Don't close serial port after acquisition is done
commit 681803dfdeeaae66c48d6c45da194be0c6789deb
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 28 22:35:42 2013 +0200
Don't try to close devices when removing them from the session
That's the frontend's job.
commit 115f82939661da6ad2d26d5ceca709bbc0ad25b5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 22 21:57:51 2013 +0200
NEWS: Add most important items since last release.
commit a5e44c3247ae64ab1a65e7c6ebe6d66c6ab0a0a1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 24 19:14:52 2013 +0200
tondaj-sl-814: Use sr_dev_inst to store connection handle.
commit 44f91e29509125a54cfd975689e6d10379645f08
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 27 19:06:27 2013 +0200
unittests: Disable a broken test for now.
commit 50c604f50bf33e68ac67caa8ebad20b87b3aacc1
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 27 18:27:32 2013 +0200
Don't automatically clear known instances from USB drivers on scan
This invalidates previously returned sr_dev_inst pointers, which a
frontend may be holding. It's the frontend's responsibility to clear
the list of instances a driver keeps track of by calling
sr_dev_clear(driver);
if it wants a completely new scan done.
commit c2523f221364c0df51b8093693a246a713633912
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 27 18:24:50 2013 +0200
Explicitly initialize all struct parameters on init
commit 17f63de642c3cb613f91eabd2e19ebed6785f755
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 27 17:29:46 2013 +0200
Fix output API receive() function
This changes the new output API's recv() to receive(), and has it
return an integer status code. The output of the function, if any,
is stored in a new parameter as a pointer to a newly allocated GString.
All output modules using this API have been adjusted.
commit 9c48c2e91ecdb4b0ce364f55084e8f882b7a3bf1
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 23:20:33 2013 +0100
Remove SR_MAX_NUM_PROBES, which is now no longer used.
commit a1be7b6c3f1f00644bdae96317f14b99fe31cf3d
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 23:16:30 2013 +0100
vcd output: Replace fixed length array of indices with GArray.
commit d601c0e9b37be9174c8a4447aa05aeb7be82be73
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 23:00:51 2013 +0100
vcd output: Eliminate unnecessary array of probe names.
commit 90f680ff006e5ae2fd4935bd885a14bd9927fd99
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 22:50:09 2013 +0100
gnuplot: Eliminate fixed-size header buffer based on max probes.
commit deb09083385deab1a8afc2a585200de043444464
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 22:29:41 2013 +0100
gnuplot: Remove unnecessary array of probe names.
commit 1c5b099a1312ae64307fb7d9a0030643936a3636
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 22:26:14 2013 +0100
csv: Remove unnecessary array of probe names.
commit 91a44f50f0817b32c869f9623b86a6e698ba8e19
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 22:20:05 2013 +0100
chronovu-l8: remove unused array of probe names.
commit d53e4e8d92242488642211f441dacba29937104d
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 22:14:57 2013 +0100
text: Use a GSList of enabled probe names, not an array.
commit db9679afc9f46bdf038efabd3ac69983d15f89cf
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 20:52:25 2013 +0100
vcd input: Use a GSList rather than fixed size array of probes.
commit b050fc481bf8fc2a55277cc3fc3b62121932e1bb
Author: Martin Ling <martin-git@earth.li>
Date: Sat Apr 27 00:13:02 2013 +0100
vcd output: fix for big-endian architectures.
commit 9c178ffa50da5bd6978d26989b79936dc341f308
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 23:57:44 2013 +0100
gnuplot: fix for big-endian architectures.
commit 3292535c878ec82756c122facddf61bbd81bec18
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 27 14:24:47 2013 +0200
output/ols: Use new API
This now properly supports samplerate changes coming in from
SR_DF_META packets, and also fixes bug 99.
commit 409a811b8c078341185badadda8f4be380a5f88d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 27 10:49:52 2013 +0200
error.c: Add SR_ERR_DEV_CLOSED.
commit 3a581560f1288b4cecc4ab885c85ac7603dd21db
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 21:35:18 2013 +0100
ascii: fix for big-endian architectures.
commit ddb292571d03ee2e13100d749edcf0dceed5d9a2
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 21:22:36 2013 +0100
bits: Remove unused code.
commit 9275d232089be359ad6ffe3a7b65d6230ff912b3
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 21:17:36 2013 +0100
hex: fix for big-endian architectures.
commit 542dbd185b2e01e61df8a70a2ab850f5cfe03271
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 21:14:00 2013 +0100
bits: fix for big-endian architectures.
commit b9470914d045f05e445e9f25a3b4f0cc79bc6681
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Apr 26 22:17:41 2013 +0200
Remove sr_rational
commit bc653a56781de54f90e9fb08b39e6c9a596cc6af
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 26 23:39:24 2013 +0100
uni-t-dmm: Do proper detection of packets in the stream.
Also, various fixups in the driver.
commit c8852687778a33b9de218af800eec4ae7e3848a6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 19 19:01:54 2012 +0100
uni-t-dmm: Make driver more similar to serial-dmm.
commit 7381251e33611b6c06f3adedfcf2e1943453670e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 26 19:56:02 2013 +0200
common/dmm: Drop obsolete *is_packet_start() functions.
commit 913abe83214f68d1743c555aa3fbe112db48a0cb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 19 22:47:26 2012 +0100
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.
commit 6d0369591b7b30009bf497a5bb285afc7f431ad8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 26 13:35:19 2013 +0200
README: Add "Copyright and license" section.
commit 695f32d89d678b20896e34affc74b4363b686387
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 26 10:47:34 2013 +0200
Bring back link-mso19/nexus-osciprime for now.
This patch will be re-introduced later.
commit 9d1164f9a12c218def0e898e4d28fcd55f2fa8cd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 25 19:01:54 2013 +0200
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.
commit 8d3764aacad94d4bf44cbfdfd4a45dad995eeb33
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 25 17:42:20 2013 +0200
README.devices: Fix typo.
commit 0e77b7cab31186b35d461e7d4ad3ce8a577857ee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 25 00:15:49 2013 +0200
python: Add Session.open_device().
commit 57dd5e63ecc6cad49f31f94ed0ef9a5336330c4a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 24 23:43:56 2013 +0200
python: sr_config's value field is called 'data'.
commit 3124e80bfe6189d52c5aec9a8c1cacb6ee852b91
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 24 17:48:04 2013 +0100
python: Support keyword arguments to scan()
commit f245b7669e7ffb7591dc1b1b7087e4352738c84d
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 24 17:47:40 2013 +0100
python: Add a ConfigKey class.
commit 05cfe1147a9f85d9d3db41d6025c708898a66be9
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 24 14:47:07 2013 +0100
python: Add conversion functions to/from GSList *
commit bd7bfe8c5140d459092f93f9ffc3130a487f5d58
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 24 23:06:50 2013 +0200
Open virtual device before loading file
commit e73ffd4238c6d1be58d3fcdcf7f100200f033856
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 23 15:14:42 2013 +0200
Enforce open device before config_set()/dev_acquisition_start()
commit efdecf4c0553ce00ea2a6365212f5fe305496fed
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 23 00:21:57 2013 +0200
Add sr_dev_open()/sr_dev_close()
Frontends will be required to open a device before using
sr_config_set() or starting acquisition.
commit 46a743c1fa77b1b68ada2b642c095b4f9034edce
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 24 19:07:46 2013 +0200
Whitespace fixes
Damn editor.
commit a31a4d371f3c3925a9d3a0eefa472147e7b36748
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 24 03:05:25 2013 +0200
fx2lafw: Minor cleanup
commit 294dbac724d5b36acea17366057bb81c70a265bb
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 24 03:04:12 2013 +0200
hantek-dso: Support conn scan parameter
commit cc9fd2d29c5ff4ab2509b6bb5b33a16304fafa55
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 24 02:09:49 2013 +0200
rigol-ds1xx2: Code cleanup
commit 9bd4c95606668bdc58a6df3c30bcd91f288a4ea9
Author: Martin Ling <martin-git@earth.li>
Date: Mon Apr 22 16:12:06 2013 +0100
rigol-ds1xx2: Use common serial code.
commit ca55277ca8bed14dd569b793dc578212898bb1fb
Author: Martin Ling <martin-git@earth.li>
Date: Mon Apr 22 14:59:55 2013 +0100
rigol-ds1xx2: Accept SR_CONF_CONN.
commit 886bd5e05686617c928be2d600ce91ed298a2331
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 23 23:06:02 2013 +0200
mic-985xx: Use sr_dev_inst to store connection handle.
commit 31e537725096d578e12923b811d2da79187363e4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 23 22:54:02 2013 +0200
Fix minor warning with some compilers.
commit 50985c2019b2b5a6ce394589d89ee925b4f5e3a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 23 22:24:30 2013 +0200
GPL headers: Use correct project name.
commit 1e1bfcd0fef7c397b3d8fc6cd244263e6828a5da
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 23 19:07:15 2013 +0200
serial-dmm: Use sr_dev_inst to store connection handle.
commit 625cc7834a26333b77f4a43f3c74b4aba3f41627
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 23 10:05:48 2013 +0200
More python build stuff to ignore
commit f99e32affc3a18a2a6b45c988bc440013a8b2e4e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 22 15:55:06 2013 +0200
sr_dev_inst_*() -> sr_dev_*()
commit 609bfd753c4a813791a6f678f545940c6d331c20
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 22 15:00:04 2013 +0200
zeroplus-logic-cube: Use sr_dev_inst to store connection handle
commit 459a0f2623686472b134735ae37a52f0d61d715e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 22 13:40:40 2013 +0200
ols: Use sr_dev_inst to store connection handle
commit 2e5b73c00c7329c9b6ef7bf8f626a22884eac5c0
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 22 13:33:31 2013 +0200
ols: Fix stack clobbering at start of acquisition
This off-by-one was clobbering the stack since introduced in a803c0db4d58.
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.
commit 919681f0e8b4681b2af64db72abc1945f3b4adb2
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 22 01:07:35 2013 +0200
fluke-dmm: Use sr_dev_inst to store connection handle
commit aa7066353c9a54d90695fca3b303e1476dd772fd
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 22 00:27:11 2013 +0200
colead-slm: Use sr_dev_inst to store connection handle
commit fb3a15059938770a064fb7d35a813cfa20d8e363
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 21 21:44:31 2013 +0200
agilent-dmm: Use sr_dev_inst to store connection handle
commit e31d410d26c7377de83d46c1ce80525e2dc7d23b
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 20:42:22 2013 +0100
rigol-ds1xx2: fix delay time.
commit 1e2bd8af128529d686fb1ac449334a21b74d4fc0
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 19:52:09 2013 +0100
python: fix Fraction -> GVariant tuple conversion.
commit d2e0b1fa71b90faf1f7e77b72627868baf5e9135
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 13:17:40 2013 +0100
rigol-ds1xx2: better error handling in hw_scan.
commit 8bb2981df075082071b3edf2426a3444109726f0
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Apr 19 21:19:54 2013 +0200
victor-dmm: Allow configuration before the device is opened
commit 522a34343f78eb55ff7213e34ff3e002867dbad3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 20 13:43:48 2013 +0200
Drop obsolete g_match_info_unref() workaround.
We hard-depend on glib >= 2.32.0 now anyway, so this is no longer needed.
commit ac070c7744471350e38836a58dd565750d96ce7f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 19 20:19:14 2013 +0200
Add initial, lowlevel Ruby bindings.
commit 91bea31f6bff799f90fc21201312505d37441981
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 19 17:41:44 2013 +0100
python: unify pkg-config calls in setup.py.
commit 0cd466ccd8f1149883f535868650d4236d0b7ab4
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 19 17:30:44 2013 +0100
python: Use --cflags-only-I to get includes in setup.py.
commit 9bbd6a6a0d8747538db2e1ef03e52e4fdcadfaa2
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 19 16:57:13 2013 +0100
python: Add classes for values of API enums.
commit 816aed6c9157721c7123f1f29fe01f353278af22
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 19 13:15:51 2013 +0200
python: Add a Log class to control libsigrok logging.
commit 0021b077416c09dc72bef411e3768bbe87afdf56
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 19 11:58:40 2013 +0200
python: config_get() now returns SR_ERR_NA.
commit ac046ef8cf64098fc20030fe60b345cd563f72f8
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 18 22:48:09 2013 +0200
victor-dmm: Support SR_CONF_CONN
commit 0f1506497b615b3c935b9a7bce9af85390a09d24
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 18 22:30:10 2013 +0200
lascar-el-usb: Support SR_CONF_CONN
commit e2033d491753c5746ddbc0b8f29a5aa56c297ac3
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 18 21:37:38 2013 +0200
hantek-dso: Consistently return SR_ERR_ARG if sdi is needed
commit 38ab8dbec8b1944e06dd3a809229b106c5e628df
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 18 21:36:25 2013 +0200
fx2lafw: Consistently return SR_ERR_ARG if sdi is needed
commit c2ec42ce938bc38bfd72ca3959611baab326530a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 18 17:45:17 2013 +0200
python: Add further properties to Analog class.
commit 15574a3cecc14dcbed38464317e37ac9cfe2d220
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 17:48:39 2013 +0100
python: Add Analog class.
commit 624f5b4c1e329e74d6bb6e7fc0fce27945506567
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 18 01:21:57 2013 +0200
hantek-dso: Support config_get(SR_CONF_CONN)
commit 89befd46a8a12b0ba7867e73f7aec77a7dfc0add
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 18 01:15:37 2013 +0200
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.
commit 3bc55222c8503703ac76bc61fb9a5d2c101f0ed7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 17 17:26:46 2013 +0200
python: Add missing license headers.
commit 08d59537c353c6980c5e9a0f8b0039f2ab5b0ba5
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 15:38:33 2013 +0100
python: fix cdata to work with Python 3.x.
commit 1cad2115477176001f44cbe8a46a3c74e650f866
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 15:37:58 2013 +0100
python: Fix syntax to support Python 3.x.
commit d8f6e041aa109f328612f6d7301411abde9e5134
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 14:30:31 2013 +0100
python: Add high level API.
commit a8d162f6d33f2d5112193d6539a08e9b7beac4d7
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 14:03:38 2013 +0100
swig: Wrap additional GVariant operations.
commit cccb59914799002df75299ec98da132fcccfaac0
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 14:01:19 2013 +0100
python: Release GIL during libsigrok calls.
commit a25932e08c6b7424fec07bb2295fadd613294075
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 13:59:30 2013 +0100
python: Adding callback can fail, and refcount must be incremented.
commit 0220626994c6bac7bce967fe6dc8804667cce03e
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 03:50:27 2013 +0100
python: use setuptools and put bindings into sigrok.core.lowlevel.
commit d0eec1eea17c62d731e44fc0b3b436b78d0df718
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 17 01:08:18 2013 +0200
hantek-dso: Mark connection as USB
commit 949b3dc0916eed68ba6f3878300feb61ad858014
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 17 00:49:18 2013 +0200
hantek-dso: Use std_dev_clear()
commit 72f9d6dc5e4fb4bcc33c70e601f643d0ce5d1f3e
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 17 00:42:06 2013 +0200
fx2lafw: No device context internals to clear
commit ae5859fff08a8ccc8cba081d7500f75cc46114f7
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 17 00:41:01 2013 +0200
Allow for sdi->priv helper function in std_dev_clear
commit c118080b1db555c1eb226ea783fc186602c20315
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 16 23:15:34 2013 +0200
hantek-dso: Store USB connection in sr_dev_inst
commit 9bb2f327a9dd482f609b10e34f72e57816cd4531
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 22:19:00 2013 +0200
Python bindings: Small fix for Python 3 support.
commit 415e6389ce2d57e9559a04f0e3523d111843a618
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 15:42:45 2013 +0200
chronovu-la8: Fix incorrect 0Hz samplerate being reported.
This closes bug #93.
commit 250a78c7d5d049edd8c4f792f9eee56eae773a0b
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 16 17:55:56 2013 +0200
fx2lafw: Use standard dev_clear() instead
commit 49f00e13f72d11a9cac8523e0c1506dde138f218
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 16 17:53:21 2013 +0200
Add driver helper std_dev_clear()
commit 9e2e98640ac2b12545f4923a143d06d3896f8435
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 1 03:03:24 2012 +0200
sr: add conn to sdi, for storing a ptr to device-specific connection info
What's in conn depends on the long-ignored inst_type field.
commit 0223135bfb6771d7749fa39cff64a78c7a84a674
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 12:54:11 2013 +0200
error.c: Add missing SR_ERR_ARG and SR_ERR_NA.
commit 85222791a9f3722c1cf659cfd4e4144314dbeec0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 12:48:58 2013 +0200
Doxygen: Add missing parameter docs.
commit 63c290b9840d459a9dac5073b71db43688cc94e9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 12:45:38 2013 +0200
Doxygen: Exclude bindings/.
commit 1a64618a2f46bf4374a673dcfc413dce8771fe89
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 12:43:42 2013 +0200
Doxygen: Set SHOW_NAMESPACES=no.
Since this is a C project, a "Namespaces" page is not really useful.
commit 9fb5f2dfa6bcded8082677ed3b915ff6b880cfab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 13 18:58:11 2013 +0200
Doxygen: Add @since markers.
Add @since tags to some (not all yet) public API functions, to document
in which release they were added (and/or in which release there were
API changes).
Document the @since usage in HACKING.
Also, add Doxygen docs for the functions in version.c.
commit 22f8cb54d18bf4abd5a7513a509539f15570784c
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 16 03:33:56 2013 +0100
swig: wrap g_variant_new_uint64.
commit d962ed92a118a8bc9d98e00f7a218a4cc9c71e69
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 16 03:11:48 2013 +0100
swig: include cdata interface.
commit 966fcbe3e34de14b163987550d17b00dc84bf82e
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 16 03:02:52 2013 +0100
swig: add function to cast from void * to struct sr_datafeed_logic *
commit 0849c7d3104efc098aa282d7e8b841506c386ea3
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 16 02:55:39 2013 +0100
python: support datafeed callbacks implemented in python.
commit ab0340c804c31a146977907e90d7b1d012f401a1
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 16 02:55:11 2013 +0100
swig: use standard wrappers for integer types.
commit 2726474a619e5d9a9bfcf797a5e306f4496a4545
Author: Martin Ling <martin-git@earth.li>
Date: Mon Apr 15 21:08:55 2013 +0100
Add a void *cb_data parameter to datafeed callbacks.
commit bd6fbf628abef9fab5293e016ad11e1a1ac4a0a9
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 16 02:33:03 2013 +0200
drivers: return SR_ERR_NA on unsupported config key
Fixes bug 89.
commit f02121f8d2623a7b8cbc87b75cf529e0a9cfd7d5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 00:58:29 2013 +0200
Python bindings: Fix reported libsigrok version.
Use 'pkg-config --modversion libsigrok' to get the libsigrok package
version. 'pkg-config --version libsigrok' ignores the argument and just
reports the version of pkg-config itself.
commit 8dc93c841f73dd2dbb252c1be42701a5e03d2f26
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 00:57:00 2013 +0200
Python bindings: Cosmetics.
commit 7aafb892746356c9089a2ba91188bfa51c68cea2
Author: Martin Ling <martin-git@earth.li>
Date: Mon Apr 15 23:05:38 2013 +0100
Tell SWIG that gpointer is really void *.
commit 758b01adcbbc2cd4c077281ad06c7bb2ac414391
Author: Martin Ling <martin-git@earth.li>
Date: Mon Apr 15 20:01:07 2013 +0100
Add SWIG interface file and build script for Python bindings.
commit 72cd99b876eb2185358bc108b488585c956f3dc7
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 16 00:23:34 2013 +0200
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.
commit 754b5ff2b48fc2fda3771940aa9d98108ae4f6af
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 15 23:50:16 2013 +0200
fx2lafw: Support conn scan parameter
This takes a USB specification. Fixes bug 82.
commit 1eb0a0df666e8ed117c9b3d3c65291367cbb961f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 15 23:47:04 2013 +0200
usb: Fix bus.address format detection
commit e5d15bd2a2eb8c34ee7bc9db1e70ba0741215097
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 15 20:05:43 2013 +0200
ols: Allow configuration before the device is opened
commit a7be14ada20d594c5338613a73788e8f89c0d9d5
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 15 18:45:38 2013 +0200
rigol-ds1xx2: Don't assume there's a valid sdi
commit bf256783599262b94c4b3be3797f4576053d96e1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 15 18:28:16 2013 +0200
ols: Properly initialize operational state before start
commit e45ad6e24ff1a3873d551f9ed08acb3ffd0d1d0d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 15 12:27:55 2013 +0200
demo: Fix compiler warning, cosmetics.
commit 1d166757694b259bbcca205ced91ac69e8a5ef7e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 15 01:30:24 2013 +0200
lascar-el-usb: Use two probes for temp/humidity loggers
commit 2150a69b7633ebd1bcf13f645c026506f3dfe03b
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Apr 14 19:19:35 2013 +0100
demo: Unref the IO channel when it is no longer used
commit ed20a42803c8b4e79b259ae03298dec88f2299f5
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Apr 14 18:52:02 2013 +0100
demo: Free dev_contexts
commit a76842947faadad98572f011cb20f3220998f71b
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Apr 14 17:00:47 2013 +0100
demo: Moved demo configuration variables into dev_context
commit 33c6e4c5a428115965f980e88e6415fb782658e9
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Feb 2 00:50:00 2013 -0600
session: Make sr_session_stop thread-safe
With the sigrok session running in a worker thread, if sr_session_stop is called
from another thread, it shuts down the pollfds used by the hardware drivers,
without ensuring that the sigrok event loop is no longer using those pollfds.
On the demo driver, this involves shutting down the GIOChannels, causing a
segfault when the sigrok event loop tries to use them. This is evident when
using the Stop button in PulseView, while the session is running.
This isn't a problem with just the demo driver; any driver's resources may be
freed by sr_session_stop concurrently with the sigrok session running.
To solve this problem, we don't touch the session itself in sr_session_stop().
Instead, we mark it for decommissioning and return. The session polls this flag,
and shuts itself down when requested.
This fixes bug 4.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 33ef757383896959651c48744fabb417729424dc
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Apr 14 15:46:15 2013 +0100
demo: Keep a pointer to dev_context in sr_dev_inst and vice-versa
commit e053204700fa0a9151e6efb54eae9dc5a73e3ccd
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Apr 13 16:43:16 2013 +0100
demo: Only one GIOChannel is needed
commit bbd7ef0f18df94232bafe6606c6d37eaad9ffd80
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Apr 13 16:08:52 2013 +0100
demo: Fixed glitching in increment signal
commit f0b6ae19a8e6ae7050cde3e1fa0a3ce46b9b5f66
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 16 08:43:36 2013 +0000
alsa: Set the probe index
commit 9e5670d0ab63af4353003bf879b0aa5e1a6919f8
Author: Jan Luebbe <jluebbe@debian.org>
Date: Sat Apr 13 23:27:07 2013 +0200
zeroplus-logic-cube: add USB ID for LAP-16128U
commit 6bb192bc05f976a5660e35c9507450a573679296
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 14 02:21:55 2013 +0100
rigol-ds1xx2: support digital channels.
commit a789b61087f156f3f5b38de6c56c7744fde2c3eb
Author: Martin Ling <martin-git@earth.li>
Date: Sat Apr 13 22:25:41 2013 +0100
rigol-ds1xx2: doesn't actually support SR_CONF_LIMIT_SAMPLES
commit ee7e9bee5d943261d866f92cb8b81584e290df01
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 14 01:58:35 2013 +0100
rigol-ds1xx2: fix handling of partial frames.
commit 4c7aca66defecb82245d2fd8b62b3ff70049982a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 14 16:44:49 2013 +0200
ignore test leftovers
commit 0c05591abf6b313aebb1f717903c5cc337f58329
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 14 00:36:05 2013 +0200
ols: Support get/set/list on all device options
Where it makes sense: _LOGIC_ANALYZER and _TRIGGER_TYPE don't have much
use for all of them.
commit 8f35be72b46769b3b51e9c91a131eaf6c256ac1a
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Apr 12 19:42:44 2013 +0200
rigol-ds1xx2: Use g_usleep() for portability
commit 406569ddeadbbbc73c9fefb92b855e03fc107987
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 12 18:47:06 2013 +0200
Bump glib requirement to >= 2.32.0.
This is now required, e.g. due to the usage of g_variant_new_fixed_array().
commit 169dbe8577c2f7570f61799a064f95b39b3b6fe3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 12 18:44:28 2013 +0200
rigol-ds1xx2: Whitespace, minor fix.
Return SR_ERR_MALLOC for failed malloc, not SR_ERR.
commit 34e4c273916d8fd246ca6aefbff05528f92391fc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 12 17:59:38 2013 +0200
unittests: Adapt to new GVariant system.
commit ff08a52a0fb66abb471fa0bfe0369300c313778f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 12 17:45:01 2013 +0200
Fix two minor compiler warnings.
commit ba6568c5adcbb2075964c582bf2939b46f729b12
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 11 18:49:24 2013 +0200
output/vcd: Use selected probes, not lowest-numbered ones
Thanks to Andrew Bardsley for the patch.
commit 254dd102e84a6f9e5a62be5172bb94cbca3da4e8
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 11 16:06:55 2013 +0200
rigol-ds1xx2: Support for all channels, proper defaults
Since this driver supports devices with a control panel and display,
we take the defaults from the device -- not a set of sensible
defaults as usual.
commit 88e429c97f4fa482f8897c4795ad14f0afa96b56
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 8 12:01:00 2013 +0200
rigol-ds1xx2: fix channel numbers
Copyright bump, too.
commit a3df166f02201abe253b6fd4ee416394dace9e5e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 8 01:12:42 2013 +0200
rigol-ds1xx2: better debugging
commit 75d8a4e5766cccdcd7f017093fa822e7218749b8
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 8 00:38:58 2013 +0200
rigol-ds1xx2: properly send frame begin/end packets
commit 7991784841727d39a6f71ffa4ccdc1fc86af9f98
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 8 00:37:50 2013 +0200
hantek-dso: Support SR_CONF_NUM_TIMEBASE/SR_CONF_NUM_VDIV
commit d62d7ad151e2b50484bc6bf36c94b9657ed6a500
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 8 00:37:12 2013 +0200
rigol-ds1xx2: Support SR_CONF_NUM_TIMEBASE/SR_CONF_NUM_VDIV
commit 2efa699fda95b6d2d722d41407ca741cdbfe709c
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 8 00:29:37 2013 +0200
Add SR_CONF keys to report the number of timebases and vdivs
Number of timebases is needed to properly interpret a frame's worth
of samples. Number of vertical divisions isn't, but may nevertheless
be interesting for a frontend that wants to reproduce the scope's
native display.
commit d8284802ca6bbdf19e7ff0ae9bcc5b6e111056c0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 7 22:51:45 2013 +0200
use driver callbacks directly
commit 861c447bfb020a59ac9d197c4a74a4e8ea3998bf
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 7 21:51:26 2013 +0200
rigol-ds1xx2: SR_CONF_TIMEBASE and _VDIVS lists are now an array of tuples
commit 6cefe516aacc215fa8d144e9da09e69cfb1e5ff6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 7 21:50:42 2013 +0200
return SR_ERR_ARG if a driver doesn't implement sr_config_*()
commit 82b904b173f1443c4d6bdebdf1a7f0dda01c4982
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 7 21:28:54 2013 +0200
Add Rigol DS1052E/1102E VID:PID
commit 3973ee26f58efa469657c57d23a285273f316c35
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 7 21:02:18 2013 +0200
hantek-dso: SR_CONF_TIMEBASE and _VDIVS lists are now an array of tuples
commit 034accb512e43172ee292d1585870db9e2477ed0
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 2 20:54:44 2013 +0200
hantek-dso: move buffer sizes to device context
There are only two sizes for every device: 10k and the complete
per-channel buffer size. This can be doubled if one channel is disabled.
commit fe9ac252502fbb90badc84367eea75d6ab027686
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 1 16:53:14 2013 +0200
ols: Get rid of gcc warnings
commit 1bec72d2ac388bd78c1c4e573431170c4ed97f8c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:31:49 2013 +0200
chronovu-la8: Adjust to GVariant-based sr_config_* functions
commit afdf6d6a20a0d5ac7c3f9b84d1af4f782eda3177
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:28:33 2013 +0200
tondaj-sl-814: Adjust to GVariant-based sr_config_* functions
commit 7d93a62ea3b7c8853603fa267bb8b1320dde4b69
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:28:33 2013 +0200
uni-t-dmm: Adjust to GVariant-based sr_config_* functions
commit ede25f4e6f9dbf84629c0058f91014a8bab59a56
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:28:33 2013 +0200
serial-dmm: Adjust to GVariant-based sr_config_* functions
commit f6a0ac9f6217f808d02f1c64a49c7ead3afb06e1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:25:51 2013 +0200
rigol-ds1xx2: Adjust to GVariant-based sr_config_* functions
commit 2c2be401897895c0a343dfd461adcfffbee950a6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:25:51 2013 +0200
mic-985xx: Adjust to GVariant-based sr_config_* functions
commit a9ed6877f7c5e920a5ba065324be9587f3c1ffaf
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:25:51 2013 +0200
link-mso19: Adjust to GVariant-based sr_config_* functions
commit 510b3e692a61239bfa1c6794218acd80e5ba28ef
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 20:55:39 2013 +0200
brymen-dmm: Adjust to GVariant-based sr_config_* functions
commit 2c9c0df86eaf9b64cf0ba7537b3c3c84f2da4686
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 20:55:39 2013 +0200
asix-sigma: Adjust to GVariant-based sr_config_* functions
commit aa0dbd683c58c9dd342140a4080d2aa0b95c5bb3
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 20:55:39 2013 +0200
alsa: Adjust to GVariant-based sr_config_* functions
commit 3316e149d0dd03e65aca72183bc15eb839e392c6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 20:47:01 2013 +0200
zeroplus-logic-cube: fix samplerate setting
commit e0e150672af8b52f7931ad827bdfb85773cfb4bb
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 10:27:15 2013 +0200
sr_voltage_string(): deprecate struct sr_rational
commit 8386096f013a2735553d5066ed2b96f519c12a76
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:48:38 2013 +0100
zeroplus-logic-cube: Adjust to GVariant-based sr_config_* functions
commit c8733a2bbb876496e3c6eb9e95084d9d5fb7e834
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:48:38 2013 +0100
nexus-osciprime: Adjust to GVariant-based sr_config_* functions
commit e44ac12a29c39cb873968a8fd4c02b3e05316b3b
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:48:38 2013 +0100
agilent-dmm: Adjust to GVariant-based sr_config_* functions
commit a59b4eef5576f1c32d1d4a0968be05eb17c865f9
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:29:44 2013 +0100
victor-dmm: Adjust to GVariant-based sr_config_* functions
commit 70424328c10640f0c1db0ab6334723658c043470
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:29:44 2013 +0100
fluke-dmm: Adjust to GVariant-based sr_config_* functions
commit dccda194dbd202eb0274f479b51152400ff9de88
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:29:44 2013 +0100
colead-slm: Adjust to GVariant-based sr_config_* functions
commit 7faf69da10e743820ef54d7f3c11cdcc06fc9b1a
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:08:29 2013 +0100
lascar-el-usb: Adjust to GVariant-based sr_config_* functions
commit d40073113bc1c09f3924cac275791e53905bbab5
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 15:47:01 2013 +0100
hantek-dso: Small debug fix
commit 86bb3f4a865a7eed9f0537f01356231cf7d86012
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 15:24:37 2013 +0100
hantek-dso: deprecate struct sr_rational
commit e48a54629242584b7b2508d657815730ad80cbfe
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 15:23:44 2013 +0100
input/vcd: deprecate struct sr_rational
commit 76e107d68c010ee3aaede5a1eec2893f82062184
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 14:41:01 2013 +0100
sr_parse_(period|voltage): deprecate struct sr_rational
commit d00088ca6daf91270f8c2f063167eedf2644bb8f
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Mar 26 22:02:45 2013 +0100
demo: Adjust to GVariant-based sr_config_* functions
commit f627afd65b5b544b1c10345bddf1b3a490fb8c93
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Mar 26 21:38:32 2013 +0100
hantek-dso: Adjust to GVariant-based sr_config_* functions
commit 38f1e846a81a4fee1a28c0f3547c4ac821b0f882
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:41:28 2013 +0100
struct sr_samplerates is now obsolete
sr_config_get() of SR_CONF_SAMPLERATE now returns a GVARIANT_TYPE_DICTIONARY.
This dictionary contains a single key-value pair. Possible values for the key:
- "samplerates": the value is an array of GVARIANT_TYPE_UINT64 representing
all valid samplerates.
- "samplerate-steps": the value is an array of GVARIANT_TYPE_UINT64 with
exactly three members, which represent the lowest samplerate, highest
samplerate, and the minimum step, respectively.
commit aeea0572202fa20093534a8e97da87c324151932
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:40:40 2013 +0100
ols: allow for disabling of RLE as well
commit e46aa4f611da95cc705279c199f0e662b39eed1b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:40:15 2013 +0100
ols: Adjust to GVariant-based sr_config_* functions
commit d6836bf129adc8efbd826b8ea04246167987e0cc
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:30:56 2013 +0100
fx2lafw: Adjust to GVariant-based sr_config_* functions
commit 8e34ca86fb54ec1c841724900006868e29b180fa
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:29:45 2013 +0100
Add SR_CONF_TRIGGER_TYPE config_info list
commit ec4063b83c9b8a0693b9837787306dd5405e076b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:27:26 2013 +0100
input/output modules: Adjust to GVariant-based sr_config_* functions
commit 722db131a45dbc84aaa27cf65467a11552a32548
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:23:13 2013 +0100
Add sr_config_free()
Due to struct sr_config now containing a GVariant, this needs to be
cleaned up after use properly. This is a helper function for that.
commit 003595ac375fac61ed9ef45b13119c80e7c1ade3
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:21:10 2013 +0100
Adjust to GVariant-based sr_config_* functions
commit bc1c2f001a3b8499052348ec45155313153b2194
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 15:38:44 2013 +0100
Use GVariant for sr_config_*() functions
sr_config_get() provides a GVariant owned by the caller, so it must be
released with g_variant_unref() when done.
sr_config_set() takes a GVariant from the caller which may be floating;
it will be properly sunk and release after use by this function. Thus
the output of g_variant_new_*() may be used as an argument.
sr_config_list() also provides a GVariant owned by the caller, to be
unreferenced when done.
sr_config_make() can take a floating reference.
commit 13d8e03c4f9fb6fe9c5f682ab957173effe42d43
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 24 11:21:00 2013 +0100
Bump copyright year
commit 2e542814cb97a9937f9e4cace367ffdb7a2231cc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 19:52:38 2013 +0200
configure.ac: Fix checks for cross-compiles.
When checking architecture-specific things, always check $host, i.e. the
architecture we're building _for_, not the one we happen to build _on_.
E.g. when cross-compiling _for_ Android (or Windows or others) it's important
to check for Android in $host; whether we happen to cross-compile _on_ a Linux
or Windows or OpenBSD or FreeBSD machine ($build) doesn't matter, only the
fact that we compile _for_ Android is important for most checks.
commit bbe6e336b3baf86b43f88185f25eab424cbd61f6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 18:50:34 2013 +0200
vcd output: Build fix for Windows/MinGW.
On Windows/MinGW 'recv' seems to be already defined in windows.h/winsock2.h.
Use 'receive' instead, for now, otherwise we get an error:
vcd.c:147:17: error: conflicting types for 'recv'
commit 6bad8487243cb5e86979b801069f9656f627480f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 18:47:31 2013 +0200
configure.ac: Print $host and $build.
In the configure summary at the end also print the architecture we're
building on ($build) and the target host we build for ($host). The two are
not necessarily the same, e.g. in the case of cross-compiles.
commit 6e772cbe802327ed79cdaae9d366fed1ec6b081c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 18:08:16 2013 +0200
configure.ac: Mention required lib versions.
In the summary output at the end of a configure run, explicitly mention
which versions of which libraries are required, and also the version which
pkg-config has found.
commit 63cbeaeb597450a52086ff23839f5dbf8989a8a2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 17:58:37 2013 +0200
configure.ac: Only enable rigol-ds1xx2 on Linux.
commit e4fad80b8534a05e7318bc4f9e0e688ae04d3ea2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 10:03:58 2013 +0200
configure.ac: Cosmetics for the list of drivers.
Use the canonical driver name (all-lowercase, e.g. "serial-dmm") in the
list of enabled/disabled drivers that configure prints after a run.
It's common to many drivers that they support multiple devices, so
printing one device name (e.g. "ChronoVu LA8") is seldom really correct.
E.g. the agilent-dmm, asix-sigma, brymen-dmm, colead-slm, fluke-dmm,
fx2lafw, hantek-dso, lascar-el-usb, mic-985xx, openbench-logic-sniffer,
rigol-ds1xx2, uni-t-dmm, victor-dmm, and zeroplus-logic-cube drivers
all support more than just one device.
So, just print the driver name instead which is more correct anyway
since it's specifically a list of enabled/disabled drivers.
commit ccf35720c0494f4102fba8ee0a44ce1d3b67fc10
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 8 15:56:54 2013 +0200
configure.ac: Improve a libusb-1.0 related check.
Don't rely on the "heuristic" that 'libusb_CFLAGS' will be non-empty if
libusb-1.0 was found, but rather use the proper method of checking the
variable 'have_libusb1_0' which pkg-config will set to "yes"/"no"
depending on whether it finds the library.
commit 3fd1d0ee1c6e8f9d1c6e30c16add1cc4253662bb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 8 15:40:57 2013 +0200
configure.ac: Improve USB/EZUSB/serial checks.
- If libusb-1.0 is not found, do not compile in ezusb.c and usb.c since
they require libusb.h. The respective hardware drivers that use
libusb-1.0, and usb.c and/or ezusb.c will be excluded from the build
elsewhere in configure.ac. Rename NEED_EZUSB to NEED_USB.
- Drop the NEED_SERIAL check and always compile in serial.c. This is a
very small chunk of code, it does not depend on any external
libraries that might be missing, and it compiles on all architectures.
Thus there's no need to conditionally include or exclude it.
commit ae4c3d0431571346f489be3a370a9bb431a6ec59
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 12:32:30 2013 +0200
configure.ac: Fix the order of some entries.
In order for lib autodetection and disabling of drivers (which require
libs that cannot be found) to work, the order of AC_ARG_ENABLEs,
AM_CONDITIONALs, and AC_DEFINEs needs to be changed.
All drivers start out enabled or disabled (depending on whether
the --disable-drivers option was supplied or not). Then, any driver can
be enabled or disabled explicitly via --enable-<drivername> or the
resp. --disable-<drivername> option. Finally, pkg-config checks for all
libraries are performed, and all drivers which require a library that
cannot be found are disabled explicitly (regardless of any
--enable-<drivername> option that might have been supplied).
commit aba692624593131b9f1ea7cd63d1f88b9e09b668
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 8 14:46:13 2013 +0200
configure.ac: Improve pkg-config related checks.
Until now, we checked for certain (optional) libraries via pkg-config and
the configure script would abort if any of them was not found, even
though they were optional. It was up to the user to then figure out which
combination of --disable-<drivername> switches were required for his
specific OS (and set of installed libs) to get a working configure run.
Only if the user already specified enough --disable-<drivername>
switches beforehand, so that all drivers which require a missing library
were disabled, would the configure run not check for that specific lib
(and would thus not fail).
With this change, we now always unconditionally check for all libs
(required and optional) via pkg-config. However, whether an (optional) lib
is found or not, configure will not abort. Instead, it'll just disable
all drivers which need a lib that cannot be found.
The user will no longer have to supply --disable-<drivername> parameters
in order to get a working build.
commit 3f98bf7017341f70ceb92f98b976d972254c3ba0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 7 14:14:16 2013 +0200
Fix kernel driver attached check
The check is really only broken on darwin, but useful on all other
platforms, even if only Linux can actually detach a driver.
commit 8c971b6e5c6fa0242d786b3c85aabedf2d9ad432
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 2 14:33:17 2013 +0200
hantek-dso: cosmetics
commit 67b5fba8cac632ab2ec60a3e115ff9016e900114
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 6 19:28:48 2013 +0200
Doxygen: Exclude std.c and tests/*.
These don't contain any public API functions or macros and thus should
not appear in the ("public API" version of) the Doxygen docs.
commit c27e5f1e82819cad599b95a24bf9f617abd6fafb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 6 19:25:03 2013 +0200
Doxygen: Properly document and handle version.h.
commit ca0938c50b4bf5d010d6140f64542f8307d8ea17
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 6 19:18:37 2013 +0200
Doxygen: Fix a few warnings.
commit 7b78b2f78fbd8309fd9898c4940b82328a2c39af
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 2 14:18:59 2013 +0200
hantek-dso: use per-device firmware filenames
commit 3ebce226a2672ea4f0788f5f2a222586148aabc1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 16:50:51 2013 +0100
s/sr_config_make/sr_config_new/.
This matches the naming of other/similar functions better.
commit 333bf022e3ab268fb575ec61ccf0c0f17213647c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 12 21:40:03 2013 +0100
rigol-ds1xx2: Use ARRAY_SIZE.
commit 3864648bb6ebf24106898a1296bc106daa55e964
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Mar 20 20:36:56 2013 -0500
serial-dmm: Add support for RadioShack 22-805
Protocol-wise, this is identical to the 22-168, except that it communicates at
600 baud instead of 1200 baud.
commit 5a7587cd03d81e84a8e4538a1ec9ab36f3a077c2
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Mar 19 22:07:21 2013 +0100
set proper build defaults for brymen-dmm and mic-985xx drivers
commit cc840ab618ede3d642a1f8d07c353ba91b96e22c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 15:07:50 2013 +0100
serial.c: FreeBSD and OpenBSD don't have OFILL either.
commit 22ca5aa68b55ffc9f33c6fe0138c460b0b2f8f94
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 13:22:22 2013 +0100
configure.ac: Add 'color-tests' (colorized 'make check').
commit 57981a0716a5d9bec807cad8289d091893de0919
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 13:19:57 2013 +0100
configure.ac: Drop std-options, unneeded.
The automake 'std-options' option checks whether all installed tools
and scripts have a --help and --version CLI option. This check is not
needed for libsigrok though, since it doesn't install any tools.
commit 9d67e248cab789314d758e5ee20a7b47eef69fe5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 13:07:59 2013 +0100
Don't make README.devices executable.
commit ba642e8678906a27015755f8ca04ca7f73195036
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 12:53:08 2013 +0100
README: Refer to INSTALL and new Building wiki page.
commit 898c562fd3b33b07d030ea7f57eb09cd49efe69b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 12:58:26 2013 +0100
autotools: Don't use "foreign" option.
This adds INSTALL and allows for a few more sanity checks being done.
commit 8e77bc20b92574076683d861687b63b416d3e965
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 16 21:50:35 2013 +0100
lascar-el-usb: push samplerate before data log
commit 7231a14590840ffdbb77c1cc076d7dcafa3ee673
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 16 20:17:41 2013 +0100
add SR_CONF_SAMPLE_INTERVAL
Expresses the time between samples, in milliseconds. This can be used
for devices with a samplerate > 1 second, such as dataloggers, which
cannot be expressed with SR_CONF_SAMPLERATE.
commit c77ed446f2c08e2906883023c85feafa19a0ec10
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 13 10:33:17 2013 +0100
Add initial README.devices file.
commit bb203cde9d42df0430e64cb5d2b604c9d68b5639
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 12 23:00:58 2013 +0100
configure.ac: Add missing AM_PROG_CC_C_O.
commit 361d15110ce355dd69099d95ac8c9716e45b3173
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 11 16:36:40 2013 +0100
lascar-el-usb: support for SR_CONF_DATALOG
commit e6551ea640f113a9f7cd6bfaaf3a8d0689c71edf
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 11 16:35:18 2013 +0100
add SR_CONF_DATALOG
commit 985727626183bf1517a9046f4eb40c732e566b8f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 11 15:28:41 2013 +0100
ols: use ptr to int dereference for SR_T_BOOL
This mad ptr to int casting has to go.
commit 218e629fa48e2efb970b018d8d2ff8ccfa2d9a2c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 10 17:13:15 2013 +0100
sr_init(): Sanity-check input/output modules.
commit 0b4b41eed84be29e21b0e65c8072b546b4fdd37e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 9 12:20:17 2013 +0100
Add missing ULL suffixes to SR_MHZ() et al.
This fixes bug #72.
commit 79bb0e97d53526ef6deb491ea9c7698ed6e90631
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Mar 7 09:37:42 2013 +0100
Add a testsuite for libsigrok.
This adds a suite of unit tests for libsigrok. It uses the 'Check'
tool/library (apt-get install check) to run the tests.
The configure tool tries to find libcheck. If it succeeds, a
"make check" will run all tests. Otherwise, none of the tests will
be built and "make check" will not run any tests.
This also means that users who don't have 'check' installed will still
be able to build and install libsigrok just fine.
commit d5585e32dd856b09d78acab2aac3ba6c78ad7752
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Mar 6 23:14:00 2013 +0100
output/vcd: use new API
commit 2474d87e8c9b1133017a06c9ef0896626267e95b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 3 21:17:48 2013 +0100
demo: sync get/set options
commit a819da9c258bd1f295604e4078c84ca0bab2de04
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 3 18:02:24 2013 +0100
Drop deprecated sr_session_halt().
This has been deprecated in favor of sr_session_stop() since a while.
None of the current frontends use sr_session_halt() anymore, neither
does libsigrok.
commit 365f04d61f54908013021be83450d38fff67964f
Author: lelazary <lelazary@yahoo.com>
Date: Tue Jan 8 08:27:52 2013 -0800
mso-19: Initial analog probe support (unfinished).
- Added the analog probe (unfinished).
- Reset trigger to state to 0 before capture, just incase the scope is in
the middle of a capture.
commit 5952553f569f82b878717b9d97053690014604c9
Author: lelazary <lelazary@yahoo.com>
Date: Tue Jan 8 08:00:57 2013 -0800
mso-19: Fixed warning.
commit 07e1aad5c4d53ee1028613312061f261f1a7800a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 22 15:12:32 2013 +0100
doxygen: Add more output format docs.
This is largely taken from the respective wiki page (with some updates
and improvements), which will be removed in favor of the doxygen docs.
commit 8368734386f3bce5c568258b830c002d2581dfc6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 21 21:27:27 2013 +0100
doxygen: Add more input format docs.
This is largely taken from the respective wiki page (with some updates
and improvements), which will be removed in favor of the doxygen docs.
commit 1d36b4d27f737dfcd6e232bc9d9538bd64bf1afb
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Feb 21 15:20:50 2013 +0100
input: new WAV file module
commit 543d45c581658851b41af42ebdbc476ccf3d88d3
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Feb 21 14:48:43 2013 +0100
input: feed the filename to the module's init() function
This is essential if a format contains e.g. the number of probes; the
init() function needs to initialize the sr_dev_inst struct, but needs
access to the file to properly add the probes to it.
commit ff17e6ba5094d590926a2aa8130220a341fc2c04
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 11 18:23:17 2013 +0100
mic985xx: Add missing memset().
commit 6f3e5335adc5ba4488c5f7dcb791f929c20f2049
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 9 16:13:03 2013 +0100
mic-985xx: Add support for the MIC 98581.
This device only supports temperature measurements, no humidity.
commit be6db330f86707c5eadf2a3f20903860dbadaabf
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 10 17:06:38 2013 +0100
hantek-dso: minor fixes
commit 8421ffa44dc9b0ca89c554c40be39dcc151e7495
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 10 16:49:23 2013 +0100
asix-sigma: don't try to free static storage
commit d5a669a9e0319531595a8a45b6c21f0c316a24f1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 4 13:36:23 2013 +0100
properly deal with decimals
commit cd2f0fe22c35dcf3b010411ff6f123701be2a2d6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 1 23:45:32 2013 +0100
Add/use std_hw_dev_acquisition_stop_serial().
commit 17548571cc836edaf45e4707e74f6537605fc924
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 8 23:13:33 2013 +0100
zeroplus: Only report supported samplerates.
The currently supported model LAP-C(16032) doesn't support the
samplerates 150MHz and 200MHz which some of the other models have.
Thus, do not report these samplerates to the frontends. E.g. sigrok-cli
should not show them via --show and GUIs should not list them in their
"Samplerates" drop-down.
commit e495a676ebda71cdcc39904ee28174ccba7ce2ae
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 8 22:18:55 2013 +0100
zeroplus: Cosmetics, small fixes, drop unneeded stuff.
commit 58c5f2ed1785ead87d1398c28b5dbe60ba4610dd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 7 22:09:39 2013 +0100
zeroplus: Split into api.c and protocol.c.
commit c7142604a2d29ca58f6e4d7cba070a329030e60b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 7 09:16:28 2013 +0100
session.c: Drop left-over 'session: ' prefix.
This is added automatically now.
commit 3e9b7f9c776221c2c6b0d9f51b48db31383a4b03
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 7 09:11:26 2013 +0100
Rename session_dev_id to cb_data everywhere.
We use 'cb_data' in all drivers these days, make the few remaining ones
that use 'session_dev_id' consistent.
commit 6fab7b8f5365c7be69be4a755910945b6113dd8f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 6 22:35:24 2013 +0100
Driver struct cleanups.
- Explicitly list .config_get in all drivers for consistency, and set it
to NULL if unused (whether or not a driver implements it is optional).
- List all 'struct sr_dev_driver' entries in the same order in all drivers.
- Move the check whether .config_set/.config_list exist (i.e., are non-NULL)
into sanity_check_all_drivers().
commit 4afdfd4628e9955af02a3ea619ecdfe469f9a9e2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 6 19:57:32 2013 +0100
Add and use std_session_send_df_header().
This is a small helper function which sends the SR_DF_HEADER packet that
drivers usually emit in their hw_dev_acquisition_start() API callback.
It simplifies and shortens the hw_dev_acquisition_start() functions
quite a bit.
It also simplifies the input modules which send an SR_DF_HEADER packet, too.
This patch also automatically removes some unneeded malloc/free in some
drivers for the 'packet' and 'header' structs used for SR_DF_HEADER.
commit 961009b0c4002717c669a0cdcafb0fcf29f5ea1b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 1 22:58:54 2013 +0100
hw_dev_close(): Move common checks to wrapper.
Check the relevant arguments for != NULL before calling the actual
driver-specific function, so that the driver can safely assume those
arguments are non-NULL. This removes the need to duplicate these
checks in every driver.
commit 0e94d524c19fe89c564243421d37c17818f87631
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 2 19:52:26 2013 +0100
Shorten/simplify hw_dev_list() implementations.
commit 7c8a9e1e0fada5d726bce638cf4d36147ed4ebbf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 2 12:22:18 2013 +0100
serial-dmm: Drop unneeded g_try_malloc0().
commit bf6f8399fc3515c0e3827a17b2fc21f4a9211a0f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 2 12:14:26 2013 +0100
Make 'struct rs9lcd_info' non-empty.
Empty structs can be an issue (compiler-dependent), so add a dummy entry
for this one.
commit c5d6f5cc1c0069a5141c5c76f7e17dd592427138
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 2 11:35:20 2013 +0100
brymen-dmm: Cosmetics, coding-style, consistency.
Also, name the driver "brymen-bm857" in preparation to doing "subdrivers"
for other Brymen models later (similar to serial-dmm).
commit 943e94f567a386e3cf754cfe7f4e15893622a95d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 2 11:19:03 2013 +0100
brymen-dmm: Use std_hw_init().
commit 601fb67cc4977d7e04e20916bde52147b35df970
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Nov 26 17:09:05 2012 -0600
brymen-dmm: Add support for Brymen BM857
This patch might also work for a number of other Brymen models
-- 859(a), 867, 869---
including their respective rebadges from Greenlee, Extech, and Amprobe.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 20cbc7854dc0a375e23fea2ca7e7feee3d3ac701
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Nov 21 21:20:39 2012 -0600
brymen-dmm: Initial driver skeleton.
commit 0cd8e23140612703406a57316bb0a507fb8f1994
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 30 18:21:07 2013 +0100
Initial driver implementation for MIC 98583.
This is a USB/serial (Prolific) based temperature and humidity logger.
commit 7ec5b54955118d8c1ee003a02c3334f1a0046457
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 30 16:58:01 2013 +0100
mic-985xx: Initial driver skeleton.
commit 6d1161142dfce461c8e54c09d821443c68916df8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 28 17:43:04 2013 +0100
zeroplus: Use message logging helpers.
commit c4227fc637431113ba92092ddbda86461703c06c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 29 12:55:00 2013 +0100
device: Cosmetics.
commit d3b38ad389a6186e2822d62b20b9f0d9d9e7c21c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 29 12:55:00 2013 +0100
Drivers: Explicitly list sr_samplerates fields.
This makes it a bit easier to understand which value means what, just
from looking at the driver code.
commit 063e7aef6d41d4c44591ff93672079998bf9622f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 29 12:55:00 2013 +0100
Factor out common hw_init() driver code.
Most drivers do pretty much the same things in their hw_init()
right now, so factor out that code to std_hw_init() in std.c.
commit 4b97c74e0b5c19ad0ee04620b618461248ab69d7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 28 20:00:54 2013 +0100
sr_driver_scan(): Improve checks.
Check the relevant arguments for != NULL before calling the actual
driver-specific function, so that the driver can safely assume those
arguments are non-NULL. This removes the need to duplicate these
checks in every driver.
Also, do some minor whitespace and consistency improvements.
commit c0eea11c4535e071c72b357fa7e2d1288104c134
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 28 19:36:16 2013 +0100
sr_driver_init(): Improve checks.
Check the relevant arguments for != NULL before calling the actual
driver-specific function, so that the driver can safely assume those
arguments are non-NULL. This removes the need to duplicate these
checks in every driver.
Also, change one SR_ERR to the more correct SR_ERR_MALLOC, and assign
sr_ctx in the rigol-ds1xx2's hw_init() function, like all the other
drivers do.
commit bd36d826d4b9916034c6268919e2a72a0d7ea000
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 29 12:55:00 2013 +0100
hwdriver: Use message logging helpers.
commit a421dc1d7b24bb7b8f2127b6c07df6b68eb5001f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 29 12:55:00 2013 +0100
session: Use message logging helpers.
commit cbc6f3b25331bc4acca1eff9a5e60786e2efd2f8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 29 12:05:00 2013 +0100
hantek-dso: Use message logging helpers.
commit 140185af6c2b73a2b940012269f893962cbecd52
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Jan 28 20:28:03 2013 +0000
Check sr_config_set value argument is not NULL
commit 4c961f5ed5e127aae75e48cd4369dc25439f24d4
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Jan 28 20:26:37 2013 +0000
Made sr_config_list driver argument a const pointer
commit 9fd504b9eb37502b4cd2d5d105f9f24ad1b5adf9
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Jan 28 20:25:56 2013 +0000
Made sr_config_get driver argument a const pointer
commit 7d4abe5a77b39c11b2187e1768339fcd11b0b763
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 27 01:23:01 2013 +0100
serial.c: NetBSD doesn't have OFILL.
commit cbadb856d6d833f2822cf63e4884abb409da6172
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 26 01:18:19 2013 +0100
Code cleanup.
commit 41bad9283d5bf869cfdf3d54373bec4dc51eaf16
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 20:41:49 2013 +0100
Remove sr_driver_hwcap_exists().
commit 4d15e5c9077a543a452a976933286c705c2e7088
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 16:20:40 2013 +0100
Rename sr_dev_has_hwcap() to sr_dev_has_option().
commit 6a4710fac267c07cc146b2a3cd23204b08bea552
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 16:05:48 2013 +0100
drivers: Trim unused config_get() calls
None of the driver config_get/set/list calls are required.
commit ddd9b41f5af2c5f1719439546a378d91ceef6c30
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 15:48:44 2013 +0100
Rename sr_info_get() to sr_config_get().
commit 358d050d7a2a1729d8200eaa8ffc16318e47958b
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 15:38:57 2013 +0100
Rename sr_dev_config_set() to sr_config_set()
commit aeba33ba219c4944b880be0b0687b7798b152ab0
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 15:16:39 2013 +0100
Header cleanup.
commit 0d485e30c607b22b5f328512327e4e0fafc6cbb7
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 15:09:20 2013 +0100
Deprecate SR_DI_HWOPTS.
This is replaced by SR_CONF_SCAN_OPTIONS.
commit 9a6517d14b1248855cde0d88ec9519f99184cc77
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 15:01:49 2013 +0100
Deprecate SR_DI_HWCAPS.
This is replaced by SR_CONF_DEVICE_OPTIONS.
commit c50277a6ec09fb35de3a6e0f2ae3401bc72a1526
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 11:52:27 2013 +0100
Deprecate SR_DI_TRIGGER_TYPES.
This is replaced by SR_CONF_TRIGGER_TYPE.
commit 328bafabd4781e416e3d711dabd8c4c43f219794
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 11:25:32 2013 +0100
Deprecate SR_DI_TRIGGER_SOURCES.
This is replaced by SR_CONF_TRIGGER_SOURCE.
commit 41f5bd09b0d3c5f9232ff20d076f76cc41acad32
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 11:22:20 2013 +0100
Deprecate SR_DI_TIMEBASES.
This is replaced by SR_CONF_TIMEBASE.
commit 6e1fbcc41b9d5e627faa704a31ca150715b09861
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 11:19:12 2013 +0100
Deprecate SR_DI_FILTERS.
This is replaced by SR_CONF_FILTER.
commit e4f2b2adc17bf0ab6dfa38b7511caf5a5dcfa7fd
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 11:13:49 2013 +0100
Deprecate SR_DI_VDIVS.
This is replaced by SR_CONF_VDIV.
commit 2a7b113d1382aef08d63778042589177c9b04347
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 11:04:27 2013 +0100
Deprecate SR_DI_COUPLING.
This is replaced by SR_CONF_COUPLING.
commit 6d1ceffa9557bf5cd0315949de5791e76e18bdc4
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 10:58:37 2013 +0100
Deprecate SR_DI_BUFFERSIZES.
This is replaced by SR_CONF_BUFFERSIZE.
commit dd96ea98793ed089f1b0a7dd31f417774f14ad80
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 03:38:44 2013 +0100
Deprecate SR_DI_PATTERNS.
This is replaced by SR_CONF_PATTERN_MODE.
commit 123e13138385055003cb6bc09e74df783df5af85
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 03:17:36 2013 +0100
Deprecate SR_DI_CUR_SAMPLERATE.
This is replaced by SR_CONF_SAMPLERATE.
commit fbec8bd2f3ead02358df65240c2cf786c8267f54
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 02:39:58 2013 +0100
deprecate SR_DI_SAMPLERATES
This is replaced by a call to config_list() with id SR_CONF_SAMPLERATE.
commit a1c743fc51d7b49c769fb525fe4b89985a9468c9
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 02:32:05 2013 +0100
drivers: implement config_list()
commit c5fb502f9773ecf6df83a32ab82bcd1b70fa857f
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 01:24:42 2013 +0100
New driver API function: config_list()
This takes an sr_config key and returns a list of possible values for
that key to be submitted with config_set(). The format of the list and
its contents is dependent on the key.
This will replace the SR_DI_* keys that returned such a list before,
such as SR_DI_SAMPLERATES.
commit 035a1078fda93cf1da37d19b3a1d95311b99b00f
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 24 19:19:09 2013 +0100
drivers: rename and reorganize config get/set
The driver API calls info_get() and dev_config_set() have been renamed
to config_get() and config_set(), respectively.
commit 69e19dd7691f86ac001469d1b319e1358e0d9778
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 23 03:40:44 2013 +0100
Always interleave analog data with all enabled probes.
The new "probes" field in sr_datafeed_analog contains a copy
of all enabled struct sr_probe.
commit b1a051544d502f15a1da05682e625755563b86c2
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 23 02:32:58 2013 +0100
serial: more serial processing flags to turn off
commit 08a9260ba4413bbdee0bfcc8a9c4544500fdb241
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 22 11:18:18 2013 +0100
Header cleanup: remove unused structs.
commit 431ec7ca4abc85810c2553646e6b6af13138b65e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 21 23:40:09 2013 +0100
uni-t-dmm: use new sr_config struct
commit 1953564a96798bc298d1c94eb90c129adbde1c9e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 21 23:22:47 2013 +0100
Rename SR_HWOPT_* and SR_HWCAP_* to SR_CONF_*
commit c89c1c9c211a197f24de7bfd32ecbc873dd66818
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 21 21:58:19 2013 +0100
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().
commit 63b9e16e7e1564acd8bac9956bd65a4999ae0581
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 16:38:28 2013 +0100
No need to send a metapacket when loading a sigrok file.
commit c71bac3b98ace917533db91e682712105c3ccf45
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 16:37:23 2013 +0100
Adjust session debugging to the new SR_DF_META packets.
commit fbf394c61766e51627033b4e95c8f9ae034c7dc1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 16:36:35 2013 +0100
Deprecate SR_HWOPT_MODEL
This was only ever used for the defunct genericdmm driver.
commit 083d64f94f6c619ca427c2544b2c08b2929a8051
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 16:35:25 2013 +0100
Use new struct sr_config_info for option metadata
commit 4c0e310ca305ba776aa70d8062f467ac246c910b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 16:34:38 2013 +0100
Add small helper for creating struct sr_config
commit 72e435ab94ac8838626da034ccbcfa9424add8ef
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 16:33:24 2013 +0100
Adjust option helpers to new sr_config struct
commit 2df1e81970b38bd4edb6e219ad295c8a83315797
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 15:45:09 2013 +0100
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.
commit d8e3685c47088c3219c004885d1be3c34c6503a6
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 19 13:20:34 2013 +0100
free USB config descriptor after use
commit 1987b8d63e748f0813dc6a4630e99686e4fe1728
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 6 17:41:30 2013 +0100
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.
commit 9a5693a5acf677c47285307235b9d47bcc3b932e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 6 16:37:41 2013 +0100
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.
commit 86c02e6554061bf84b5fb7893e5837d26534a6d8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 21 01:47:30 2013 +0100
serial.c: Fix copy-paste error.
Thanks Bert Vermeulen for reporting.
commit 9d8fde40c3cc852e2d0b2d337609b247310ce277
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 21 01:45:02 2013 +0100
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.
commit 5edc02c77c3576a47ee85241f32785cdf0fdddf8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 19 22:00:39 2013 +0100
Add missing "ULL" suffixes.
These numbers are larger than 32bit, mark them as ULL to avoid compile
failures on 32bit systems.
commit 73365eaed046b2242a3080cfd282edfa266b1d2f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 20 19:57:04 2013 +0100
uni-t-dmm: Expose hwopts.
commit 388f9d3e25da89df1fb01412688339b6de54e14e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 20 19:55:33 2013 +0100
uni-t-dmm: Fix scanning, properly use new sr_usb_find().
commit 4ebd48b352a28add68d54d509b291688e1df601b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 20 18:48:02 2013 +0100
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).
commit a978eda2c958967518508e4cc461e960e96a0170
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 20 18:47:35 2013 +0100
udev: Add UNI-T UT-D04 multimeter cable entry.
commit 7d39e2105f6da82f4f90a87d081c1bf5cc30968d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 19 21:20:56 2013 +0100
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.
commit 294245ecf280ce72bffa40586d68195aa5980b6d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 19 19:13:52 2013 +0100
README: Document alsa (optional) library.
commit b97cbca6c9c715619c8a5a9d6f5de267ff061175
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 19 15:55:22 2013 +0100
serial.c: OpenBSD doesn't have B460800.
commit 262dd3e47da1af2233ffd659cda81769f53b4012
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 16 01:31:46 2013 +0100
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.
commit 3d6de074a445fbd3ac0adfa2bc28e3fd283df681
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 16 00:02:24 2013 +0100
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().
commit 6b8d6f93bb8df26ea04624009e2715cb6766b4f5
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 15 17:20:57 2013 +0100
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.
commit bd58d8f3ece91443d5e98a7e99fd740767ed6222
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 14 11:13:58 2013 +0100
Makefile.am: Fix typo in 'ChangeLog' target.
commit 8a22e8c0ff4e43ceae154c908c75a3e06bf26cc6
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 14 00:59:46 2013 +0100
cosmetics
commit dbf2482ec11affee1a6137be1544cc5463359174
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 14 00:52:55 2013 +0100
add --disable-all-drivers option
Can be overridden by driver --enable options to build only those drivers.
commit 512bb890df8363e800025b3b63ebac429c139aa0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 13 22:42:21 2013 +0100
rigol-ds1xx2: More selective Rigol DS1xx2 scan
Patch submitted by Martin Ling.
commit 5635705c8330d243ec566e15373eb47eb5b0fd9c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 13 18:07:05 2013 +0100
cleanup of obsolete definition
commit 18bc270461d656460db8a167c10d390fe665f3b9
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 8 02:51:03 2013 +0100
sr_session_save(): don't use datastore
commit 6936ee4206817dbf07fdb8524172bdb46d21c5c0
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 7 02:10:33 2013 +0100
remove datastore functionality
Keeping a copy of acquired data is up to the frontend, not libsigrok.
commit 305de92e9d50bcabaa055d43dc27fec1c2e97cc1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 7 01:52:02 2013 +0100
use a dynamically expanding probe list
commit cbc80f8f8afe28ff825449deffcc5aca7b51d7b8
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Jan 6 09:31:30 2013 -0600
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>
commit a24e9d0484c09f972dcb31952a1ab1559bbcdedb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 8 03:12:01 2013 +0100
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.
commit 753d722f340465f5bebb175c378b579296ebbd54
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 8 03:02:53 2013 +0100
link-mso19: Fix a bunch of compiler warnings.
commit 00b44ccb8b2482c2c4c7e832ed11f7460f289e15
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 8 02:48:49 2013 +0100
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.
commit f48cef7897ecda093a7d8b37b2bfeb1868c529af
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 8 02:30:40 2013 +0100
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.
commit 8472ae868ec05533bb00b368b4c5140e24c0409b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 8 01:27:11 2013 +0100
configure.ac: Enable Link Instruments MSO-19.
This driver now compiles again and (partially) seems to work, so enable it.
commit eb913174ab1fa7decaab3dd64eec0a0a42a2391a
Author: lelazary <lelazary@yahoo.com>
Date: Mon Jan 7 07:49:31 2013 -0800
Added limit samples Eveything seems to work find up to 1024 samples
commit 087a9161fffa0cabe8aa37cf3358d88bcd72fb21
Author: lelazary <lelazary@yahoo.com>
Date: Sun Jan 6 09:46:01 2013 -0800
Rewrote the trigger config. Added trigger position and trigger slope
commit 5a24e89ca463ba7acb465f4bc9953e2da9c09e45
Author: lelazary <lelazary@yahoo.com>
Date: Sat Jan 5 18:12:45 2013 -0800
Eveything seems to work now except for triggers.
commit 4db2aaffe7b47b15e6ad7e4e11281d62bbd598c8
Author: lelazary <lelazary@yahoo.com>
Date: Sat Jan 5 09:29:00 2013 -0800
More cleanup. Communication with mso19 is working, but its not triggering. Need to check why.
commit 26ddb5bacaf2a0918ef73b253d25afb1ffb744b1
Author: lelazary <lelazary@yahoo.com>
Date: Sat Jan 5 09:00:52 2013 -0800
Added flow control to serial configuration to support xon/xoff for link-mso19
commit 4b719338ccf3add3f872e8cd7549bddf818c4360
Author: lelazary <lelazary@yahoo.com>
Date: Fri Jan 4 17:22:15 2013 -0800
Added missing mso functions
commit def5c35c4c4a4f62ffc8800a1e2d7154e8fc4bd3
Author: lelazary <lelazary@yahoo.com>
Date: Fri Jan 4 17:05:17 2013 -0800
Removing the old link-mso19 files and changing makefile
commit df92e5cf6b1caad0d1d43eb890d84af1ef79cd18
Author: lelazary <lelazary@yahoo.com>
Date: Fri Jan 4 17:03:20 2013 -0800
Rewrote the link-mso19.c into api and protocol. Still need to test and cleanup some more
commit 26e6ef346d0d188932f6774d52134d8d48e38ab4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 3 19:17:51 2013 +0100
Add gnuplot_rigol_ds1xx2.gpi gnuplot script.
This is a very simple gnuplot script for testing the Rigol DS1xx2 driver.
It currently has various issues and limitations (e.g. only one channel
is displayed, the scaling is not usable, and so on) to be fixed later.
commit 29d957ceae3bd9ac5b72cd0e58a5910932bd1768
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 3 19:04:11 2013 +0100
rigol-ds1xx2: Cosmetics, whitespace.
commit fb6e5ba8c7da4cc16eda03e3ffd0a97780655442
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 30 15:29:00 2012 +0100
rigol-ds1xx2: Autoprobe for usbtmc devices on Linux.
commit 4e108ace13f2dc577e2855e44dfc685b9cfd6204
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 30 14:17:08 2012 +0100
rigol-ds1xx2: Fix setting trigger parameters.
commit 542843f76f4b2f780bf9ae6265f1a76841297d8a
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 30 14:06:58 2012 +0100
rigol-ds1xx2: Assorted parameter setting fixes.
commit e0b7d23ce884f03ecb693943c5bd822879c68d65
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 30 04:17:56 2012 +0100
rigol-ds1xx2: First working version.
Currently hardcoded to use /dev/usbtmc1. Analog data readout works.
commit f4816ac6cc2403558276ada44d3e14eb4a9b3d15
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 29 22:22:10 2012 +0100
rigol-ds1xx2: Initial driver skeleton.
commit aeabd30820bd3b685fb0bac83d1dc4a7faa32287
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 3 02:15:27 2013 +0100
ols: Implement SR_DI_HWOPTS.
commit 986fde755d6bec3dfbf6d2bf4768ca359fc05174
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 26 01:53:50 2012 +0100
serial-dmm: Add UNI-T UT61E support (UT-D02 cable).
commit fe0c0b98c6d10290cbd2b461e3cb17404b0ba457
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 7 19:10:36 2012 +0100
Add Cyrustek ES51922 DMM chip parser.
commit 21d3d4ee871ee84a5ba598b21e9a1bdeaa9db5e3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 1 00:33:05 2013 +0100
alsa: Add some more samplerates.
Add some more samplerates that seem to be supported by some devices
(found via random grepping of alsa and kernel sources).
commit a1b9a9bf44b33ee9f3a6ac5ae59a1ced1e2c3281
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 23:31:48 2012 +0100
alsa: Add missing % for PRIu64.
commit 52ba6e05d59d6b2199214aed14330f213e79a593
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 23:31:31 2012 +0100
alsa: Improved error reporting.
commit 721ecf3d97aa6e84e6d61b3c25023e9177895025
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 22:54:17 2012 +0100
alsa: Cosmetics, coding style, typos.
commit 65faa197ae4c607c9c127af99af6c8e5b6acd7b3
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Dec 26 12:11:33 2012 -0600
alsa: Find supported samplerates during device scan
Since we are using the 'hw' interface of ALSA, we don't have the luxury of
samplerate conversion, given by the 'plughw' interface. If we try to set a
samplerate that is not supported, ALSA will just throw an error.
We can test for the supported samplerates, and create a list of supported
samplerates, then limit the selection to only those values. The frontend can
query the list of supported samplerates.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 729850c9e7dfa2c08c11a025d5a54b8e8e803f3c
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 23 12:57:37 2012 -0600
alsa: Fix sample acquisition and send normalized values
The alsa driver requested signed 16-bit integers from ALSA, but casted them to
to an unsigned 16bit before finally casting them to a float. The end result was
that half of the wave would be clipped off.
We also requested data in little endian format. ALSA can be instructed to send
data with the correct endianness for the platform, without needing to worry
about what that is.
This patch attempts three points, which, together, fix the acquisition:
1) Request data from ALSA without specifying endianness; ALSA will handle the
endianness.
2) Simplify the int16_t to float loop by using straightforward indexes.
3) Normalize every value before sending it on the session bus.
NOTE: If testing with PulseView, it will appear as if sigrok is sending all
zeroes. sigrok is sending correct data, but since the data is normalized,
PulseView will incorrectly plot it as a straight line.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 6944b2d02f23cf562574d3d1b37a2d698bdbde4e
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 20 13:47:09 2012 -0600
alsa: Scan all soundcards and create a sigrok device per input
The alsa driver only works with device "default". This limits the driver's
scope to whatever device ALSA deems to be "default". It is desirable to have
access to all ALSA devices from sigrok.
Change the alsa device scan so that:
Each alsa device (not alsa card) gets its own sigrok device
For example,
hw:1,0 == sigrok device 0
hw:1,1 == sigrok device 1
hw:2,0 == sigrok device 2
hw:2,1 == sigrok device 3
hw:2,2 == sigrok device 4
[...]
We don't currently look at alsa subdevices. We only use subdevice 0.
Every input device will have its own channels (left, right, etc). Each of
those channels gets mapped to a different sigrok probe. A device with 4
channels will have 4 probes from sigrok's perspective.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 0d6ff1039447c35fa8b423ee02468e62a5064cab
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Dec 26 20:14:54 2012 -0600
alsa: Do not use snd_pcm_hw_params_set_rate_near()
snd_pcm_hw_params_set_rate_near() will try to use the samplerate closest to the
given value, potentially starting the acquisition with a different samplerate
than the one specified.
Instead, use snd_pcm_hw_params_set_rate(). It will return an error if the
samplerate is not supported by the hardware, which is arguably better than
collecting data with a different samplerate than the one specified.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit cbc8cbd8bbd664043c349133818e0ab41422c751
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Dec 31 15:14:49 2012 -0600
rs9lcd: Add missing 'break;'
A break was missing for "case MODE_AMP_WIDTH:" in sr_rs9lcd_parse().
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit f4abaa9f6b37d07bd565c74a60139d641e86b1d1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 21:21:39 2012 +0100
asix-sigma: Fix two compiler warnings.
asix-sigma.c:648:9: warning: 'ret' may be used uninitialized in this
function [-Wmaybe-uninitialized]
asix-sigma.c:1337:20: warning: 'triggerselect' may be used uninitialized
in this function [-Wmaybe-uninitialized]
commit b7c3e8499c9dc499874876efdf5fb499368d6f10
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 21:05:11 2012 +0100
session: Fix compiler warning.
session.c:258:6: warning: 'ret' may be used uninitialized in this
function [-Wmaybe-uninitialized]
commit 6375e1c3eba6243bcaa28f0eee5452cc6f9ae2fd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 21:03:45 2012 +0100
victor-dmm: Fix compiler warning.
protocol.c:106:10: warning: 'factor' may be used uninitialized in this
function [-Wmaybe-uninitialized]
commit f057272cac1baeead056502c29faeef83323b0bc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 21:02:14 2012 +0100
nexus-osciprime: Fix compiler warning.
protocol.c:26:46: warning: unused parameter 'fd' [-Wunused-parameter]
commit 811155da461851e8a7f75df898a301a7db48c667
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 21:01:53 2012 +0100
uni-t-dmm: Fix compiler warning.
protocol.c:84:5: warning: 'ret' may be used uninitialized in this
function [-Wmaybe-uninitialized]
commit 6e9d545cf4f546cbdb8a7ecd16d26e7d5e767a0b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 20:58:14 2012 +0100
rs9lcd: Fix compiler warning.
rs9lcd.c:289:19: warning: 'rawval' may be used uninitialized in this
function [-Wmaybe-uninitialized]
commit 9116262931773877e4dd279336ebb2be8f182c05
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 30 01:44:58 2012 +0100
add USBTMC device search helper
commit 80bc663296dade5d21e74fbbc5259b4f1b069fff
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 29 11:19:19 2012 +0100
tondaj-sl-814: remove unneeded debugging
commit 2239728c43aa12bcac66613bb4c84e745836d19d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 28 17:13:20 2012 +0100
ols: Add missing 'extern'.
commit d40a8d1455d3e08a17d1f9d96ee59e1826c7d8e1
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Dec 28 16:46:21 2012 +0100
added VID:PIDs for all Hantek DSO-2xxx/5xxx
commit bdd7618cd1f0645e3446814a9438965863d859f6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 28 11:22:16 2012 +0100
configure.ac: Fix CFLAGS settings.
Don't override/overwrite CFLAGS in configure.ac, but rather amend it
with (currently) "-Wall -Wextra -fvisibility=hidden".
This properly allows users/packagers to do things like:
./configure (this will default to using "-g -O2" additionally)
CFLAGS="-g -O2" ./configure (same as above)
CFLAGS="" ./configure (no additional flags)
CFLAGS="-g -O0" ./configure (disable optimization, e.g. for valgrind use)
etc. etc.
commit 14766619703e5b16acee2ebef569751ea90009bb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 19 22:50:07 2012 +0100
serial-dmm: Rename VOLTCRAFT_VC820 to VOLTCRAFT_VC820_SER.
This matches the _ser suffix of the other functions/variables for this
device ("ser" denotes that it is used with the serial UNI-T UT-D02 cable
as opposed the USB/HID based cables which are handled by the uni-t-dmm driver).
But more importantly, the _SER suffix for the enum value will prevent
name clashes later, when the uni-t-dmm driver gets a VOLTCRAFT_VC820 enum.
Do the same for VOLTCRAFT_VC840.
commit 35e199da505f5b8fadffa58875aaca70a8fde4f2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 26 01:29:27 2012 +0100
Fix limit_samples check in various drivers.
Check whether a sample limit was actually set (> 0) before checking if
that sample limit is reached. This also fixes continuous acquisition mode
for drivers which have that.
commit 786934010365a0b33aa8a32a7dc62a2975dba4c7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 26 00:12:52 2012 +0100
Shorten probe_names[] arrays everywhere.
Also, NULL-terminate all of them.
commit df36acb36a141e81eec0e6c5bd2734f86dd52597
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 26 00:01:37 2012 +0100
nexus-osciprime: suppress warnings
commit f9b9bd632faf4d5651c31a51026f6cbd219256e4
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 23 12:48:48 2012 -0600
serial-dmm: Handle time-limited acquisition
Implement SR_HWCAP_LIMIT_MSEC capability, to allow acquisition to automatically
stop after a specified amount of time.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 47eda193b2ce105ce50ddd284c99d813dacc49a7
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Tue Dec 25 16:21:24 2012 -0600
rs9lcd: Fix segfault with unusual modes.
Some unusual modes required re-parsing the value. Instead of assigning the
re-parsed value to *floatval, it was reassigned directly to *analog->data;
however, analog->data is not initialized at this point, causing a segfault.
This situation was created when moving the radioshack-dmm code to serial-dmm,
with the segfault not being observed at that time.
Do not write directly to analog->data, but instead use the intermediate
variable rawval.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 0853d5e627cc8ec493e52197fc8e9b3175701128
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Tue Dec 25 15:40:30 2012 -0600
rs9lcd: Convenience fixes
Convert bit masks from hardcoded hex values to bit shifts. For example 0x80
becomes (1 << 7). This also fixes a typo error in the definition of INFO_DIODE.
Add comments explaining that some case values in sr_rs9lcd_parse() are meant to
fall through without a 'break;', and explain some of the unusual modes.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit a97a3d708930a62bbc296785664b0d2677b233b2
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 25 19:13:20 2012 +0100
added Nexus-Computing OsciPrime VID:PID
commit 523dfc2497c8e7c765ea423ec9d638feba9ed73d
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 25 19:09:12 2012 +0100
nexus-osciprime: basic scanning functionality
Unfortunately the device doesn't have an EEPROM on board at all, and so
initially enumerates with the default Cypress FX2 VID:PID (04b4:8613).
Since we already support using plain FX2* as basic logic analyzers using
the fx2lafw firmware, we cannot support that same VID:PID for the
OsciPrime. Therefore a USB conn is required for the initial scan.
However, once the firmware is uploaded the device re-enumerates as
04b4:1004, which we do detect for scanning automatically.
Thus, the OsciPrime driver requires one scan with conn parameter to get
the firmware uploaded, but it will then keep working until powered off.
commit 35a078bce5cff9b8ff221a9930d271ec90e20ec4
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 24 20:11:38 2012 +0100
nexus-osciprime: Initial driver skeleton.
commit 2f1e5c7cb7ca72b6ebde7015191486ebfc0ffc70
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 24 20:27:45 2012 +0100
fluke-dmm: Properly handle continuous mode
Same bug+fix as commit d55c89f523e74a2f629bb23e8fd9bf6db7e3758a
commit f1f7e62d6df766f4a65d7854ae2dd745c623c863
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Dec 19 04:15:18 2012 -0600
session.c: Remove all remaining sources on sr_session_stop
Some sources may not be necessarily associated with a device. The best example
is the anykey pollfd from sigrok-cli. sr_session_stop only removes sources
associated with hardware devices via dev_acquisition_stop. Sources such as
anykey are not removed, and thus session->num_sources will not get to 0. As a
result, we may get into situations where the event loop enters an infinite
state.
To prevent this, all we have to do is remove any active sources that are still
present after dev_acquisition_stop has been called for all devices.
This fixes bug 14.
commit dc890b8f9fa01895d3849e7d5ab8be1146f07b9e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 24 16:57:55 2012 +0100
asix-sigma: Quickfix for an ASIX SIGMA issue.
It's not entirely clear whether this is the right fix, but we're merging
it for now, pending later review.
See also: http://sigrok.org/bugzilla/show_bug.cgi?id=26
commit b36e715395d220b7542b6038af3742e85e7bab92
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Tue Dec 11 20:51:53 2012 +0000
fx2lafw: Tidied probe_names
commit 0aba65da9f4031ca6eb7d0c268e4d06b0d0bfa06
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 23 20:41:27 2012 +0100
ols: Split into api.c and protocol.[ch].
Also, drop various no longer needed #include files.
commit a567547e205eca58065f21aa5b1502a34ba315b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 23 19:09:11 2012 +0100
ols: Use logging helper macro.
commit 11fb7110f46a76a4b078896f0e6c9396bf828189
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 24 11:00:55 2012 +0100
fluke-dmm: 190 series scopemeter support
199B only for now.
commit 4cea0ff7febe335aa4607e544561710963d5e5af
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 24 10:59:41 2012 +0100
fluke-dmm: parser cleanup
commit 9fa09680277cdc1f7f0792bedefff256ad9694ec
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 24 10:56:54 2012 +0100
fluke-dmm: adapt scanner to accomodate 190 series scopemeters
commit d4b11de09a42710c1c043693d5bda0fc8bc72f90
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 24 10:40:04 2012 +0100
fluke-dmm: make poll timeout configurable
Defaulted to 1s before, but a simple "QM" command on a 199B in scope
mode takes 1.7s to come through.
commit d92faf6cacf7088bd241bb8f0b1adc48082e85fb
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 23 18:54:24 2012 +0100
serial: more debug cleanup
commit 49aaa0bc68c1bf77cd81989c40e471fe7bd161ec
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 20 10:41:48 2012 +0100
serial: get rid of overly verbose spew
It just made spew-level logging unusable; the way sigrok async comms work
guarantees most of it was a false error.
commit 9cd9f6b71c35c0203b7e8997ce9425d0dc6e0f4d
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 20 11:33:49 2012 -0600
alsa: Split into api.c and protocol.c
This is the driver model agreed upon for all drivers.
As a result of the split, a devc->num_probes field had to be added in order to
reduce the interdependence between api.c and protocol.c .
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit acac8fc3500bc1f1e9e43c1508638488d91b2f86
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Dec 19 21:39:38 2012 -0600
device.c: Fix memory leak in sr_serial_dev_inst_free
sr_serial_dev_inst_free() freed all members of sr_serial_dev_inst, but did not
free the struct itself, as expected from a free_*() function. This inadvertently
caused a memory leak in every place sr_serial_dev_inst is used.
Free the struct itself
+ g_free(serial);
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit d55c89f523e74a2f629bb23e8fd9bf6db7e3758a
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Dec 22 16:00:44 2012 -0600
serial-dmm: Properly handle continuous mode
serial-dmm does not check if a sample limit is actually in place before deciding
to stop acquisition. Since the sample limit is set at 0 by default, operating
in continuous mode will cause acquisition to stop before even sending the first
sample.
Check to make sure we actually are in a sample-limited mode before stopping for
this reason.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 17dfb2c32c6686630fd95b2f25e554fa01f8ebd1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 22 01:33:03 2012 +0100
configure.ac: Improve check for libusb-1.0.
PKG_CHECK_MODULES() checks for libusb-1.0 via pkg-config already, no
need to use a "manual" additional check via AC_CHECK_LIB() just to set
HAVE_LIBUSB_1_0 in config.h.
This helps with cross-compiling setups, among other things.
commit 0254651dcba4b8c34d35845083250586ecf964ed
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 17 19:39:13 2012 +0100
alsa: Update to latest APIs/conventions.
The alsa driver was out of date wrt APIs and libsigrok conventions in
general, and wasn't compiling.
This fixes the compile and updates it to _basically_ work with the current
state of analog support in libsigrok.
This is not finished/full support for ALSA analog sampling yet, though,
various TODOs remain that will be addressed later.
commit bf53457d1ddea58d1cb7e4feea83ad0cc1d63031
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Thu Dec 13 21:07:53 2012 +0000
Pass sr_datafeed_packets and payloads with const pointers
This patch marks packet structures and their payloads as const.
This indicates to packet receivers that modifications to these are
not allowed. In general all pointers should be marked const unless
modification of the referenced data is explicitly allowed.
commit 16d6e56d124dcedf7273212bbfab1aed6ac7e7aa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 18 02:25:17 2012 +0100
hardware/agilent-dmm/Makefile.am: Fix typo.
commit 4f9bf9a202d331b0f2ec088d73d72808e1a934b4
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Dec 17 02:04:35 2012 -0600
chronovu-la8: Fix memory leak in hw_scan
Hardware scanning creates an ftdi_context before attempting to locate devices
based on PID/VID. If no devices are detected, execution jumps to cleanup. The
context is freed with free(), instead of ftdi_free().
We cannot assume that the libftdi context is stored in a contiguous memory
region, and thus cannot use a simple free. Case in point, this situation is
identified by valgrind as a "definitely lost" memory leak.
Use ftdi_free() instead of a simple free() in hw_scan(). Valgrind no longer
complains about a memory leak in this area.
clear_instances() does not need any modification, as it correctly uses
ftdi_free().
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit c0bf69c29b138d18ee9f542985664eeaeeb47a0a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 18 01:30:34 2012 +0100
fx2lafw: Fix int64_t printing.
commit b99457f09c90ce7fbb0de1793088dd53a59a0d07
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 18 01:26:58 2012 +0100
fx2lafw: Various cosmetics, typo fixes, etc.
commit a873c5940cc6d2d8f54f2dfdac3a98c4a3d302ee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 18 00:52:39 2012 +0100
Consistently use 'di' as variable name.
Use 'di' consistently in all drivers as the name for a local, static
pointer to the respective driver's 'struct sr_dev_driver'.
commit 443a14d81f44772076aefdb2b252657d6abc0d29
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 6 15:55:14 2012 -0600
fx2lafw: Print device failed to renumerate error
commit 378abfeac6cc94d88dc82b8481dec9c9f691f3da tried to solve a bug where
the fx2lafw driver would print "Device came back" even if a timeout had occured.
It solved that issue, but inadvertently introduced a new bug:
"Device came back" would be printed even if no firmware upload was performed.
This is counterintuitive, as the device is only reset when a firmware upload is
performed.
There are three cases:
i) Firmware upload was successful
ii) Firmware upload failed
iii) Firmware upload was NOT needed
Each case warrants a separate message from the driver. Print the
following messages depending on the outcome:
i) "Device came back"
ii) "Device failed to renumerate"
iii) "Firmware upload was not needed."
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit f427daefb01cdaf578dc8b9fa5f59c5525439289
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 13 15:08:05 2012 -0600
fx2lafw: Use DRIVER_LOG_DOMAIN for log messages
Use the new DRIVER_LOG_DOMAIN mechanism, where explicitly writing
the driver name in the message string is no longer required.
Thus:
- sr_err("fx2lafw: Something bad happened.");
becomes:
+ sr_err("Something bad happened.");
In either case, the log output is the same.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 006dbe55878ec7499e58a130c27f6c4297ada54b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 16 22:27:04 2012 +0100
serial_stream_detect(): Drop unneeded sr_spew().
commit 54d112218713b34491cd65454abad340ff19a393
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 16 22:17:48 2012 +0100
serial-dmm: Add Voltcraft VC-840 (UT-D02) support.
This works with the UNI-T UT-D02 (RS232) cable. For the USB/HID
based cable (UNI-T UT-D04), the uni-t-dmm driver must be used.
Note: This is untested, but should work just fine for all settings, with
the possible exception of temperature (testers needed!)
commit 40830061eb3a1327c1a8c76758e84b252e1950a8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 16 22:03:28 2012 +0100
serial-dmm: Add Voltcraft VC-820 (UT-D02) support.
This works with the UNI-T UT-D02 (RS232) cable. For the USB/HID
based cable (UNI-T UT-D04), the uni-t-dmm driver must be used.
commit 16b7b79005aaf0ab67d207ca11989f62d983ce62
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 16 21:28:26 2012 +0100
serial-dmm: Eliminate unneeded "subdriver" field.
Just use the 'int dmm' + wrapper method that is used for all other
functions which need this information. There is no real need to
special-case the hw_dev_acquisition_start() API call here.
commit 22f54192358620f24fc2df2ea6e8f578fee24b81
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 16 21:23:49 2012 +0100
serial-dmm: Cosmetics, documentation fixes.
commit 6aed917b133d44199500cdffc0d2f7998add3fb6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 16 23:06:15 2012 +0100
lascar-el-usb: fix sample limit parameter
commit 801c7800c6260a2e12aa2618263a717334946eb8
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Dec 15 11:03:10 2012 -0600
linsigrok.h: Document meaning of SR_UNIT_CONCENTRATION
Having concentration as a unit is vague, as it can be expressed in
many ways. In the context of sigrok, concentration means a normalized
number from 0 to 1.
Document its meaning.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 6787f4049a0c05ffb438fc1718f1fe9840be5a41
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 16 18:48:20 2012 +0100
lascar-el-usb: support for EL-USB-2*
commit ef4344e7f44fe8b67fdbf1cebf2b1a6d7edbfe77
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 16 18:38:44 2012 +0100
add relative humidity MQ
commit 7249d7833b69c1d753b18112891870d8aeda3d69
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 22:50:33 2012 +0100
analog: support ppm output
commit 7f00750ca4ed224b3880058847e6398f30cbb8f7
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 22:49:40 2012 +0100
lascar-el-usb: properly submit CO concentration as a PPM value
commit b0c95747e1e7ffa7ca9e8ca4a9bdda781469750a
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 22:34:40 2012 +0100
lascar-el-usb: add config saver
commit b6506d5e03e67c5029525d36016936cf9c858720
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 11:15:30 2012 +0100
lascar-el-usb: EL-USB-CO300 support
Works the same way as the EL-USB-CO, but with the more sensitive sensor,
so should work out of the box.
commit 521a0cd3577db0ec2763493d95d2ffa479568a3a
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 11:07:18 2012 +0100
cosmetics
commit 4f3bd685e695790ff578d17d0ed95c00784e58fa
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 10:50:22 2012 +0100
add MQ/units for carbon monoxide concentration
commit 6aa1eb4ea33e1aeeef772cd234f140464eea3fe2
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 04:06:51 2012 +0100
lascar-el-usb: generic EL-USB support + EL-USB-CO support
commit c5f1a021b82f3c2c56df2a0860bb6f9776e1076b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 9 15:19:39 2012 +0100
usb: strip overly verbose debugging
commit 9ec7ff94ed08aecc9c8898b00c797fd2621438c4
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 9 14:40:12 2012 +0100
victor-dmm: free in the right order
commit e7f378fd1ab895259cda8b0545663b39c7bc16f0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 9 14:39:17 2012 +0100
usb: strip useless code
commit e7ed87a469cb3c997ec2e98bc2c39d4284d86252
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 13 12:35:06 2012 -0600
serial-dmm: Use dummy info struct for rs9lcd parser
The rs9lcd parser, which is used for the RadioShack 22-812 does not use its
*info parameter, and therefore did not have a rs9lcd_info struct declared.
With recent re-factoring of the receive data callbacks, it became necessary to
pass a struct pointer. This made the RECV_DATA macro look like:
- RECV_DATA(RADIOSHACK_22_812, metex14)
giving the wrong impression that the RadioShack 22-182 uses the
metex14 protocol, which is not the case.
Create a dummy rs9lcd_info struct, and correctly identify the parser
as rs9lcd in the RECV_DATA macro:
+ RECV_DATA(RADIOSHACK_22_812, rs9lcd)
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit c69049091ec6e1383805064d3c472264384ffb57
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 13 11:08:38 2012 -0600
libsigrok.h: Don't store subdriver in sr_dev_driver
Not all drivers use subdrivers. The only reason the subdriver field was
introduced was to accomodate the model of serial-dmm.
The sr_dev_driver struct is available to the frontend. Exposing the subdriver
field creates the problem of exposing knowledge of libsigrok's internal driver
layout, even though the drivers are designed to be a flat list to the frontend.
Store the subdriver in the dev_context struct of serial-dmm.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit d128bf12b27432988cc5a0bf7d6ec3fca0696b0b
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 13 10:53:28 2012 -0600
serial-dmm: Remove global sr_dev_driver *di alias
The global *di alias was used to keep track of the driver context.
It caused issues with trying to use several subdrivers at once, so
its use was obsoleted.
The correct context is preserved through different mechanisms, either
the *sdi pointer, or wrappers which pass the correct context.
The *di alias is no longer used, so remove it.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 3098b3902d1794831be010ebff0484caf845de60
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 13 08:58:01 2012 -0600
serial-dmm: Simplify wrapper layout
Wrappers for hw_init, hw_cleanup, clear_instances, and hw_scan are needed for
each subdriver due to the nature of serial-dmm. These wrappers are implemented
as macros, in order to reduce the number of lines of code.
For each of those functions, we have a separate wrapper list, then we connect
them together in a first-class driver using a DRV macro, and yet another list
(the DRV list).
Instead of declaring those wrappers in separate lists, include them in the DRV
macro. This approach reduces the number of macro lists from five to just one.
From the perspective of adding a new subdriver, this also greatly reduces the
number of places needed to hook in a new device.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit fd9b2b865ac4e3f12305744753c0759c34c056c4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 13 01:54:13 2012 +0100
serial-dmm: Add per-driver clear_instances() wrappers.
commit 0c23677d0bc04a024c382aef64e5146887bdcb1b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 13 01:47:02 2012 +0100
serial-dmm: Add per-driver hw_cleanup() wrappers.
commit ca4b130943e266f545ae8ba89528f285831540cd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 13 01:41:34 2012 +0100
serial-dmm: Add per-driver hw_dev_list() wrappers.
commit ea4c6c2311f2c31ccf6863b13a815918ccee974b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 13 01:27:31 2012 +0100
serial-dmm: Add per-driver hw_scan() wrappers.
commit dccfe015868b5f1a5a5996983164d135ec561596
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 13 01:19:17 2012 +0100
serial-dmm: Use a macro for receive_data() wrappers.
commit f1437c6814c693bd624211c5b644951cf16139f2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 13 00:59:42 2012 +0100
serial-dmm: Use a macro for driver struct simplification.
commit 06b7a8af7e2e4b7baf28f4fa710a7dd00765f18a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 11 17:06:04 2012 +0100
serial-dmm: Simplify code a bit.
Store/use the receive_data() function and a pointer to the driver struct
in the dmms[] array. Use a ".subdriver" entry in the driver struct.
Use a macro to simplify hw_init() wrappers.
commit 5b389efcfeff17b0f7466597706c898ad65eb6a9
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 9 13:15:24 2012 -0600
serial-dmm: Avoid duplicate symbol error
Declare dmm_info dmms as extern in protocol.h to prevent duplicate
symbol error from the linker.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 378abfeac6cc94d88dc82b8481dec9c9f691f3da
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Thu Dec 6 21:31:37 2012 +0000
fx2lafw: Don't say "Device came back" when it didn't
commit 26be4ebef369e465eb5f13ee7bbab71b62e455f6
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Dec 5 15:16:52 2012 -0600
serial-dmm: Fix segfault when no device is used
di was initialized as NULL. If no device covered by this driver
is used, di remains NULL. This causes a segmentation fault when
calling clear_instances().
Check for di being NULL.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 63c07e48c627684f04d70e7dea2baf7c72ff2a41
Author: Peter Stuge <peter@stuge.se>
Date: Sat Nov 3 08:29:26 2012 +0100
backend.c: Return a sigrok error in sr_init() on libusb_init() errors
commit 123d97b17715204c58b795b8e6cbecc55725e5d3
Author: Peter Stuge <peter@stuge.se>
Date: Sat Nov 3 08:27:48 2012 +0100
backend.c: Fix memory leak in sr_init() error path
Commit 785b9ff290cbdb86e7d0b0280c33b43faf9c0518 added libusb init into
sr_init() which can generate an error. In this case, the already
allocated struct sr_context would have leaked.
commit 1740429d7045385866caafb0d2cbe302e7c74604
Author: Peter Stuge <peter@stuge.se>
Date: Wed Dec 5 01:23:49 2012 +0100
hardware: A few further USB error message fixups
commit d4928d7102c6b2f9f7aa51a1b98669bf148fff80
Author: Peter Stuge <peter@stuge.se>
Date: Tue Dec 4 21:11:25 2012 +0100
hardware: Call libusb_error_name() in all USB-related error messages
commit 851d5b2274f138d58be42adbbe584d9a4c4dfe01
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 4 23:58:26 2012 +0100
lascar-el-usb: add scanning functionality
commit 402704445e081ef7737081885496169f91af7ab9
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 4 23:58:03 2012 +0100
add thermometer and hygrometer HWCAPs
commit 7ae6a75826be6d7ddd885947630ecb26ba9fa1a5
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 4 23:25:11 2012 +0100
usb: sr_usb_find() uses standardized connection string to find a USB device
commit 5ea1e54ab54542803d531bd714b09b54fbaab408
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 4 23:11:40 2012 +0100
add VID:PID for generic SILabs F32x USBXpress chips
Used in Lascar EL-USB series devices
commit d458a0ac290c4be4cad19c22e143748a5ddff0e6
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Tue Dec 4 13:31:49 2012 -0600
ezusb: Use DRIVER_LOG_DOMAIN for debug output
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit f4284934354bff761a74eee545e5a4b7911a8e8c
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Dec 3 19:39:58 2012 -0600
tondaj-sl-814: Fix unused parameter warning
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit d4abb463a749cd3d614e98c7fe7f5d28ad69475d
Author: Peter Stuge <peter@stuge.se>
Date: Mon Dec 3 03:33:24 2012 +0100
hardware: Make USB drivers use the libusb_context in struct sr_context
commit 1ebe4b4e6926eb1288ce77b179a92bc670eb9eca
Author: Peter Stuge <peter@stuge.se>
Date: Mon Dec 3 02:49:36 2012 +0100
hw_init(): Save struct sr_context * parameter in struct drv_context
commit 34f06b903e3529a73feb7a6e74fae934a999f821
Author: Peter Stuge <peter@stuge.se>
Date: Mon Dec 3 02:47:55 2012 +0100
Add a struct sr_context * parameter to hw_init()
commit 44fc870c9cc5c0e53b47b9d7fa3dffe81731ee3c
Author: Peter Stuge <peter@stuge.se>
Date: Mon Dec 3 02:42:57 2012 +0100
Add a struct sr_context * parameter to sr_driver_init()
Since the public API is changed, this commit also bumps the libtool
version component SR_LIB_VERSION_CURRENT in configure.ac.
commit 73496bb57138dcd1aad4800c8c9ffc6484ca9d8a
Author: Peter Stuge <peter@stuge.se>
Date: Mon Dec 3 01:34:23 2012 +0100
alsa: Remove unused and unprovided hw_init() parameter `devname'
commit 46697e38b286541e0e5aa354d35a6f4564855fa6
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 27 17:40:14 2012 +0100
lascar-el-usb: Initial driver skeleton.
commit 162b735218b906d5a41e8da69ea15b76d267f1fd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 21:58:34 2012 +0100
Remove some radioshack-dmm leftovers.
commit ea088bb6930c617b2d615ee47c9442b27f449c43
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 2 13:34:51 2012 -0600
serial.c: Be more verbose about failing to parse parameter string
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 21829e6708ce1167e2d7d5d370166cafe328f092
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 2 13:15:21 2012 -0600
radioshack-dmm: Integrate into serial-dmm
Use the infrastructure of serial-dmm to handle the RadioShack 22-812,
and completely remove radioshack-dmm.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 05f134abc2641e6e4d3a22a8dda19460819af16e
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 2 12:58:30 2012 -0600
radioshack-dmm: Separate protocol parser from driver
Move the parsing part of radioshack-dmm into a separate protocol
parser, following the model from hardware/common/dmm.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit ae95ffebfa0d8c0992332b33631a26d898957b34
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 2 12:43:37 2012 -0600
radioshack-dmm: Fix opening of serial port.
During scan the serial port is opened with SERIAL_RDONLY | SERIAL_NONBLOCK,
which works fine, but when acquisition starts, it is opened only with
SERIAL_RDONLY. On Linux, if cdc_acm can make a claim to the USB to serial
converter, opening the port will fail.
Open port with SERIAL_RDONLY | SERIAL_NONBLOCK.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit d5ce233fe16a68e6522538c226a91e63628521dd
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 2 09:17:46 2012 -0600
serial-dmm: Add RadioShack 22-168 support.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit eebb606762218d7e87a18721bad0d47892e220e9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 17:21:13 2012 +0100
demo: Add missing dev_clear() API call.
commit 55a6daf59f85449d99a62b0a3b6010980125d38d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 23:54:49 2012 +0100
sr_init(): Add driver sanity checks.
After sr_init() has successfully run, we can be sure that all drivers
define all the API calls, so we don't have to do these checks later
in the individual API functions / wrappers.
If there are one or more drivers with missing API functions (or driver
name / longname, and so on), sr_init() will fail. This helps catch this
kind of developer error early on.
commit 3a18cf625e6f611041554d81c178b29cec19b484
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 16:11:42 2012 +0100
serial-dmm: Drop accidentally committed file.
commit 7f64e88fa99d54f22a999e7461e4f13c70f0aa8c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 16:09:31 2012 +0100
Reduce glib minimum version to 2.28.0 again.
We no longer use g_thread_try_new() which is only available since 2.32.0.
commit 3b20367381bcd955e604c40d05f489f2221c036a
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Dec 1 18:07:10 2012 -0600
demo: Do not use a separate thread for generating data
We already have an event-based mechanism in place. Using a thread just
adds unneeded complexity, especially for a driver designed not for
performance, but for providing a testbed to frontends.
Generate the data in the event handler, not in a separate thread.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit d4bd66a0c7196fb44f6f22036e3ea452ad5870df
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 01:32:57 2012 +0100
serial-dmm: Add PCE PCE-DM32 support.
commit a376ffea49411cca09b358f3677938612c79afaf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 01:02:16 2012 +0100
serial-dmm: Add PeakTech 4370 support.
commit a53da08254a5adcc15c925014eb1083fb067f3b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 00:40:15 2012 +0100
serial-dmm: Add Metex M-3640D support.
commit 9871215c83f70a2008272de03268291445ed59c3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 00:36:37 2012 +0100
metex14: Add dB mode and hFE mode support.
This is found e.g. on the Metex M-3640D DMM.
commit 6dca2f16eedfbcaa0ea4e45c7d58bbf596fa1012
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 23:32:39 2012 +0100
serial-dmm: Add V&A VA18B support.
commit 5887c9cc1af1d4798d61b338d66b573b1273f9c4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 23:04:00 2012 +0100
serial-dmm: Add MASTECH MAS345 support.
commit f0ac4929d3aaa83e32b0be0637ae1f22040ea724
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 22:45:45 2012 +0100
serial-dmm: Add PeakTech 3410 support.
commit ce3777ada98c5099d2867653f25239b85cf55708
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 14:22:15 2012 +0100
serial-dmm: Add Metex ME-31 support.
commit f086b83011b1282f62f0058872f333aef4bf9daa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 19:53:05 2012 +0100
serial-dmm: Add Digitek DT4000ZC support.
commit e90cf076aa6854ad3f312179a121bafc4c6e9a22
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 20:48:03 2012 +0100
metex14: Add sr_metex14_packet_request().
commit 8f46911e4252bddb680fb9adc603ea2640f1724e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 20:11:40 2012 +0100
metex14: Fix 'is_ol' handling.
Thanks to Bert Vermeulen for the reminder.
commit 2477fb95693aeeeab04323618ba18b1ebdbc3eb2
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 30 13:15:44 2012 -0600
metex14: Parse microamp (uA) values.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 3ebc9b59a2e2b96ad95dbfdf3218c3b3b00940ef
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 30 13:11:04 2012 -0600
metex14: Fix parsing of measurement flags.
strcmp(buf + 9, " mA") does not work because buf is CR-terminated,
while " mA" is NUL-terminated.
Drop ambiguities arising from the termination of the strings, and
only compare the characters we care about, using strncmp().
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit e82d7dbc202794dc30abdb4e50cfb4507f49025e
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 30 12:40:17 2012 -0600
metex14: Print contents of received packet.
The packet is an ASCII string. We can simply print the raw packet data.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 76b55dfa8a5318a0495d3f2cfb29d6cd229ce5dc
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 30 12:29:22 2012 -0600
metex14: Fix parsing of spaces.
When the parser found a space, it treated it as an invalid digit
and discarded the whole packet. This behavior was incorrect on
2000 count devices, where the first digit can be sent as a space
rather than a '0'.
Convert spaces to '0' and parse them as usual.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 21a7f2692e09269edd872bca4e25a9d06b67c0e5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 19:35:19 2012 +0100
Rename tekpower-dmm to serial-dmm.
This is now a generic driver for multiple DMM "subdrivers" that use simple
serial port protocols.
commit 729b01f98838b50263511ec135754d741698659b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 19:28:36 2012 +0100
tekpower-dmm: Generalize & first-class TP4000ZC driver.
Prepare the tekpower-dmm driver to be able to support various simple
serial port based DMMs.
Also, make a 'tekpower-tp4000zc' "first-class" driver which is currently
the only user of this generic driver.
commit 1fbab466268bf6975c0709d5554ce2192a21ef6c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 19:01:07 2012 +0100
metex14: Pass 'info' as a void pointer.
This is done so that the function prototype of all sr_*_parse() DMM
functions is the same, which will be needed later.
commit 93357bc3ce484c2e46a9999d4464ce2d5cc976b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 18:50:35 2012 +0100
fs9721: Pass 'info' as a void pointer.
This is done so that the function prototype of all sr_*_parse() DMM
functions is the same, which will be needed later.
commit d84fc9cb3b9fede9234603f95c1467f95686c1a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 28 17:14:42 2012 +0100
tekpower-dmm: Drop unneeded g_try_malloc().
commit 5ddb0cc7d4850375a9ef741012d229ead9a91490
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 14:10:27 2012 +0100
serial: Don't hardcode parity and stop bits on Windows.
commit 5ae35c29a7010cd018e43d04a809e1c60b7b72fa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 13:56:13 2012 +0100
serial: Full baudrate support on Windows/MinGW.
commit 39e5d79826cd2c1991007faf1a6cde05af995aa9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 13:41:49 2012 +0100
serial: RTS/DTR support on Windows/MinGW.
commit a54dd31e380ca4b469a20e41a0023d1dd9ec3c99
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 12:45:54 2012 +0100
serial: Use OS-independent flags for serial port opening.
Add SERIAL_RDWR, SERIAL_RDONLY, and SERIAL_NONBLOCK (for now), which are
mapped to the respective OS-specific mechanism in serial_open().
commit 0f84cda05d808f2e1c93ee14c4223be85fb9ef84
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 22:34:53 2012 +0100
serial: Fix Windows build.
commit c216d62307a000c75265594a34e8fefee7ba9efc
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Dec 1 12:49:15 2012 -0600
demo: Properly stop acquisition after reaching our sample quota
The demo driver was using sr_session_source_add_channel() to add
a poll source, but was relying on sr_session_run_poll() to call
sr_session_source_remove(). This, coupled with the design of the
driver caused errors once the samples were collected.
The error stream was most likely related to failing to properly close
one of the channels.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 49145a63c73e212e43f1ec901bfb4fe9f99e3caf
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Dec 1 12:03:45 2012 -0600
demo: Be more verbose about starting/stopping acquisition
This is the first step in fixing the demo driver: figuring out what is
being called and what is not _and_ have it show up in the logs.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 71caaad46bf285681d4921db796b81746324ff29
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 27 00:50:51 2012 +0100
serial: allow for extra rts and dtr options in conn string
Options in addition to the usual "9600/8n1" syntax start with a
slash, and take the form of key=value, where different options are
also separated by slashes. For example:
"9600/8n1/rts=0/dtr=1"
This sets RTS low and DTR high.
commit 700dcd5caa1d7569469cd7823add6ffd2ed5a2ee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Nov 26 17:01:15 2012 +0100
serial: Initial code for setting DTR/RTS.
Currently disabled until option parsing is in place.
commit 6b7ace4832b3b574399098de2ad4f4bd0f35a14e
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Thu Nov 22 23:15:27 2012 +0200
Add compress option to input/vcd.
commit 904735876118f0ff00ae34e1dbdb80dba752bf2d
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Nov 21 19:33:55 2012 -0600
radioshack-dmm: Be more verbose with packet checks
Add sr_spew() messages to state why the packet was found to be invalid.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 2ecc5d432fd17127fd221ca4940f9617569911d1
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Nov 21 19:30:26 2012 -0600
radioshack-dmm: Check for valid mode before calculating checksum
The packet mode byte is akin to a signature. If that is invalid, there's
no point in calculating the checksum, so check the mode first.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 54be7c005ed9f1f0eab80d1d1de528c8e8d7ce49
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Nov 21 19:19:58 2012 -0600
radioshack-dmm: Improve serial detection
For device detection, use serial_stream_detect() instead of
serial_readline() + custom logic.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 551c3d8ce36bebe02765c76ee4d04f4e700d61b2
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Nov 21 19:18:21 2012 -0600
serial.c: Sanitize serial_stream_detect
Print the timeout in miliseconds, not microseconds.
Only calculate elapsed time once oer loop.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 8be8746951e5538147370d9871a4c1ed0268db52
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Wed Nov 21 17:03:49 2012 +0200
Improve compatibility with various kinds of VCD files.
commit 0157808d740ec11f3a94f2d147b4429bd2a9954d
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Wed Nov 21 16:28:55 2012 +0200
Add downsample and skip parameters to input/vcd.
commit 61a429c963fb21c3d8cb8e9166d621526724b714
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Tue Nov 20 22:24:17 2012 +0200
VCD data parsing
commit 99eaa20695b2e6c41721072c84215331bbd3f3bf
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Tue Nov 20 21:03:06 2012 +0200
Beginnings of VCD input module.
File header parsing implemented.
Data parsing not yet implemented.
commit 8c012adbc15fcb00aee23f472b08b108d46b818b
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Tue Nov 20 21:02:14 2012 +0200
Add support for fs and ps to sr_parse_period.
These time units are used in VCD files.
commit ac913e5c3522fcf5a5633eaa8e19f6579dda554c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 14 18:38:26 2012 +0100
Add Metex 14-byte ASCII protocol parser.
commit 90165efe55de692e6329d0820d867d0887db5663
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 16 15:26:17 2012 +0100
ols: if no serial port specified, this driver is not used.
commit 766456be1c144b0985807279ffd697a395083cae
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 14 18:35:37 2012 +0100
Move serial_stream_detect() to serial.c.
commit e42b82a66f4a16dcc17ccf018637daa7a1a0df51
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 14 18:29:27 2012 +0100
configure.ac: Update NEED_SERIAL list.
commit 4da1a800df3ce7776b3a533308dabf484fae9a34
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 14 18:20:13 2012 +0100
serial: Compile-fix for Windows/MinGW.
commit 6bef68a7e1abd472753e16e2188aadd36650c163
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Nov 5 23:25:59 2012 +0100
tekpower-dmm: Cosmetics.
commit 2546b05c801c90a84fb2e6690d8c253c6576b4ab
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 2 10:53:06 2012 -0500
tekpower-dmm: Improve serial detection.
Serial detection was using serial_readline, which stripped carriage
return from the packets. This made for a very unreliable detection
mechanism.
Switch to a timeout-based detection mechanism that parses the data
as it comes in. This also allows us to stop parsing once we found
our first valid packet.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit bda8fc98b1eae0fbd7c57b9da705bfce4384756a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 14 15:18:02 2012 +0100
Drop obsolete genericdmm driver.
commit d35afa87c9e6d40d34154a784b62deeaffc3ad80
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 12:50:42 2012 +0100
tekpower-dmm: use new serial API
commit 401476daaf3006c0362bdeb7ee99f1d9b9b78809
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 12:41:10 2012 +0100
radioshack-dmm: use new serial API
commit 19ee7dff78f7195bfc82f14ef659751cdd0f6476
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 03:00:32 2012 +0100
tondaj-sl-814: use new serial API
commit f306ca61f65cb703b38e447bbd3dbea3ff9c57c0
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 02:48:04 2012 +0100
colead-slm: use new serial API
commit 109a3ba4137874373b249fee90055373e13a2a1a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 02:25:37 2012 +0100
agilent-dmm: use new serial API
commit 58d03f034f0d85a2840ed0bc9ea66506b5a1fa1b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 02:25:17 2012 +0100
fluke-dmm: use new serial API
commit 530f201eb8280b343529747107c15e91c2ab0623
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 02:24:47 2012 +0100
ols: use new serial API
commit 299bdb249ecaa9f42900a8f1a0fa0404d619c27a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 11 20:38:47 2012 +0100
serial: revamp internal API
The only thing to get passed around now is the struct sr_serial_dev_inst
pointer. This should make things more portable as well.
commit de6e0eca95f5d89e12b0940f2ecf59ab563cb725
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 19:40:14 2012 +0100
sigma/la8/demo: s/SR_PROBE_ANALOG/SR_PROBE_LOGIC/.
commit 472bbb464bf9522ed757826ec590aaf8bab087b5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 13:17:44 2012 +0100
alsa: Use message logging helpers.
commit a0a23863daecce5b7aaff352ad2bc5f47eb9bd0b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 13:11:58 2012 +0100
output/gnuplot: Drop obsolete code.
commit 121c18854a4327aedbc46378638d1bb20d67b2d8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 13:10:29 2012 +0100
contrib/Makefile.am: Add missing files.
commit a885ce3ee9ed770594d5b231f6dec0b740bba03b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 12:44:16 2012 +0100
Various subsystems: Use message logging helpers.
commit a944a84b17c5f5544b45e27dc07d7f60a4fd6ba8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 09:36:21 2012 +0100
Output modules: Use message logging helpers.
commit 8e7f1cfd99a37d21ebe3365067cd21b76e866d1c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 09:20:08 2012 +0100
Input modules: Use message logging helpers.
commit 64d33dc28e0e815cade56feb65f26a3d36421a96
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 09:30:42 2012 +0100
All drivers: Drop unneeded comments.
commit fa7730623a82bd1703b0d91adb97693e29b2a70c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 09:28:30 2012 +0100
victor-dmm: Cosmetics.
commit 5df7b201563f46b5620a027c59cb054f8887966b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 11 03:27:51 2012 +0100
serial: avoid Cyrillic conversion specifiers
commit fe1c50fba6b96400d9cc83c852a59f9ac9f2f148
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 11 03:10:29 2012 +0100
ols: fix device discovery
commit a99e0d2a0c9d1bb4db5623ba50f83486238ee793
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 9 19:52:45 2012 -0600
ols: Do not randomly probe serial ports
ols driver used to probe a series of available serial ports obtained
by regexp matching of common serial port names.
There are a number of problems with this approach:
1. It will probe all serial devices, including devices that do not
like to be probed, potentially causing them to act up.
2. It will try to probe serial ports which may already be opened in
other applications for other purposes.
3. It assumes the naming of the serial ports is set in stone, and
creates an unnecessary OS-specific list.
4. It produces unnecessary debug output even when an OLS device is
not connected.
5. etc...
Do not implicitly probe serial ports. Only probe the port specified
by the frontend, if any; otherwise, just quit.
Also get rid of all functionality in serial.c which was designed
specifically for random probing.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 2244356d1069c5b13fe3b728a421750900deaafe
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 11 02:11:49 2012 +0100
comment fix
commit 56eb9f95ba8828aa643eb836e62d3d7c9a0bdd33
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 19:39:37 2012 +0100
link-mso19: Use message logging helpers.
commit 92bcedf6e861a11d0b46d2bf5bc7c221b20baa7b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 18:24:05 2012 +0100
demo: Use message logging helpers.
commit e98b7f1be0a97207b9a0b4d7c9a8d397fb542eb1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 18:19:30 2012 +0100
hantek-dso: Use message logging helpers.
commit 47f4f073e0a7fe68a55001180c3c9092551f2108
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 13:42:00 2012 +0100
asix-sigma: Use message logging helpers.
commit 936e27f19712572d5a1c506dc0ef59aad8743fc4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 13:32:46 2012 +0100
radioshack-dmm: Use new file naming conventions.
commit 4e172b8f8d725667d632484f340b1eec47597097
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 13:30:02 2012 +0100
radioshack-dmm: Move some stuff out of .h file.
Most of the enums and #defines are not needed in multiple files, just
put them in the respective .c file where they're used.
commit ba6383f85574e4e374a141ca88979db86fe2893d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 12:51:57 2012 +0100
radioshack-dmm: Cosmetics, coding-style, cleanups.
Also, drop some uneeded code and simplify some parts.
commit 302c4b5ab54625f3f94af3efe3ee3acf9cea8114
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 01:42:32 2012 +0100
serial: Deduplicate log messages a bit.
commit c073af80f89d8bce8675068d084c96e0cf37bb4f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 9 03:40:53 2012 +0100
Add initial Tondaj SL-814 protocol handling.
commit aa2af32432b3410421a89303ef48cc990ff39db9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 9 03:33:05 2012 +0100
tondaj-sl-814: Initial driver skeleton.
commit 63f7cb9791d2b5fbd32a897e94790c9a6def8462
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 7 01:25:10 2012 +0100
agilent-dmm: use standard serial_readline()
commit 318dd53c7093aa2ea26e0d246b23ffeb77b46707
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 7 01:24:23 2012 +0100
serial_readline() now terminates on and strips CR and/or LF
commit b87f8504dc82eab0155263887662ac14c252414d
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 7 01:23:24 2012 +0100
g_get_monotonic_time() takes a signed int64
commit 74ac7d7f735011012fb942577e38ddfe64738c8d
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 7 00:46:30 2012 +0100
agilent-dmm: no need to specify a serialcomm scan parameter
It's always 9600/8n1 anyway.
commit 33e8a3c5258d9ac92841cf47abd1e1f7528d640b
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 7 00:39:46 2012 +0100
chronovu-la8: not a bug if an unused driver gets asked to clean up
commit ff945683664a916566289f9bdbb371dfba6f3176
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 6 19:37:33 2012 +0100
victor-dmm: add protocol decoder
commit 642e9d623cebda60d53d13cf637c42eab8df3c73
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 6 19:32:53 2012 +0100
more deconstifying sr_dev_inst for dev_acquisition_stop()
commit 7a36037546aaf11b91ff5d63fbd571e15407e357
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 6 15:14:34 2012 +0100
victor-dmm: add basic USB driver skeleton
commit 69b07d14db24055d23bbb4c4cc718ec073ece0b7
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 6 15:02:37 2012 +0100
allow for intermediate stage in stopping acquisition
In the case of USB drivers, a driver's dev_acquisition_stop() cannot
simply remove its fd sources from the session and close its devices:
a USB transfer might still be underway, and it needs to be finished
(and its memory freed) properly.
An sr_dev_inst->status value is added: SR_ST_STOPPING, which should
be set when the driver's dev_acquisition_stop() is called, and acts
as a marker for the USB event handler to wind up its operations.
In order for dev_acquisition_stop() to be able to set the sdi status,
however, it needs to be unconstified.
commit ac3898d2d09f54862522967f10487a0708df810c
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 2 20:47:06 2012 +0100
victor-dmm: Initial driver skeleton.
commit 0ab0cb942f59e2232921c10d79ed43cad6cf3153
Author: Toshiaki Yoshida <yoshida@mpc.net>
Date: Mon Nov 5 16:06:14 2012 +0900
zeroplus-logic-cube: Fix samplerate and trigger
- Default to 1MHz.
The default sample rate is the lowest frequency (100Hz),
but it takes a very long time until 128K memory is full.
- Fix the 1MHz setting.
- Use samplerate list.
- Fix 10MHz frequency.
- Fix trigger.
- Change the size of memory according to the number of samples.
- Add pre-trigger (capture ratio) setting.
- Fix the first acquisition after power on.
commit 41d9427f27f8d175fb0a0259c4e4507ca818b616
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 23:44:09 2012 +0100
uni-t-dmm: Use new USB helper functions.
commit 0c632d36be4b7b34addadf0649fea95173fe0f9a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 21:04:21 2012 +0100
genericdmm: Factor out USB functions.
Move sr_usb_connect() and sr_usb_open() to hardware/common/usb.c in a
slightly more generic form and add more error checks and logging.
Let genericdmm use the new/moved functions.
commit 538ac9a91e5efb65e3c28d5a9af16c6fcfd63872
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 2 20:43:49 2012 +0100
colead-slm: fix sloppy driver context handling
commit f18297a5fd88f09a9e1a1330777f6db6dfe8999a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 19:05:53 2012 +0100
HACKING: Document enum setup.
commit 24d04d1e3de61cc3f1f12c3091bf393ee2dac8de
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 2 11:56:56 2012 -0500
Avoid future ABI breakage by hardcoding enum values.
Whenever we added a field to the enums in libsigrok.h, we were running
the risk of breaking ABI compatibility. Any reordering of existing values
or the addition of entries other than at the bottom of the list would
cause an ABI breakage.
By hardcoding the values we ensure that any added field will have an
unused value, and will not take a value previously used by a different
flag. By doing this, we avoid confusing frontends compiled with an
earlier API.
We use 10000 as the first entry of each enum, and each "category" gets
an explicit number (10000, 20000, 30000, and so on).
Also avoid making the first value of an enum zero. A value of zero is
used as terminator item in some lists.
Remove explicit "DUMMY" (terminator) enum entries, they're not needed.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 83e3c368c67d6bbc86015fc47a7f7e39160b3baa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 18:49:00 2012 +0100
serial: Output successful open and the FD.
commit 20af610683e4d7fc22deaa26e7b92730057405cd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 18:44:52 2012 +0100
serial: Fix two segfaults.
commit c485db908ae2c8f3f85eb70c2a5f86bcc2cab975
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 18:35:08 2012 +0100
serial: Fix some sr_err() items.
commit 43d8eaf601416ff5f06eca4d1433cb4381821081
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 18:16:58 2012 +0100
genericdmm: Drop left-over entry.
commit 441b80035e0f64e4149ae9d85f2d96fee6cde5bd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 18:05:18 2012 +0100
genericdmm: Drop some dead code.
commit b19f4622b6a1d21b00bd93d99e10bb4565ed7af0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 15:58:54 2012 +0100
serial: More error-checking & logging, add baudrates.
This mostly affects the non-Windows code so far, the rest will follow.
commit d7c776b9ff604bc05ff59ca69539e2179180f5df
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 15:57:21 2012 +0100
serial: Add missing "break"s.
This would otherwise cause bugs when e.g. asking for 2 stopbits.
commit a8d09e13264be77bcf1fe53202880ce4c26e39f9
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 2 15:21:43 2012 +0100
colead-slm: SL-5868P support
commit fc19c288b5ee32618a10f73fda7475b9a5a8ac6d
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 2 15:20:10 2012 +0100
add support for sound pressure level measurements
commit 258eeb77b88852b743e08a751455a2c1965e4db1
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 2 15:19:01 2012 +0100
output/analog: add support for sound pressure level
commit bde4f4296d8d7a3653c93fc7034e6f7c019e1255
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Nov 1 23:38:10 2012 +0100
analog: if no MQ unit was set of recognized, just print the value
commit 4d729ddcaf395de1d04af93dd5ea569cfbc17de4
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 29 22:33:47 2012 +0100
colead-slm: Initial driver skeleton.
commit 8c1adf3738b68912ab8cf4308341b82dbc83056a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 1 15:58:09 2012 +0100
Rework FS9721 parser.
Merge parts of the tekpower-dmm code (the chip of the TekPower
TP4000ZC seems to be an FS9721_LP3 too) and rework parts of the functions.
Adapt the tekpower-dmm and uni-t-dmm code accordingly.
commit be5c1d3b52a4c774bdd182ba54225a234d55336f
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Oct 29 23:42:10 2012 -0500
tekpower-dmm: Use generic fs9721 parser
Replace the parser with the fs9721 parser, which is just an adapted
version of this parser.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit db7d0626c918209db0ba5dc6e896232c8c2e4f6c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 20:30:25 2012 +0100
Remove 'float' output module.
This has been replaced by the 'analog' output module.
commit 886a52b6fbffb0fd06849c928cf9fd31a0d4657b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 20:20:22 2012 +0100
Return SR_ERR_MALLOC upon allocation errors.
Add some TODOs.
commit 6f22a8ef2ccf7091324b41b553632695507215a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 19:59:21 2012 +0100
Factor out serial_readline() to serial.c.
Only one (slightly different) variant remains in agilent-dmm, this will
be merged soon too, though.
commit 2980cc249494ac8335296fae7beac52fb078b22b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 18:56:04 2012 +0100
genericdmm/victor-dmm: Use message logging helpers.
commit dccbd0ede0013318da866ae941c64e23ad3e2027
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 18:52:20 2012 +0100
radioshack-dmm: Use message logging helpers.
commit 38d326e879c6e1bb7d4a11682c262ca838a7dde5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 18:50:15 2012 +0100
agilent-dmm: Use message logging helpers.
commit 31d84da3a22cc6fc9b2226ab3863e9235a3d5b87
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 18:48:33 2012 +0100
fluke-dmm: Use message logging helpers.
commit 6ac5f8922e63d1f584a69969190af0389a88d812
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 14:23:05 2012 +0100
uni-t-dmm: Simplify subdriver setup.
So far, it seems we can make this work with just hw_init() needing to
be subdriver-specific (it will point 'di' to the respective per-subdriver
entry), the rest of the API functions can then use a strcmp() on di->name to
learn which subdriver they belong to.
commit fdbcb86dba17eec8e1492736adf1aec45e746c00
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 13:11:27 2012 +0100
Draft: Make UT61D and VC-820 "first-class" drivers.
The 'uni-t-dmm' driver/directory will not appear as a "driver" to
frontends anymore, it's just an internal thing.
The frontends will see a uni-t-ut61d and voltcraft-vc820 driver now,
with the correct names and parsers etc. attached to them.
This is not fully finished yet, but it's a start (and works mostly):
$ sigrok-cli -D
The following devices were found:
UNI-T UT61D with 1 probe: P1
Voltcraft VC-820 with 1 probe: P1
$ sigrok-cli --driver voltcraft-vc820 -D
The following devices were found:
Voltcraft VC-820 with 1 probe: P1
$ sigrok-cli --driver uni-t-ut61d -D
The following devices were found:
UNI-T UT61D with 1 probe: P1
# Now attaching a UNI-T UT61D device via USB.
$ sigrok-cli --driver uni-t-ut61d --samples 3 -O analog
P1: -0.017800 V DC
P1: -0.017600 V DC
P1: -0.017700 V DC
# Now attaching a Voltcraft VC-820 device via USB instead.
$ sigrok-cli --driver voltcraft-vc820 --samples 3 -O analog
P1: -0.319200 V DC
P1: -0.319300 V DC
P1: -0.319300 V DC
commit 4ca378df8874b8e0bfd323c725c019c3968c0e1e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 29 22:10:05 2012 +0100
don't use deprecated g_thread_init/_create
commit 7445ed9158294e39ec697f54944e19a4b9636a6a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 29 22:08:34 2012 +0100
require glib version >= 2.32
This allows us to do away with a few deprecated g_thread functions
in demo.c which throw deprecation warnings since glib 2.32.0.
commit 015f1508ad57e1ace60965952389a0b83c271178
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 29 15:20:17 2012 +0100
uni-t-dmm: Voltcraft VC-820 draft support.
This is commented out so far, will be implemented properly soon.
commit 6c701476ad76c648e9b367ac340c2dd0063e4ed0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 29 12:02:05 2012 +0100
Add protocol parser for FS9721_LP3/FS9721B.
The Fortune Semiconductor FS9721_LP3 and FS9721B/Q100 DMM chips are very
similar and the protocol looks identical.
Tested on a Voltcraft VC-820 (FS9721_LP3) with the uni-t-dmm driver
(needs some small changes, tbd).
commit a28dac0a7307f222e8e145ccc8188519206d0c4c
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 29 11:54:20 2012 +0100
fluke-dmm: code cleanup
commit 2c04dede20e1e69420d872878e8d04792333626c
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 29 11:50:34 2012 +0100
Fluke 287/289: support for dBu/dBV measurement units
commit 79081ec80c79801c439a1a3756cf5426af0739b8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Oct 27 22:41:50 2012 +0200
Initial support for UNI-T DMMs.
This is not yet fully finished, but works for most use-cases.
Tested with a UNI-T UT61D using the UT-D04 USB/HID cable (new version).
commit 45e080b60b2526fd9723dd822215294f973bff2a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Oct 27 22:21:07 2012 +0200
la8: Rename driver.[ch] to protocol.[ch].
commit f3a35908ef0d9fd56ec170d7f1bafff50c3432e2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Oct 27 21:27:15 2012 +0200
la8: Adapt to new driver conventions.
commit 9eb2bb960181302893e7c9032dbaba7763132174
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Oct 27 21:07:39 2012 +0200
configure.ac: Cosmetics.
commit bbabddbd64d07811120230203d453c65ac53ce57
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Oct 27 21:03:02 2012 +0200
tekpower-dmm: Cosmetics, coding-style, consistency fixes.
commit 7dc55d930f87433fb35ebf6f18f767eddb7e8a17
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Oct 20 20:39:37 2012 -0500
Add support for the TekPower TP4000ZC DMM.
Also known as Digitek DT4000ZC.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 2bba3dd3a836f4a6d497709d321557a48e6425a3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 25 23:42:20 2012 +0200
HACKING: "Adding a new hardware driver" chapter.
commit d36777dbf5f61027e404076f1564d769bfc5f3ad
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Oct 24 16:48:41 2012 -0500
.gitignore: (Trivial) Ignore KDevelop project files
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 6f669a68e77a8a8fe4e62d66851cd894d72538dd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 24 02:51:17 2012 +0200
configure.ac: Small consistency fixes.
commit 545f9786390a89b8bb6868907afa555fc0a6ece4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 24 00:41:21 2012 +0200
config.h usage cleanups.
- Drop config.h #include from files that don't actually use any of
its contents (at the moment).
- Add comment for those that do need it.
commit afe2f28e65f3c3d9b510f101d6cd76c59794cd17
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 22 02:32:53 2012 +0200
Doxygen: Explain init/shutdown, add small example.
commit 1f345a21d24e52f482a06da9e434f751abdff203
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 22 01:21:20 2012 +0200
Doxygen: libsigrok.h: Explain #include file usage.
commit a02d77bce91771faf3581beed7af747d9f046c72
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 22 01:13:36 2012 +0200
Doxygen: Various fixes in libsigrok.h.
commit 393fb9cb18c5746d8567c9cf74b872804043345a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 22 00:30:12 2012 +0200
Doxygen: Add @file items for the relevant files.
These short descriptions are shown in the "Files" section of the
Doxygen output.
commit 777e2035d8293b4636f6bf37afd92e18ced3720e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 23:43:41 2012 +0200
Doxygen: Fix grouping of session_file.c functions.
s/@ingroup/@addtogroup/ and s/grp_device/grp_session/.
commit 6b2d8d3e5c4762cdafd847f9613d3f7b855927ab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 23:24:42 2012 +0200
Doxygen: TODO cleanup, use @todo where needed.
Turn TODOs which should be user-visible into @todo so that Doxygen
shows them in the function docs, and also on the special "Todo List" page.
Those TODOs that should not be in the Doxygen docs are moved out of the
/** */ comment blocks.
Also fix some comments/items, and remove some obsolete ones.
commit 3c0839d52475605d61ce385eda95f824fc448c88
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 17:49:22 2012 +0200
Doxygen: Various improvements in libsigrok.h.
- Turn SR_OK/SR_ERR_* and SR_LOG_* into proper enums.
- Use /**< Foo. */ for Doxygen comments that are on the same line as
the (e.g.) enum entry they document. If the comment is not on the
same line (but rather directly above the enum entry) a simple
/** Foo. */ comment is sufficient.
- Use /** */ instead of /* */ in some places, so that Doxygen actually uses
the respective comments.
- Various smaller cosmetic fixes or cleanups.
commit 9c5332d2915ba374775196b7e3624857d320b60a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 16:52:56 2012 +0200
Doxygen: Fix a bunch of warnings and outdated docs.
commit f21193fa03c7fe1ff6708e22d7aeb318b5539191
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 16:36:23 2012 +0200
Doxygen: Move error handling stuff to error.c.
Also, add an overview mini-section to the main page instead.
commit 7b870c38e3040fec1165a623ae3986e4fb342218
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 16:13:36 2012 +0200
Doxygen: Initial groups and topic short descriptions.
commit b4bd70889f3009f5d836a9bf701725a6aceac039
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 19 10:07:22 2012 +0200
Doxygen: Mark non-public stuff for exclusion.
- /** @private */ can be used for functions, and /** @cond PRIVATE */ and
/** @endcond */ for variables or #defines.
- Document the above in HACKING.
commit 5b30cca719b737fed96c00e1b7a5094770d9d815
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 19 10:06:45 2012 +0200
Doxygen: Add initial main page documentation section.
commit d5f1d5382d2b2cb8999fefaf4e6e7af8067d110f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 19 10:01:45 2012 +0200
Doxyfile: Various additions/improvements.
- Show a short project description, the libsigrok version (x.y.z or
"unreleased development snapshot"), and the sigrok logo in the
Doxygen output.
- Ignore a bunch of files and directories which don't contain public
libsigrok API anyway.
- Remove the SR_API prefix from the Doxygen output (all
functions/symbols in the output are part of the public API anyway).
- Various changes of settings to get nicer and more useful output.
commit e61b4fa0d0f905ee6eb4aa7655ee8189b155dfbf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 19 00:30:31 2012 +0200
Doxygen: Add sigrok logo PNG for use by Doxygen.
commit c63eac737c173cfb7d4ffd939a68f8ae8801b513
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 18 22:51:16 2012 +0200
Doxyfile: Update to what doxygen 1.8.1.2 generates.
The new version has a number of neat improvements/features we could use.
commit 296821683df6ed064f036205c968e80549429456
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 22 11:54:40 2012 +0200
Makefile.am: Add missing backslash.
commit 8e2d43cc97438e092e1df3ad344c64032b56564e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 22 10:17:38 2012 +0200
backend.c: Revert accidentally committed test code.
commit 589a10135a5b811e16bdbc73b276d13884c27fa4
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Oct 21 01:34:34 2012 +0200
clean up autoconf/autobuild scripts
commit d11d606626a2ce9359ed2b5395fe4b998604da92
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 22:41:39 2012 +0200
We now require libusb >= 1.0.9.
This is due to the use of libusb_error_name().
commit c46762a285d7c844a771f5c1f0ad2447a00906b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 22:40:43 2012 +0200
sr_init/sr_exit: Improve docs, add error checks.
commit 785b9ff290cbdb86e7d0b0280c33b43faf9c0518
Author: Peter Stuge <peter@stuge.se>
Date: Sun Oct 21 20:23:36 2012 +0200
Add and init libusb_context * in struct sr_context when using libusb-1.0
This allows hardware drivers to use a common libusb_context.
commit b8072700c1bc7d13ba004fd897668b56cec4ac62
Author: Peter Stuge <peter@stuge.se>
Date: Sun Oct 21 20:23:14 2012 +0200
Add a struct sr_context * parameter to sr_init() and sr_exit()
commit 026c822d8c6d39a2b0e976b02c16bb991431700b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 19 10:35:11 2012 +0200
Move 'struct drv_context' to sigrok-internal.h.
It's not meant to be visible to frontends.
commit 7c41dc477402c09141c5d478dff493f8efb81264
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Oct 19 20:40:50 2012 -0500
radioshack-dmm: Implement support for "LOGIC" mode
LOGIC mode sends the following data:
V < 0 : actual voltage
0 <= V < 1 : LOW
1 <= V < 2 : actual voltage
2 <= V : HIGH
We follow the same idea, and set our unit to BOOLEAN for the crazy
case (HIGH or LOW).
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit dfd8f56ef4a0ee1c353db5078d6d7d8b901ec21b
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Oct 19 20:31:19 2012 -0500
libsigrok: (Trivial) fix packet type in datafeed_dump
datafeed_dump would print SR_DF_META_LOGIC when a SR_DF_META_ANALOG
was recieved. Fix that.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 0f7083019449c1d88a5916bae766f3e51f7f8373
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Oct 19 17:50:20 2012 -0500
libsigrok: (Trivial) Add support for 2400 baud
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 777bbd5b98873ec20c58613e4dbb48a1836174bd
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Oct 18 22:43:03 2012 +0200
add SR_HWOPT_* documentation
commit fe31f8b9f9b743bf47794842b70e56e3b2dda883
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Oct 16 23:32:39 2012 +0200
fluke-dmm: add support for Fluke 187
commit 796a79eb75e35fe47becfbf62a840464efbbe96a
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Oct 16 23:31:18 2012 +0200
analog: add pretty-printer for dBu and dBV
commit 6b8692346358362f4b7b004059c62c23f4889410
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Oct 16 23:28:04 2012 +0200
add SR_UNIT_DECIBEL_VOLT (dBu)
commit d713e561814558d9f07c4186aef35a23df8b8445
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Oct 16 14:03:40 2012 +0200
analog: sane printing of very small and negative values
commit 8ed262509f6f5e5a3b9a45ae6d116b1c36c750d7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 16 14:48:39 2012 +0200
HACKING: Cosmetics.
commit 6aff0d16df34c60dada92486db0554ad32e08422
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 16 12:08:01 2012 +0200
Build fix for Windows/MinGW.
On Window/MinGW 'recv' seems to be already defined in some headers.
Use 'receive' instead, for now.
commit a2353f6051004634f67505987749d56edbfdfb41
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 16 11:24:03 2012 +0200
Re-add HACKING file after repo split.
commit be8dbf3ab24348fe5cc619eca6a63464e72e6aa2
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Tue Oct 16 01:23:50 2012 -0500
radioshack-dmm: (Trivial) Convenience fixes
While testing the new radioshack-dmm driver with pulseview, I found
a few inconvenients.
1. Print an info message when a port is probed, and when a device is
found. This makes it easy to tell if and where the driver is looking.
2. num_samples was not reset after the first aquisition, so the
second aquisition would quit right away. Reset num_samples at start
of a new aquisition.
3. There's no need to open the serial port RW, so change O_RDWR to
O_RDONLY when opening the port.
These changes are too trivial to split into different patches.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 7b0a85c81c6bce43ced9bf59d99b3584fd1498d8
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 15 18:25:48 2012 +0200
radioshack-dmm: build fixes
commit d375b3c3ec01c246dbf6f0827c33aafc0953431b
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Oct 15 01:17:32 2012 -0500
radioshack-dmm: Add support for Radioshack 22-812 DMM
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit b82a17d370a74dc7d4788f343f0ef050490e057f
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Oct 15 01:14:04 2012 -0500
libsigrok.h: Add measured quantity and units used by Radioshack 22-812
The Radioshack 22-812 can measure parameters such as transistor gain,
dbm, etc. Add those to libsigrok.h.
The SR_UNIT_UNITLESS is for quantities that do not have units. Any
ratio or gain are just factors, whic do not have units. Specifically,
a transistor's gain, or hFE, is a unitless quantity.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit e8e9dcdd705c64a8ac1c04bc04d91e1a371e76c8
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Oct 15 01:12:53 2012 -0500
serial: (Trivial) add support for 4800 baud
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 5fef6b9d6cd17f89a05f8e7a02a8c523e6a2632d
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Oct 15 01:11:39 2012 -0500
.qitignore: Ignore KDE backup files
*.kate-swp files can become annoying, so ignore them.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 2b98e0aaab7e83c30fb1f690318584aa0f85b50a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 15 11:32:36 2012 +0200
analog: support AC+DC unit modifier
commit 17ff11240ee1ed8afd504b84a99990969a75544b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 8 23:56:06 2012 +0200
don't accept numbers as probe identifiers in trigger string
Only the probe name, as supplied by the device driver, is accepted.
commit 33df15f14440397bb8358fbf0939588c1b410e0c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 11 23:46:30 2012 +0200
Quick workaround for g_match_info_unref().
commit 4a1c927fd6c47831b984d9d7f4757408cf6fb800
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 10 23:08:32 2012 +0200
README: Add status, update URL, small fixes.
commit a5b2293fa84c076236fd3a6c7202ad4996ba16fd
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 8 18:52:36 2012 +0200
updated URLs and description
commit c750b9b1944723532b2924fd305573c26927d2fb
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 8 15:53:00 2012 +0200
restore pre-split ignores
commit a2e222d24fdca68fbf34031baa889ca3ebf23e1a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 27 23:29:33 2012 +0200
sr: struct drv_context is global now.
commit d38d2ef0ce0e4ec49369e6cbfac616d9b1065c38
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 25 19:38:59 2012 +0200
fluke-dmm: support for all basic 287 functionality
commit 96b3b3d56834f7c07a4760cfa3444b516c819de3
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 25 19:34:53 2012 +0200
sr: add support for conductance measurements in Siemens
commit aa839a5c4fb3d994c7254da403eef8beab2880ba
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 25 18:33:42 2012 +0200
sr: add support for pulse width measurements
commit f46a36ad801bc96754183e8aa1cc2a8c0583ae33
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 23 00:03:24 2012 +0200
fluke-dmm: definitely use CR as line terminator
commit acd29accb3a458ab6a494e3f6c42dacc56a4c7a8
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 22 23:52:23 2012 +0200
fluke-dmm: add Fluke 287 to supported list
commit fb9d3bf9cc0cafbd3caedcd54831219a533ef7fb
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 22 23:50:51 2012 +0200
sr: always turn off ICRNL on serial ports
It does rather screw with protocols that use CR.
commit d3f8f1415c5c707edc1c78377f30875604e9b8c1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 17 16:31:15 2012 +0200
fluke-dmm: flesh out the driver API
commit 4129832014ddb8330bd3f4a91e7c69ce6eb6b0cc
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 17 15:40:41 2012 +0200
fluke-dmm: auto-discover serial bitrate if not provided
commit bc41e012e6eda6277cbbeb5933c82c3d74a5ce69
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 16 21:27:06 2012 +0200
fluke-dmm: don't log anything if no conn params given
commit fb480d578e423cd0f5702d1251e3cdccb990c9fb
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 16 21:07:17 2012 +0200
fluke-dmm: fix discovery
commit 5c51e09868ea24c0eb77908aa3a9d585a46a3158
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 16 14:07:21 2012 +0200
sr: turn off canonical mode and echo ion serial ports by default
commit e7edd64f4573b786a8a1ab00e837d9e56cc69480
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 15 18:28:43 2012 +0200
fluke-dmm: build fixes
commit 4f958423d17c4c264ae02884888615df28c60f3d
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 11 20:11:13 2012 +0200
fluke-dmm: basic scan functionality
commit 883a2e9e71d4d0f84d9f8df6a6a5e754052bad8a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 10 22:31:29 2012 +0200
fluke-dmm: initial driver skeleton
commit c2016fa0eb1d0eb1b9ebf8af4556f6d606614f61
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 16 23:43:47 2012 +0200
agilent-dmm: don't log anything if no conn params given
commit e9022f596d9a6d35919445f3aa6394061b3e6681
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 11 21:27:26 2012 +0200
sr: make struct drv_context global
commit f5cfe894eca22fc40dac721566a727cae8d8454c
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 11 21:20:50 2012 +0200
fx2lafw: use default libusb context
commit 19b0cce3125f08f961886fb312219c7c6f496ffc
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 11 21:16:16 2012 +0200
hantek-dso: use default libusb context
commit 7c1cb432b8afc14f63d984aaebd0239c74376c74
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 10 22:14:37 2012 +0200
sr: enable genericdmm and agilent-dmm drivers by default
commit b186aa78b8302942c8853c9aed40e3e5eaba8e34
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 10 21:27:50 2012 +0200
agilent-dmm: fix model identifiers
commit 8c0152f29b7892bb3f131e92c55ecd60a29ece5a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 10 01:00:48 2012 +0200
agilent-dmm: tentative support for all U123x and U125x models
Only tested on U1233A, but it just might work.
The U125x protocol decoding only supports voltage, current, resistance,
capacitance and diode measurements for now.
commit a4394fb3d9362cc686d6f8a05d2bc0b219903069
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 10 00:13:26 2012 +0200
agilent-dmm: code cleanup
This should make it easier to support other Agilent U12xx models
commit e066c32a252f4e5cd881a270adb98b004e688427
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 9 22:49:07 2012 +0200
agilent-dmm: fix AC/DC mode detection
commit f2e86bbfa64f328feb063ea2b79110a0ec1716e1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 9 22:48:22 2012 +0200
agilent-dmm: make parser deal with input better
commit 81599cc55b8f22fe4ef78e7bd4bdb6958d458c64
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 8 14:53:49 2012 +0200
agilent-dmm: remove IDN check at 1Hz, we just don't need it.
Some debug message cleanup.
commit 161a8a272699a7b818ddab01043838f07d7cf6eb
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 8 13:24:48 2012 +0200
sr: add new analog output module
This outputs text representation of SR_DF_ANALOG packets. Unlike the
float module however, it also outputs the standard abbreviations of
SI units corresponding to the packet's MQ and unit.
It also makes an effort to multiply or divide the floating point value
as needed to the nearest multiple or fraction, and inserts the
appropriate SI prefix to match.
commit e6b021f3775295bb3cbf7fa523281bfd64eaa39a
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 8 03:06:45 2012 +0200
agilent-dmm: support for submodes
commit f45b75901436310684b5fbb567269bc44d08c2d4
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 8 02:31:08 2012 +0200
sr: add recv/cleanup calls to output module API
The new output module callbacks will be init, recv and cleanup. The
existing data and event callbacks still work, but will be phased out
as existing modules get converted.
The recv() callback gets a copy of every packet on the session bus,
and thus has visibility of all metadata, allowing it to properly
output any acquired data.
commit 69a74024902eecd3fc9ebd4f64fdef6ae460d0d7
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 8 02:28:41 2012 +0200
genericdmm/victor-70c: fix resistance and frequency measurements
commit 4cc9aea15b2d76930f565e810e0520918e2cc7bd
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Jul 7 09:32:00 2012 +0100
sr: Refactored sr_samplerate_string into a more general function: sr_si_string_u64
commit b863fb1b9d486867ab1fc5e0f62fb42321080b5a
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sun Sep 2 19:02:42 2012 +0200
sr: session_driver: Remove source on completion
Remove the session source once we are done loading the file, otherwise we'll
spin forever in sr_session_run.
Reported-by: Joel Holdsworth <joel@airwebreathe.org.uk>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 40578aa487f6624db787289e4f254af14deee102
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:41:19 2012 +0200
sr: output up to 12 significant digits for floats
commit c0d93341cb6f409f53f5d9d47058e1efb1cd2d8b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:39:56 2012 +0200
generic-dmm: cosmetics
commit f6b8ffa6c0eb94fa59c0e09f3c4d8bed071167d0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:13:00 2012 +0200
genericdmm/victor-70c: warn if detaching kernel driver fails
commit e93cdf428c6383b9868d08bdae07ff775bedd0c0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:11:52 2012 +0200
sr: mostly finished Agilent DMM driver
commit 792fc686581a9412364d06be2e05dfe4d4014ed1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:02:24 2012 +0200
serial: add serial_set_paramstr()
commit f38b9763fa5ba8f4b481718b245e1258a307d2a6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:01:23 2012 +0200
serial: fix flow control setting
commit 6a6e23abf5e28471f368b225c96c1b0cb8797191
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:00:02 2012 +0200
serial: set speed in both directions
commit 6ac0db19f36ada4cfccf19bbd48ebdb4665bc9ff
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 11:58:29 2012 +0200
sr: add new agilent-dmm driver (Agilent U12xxA multimeters)
commit b84c13d700eff9eceb12463b0ed17f5b984b2582
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 18 16:22:36 2012 +0200
genericdmm: Victor 70C multimeter support
commit 3c6ce226dec2ee70c044d844ffbb3845f07baf7e
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 18 16:21:21 2012 +0200
genericdmm: finish basic USB support
commit 606a07b670270b4bcf0bfa4ffcf67dfd1cfedad3
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 18 14:34:29 2012 +0200
sr: corrected VID for Victor 70C
commit 02e864d0bf866b045abf04a696ad555959f1b171
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 18 14:33:51 2012 +0200
sr: added mqflags field to sr_datafeed_analog
commit edb000eb2f78aff4ea805ffc25a07792bedcea90
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 18 14:26:43 2012 +0200
sr: add fahrenheit and boolean MQ units
commit 64591be2f25055d4c9f55689f641334a54613746
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 18 14:25:21 2012 +0200
sr: add continuity MQ
commit 811deee4af9f600ae0c457a74d3877c4f68f2f37
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Aug 6 00:59:25 2012 +0200
sr/drivers: add API calls sr_dev_inst_list() and sr_dev_inst_clear()
These are used to list the device instances currently known to the driver,
and clear that list.
Drivers that don't necessarily clear their list of instances on every scan,
such as genericdmm, need to provide these to the frontend to keep instance
management sane.
commit 014359e3293ef0cdc61fbde4f63dc0a9da98179d
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Aug 5 18:56:12 2012 +0200
sr/drivers: obsolete SR_HWCAP_PROBECONFIG
Since probes now live in a struct sr_dev_inst owned by the driver, it
already knows about them. Instead of a frontend telling the driver to
configure probes, all driver now do this just before starting acquisition.
commit a56f1480949e84e94dad2afcdf9f758988a4aff9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Aug 5 15:53:04 2012 +0200
sr: new API call sr_dev_config_set()
This is a wrapper around the driver dev_config_set() call, to avoid
frontends needing visibility into drivers.
commit 15cb43d67cee5d7381c9cbcf0a355329a5cabfd1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Aug 5 03:18:07 2012 +0200
sr: replace published static option data with API calls
To find a driver or device option by name, the sr_drvopt_name_get() and
sr_devopt_name_get() calls are now available. This was the only reason the
driver and device struct sr_hwcap_option arrays were published.
commit 3cf91809a5aca7462f0fc9c3ca6fb9a7ebdf92d2
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 4 14:35:40 2012 +0200
sr: rename sr_hw_hwcap_get() to sr_devopt_get()
commit fabe59b326c8ed17582f54d5525b278b6712085b
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 4 12:21:02 2012 +0200
sr: drivers using sr_usb_dev_inst_new() must free it properly as well
sr_usb_dev_inst_free() doesn't really do anything, but it might one
day.
commit d3cff734e550430027f195317650a6c0e7c81fa3
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 4 12:03:05 2012 +0200
sr: properly free probes when freeing their device instance
commit 228b2cccaf2773efa81891273e2cf32ce6f14b2f
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 14:19:00 2012 +0200
asix-sigma: fix double free
commit 8012ae1e3b40a88bbe20deaded7d66942a82380e
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 14:18:02 2012 +0200
chronovu-la8: fix double free
commit afc88319384053b3f2ca4b17706c10ded9c7174b
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 13:50:31 2012 +0200
chronovu-la8: code cleanup
commit 7021f98596fdd0ca744e9ffa2ab73979f65125a3
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 10:17:31 2012 +0200
chronovu-la8: remove session source when done
commit 503c4afbb43da85723d1a40bf985b88f7a4bc3c7
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 10:12:54 2012 +0200
asix-sigma: remove session source when done
commit 7fd3e8596192316cacd0d22d52f287df2c12d437
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 10:09:02 2012 +0200
demo: remove sources from session when done
commit a3508e33f9e4e54331d086b37272e7c55faf11d8
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 01:05:40 2012 +0200
hantek-dso: remove sources from session when done
commit 26bf9d56c079889cd493376b341ab75acee795f7
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 01:05:01 2012 +0200
ols: remove serial source from session when done
commit 2cbeb2b7fb5791dd765ab6eee180ee053cc20b1c
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 01:04:05 2012 +0200
sr: drivers should remove their sources from the session when done
commit 310e9e9be4e4421f0171d47dfdb5fc299d6f749c
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 01:01:38 2012 +0200
zeroplus: use driver-private storage for instances
commit fefc4b858e8db2b1c569dd302af1b30c1a4bce4f
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 00:09:33 2012 +0200
ols: use driver-private storage for instances
commit 301a5e4c4ade2f640eeb532195e6e84dee81783c
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 23:54:11 2012 +0200
genericdmm: use driver-private storage for instances
commit b4750a3a938ff5be295095b05e27c0f7a7cd2bbe
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 23:53:31 2012 +0200
demo: use driver-private storage for instances
commit b9636cf4dcd07fa215bcfdb265913baa848227ab
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 23:51:47 2012 +0200
fx2lafw: minor cleanup
commit cf1ebd544652274923e808c93f7e88292acc2f11
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 21:54:21 2012 +0200
chronovu-la8: don't try to clean up unless we've initialized
commit b32503cccdf88769619dc9a2ca3566d06040c1b4
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 21:42:37 2012 +0200
asix-sigma: properly init driver-private storage
commit 1644fb2473e0c2f0dd81464f885c9212f413657e
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 21:35:25 2012 +0200
chronovu-la8: use driver-private storage for instances
commit 0e1357e8960734e4b599979511c7f9a51fb611a8
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 21:20:41 2012 +0200
asix-sigma: use driver-private storage for instances
commit dc9dbe949a2c195ec0c5afff34bec3cc03a5613b
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Aug 1 00:42:19 2012 +0200
fx2lafw: use driver-private storage for instances and libusb_context
commit 269971ddce18664a2ad06b7e2f56dcad70d155bb
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 30 00:24:26 2012 +0200
hantek-dso: use driver-private storage for instances and libusb_context
commit c259726a161411a7fe955dd139fce374635ddf7c
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 30 00:22:26 2012 +0200
sr: driver struct gets a more generic *priv instead of GSList *instances
It's up to the driver to keep its GSList of struct sr_dev_inst * in there.
Anything else the driver wants to keep driver-global should also go in
there, such as libusb_context.
commit ef2345bc29fc8b3bc31e5d89e028be31c7b39428
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 29 15:21:08 2012 +0200
sr: build: hantek-dso driver requires libusb as well
commit e8d3d6c84378481b5c0b53236e2fb09288e211b1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 29 03:01:57 2012 +0200
sr: properly initialize and check on device instance driver field
commit aee878fa2efb8483bf93fa3bb03508357fc713a8
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 29 03:01:02 2012 +0200
sr: fix initialization for output from driverless devices
commit 6f57fd96949e4290933ac175c6c82d56965f7665
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jul 25 00:33:38 2012 +0200
sr: remove obsolete SR_DI_INST
commit 48a486cd3ed51cfefce271224541502f4388c225
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jul 25 00:20:06 2012 +0200
sr: code organization cleanup
Device-specific functions (public and private) go in device.c,
more general driver-related code in hwdriver.c
commit 87ca93c5043899e3c30edb7e09fadef3ee67d810
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 24 19:10:09 2012 +0200
sr/drivers: add proper probe list to instances of all drivers
commit b35c829306b86dbeeeecf14de7fe30a05a88c914
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 24 17:13:25 2012 +0200
sr/drivers: fix off-by-one if frontend-initiated probe configuration
commit d6a8df467de03fe211dea7a0c91f63ceb22c5480
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 24 15:42:51 2012 +0200
sr: remove obsolete sr_dev_inst_get() call
commit 47a98b6e2c241f225f78044f0237dc77d235ce6b
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 24 13:06:15 2012 +0200
sr: remove obsolete driver API call dev_info_get()
commit a2e464604ca19c1a41b8e94625971eb3818c9090
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 23 15:09:19 2012 +0200
sr: cosmetic changes
commit c1864d5589749a881d661ab3abfd09cdbb96253d
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 23 15:08:44 2012 +0200
sr: better file version check
Still not really used though.
commit 056be0719f0c1a05cde6fc2483b50e024708fdac
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 23 15:06:49 2012 +0200
sr: sr_session_save() now takes sdi and datastore parameters
This means it's restricted to saving one device's capture per file, for
now.
commit fb381e4d713fcd3fdec99b4deff3a75e809df825
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 23 14:55:43 2012 +0200
sr: fix session loading for 0-numbered probes
They're still numbered starting from 1 in the current version (1)
of the sigrok file format, we just work around that for now.
commit 31fc1fbce399ac89d07093886301b9b4971f56f9
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 23 02:58:56 2012 +0200
sr: fix sr_parse_triggerstring() to use probe numbers starting from 0
commit 1907d2c928e328209f6d8832f73e369d28db5ab1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 23 02:57:17 2012 +0200
sr: fix sr_filter_probes() to use probe numbers starting from 0
The probelist parameter is now terminated with -1, since 0 is a valid
probe number.
commit a5f2e70712827c48a095204ef48c7cf1a0193ed0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 20:06:13 2012 +0200
sr: comments/docs
commit 37e8b4c4f7eaa6132a25448bccc690ac764f9a63
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 20:05:36 2012 +0200
sr: change sr_dev_probe_name_set() to use sdi
commit a10ddf9ba04429d6762171a3bbbac12a7717ef59
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 19:44:20 2012 +0200
sr: remove dead/obsolete code
commit 2ac2e629fc2ba2e89351d3ce337e0de9e034c540
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 15:32:35 2012 +0200
sr: cosmetic changes
commit de4d3f99d9e76c5a51916d3bcfef89423055d43f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 15:31:56 2012 +0200
sr: change session API/code to use sdi
commit c06b0d13b5b6bc7b059f397111f4ff661d1bbcbc
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 15:19:53 2012 +0200
sr: remove obsolete dev_status_get() API call from session driver
commit c7ee3ddb948b2ff36acbbe79ecc812b477ff5708
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 15:15:26 2012 +0200
sr: cosmetic changes
commit ff14f01b208faf9b26212c907d162de72d1ab538
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 15:05:47 2012 +0200
sr: change sr_datafeed_callback_t to use sdi
commit a5b35a167a32ffbaee1ce9c0de8501f781f733d1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 14:33:28 2012 +0200
sr: convert sr_dev_has_hwcap() to use sdi
commit 92ae7984834778dc7da128159d8e90024318909d
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 14:28:40 2012 +0200
sr: convert sr_parse_triggerstring() to use sdi
commit 9e90dcba9ce9d8f4a56b0225f146a1f1f055d213
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 12:37:59 2012 +0200
sr/drivers: remove driver API call dev_status_get()
It's obsolete: no frontend ever used it, and neither did libsigrok.
The sdi->status field is only used internally by some drivers, and
should probably be moved to the driver-specific context structs.
commit 5d9ed643e9dddbdb43e8917cff197346bdc930e7
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 12:35:57 2012 +0200
ols: change driver dev_acquisition_start/_stop calls to use sdi
...yeah, forgot OLS.
commit be5bf44d281cc0a85992666803afdd7dafcefaf9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 12:23:59 2012 +0200
sr: add sr_dev_probe_enable(), abstraction wrapper around device probes
commit 4d684427397079d4627cce3fd624cd7c05b2d4b1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 12:18:34 2012 +0200
sr: convert session load/save code to use sr_dev_inst
commit c4a1de59f80efead2ebdd8109110ff8632c1838e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 11:49:00 2012 +0200
genericdmm: cosmetic change
commit 3f848bb7a9c248447ddd3af6964089cd713b9c5a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 02:09:58 2012 +0200
zeroplus: comment out 32-probe models for now
commit 428edbe13de32b4349af56c9fb3569d63a54e4c8
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 02:08:59 2012 +0200
zeroplus-logic-cube: fix scan to correctly find model
commit 3ffb6964a1585b5f6ffa0747c089a1cd557e4feb
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 21 22:41:58 2012 +0200
sr/drivers: change driver dev_acquisition_start/_stop calls to use sdi
commit 25a0f108f4512ade836fed128c3ad649dedcb788
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 21 22:04:47 2012 +0200
sr/drivers: change driver dev_open/dev_close calls to use sdi
commit 58453e5876ffae9153e9f4ddc2ad8dc244c7f26d
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 21 19:11:49 2012 +0200
sr: change sr_dev_trigger_set() to use sdi
commit 5c3c1241d2e2b5d456865e876490492d76174257
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 20 21:37:36 2012 +0200
sr: change input/output modules to use struct sr_dev_inst *
commit 6f4b1868e8ec8c132878d8b6d558f4af054cbd91
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 16 03:52:14 2012 +0200
sr/drivers: use sr_dev_inst instead of device index for dev_config_set()
All driver API calls using device index as a parameter will instead use a
const struct sr_dev_inst.
commit 9c4311c524cd2eea8ce2c80b1029c936769107db
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 19:24:10 2012 +0200
chronovu-la8: adjust to multi-vid/pid patch
commit 387014de6355545d95958ec2666836318c2b3902
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:33:38 2012 +0200
sr: use new info_get API call in session driver
commit 444adea232d24951b056fd4d7e061608dfabef7f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:33:10 2012 +0200
zeroplus-logic-cube: don't use deprecated hwcap_get_all() driver API call
commit 2ca4465b3d66d3b763e664c419b542a3d1c1baad
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:32:53 2012 +0200
ols: don't use deprecated hwcap_get_all() driver API call
commit 2ce9f04629e93c4d202608dec6fa72d52aa44c6c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:32:37 2012 +0200
hantek-dso: don't use deprecated hwcap_get_all() driver API call
commit cbd798f4002c1abccaa20ebe874c0aa45060bb0e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:32:21 2012 +0200
fx2lafw: don't use deprecated hwcap_get_all() driver API call
commit 46c7a4daa772df5853e62f384b123bf1f3d96753
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:31:58 2012 +0200
demo: don't use deprecated hwcap_get_all() driver API call
commit 7566601c21fd748827065ca120b88a6a141c922e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:31:37 2012 +0200
chronovu-la8: don't use deprecated hwcap_get_all() driver API call
commit b2b5445c304ee2a6fe352e9b33f1e695a6760da5
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:31:22 2012 +0200
asix-sigma: don't use deprecated hwcap_get_all() driver API call
commit 2efc5948b6c2c436e339e333994ec7cc96db62be
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:08:49 2012 +0200
ols: scan fix
commit b0c8d7ac7f698f75aeb1c4b201c90360bae009e8
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:08:21 2012 +0200
hantek-dso: scan/info_get fixes
commit 7dfcf010a0331359529f52f7a09d6d324d96284f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:07:51 2012 +0200
demo: scan/info_get fixes
commit cfe8a84dd7b5a22e6a225d6b078bde6d0ad8fde4
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:07:34 2012 +0200
chronovu-la8: scan/info_get fixes
commit d7bbecfdb9bcec55a0eb067853df85d8fd326f84
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:06:57 2012 +0200
asix-sigma: scan/info_get fixes
commit 626409abfb93a09ba74a0714de75fcde9381bea9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 03:53:09 2012 +0200
zeroplus-logic-cube: use new driver info_get() API call
commit dddfb3dbf058a5a8f789cc4988ac3c6da836e267
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 03:52:57 2012 +0200
ols: use new driver info_get() API call
commit 0b79bcbb9d2e52fdd722088e0c525d14579cec6b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 03:52:45 2012 +0200
hantek-dso: use new driver info_get() API call
commit dfb0fa1a669fb2a78fdee88d9896efc1998d7cee
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 03:52:37 2012 +0200
demo: use new driver info_get() API call
commit 6a2761fd9921830f3724f3d153eee4ad98dbc6b1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 03:52:22 2012 +0200
chronovu-la8: use new driver info_get() API call
commit 4147960558ae0d8964e8344faa3515a8ec4d9efb
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 03:52:04 2012 +0200
asix-sigma: use new driver info_get() API call
commit eec944c5b8e4885e61faf3ab318be6007f221fd9
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 16:14:01 2012 +0200
asix-sigma: don't attempt to free static struct
Added more debugging as well.
commit 067d07166b8637a4146058b4fb4da2d628b34c37
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 15:49:30 2012 +0200
demo: use new scan API
commit 7da6f9d54a6acb699116848141d6ae1650a8dc98
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 13:00:47 2012 +0200
zeroplus-logic-cube: init and scan fixes
libusb context needs to be initialized only once, not ever scan.
Every scan invalidates the last one, so clean up any previous run's
results first.
commit 4ca38984459adfeaf6a94c2163be855fe41aec59
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 12:45:07 2012 +0200
zeroplus-logic-cube: use new scan API
commit 39cfdd75f9f2ee050968cbe0efdf208fa8d8d9e0
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 12:28:45 2012 +0200
hantek-dso: use new scan API
commit 0448d11097b057606f7f643b0f0537706d95afa7
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 12:28:15 2012 +0200
asix-sigma: use new scan API + fixes
Now freeing FTDI context and driver-private context.
commit c4f3ed4bb075eb3b2015b0cacbf4a8cf4e29d7a4
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 12:27:02 2012 +0200
chronovu-la8: use new scan API + fixes
Now freeing FTDI context and driver-private context.
commit f8c617cf4c6b649d3456f1ca7082f6cfb6dac76d
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 22:18:01 2012 +0200
hantek-dso: instance list fix
commit 10e5cbede89976eeed3237d985da065238962dfe
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 22:16:37 2012 +0200
ols: use new scan API
commit ed300b9f6a1d87eb35465ac998e1fc20690852a7
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 14:18:27 2012 +0200
asix-sigma: use driver struct-based device instance list
commit 765ef2f725a11aa9598bfc621136f93666a1bc86
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 14:15:54 2012 +0200
chronovu-la8: use driver struct-based device instance list
commit dcf03d6dbdba67eb92ee887de1bc72816a3cd01b
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 13:47:27 2012 +0200
demo: use driver struct-based device instance list
commit 327565470858432ba926643b0a4c4bb6f33e53e0
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 13:43:41 2012 +0200
zeroplus-logic-cube: use driver struct-based device instance list
commit 982947f7a221c4dbd2ea2fe9ecb4405ea8c2156a
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 13:37:35 2012 +0200
hantek-dso: use driver struct-based device instance list
commit e5e81856b4821932481ff4f349b7557e84038a04
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 13:26:30 2012 +0200
ols: use driver struct-based device instance list
commit d6db79a48cf813af1afa8e6243863cd62d1110d8
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:37:17 2012 +0200
genericdmm: device scan fixes
commit f1a14ea7ab390e3d873631eaf0f0f915031b8e6f
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:34:58 2012 +0200
genericdmm: don't use deprecated hwcap_get_all() driver API call
commit 6910bf6bf61320f4ab55c670187d404656183a1b
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:34:10 2012 +0200
genericdmm: use new driver info_get() API call
commit a27999e65768dcf38366e1844b97b3b8ea243dd2
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:31:16 2012 +0200
fx2lafw: don't use deprecated hwcap_get_all() driver API call
commit c5e82ca5e3ba7cd154c0e8afc19859564fc36dab
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:30:42 2012 +0200
fx2lafw: device scan fixes
commit f69b47f0f88aba6738635ae0ab3c37ccc235a0f9
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:30:09 2012 +0200
fx2lafw: a device scan always invalidates any previous scans
commit 6e9339aae20afeef872eeb806c4bcc043e210dd0
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:28:07 2012 +0200
fx2lafw: use new driver info_get() API call
commit be34a1c74688351fdeb7482fda28f49aa762a831
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:08:27 2012 +0200
sr: deprecate driver API call hwcap_get_all()
This is now handled with a call to info_get(SR_DI_HWCAPS). This brings
it in line with the new driver opts: info_get(SR_DI_HWOPTS).
commit df12380181f0af94fca382cd2ae6425bb1b51f73
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 12 22:41:57 2012 +0200
sr: new sr_info_get() API call, wrapper for driver info_get()
This will replace sr_dev_info_get(), the wrapper for driver dev_info_get()
commit f92f4eab23165aefa271d87cc0e60cbb8e24d154
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 12 21:34:30 2012 +0200
sr: add new driver API call info_get()
This will replace dev_info_get(), and will be used to fetch both
driver and device instance-specific information. The sr_dev_inst
argument is NULL in case of a driver info fetch. In line with the
libsigrok wrapper, this function returns an error code, using the
supplied void ** to return the requested data.
commit 9e41fdba4080de96fde23f00415056f51d79b469
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 12 21:00:18 2012 +0200
sr: add driver field to sr_dev_inst, to bring it on a par with sr_dev.
commit 8bfdc8c4a5fc4bee4b59838bd57c6762ea0cb206
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 12 20:54:45 2012 +0200
sr: split driver options into separate list
commit 3a0fe4023d1dd02051c126fffead6de631840974
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 23:49:04 2012 +0200
genericdmm: use new scan API
commit bbb40871c88bbb622a275785d4aaf1e5e5a927f9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 23:48:04 2012 +0200
genericdmm: more flexible device discovery
commit 75337758d8e88e01d9ac46669cd8a76d0b8b0ca5
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 23:33:48 2012 +0200
genericdmm: use driver struct-based device instance list
commit a8cc8e44b942031746c18aa95bf02cc66043269c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 19:07:38 2012 +0200
fx2lafw: use driver struct-based device instance list
commit 06717a8a605d03eb87e768119758ba8e9e47cb0b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 19:06:23 2012 +0200
fx2lafw: use new instance-based probe list
commit 3a7a22cb07937fcecef8b17b25e9638245f7f8c1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 19:03:36 2012 +0200
fx2lafw: use new init/scan API
commit dd34b8d3c4da18f8cf339c5bb8f0d6268f3d13f6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 16:40:54 2012 +0200
sr: add GSList of instances to the driver struct
This gives the driver a private place to keep its instances, without
polluting the global namespace.
commit 47211d65b4fdaca58694a51cdbf1ba8ee4270ee9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 16:37:39 2012 +0200
sr: add probe list to device instance
There is no point in libsigrok copying probe lists around. The driver now
builds a list of probes according to the model device it found, and will
make that available to a frontend. The frontend thus has a reference of
what the driver has, including default names, and doesn't need libsigrok
to provide an unnecessary level of abstraction.
The sr_probe_new() library-private function is a helper for drivers.
commit 80bf04263528998feb17cedc5b7aa9668dbc8d4d
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 16:25:23 2012 +0200
sr: split driver init into init() and scan()
init() now only does whatever administrative stuff it needs (typically not
much), and returns an error code.
scan() can be called multiple times during the life of an application, and
returns a GSList of struct sr_dev_inst * of devices found during that scan.
The instances are a copy of the ones stored in the driver's own instance
list, to be freed by the caller with g_slist_free() only.
The scan() call can be passed a GSList of struct sr_hwopt *, to direct the
scanning.
commit b159add3d9e3804f7806e82b01374fa099610668
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 14:56:54 2012 +0200
sr: move SR_HWOPT into its own enum, and create struct sr_hwopt
SR_HWOPT_* entries are driver options, not device instance parameters, so
they will never be mixed together.
Also, driver options are always passed in a GSList, where the data field
is a struct sr_hwopt.
commit 633b2fac75c59c550cb1245cb75caa3ceef57b3d
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 04:17:56 2012 +0200
genericdmm: better subdriver API arguments
commit 1ef445b3d696c91b6734eaafbfb5478d6506d5ee
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 04:15:51 2012 +0200
genericdmm/fs9922: no initialization needed
commit 7fc754a0db73b473fb5c70f59165b43dc682bf1a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 04:09:55 2012 +0200
genericdmm: allow for default options in DMM profiles
Much better than the special-cased USB vid.pid
commit 7356a55db8e1f0aa27abb8f3cd05bca848c4c2a0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 04:01:04 2012 +0200
genericdmm: use vid.pid as USB conn spec
: is just too hard for the CLI
commit db1352007db0d7a263a6a4c2837e65fd6de4dc8f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 03:59:58 2012 +0200
genericdmm: fix header guard
commit 61136ea6035778f2894a1e32b78f94a0640a5a91
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 5 11:27:48 2012 +0200
sr: add new driver API call: scan()
This changes the semantics of the init() call as well. That now only
initializes the driver -- an administrative affair, no hardware gets
touched during this call. It returns a standard SR_OK or SR_ERR* code.
The scan() call does a discovery run for devices it knows, and returns
the number found. It can be called at any time.
commit 40dda2c3a509e9e031078427e32249e2ebc33ec5
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 3 12:55:46 2012 +0200
sr: remove unused argument from hardware driver function init()
It was actually used in one way: the session file loaded abused it for
passing in the filename -- something it definitely wasn't intended for.
This now uses the proper way to pass arguments to a driver: the new
SR_HWCAP_SESSIONFILE.
The OLS driver could also use it as an indication of the serial port to
use instead of actively probing all serial ports on the system, but there
wasn't any frontend code that passed in such a parameter, making it
entirely useless. That will soon be handled differently with the new
scan() API call, regardless.
commit 0d012ede9d54c6c5c276be52778483fd020c40d7
Author: Ivan Fedorov <oxyum@oxyum.ru>
Date: Fri Aug 3 01:31:36 2012 +0400
sr: fix gnuplot script for USBee DX and clones
- Now channels order is right
- Added 16bit version
commit 0e8d0e24d00dcf6dd661e4fb15cedf79ce45c248
Author: Ivan Fedorov <oxyum@oxyum.ru>
Date: Thu Aug 2 23:49:00 2012 +0400
sr: fx2lafw: Add 16bit support for USBee DX and clones
gnuplot script support only 8 channels
commit c19298d1413e2783bf723f5eb4ee098d9b8f159b
Author: Ivan Fedorov <oxyum@oxyum.ru>
Date: Wed Aug 1 00:11:40 2012 +0400
sr: add gnuplot script for USBee DX and clones
commit c9166745f23889e1c5abb010513733c829c00d1b
Author: Ivan Fedorov <oxyum@oxyum.ru>
Date: Wed Aug 1 00:11:33 2012 +0400
sr: fx2lafw: Add basic support for USBee DX and clones
commit 0d1297a2916c18457735a51fdab9ee2c914a4599
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 29 02:45:40 2012 +0200
sr: always use uint64_t for samplerate
commit b04781bb2ba910d17b0bc11b499b1be352faa9cc
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 29 02:15:34 2012 +0200
sr: extra checks for properly handling driverless devices
commit 3dafb92bde1533cc81a61e2dc0f7d3732873c7ed
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 29 02:13:22 2012 +0200
sr: fix struct sr_input for parameter passing
commit c506a6a688877793752d23e43d692c49d0f52dd2
Author: Tomaž Šolc <tomaz.solc@tablix.org>
Date: Wed Jul 4 16:29:13 2012 +0200
Allow setting samplerate when reading binary files
I had a binary file that I needed to decode using UART decoder. UART
decoder needs to know the sample rate for the data, but currently it's
not possible to pass parameters to input formats and so the "binary"
file format always sets the samplerate to 0.
This patch adds the possibility to append a colon-separated list of
key=value options to the -I argument, in the same way -d supports it.
Also, it makes the "binary" format support the "samplerate" option.
I included the GHashTable containing input format options directly in
the sr_input struct. I'm not sure if that's the right way to do it. I
saw that -d uses a much more elaborate system with device capabilities
and typed options, but that seemed like an overkill for input formats.
commit d67b663e21de64261847c7e68de3ba37883c48b7
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 24 00:50:02 2012 +0200
sr: chronovu-la8: fix segfault on discovery
If the uninitialized value didn't happen to contain 0, and there
is no Chronovu LA8 connected, the la8_close() causes a segfault
in libftdi.
commit 74e5f12d3d9643cb0e8ba57ced4ee80b6393cb11
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jul 15 00:34:27 2012 +0200
sr: la8: Support for newer USB VID/PID of the device.
Thanks to Jerry Jacobs for the patch!
commit 43be303c84d328437e594111b94f278270817a86
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 12 21:39:18 2012 +0200
sr: la8: Drop useless cast.
commit b5a8e848256f54b32ca988be5a1ec2db5048873a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 12 21:30:49 2012 +0200
sr: Add sr_strerror() and sr_strerror_name().
commit 9ffbde0e84ef6c711be4edbe3076e8c805efad63
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jul 5 21:15:09 2012 +0200
sr: session: Deprecate sr_session_halt()
sr_session_halt() in its current state is kind of useless and even dangerous.
All it will do is mark the session as not running, but wont signal the devices
to stop to capture data. This is not so much of a problem with the blocking
sr_session_run(), but once there is support for asynchronous data acquisition by
attaching the session sources to the applications mainloop sr_session_halt()
basically becomes a no-op. sr_session_stop() already does what needs to be done,
marking the session as not running and signal the devices to stop acquisition,
so make sr_session_halt() an alias for sr_session_stop() and deprecate its
usage.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 9213ad012accac3dbfbc6b72d6e99228e87740a4
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jul 5 21:15:08 2012 +0200
sr: session: Do not cleanup the driver state in sr_session_stop()
By cleaning up the driver state all devices will become inaccessible, which
means that is neither possible to query any information from it (like sample
rate) and it is also not possible to restart data acquisition.
sr_session_save() tries to query the sample rate from the device, as a result
calling sr_session_save() after calling sr_session_stop() - which is for example
done by sigrok-cli - will cause a segfault. This patch resolves the issue.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit ed229aaa8ff66116967f75112be953940d4a3149
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jul 5 21:15:07 2012 +0200
sr: session: Close a device when it is removed from a session
A device is opened when it is added to a session, in the same fashion it should
be closed again when it is removed from a session.
Also remove all still attached devices from a session when the session is
destroyed.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 615183ea163f805af8589576c173769b4adba7f1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 11 12:57:15 2012 +0200
sr: Drop mastech-va18b, code will be in genericdmm.
commit 28b9dd18611da8e16038d62d58195bdef91552eb
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jul 11 12:36:13 2012 +0200
sr: fix conditional build for ezusb and serial helpers
commit b7e941113f2e4d534e109f4aeb8b0dc4cda36598
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Fri Jul 6 23:23:31 2012 +0200
sr: session: Moves sources to session struct
The sources really belong to the session, so move them into the session struct.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit e6e8f8e0531805a9215eebcb0d4d270a5afa6a8d
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Fri Jul 6 23:23:30 2012 +0200
sr: demodevice: Make read channel non-blocking
Both pipe channels are currently configured as blocking. We read from the pipe
in receive_data. Since the channel is configured as blocking we'll block in
receive_data until all data has been received. receive_data will be called from
the mainloop, so as consequence the mainloop will be blocked until the demo
device has finished sampling. This is not so much of a problem if we are
sampling in blocking mode (using sr_session_run()) and the demo device is the
only device in the session, but it will fail badly for all other configurations
(e.g. multiple devices or async sampling).
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 93b03d091abb947fdf78e57f864313571fb903ab
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Fri Jul 6 23:23:29 2012 +0200
sr: session: Realloc correct array for pollfds in _sr_session_source_remove
Commit 7149ad7c ("sr: session: Keep a global pollfd array") contained a small
copy paste error. This patch fixes it.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit e7d087bf0e35ff97abae8bdd0c50e400c87b4b4d
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jul 5 21:38:36 2012 +0200
sr: fx2lafw: Free transfers in reverse order
Free the USB transfers in the reverse order of which they were submitted. This
will avoid that while transfer 0 is cancelledd transfer 1 is started by the
host controller, and so on.
Reported-by: Peter Stuge <peter@stuge.se>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 1a895c6185f67ec7a90e624fd47af625ac6f9e0a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 5 01:47:44 2012 +0200
sr: Minor cosmetics.
commit 249ae2be8f0e5132d601ab431ac8783b5b1c7439
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sat Jun 30 20:54:45 2012 +0200
sr: session/demo: Remove Windows specific hack
The session and demo device code contain a hack to make the demo device work on
Windows. This was neccessary since polling on windows requires special handling
and we can not just pass in the raw fd to poll.
With the previous patches which added support for non-fd based event sources
this hack is no longer required. The patch moves the GIOChannels used by the
demo device to the demo device context and uses sr_session_source_add_channel
to register a source for the channels instead of using the raw pipe fds.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit aac0ea256327bdff8f2a98bf62c7ac6a42dd1e44
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sat Jun 30 20:54:44 2012 +0200
sr: session: Add support for GPollFD or GIOChannel based sources
A raw file descriptor to poll on is not always available, this patch adds
support for adding a source for a GIOChannel or GPollFD.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 0687dfcde9eeebc2ee5fdc93af4a9a322ce9d071
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sat Jun 30 20:54:43 2012 +0200
sr: session: Keep a global pollfd array
Currently we keep a file descriptor for each source and construct a pollfd array
from these during each loop iteration in sr_session_run(). This patch modifies
the code to keep a global pollfd array which is only modified when a source is
added or removed. On one hand this gets rid of the constant constructing and
subsequent freeing of the pollfd array in sr_session_run(), on the other hand it
will allow us to implement support for non-fd based pollfds.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 2bccd322bc40a2ebe41a9d3f1c4b12cd52cb2595
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sat Jun 30 20:54:42 2012 +0200
sr: session: Use realloc to resize source array
Use realloc to resize the source array when adding or removing a source. This
makes the code a bit smaller. In the remove function we now check whether the fd
is valid before doing anything else and if it is not simply do nothing. If it is
valid use memove to move the elements following the source one element down in
the array. Only after that has been done the array is re-allocated.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 45c59c8bdd01954f9214fe7b869d92c55415d109
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 5 00:55:07 2012 +0200
sr: moved sigrok.h so libsigrok/libsigrok.h
All frontends will have to include <libsigrok/libsigrok.h> from now on.
This header includes proto.h and version.h, both installed from the
distribution into $INCLUDE/libsigrok/ as well.
The only dynamically changed header is now version.h, which has both
libsigrok and libtool compile-time versions in it.
commit 8489264f1e3ef07ba8f1143ed62fa88d90980f94
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Tue Jul 3 23:59:12 2012 +0200
sr: demodevice: Reset sample limit when setting time limit and vice versa
Only one limit should be active at a time. Make sure that the sample limit is
disabled when a time limit is set and vice versa.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 25f5d66a7752379abe454da0705df4ed15ce6426
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Tue Jul 3 23:58:40 2012 +0200
sr: fx2lafw: Fix potential leaks in acquisition_start error paths
Call abort_acquisition if starting sampling fails in acquisition_start, this
will ensure that all already allocated resources are being freed again.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit c03f045004a340bd418206cbd02eaefcede91a5b
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Tue Jul 3 23:58:39 2012 +0200
sr: fx2lafw: Do not start a new acquisition if the old is still running
This may happen if the acquisition_start is called right after calling
acquisition_stop and not all transfers have been freed or on repeated calls to
acquisition_start. If it happens we'll enter an undefined state and all kind of
strange behavior may occur, so error out in such a case.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 0caa1ef0cb0b2231e232a7d1681e4e13fe838035
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Tue Jul 3 23:58:38 2012 +0200
sr: fx2lafw: Abort pending transfers when sampling is stopped
The recent reworks of the fx2lafw made sure that the total buffer size is large
enough hold 500ms of data. This was done to improve performance and stability.
That the timeout value for a transfer was also increased to over 500ms, a side
effect of this is that when sampling is stopped there will be a additional delay
of 500ms. This is because the driver waits for all transfers to be freed
before it sends a SR_DF_END packet. Once sampling has stopped this will only
happen once a transfer times out. This patch cancels all pending transfers when
sampling is stopped, this will cause them to be freed almost immediately and the
additional delay will disappear.
Also make sure, that if we know, that we just have received the last transfer to
not resubmit this transfer again.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit ca3d84cca1d2f7427f8c5266717cb787d2346e16
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 1 22:37:15 2012 +0200
sr: add genericdmm driver
commit 45edd0b204b4166f2f590bf130b97ff90896a99f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 1 22:33:57 2012 +0200
sr: add HWCAP type SR_T_KEYVALUE (char **)
commit f8c1fcda46584c3550a198625e0b5f0a58794b6e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 1 22:31:31 2012 +0200
sr: use proper definitions for parity setting
ols driver fixed to use these as well.
commit 5d4fb4fc0d4dd4fc323d5ecf862502ec317692de
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 1 15:29:57 2012 +0200
fx2lafw: enable driver build by default
commit 163f0523f6b26c0728153b5eafcf7a1b15645375
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 28 22:57:03 2012 +0200
sr: Mastech VA18B: Partial protocol supports (WIP).
Disable the driver for now, as it's not usable for the general public, yet.
commit 99f5d45eccaf11ab72bfc8aeff6a07aa412d35b8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 28 01:47:38 2012 +0200
sr: hantek-dso: Fix copy-paste error.
commit 2769eed9917aeb6e549b90be4925a4c192a92309
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Mon Jun 25 23:51:38 2012 +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 <lars@metafoo.de>
commit 5af666a94e67e8a18c0dfa1f4314e1c3e93aa993
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Mon Jun 25 22:15:59 2012 +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 <lars@metafoo.de>
commit 7ce737a77c0d29276cdda4f3670c1ef41173bb9c
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sun Jun 24 16:45:08 2012 +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 <lars@metafoo.de>
commit 17dff8a1e6faaec02ed99715f2914b15b4cab82e
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sun Jun 24 12:19:09 2012 +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 <lars@metafoo.de>
commit f855de7575915a8b3a07ed32ff7ec6b431777317
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sun Jun 24 12:08:59 2012 +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 <lars@metafoo.de>
commit bd47acabe33813acb7dd6a4ebf155418072b08b7
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sun Jun 24 12:04:35 2012 +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 <lars@metafoo.de>
commit 0c156e06c55a5b69385778fb00292d5866660a7f
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Jun 27 21:39:26 2012 +0100
fx2lafw: Made libusb_claim_interface error messages more informative
commit 88a13f30bdcad5de468221ef06e7dbc8859c3d8b
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jun 27 19:36:30 2012 +0200
hantek-dso: add profiles for all five models in the series
Also cleaned up profile struct, and use the new firmware filenames.
commit 3b6c19303db9da2d70a65880fa85883273b17a5a
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jun 27 01:02:39 2012 +0200
fx2lafw: fix broken firmware upload timeout
Also corner case error init.
commit fc8fe3e3141f998dd97004c4379cb4d3acbd62a9
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jun 27 00:55:15 2012 +0200
hantek-dso: get rid of broken GTV_TO_MSEC firmware upload timeout
commit e749a8cb50029b6275a32a60c351d65f14fdf601
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 26 23:26:55 2012 +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.
commit fa114e4ab1ef0d30bb3cce8f926e43d66df9f787
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jun 21 19:54:29 2012 +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 <lars@metafoo.de>
commit e05a174be2f9142471ad94a1af2b3722efd9c6ae
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 24 18:57:37 2012 +0200
hantek-dso: fix triggerpoint conversion
commit f3ab43a8fbc39fe786718a7a3f5528acb3150aa7
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jun 21 10:30:38 2012 +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 <lars@metafoo.de>
commit e21e846330070e102b24e08605b76b362020f500
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jun 23 01:17:36 2012 +0200
sr/srd/cli: require glib version >= 2.28
Needed for g_get_monotonic_time(). Thanks to Tomaž Šolc.
commit eabf24035b29020085f01dd6e5a2f3c7075db23e
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jun 21 10:30:39 2012 +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 <lars@metafoo.de>
commit 9edfee3ee31bc6cd7657392f2c9ac28ccf7a7dce
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 21 23:59:27 2012 +0200
sr: ols: Fix incorrect comment.
commit eb1f1eb407965e72d31372b472b17989d3a2f3c8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jun 20 19:56:54 2012 +0200
sr: Unfinished Mastech VA18B (DMM) support.
commit b908f067f25f7c307e46ba05a23fd3cc5187379f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 21 22:36:13 2012 +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.
commit 9956f2851fb97a4b4090cedcde6f4b83cb08e971
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jun 20 23:55:23 2012 +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.
commit c13536fa9c5ec756ff169423d43fc14b10be8cfa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 19 23:33:50 2012 +0200
sr: backend/zeroplus: Improve debug output.
commit d27e406e13d1247a7839698d3643b8ebae7143af
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 19 02:05:28 2012 +0200
sr: new output format 'float', just floating point values
Also outputs FRAME-BEGIN and FRAME-END, if present in the stream.
commit cdea754ae59dda3974b1c00cae2be1e72a539176
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 19 02:04:18 2012 +0200
sr: remove unused code
commit 4368827aefc3488ae6b7b375590bbad1dd4d73fc
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 19 01:06:02 2012 +0200
sr: only handling analog voltage units for now
commit 6e6eeff47a93e48b31ef5d16feb707e8725dbbd3
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 18 23:09:37 2012 +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.
commit a217bcdf104e757db9713ea767ee5709b137084b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 18 23:05:02 2012 +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.
commit 384c28d9e74791a753bd25e471d20d970ab2346b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jun 13 18:58:24 2012 +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.
commit c5841b28092ad9366cef5d512ddb10d6a34c9c0a
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 5 18:17:01 2012 +0200
hantek-dso: calculate voltage based on vdiv setting
commit a10c805636c7252cbd22582fc6360afc080ca48f
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 5 18:16:23 2012 +0200
hantek-dso: default to DC coupling
commit 1d97091e713d110a79f754472ea97f9286512567
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 5 18:15:58 2012 +0200
hantek-dso: fix CH2 vdiv setting
commit 019d56633a81a240c6df4813c778cfb08bc130a6
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 5 18:15:04 2012 +0200
sr: add udev entry for Victor 70C multimeter
commit 0026228ad01838dccaf761d17d97bda9bbbb7e72
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 5 18:14:23 2012 +0200
sr: fix udev rules for Hantek DSO-2090
commit aff5a729abfaa016555f5d4a6a1e2c953405179d
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 5 17:37:28 2012 +0200
sr: add unit field to sr_df_analog packet
commit 62bb8840e193cc73702b9e586882555bc18a8c61
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 1 01:12:09 2012 +0200
sr: hantek-dso: Consistency renames, constification.
commit 0236ab687fbbb0e68bd27791a6cd849fc5321cd3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 1 00:23:47 2012 +0200
cli/gtk/qt: Now all require libsigrok >= 0.2.0 (API changes).
commit 63298404df6e4d8a4bd7358ad55e4076b4bf2993
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 1 00:16:42 2012 +0200
sr: Increase pkg version to 0.2.0, increase lib version.
commit 0a88ec3d9c97d20a26f2c0d8813ce7ba075421f6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 31 22:46:28 2012 +0200
sr: fx2lafw: Use gboolean, cosmetics, fix gcc warning.
commit af36b8096942a704afa7e858fcd8fc8e15b92e09
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 31 22:43:12 2012 +0200
hantek-dso: Update to constified libsigrok API.
commit 88ff66c2c910f32b92faa6c4815f60cec47577c4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 31 22:40:41 2012 +0200
hantek-dso: Quickfix for build issue (will be removed later).
commit f4575b6549ded99ec5380b4d6fafa899f5cb65ae
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Thu May 10 16:34:24 2012 +0100
fx2lafw: Added a check to limit the sample rate during 16-bit sampling
commit d1ddc7a9a8a7226fcb1f8b5a360c275684e77e9a
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 16:01:10 2012 +0100
fx2lafw: Added device caps and added support for wide sampling
commit a533743dd1680bb53f29b6a01cccbc5380027e77
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 15:07:06 2012 +0100
sr: Made sample rate lists const
commit 1b79df2f57012926927983a8e2829004f0eee4fa
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 15:02:02 2012 +0100
sr: Made the dev_config_set parameter a const pointer
commit b7f578bef53ff0e645ca0cae3f9781f577b7367a
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 13:35:56 2012 +0100
sr: Made the dev_info_get return value const
commit 915f7cc87a8dce688ab99fc67005ef77e0d028a2
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 13:57:43 2012 +0100
sr: Made hwcap const
commit 2715c0b86bafed70dc1d3737b59750570951f507
Author: Bert Vermeulen <bert@biot.com>
Date: Sun May 20 01:14:37 2012 +0200
hantek-dso: hopefully handle endianness in voltage setting
commit 4a090d722d7d3f2d1011fc5ff1c9a39c809f07bd
Author: Bert Vermeulen <bert@biot.com>
Date: Sun May 20 01:11:09 2012 +0200
hantek-dso: enable SR_HWCAP_COUPLING
commit b58fbd99c8944a3ba584540aa7ceb34b5451fa3a
Author: Bert Vermeulen <bert@biot.com>
Date: Thu May 17 03:17:09 2012 +0200
hantek-dso: support for SR_HWCAP_COUPLING
commit e1c8b2abfbc5a0aa75cf6fbd8f88e45a8df0fd5b
Author: Bert Vermeulen <bert@biot.com>
Date: Thu May 17 03:16:01 2012 +0200
sr: support for SR_HWCAP_COUPLING and SR_DI_COUPLING
commit 313deed219c39a902e6b7c39cf519c3476b9798d
Author: Bert Vermeulen <bert@biot.com>
Date: Thu May 17 02:03:12 2012 +0200
hantek-dso: support SR_HWCAP_VDIV
commit bd8db307da41b3ca0f5401015f92e833e1db658e
Author: Bert Vermeulen <bert@biot.com>
Date: Thu May 17 01:55:59 2012 +0200
sr: support for SR_HWCAP_VDIV and SR_DI_VDIVS
commit 79afc8cac4912f5e1025c608a10b05506a191be9
Author: Bert Vermeulen <bert@biot.com>
Date: Thu May 17 01:54:57 2012 +0200
sr: add voltage parser and prettyprinter
commit c1e486185ec4e4a894419f8d287c55ffb6282979
Author: Bert Vermeulen <bert@biot.com>
Date: Wed May 16 02:07:51 2012 +0200
sr: use SR_T_RATIONAL_PERIOD (new-style types)
SR_T_<type>_<parsehint>
commit ebb781a69f1128fab5a9eedd39a548cba8ceccbb
Author: Bert Vermeulen <bert@biot.com>
Date: Tue May 15 22:41:00 2012 +0200
hantek-dso: support for SR_HWCAP_FILTER
commit 3c4976c9c4b9dd09204c7c3797f1122e4b641631
Author: Bert Vermeulen <bert@biot.com>
Date: Tue May 15 22:39:32 2012 +0200
sr: support for SR_HWCAP_FILTER and SR_DI_FILTERS
commit a370ef19161cee7016b7d24a2b9cef95b1191f6d
Author: Bert Vermeulen <bert@biot.com>
Date: Tue May 15 20:56:29 2012 +0200
hantek-dso: support for setting all CMD_SET_TRIGGER_SAMPLERATE params
commit 76f4c61086b314e66e92dd571f37defd3f714554
Author: Bert Vermeulen <bert@biot.com>
Date: Tue May 15 20:46:14 2012 +0200
sr: add period parser
commit 0fe11789961861a68d2de45136a7869f9b8c1717
Author: Bert Vermeulen <bert@biot.com>
Date: Tue May 15 20:45:46 2012 +0200
sr: add support for sr_rational and various HWCAPs and DIs
commit bc79e906a0911b4218b42b63b2f27fb0016c59da
Author: Bert Vermeulen <bert@biot.com>
Date: Mon May 14 02:33:37 2012 +0200
hantek-dso: proper protocol implementation of trigger/samplerate setting
commit 6e71ef3b6f27c3f3e1c5d5dc4e2f60caf54fc818
Author: Bert Vermeulen <bert@biot.com>
Date: Tue May 1 20:35:04 2012 +0200
hantek-dso: fix channel selection
commit ae88b97ba28ba098a54ec11af99bb195e6f9ab32
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 30 22:29:31 2012 +0200
hantek-dso: delimit frames with SR_DF_FRAME_* packets
commit 6ea7669c9dc3dd59ad88869e29f5411114196f34
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 30 19:55:06 2012 +0200
support for frame begin/end packets
commit 3b533202c8b32fbe785906e9930959aae077aeff
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 23 01:05:58 2012 +0200
sr: initial support for Hantek 2xxx/5200 USB oscilloscopes
commit f366e86c68071fa7888259aa3963b213caa81b51
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 22 20:06:19 2012 +0200
sr: change all drivers to use SR_DF_META_LOGIC
commit ee7489d23449a3f5a81777fbdb3309dfe22bcecd
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 22 18:11:31 2012 +0200
sr: SR_DF_ANALOG type, and meta types for analog+logic
commit 7e41e319d9a76da527eaa6e2708e4909ffd0d971
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 23:31:03 2012 +0200
sr: fx2lafw: Forgot to add (C) line to fx2lafw.h in recent commit.
commit 0a8c0c324e16e4848498309dbb2efd27b4c812a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 23:15:23 2012 +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.
commit 8fdecced96a1e849f5474e57aeca456dd265d9b9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 22:55:03 2012 +0200
sr: Consistently use ZEROPLUS spelling.
This is the version used throughout their website, let's use it.
commit 921634ec10feb88dd2110d10d8b1914eaa742fb6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 22:42:19 2012 +0200
sr: Fix typos.
commit cf94c8167bdd520e43cda5cdc9ef1ebf301b814d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 22:40:59 2012 +0200
sr: fx2lafw: Add (C) line from old saleae driver it's based on.
commit f9a33a4720403e7db4d69cb698b18dd724e16db7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 22:23:36 2012 +0200
sr: README: Add section about firmware files.
commit 537096739ee5b841f9f51a864f785cf7c4b56864
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 21:48:40 2012 +0200
sr: udev file: Minor fixes/additions.
commit 02df29f0db42ae2f475df83e4cbe2d18994f7f53
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 21:36:28 2012 +0200
sr: NEWS: Minor updates/fixes.
commit 2f3a6df8e4f34c8902002de4dcc3fda94f195ae0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 09:26:15 2012 +0200
sr: Increase version number to 0.1.1.
commit 5c4252cd8b7fafa9b37492c50a53f9165cd0e18d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 09:25:11 2012 +0200
sr: Update NEWS in preparation of upcoming 0.1.1 release.
commit f60fdf6ebe26a6b8693e515ed1eeedb906b7a17f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 09:24:01 2012 +0200
sr: fx2lafw: s/MAX_RENUM_DELAY/MAX_RENUM_DELAY_MS/.
commit e8bd58ffd2615ab2fbb0a963f359a705c584e4e1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 09:10:41 2012 +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.
commit 36423d04e5411d9cd744bc6421f099b5d2c02730
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 02:27:30 2012 +0200
sr: input/chronovu_la8.c: Add missing #include.
This fixes a compiler warning.
commit fb6f1978ed490a4cc80125e93239abfdad55e4b7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 00:00:33 2012 +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.
commit c09584085ed0307ba05f3ebf88dcf54ce86aec07
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 29 20:30:15 2012 +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).
commit 3217b032053d6eb89ca31b01968715813bcbe1bb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 29 00:21:21 2012 +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').
commit 9f05304e4e1b842f875cfdaccf9e93cae0012937
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 28 23:40:12 2012 +0200
sr: ARMFLY AX-Pro is supported by fx2lafw (LA only).
commit 432e5e95f53cd61160c1013921743267d84a7dd2
Author: Pekka Nikander <pekka.nikander@senseg.com>
Date: Fri May 11 19:23:21 2012 +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.
commit 40cd2b545d4d6ddb0dce7b54bfc8f9be5b77444a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 10 21:27:17 2012 +0200
NEWS: Add some news items.
commit 37dc0b16a6d6aca8f98b4baee24028f3714f91d4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 11 00:19:01 2012 +0200
fx2lafw: Cosmetics.
commit dc68c660d566424e9d83b19959a79d40e599c71c
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 16:44:25 2012 +0100
fx2lafw: Added a gpif delay debug message
commit 79dc64985f7e50943562169aebd7eefbd6e13490
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 16:42:50 2012 +0100
fx2lafw: Added support for 20kHz and 25kHz sampling
commit 897c1a2ee5c7397a4ab281a5c83f8f5c34ea0aa1
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 12:40:52 2012 +0100
fx2lafw: Added support for 100kHz and 50kHz sampling
commit 1e94408ae515157a9f27898b7b4c181e2aef980a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 6 19:54:46 2012 +0200
sr: fx2lafw: Get/display FX2 REVID.
commit 1663e4706cd966fcaed40d067ceea4b613e8125d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 6 17:13:49 2012 +0200
sr: fx2lafw: Braintechnology USB-LPS support.
commit 6352d030dfd11fb63a1beedd0e24b3e28be1a961
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 2 19:02:03 2012 +0200
sr: We support both SIGMA and SIGMA2.
Also, a few minor coding-style fixes etc.
commit b5f6fcb1ac98a83747c778262a7cc91f6884e9e4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 1 19:09:06 2012 +0200
sr: udev: Add Ideofy LA-08 entry.
commit 18a98412ec2ed644922b6fff44485318454975ab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 1 19:05:09 2012 +0200
sr: udev: Add Velleman PCSU1000 entry.
commit 1c41873612df34b90ec3ddaaf3f2d2e30dfc98e7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 1 19:03:44 2012 +0200
sr: udev: Fix alphabetical order.
commit 585a9ec4a2076ca0ea23ef244d94521ea86316f8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 1 19:00:28 2012 +0200
sr: udev: Add Robomotic BugLogic 3.
commit 6b73d9a598747b70436010f0cb27061d5dd93618
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Apr 27 01:28:47 2012 +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.
commit 6752905e6be19617d83c48a6db5a20b8e932308b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 26 23:18:05 2012 +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.
commit 993526f82421d3954b1032bfc1affb208916ebeb
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 23 15:31:41 2012 +0200
sr: don't use deprecated glib functions
As of the recent glib 2.32 release, these produce deprecation warnings
at compile time.
commit 42cdeef6268a2fa28a42e472324c5122410847d0
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Mon Apr 23 13:36:17 2012 +0200
sigma: Fix segfault when no Sigma present.
commit 868501fa46bfb3c43bf4906e57587ef24463641c
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Apr 22 15:10:46 2012 +0200
sigma: Bump copyright notice.
commit e210c6c09003cbd4cfada74c42466ad407c73ad8
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Apr 22 14:31:40 2012 +0200
sr: Remove zlib dependency.
No longer needed by Sigma driver.
commit e3fff420dac8ba489674cf685529b3647fca185b
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Apr 22 14:24:02 2012 +0200
sigma: Add support for SIGMA2 (req. new firmware).
commit 3c36c403faf9ed06741aaeb8fbbaa10a18871a3c
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Apr 22 13:08:16 2012 +0200
sigma: Use heap for datafeed packet and header.
commit 805919b042386043f3f2fde8c13ca276a99e088c
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Apr 22 13:05:10 2012 +0200
sigma: Fix bugs in receive_data callback.
- Poll data position on Sigma for every iteration.
- Return TRUE when no data ready.
commit 934cde02b80791943a023c2b4949fc5de43d5081
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 19 00:55:29 2012 +0200
fx2lafw: supported_samplerates[] should be 0-terminated.
commit f488762a17a3dce8a513aabcc0475f7382ec19bd
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Apr 18 22:28:52 2012 +0100
fx2lafw: Added support for default Cypess FX2 without EEPROM
commit 824b1a8f5cc6073f6d6505d0efa74d67f4da0fb7
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Apr 18 19:17:25 2012 +0100
sr: Deleted the saleae-logic driver, fx2lafw has superceded it.
commit d56ee26599fa6dd560613adc14a4a28575063d5e
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Apr 18 19:10:15 2012 +0100
sr: Disable saleae-logic driver by default and enable fx2lafw
commit 9304d576507db12f4072f427bcf1ce1645debce3
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Apr 18 19:07:30 2012 +0100
fx2lafw: Added slower sample rates
commit fefd54a0cdd4b2d30c36e53ea2ecdce6ff4b96ea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 17 00:12:33 2012 +0200
sr: Initial 0.1.0 release.
commit 69e70c233ef6186131369ad596a96a2632bdcf85
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 16 23:16:00 2012 +0200
sr/srd: SR_API/SRD_API/etc. is a no-op on MinGW.
This avoids warnings on a MinGW build. The feature depends on ELF files,
but MinGW/Windows uses PE files.
commit 787c43905d6f61c08d3b66a4a09dc12038120861
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 15 20:33:45 2012 +0200
sr: Add functions to query sr version(s).
commit 0aeb0ccd5572a08c088e7903321a5998374f42e6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 7 17:40:52 2012 +0200
sr: sr_err() et. al. don't need trailing \n.
commit bf978d355345a7cc3ae7dc6199cc25952aaa182f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 7 17:35:14 2012 +0200
sr: sr_parse_triggerstring docs/improvements.
Also fix smaller typos and cosmetics.
commit 44dfd483db9e594acc809b9d76eb910a9b53165d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 10 22:32:31 2012 +0200
sr: fx2lafw: Cosmetics.
commit 13bf7eccbb08214c3d6d53da5b5b6a269a64a779
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Tue Apr 10 18:27:24 2012 +0100
fx2lafw: Added command to verify firmware version
commit 6fbe5e6081b0f83fa97f0097bc87a21a45c48481
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Apr 8 17:19:52 2012 +0100
fx2lafw: Safer use of libusb_get_device_list
commit 105492034465fcdddfe89c916ed6da3242d39901
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 12:09:37 2012 +0200
sr/srd: Fix 'make distcheck'.
commit da90fb2a01523e3277ed849297646614dce9a15d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 12:05:20 2012 +0200
sr/srd: Add ChangeLog to ignore list, it's generated.
commit 2e26e0aa0b7ccbdb461fdf71dde59e0400ba50ee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 11:57:46 2012 +0200
sr: Disable fx2lafw driver again (for now).
After some more testing, it will probably be enabled by default and will
replace/deprecate the Saleae Logic driver at some point.
commit c5d83a5a72b70b88cd1aa3299499b8b5389a0da3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 11:37:08 2012 +0200
sr: Add NEWS file.
commit 6dddd902244f314eba721a0d8804731ea9c9912d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 11:28:24 2012 +0200
sr: SR_PACKAGE_VERSION_* for consistency.
No need to use the LIBSIGROK_ prefix here when we use SR_ everywhere
else. Also, better distinction between package version and lib version.
commit da68656857cc0c70faa582d954c3b0bf5b6a1dbc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Mar 29 08:55:12 2012 +0200
sr: fx2lafw: Consistency fixes.
commit 01c3e9dbd5bd583012fc1f46237bf4fde784d209
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 28 21:55:48 2012 +0200
sr: s/_clear/_remove_all/ for consistency.
commit 054e67090641e0a56a7e55789a3882ca138a0b11
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 28 20:00:13 2012 +0200
sr: out: Use uint8_t (not char) for buffers.
commit 69cfcfc8f0f3f4358714d706268fc05aaa70ca23
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 28 18:52:17 2012 +0200
sr: Make wrappers honor return values.
commit 0fc12d66f1cf0fa46d075f9a9f8b691a325f39b9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 28 02:32:52 2012 +0200
sr: Generate ChangeLog from git upon 'make dist'.
commit 7ae2f9d56fed0e53ad3dab25de65504acc3022a0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 25 22:02:19 2012 +0200
sr: fx2lafw: Cosmetics.
commit b04902b6469d4aed32e69125167f7ff71992fcba
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 25 15:23:31 2012 +0200
sr: fx2lafw: Use SR_PRIV where needed.
commit 30da9658ad908864f78e3a99366f7787a80dcc43
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 25 15:21:56 2012 +0200
sr: fx2lafw: command.h: Add missing include guards.
commit f4a9e5c0aa81738d26e7893d6cf47ebdb4a91047
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 25 15:20:55 2012 +0200
sr: fx2lafw: Cosmetics.
commit 94c26b08fdc2568a33e176b895c63048a4b66464
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 25 19:39:06 2012 +0100
sr: Build ezusb.c for fx2lafw as well as saleae-logic
commit ec888f62fe4298229e6ed0865937d74476715bf7
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 25 18:53:54 2012 +0100
salae: Only terminate session after all transfers have been aborted
commit 3e6292b2967db0b86281988ebf816317956a8a51
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 25 18:52:30 2012 +0100
fx2lafw: Made finish_acquisition a static function
commit 590b9f9a91a703ceea4c430566735d05a2acf82b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 24 22:32:47 2012 +0100
sr: Fix some samplerate fields.
commit 85a77720c678d1bb37c1445755ea2b38c658ca36
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 24 19:42:26 2012 +0100
sr: sigrok.h: Add version macros.
commit 4937b2355156f954d6fc3c1daf258d3825582743
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 24 10:03:36 2012 +0100
sr: Rename sigrok.h. to sigrok.h.in, needed soon.
commit cb61e9f7c3cfa2e3c9eee0bd221f47dd95f34073
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 24 10:04:36 2012 +0000
fx2lafw: Only terminate session after all transfers have been aborted
commit 24125e05202626c9fea3f056ecc5d008f544970b
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 24 10:07:22 2012 +0000
fx2lafw: Removed a line of redundant code
commit 6c6781b6a7559b66645ec4dbebaf6dca0246cb5e
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Mar 21 20:42:41 2012 +0000
fx2lafw: Imported software triggering from fx2lafw
commit 97fbf6704e5876f3cfbc519f05acaa2af65a6ff0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 23:42:19 2012 +0100
sr: udev: Add missing Hantek DSO-2090 entry.
commit 8a6b5b50e1555744374781f0a438c8965f501e98
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 22:33:51 2012 +0100
sr/srd: Remove API warnings from READMEs.
We'll have a libsigrok and a libsigrokdecode release soon. After that,
any API changes must be properly documented and reflected in the
SO version (and package version) numbers of the libs.
commit 2f8701d112cc1c4b61b36fe4c7096431833a8c9d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 22:29:41 2012 +0100
sr: Various fixes in the udev file.
commit 2e7cb0040a64062cb4b13fdff72995f4b5dc8769
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 19:58:56 2012 +0100
cli: Fix -V/-h output a bit.
Options and their defaults should not be documented there, but rather in
the manpage or such.
commit b5750520bb0e2726ad6248e23f52a854535bc9a2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 19:45:46 2012 +0100
sr: Enable fx2lafw driver per default.
commit 8ec95d22822ed5ebf4b6aeaff654608ad0225073
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 19:28:43 2012 +0100
sr/srd: Small fixes, constifications, doc updates.
commit a4d39856788e2182e53fa6a0f0a05f3867f31fc0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 18:40:25 2012 +0100
sr/cli/gtk/qt: Fix package version numbers / docs.
The next (and first) libsigrok release will be called 0.1.0.
The next (and first) libsigrokdecode release will be called 0.1.0.
The next sigrok-cli release will be called 0.3.0 (as we already had a 0.1
and 0.2 release of sigrok-cli; those did not yet use the libs, though).
sigrok-gtk and sigrok-qt didn't have any releases yet, so their version
numbers are set to 0.1.0.
Also, consistently use three numbers/digits for our version numbers.
commit eb0a373189e0e1f346b6807b692c2ea0bdaa57b8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 20 18:09:18 2012 +0100
sr/cli: s/patternmode/pattern/ in a few places.
commit ebc347388240e025181265f7d3d63a22f7bd5da9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 20 17:51:18 2012 +0100
sr: s/err/ret/ for consistency.
We use ret, err, error, and others for return codes of functions.
Standardize on 'ret' for consistency reasons for now.
commit d6eb0c333c8424d151637c18e1a1aef849d5fb31
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 18 12:57:34 2012 +0100
sr: Fix handling of virtual devices.
I.e., handling of sessions which use input from files (not from actual
logic analyzer hardware).
commit 21b50ee1831602bd6c1f223fb200e2c298885aa3
Merge: 9289e27 ecc16ed
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Mar 16 00:04:51 2012 +0100
Merge remote-tracking branch 'joel/public'
commit ecc16ed07052ef399c36d36456aa943fcf81190c
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Mar 14 22:56:15 2012 +0000
fx2lafw: Upped NUM_SIMUL_TRANSFERS to 32
commit 9289e273bb6dfe9e8e46b5598830d4fb293175fc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 14 22:22:32 2012 +0100
sr: session_driver: Naming consistency fixes.
Use 'receive_data()', and 'cb_data' as all the other drivers do.
commit 455b26edba718bd2dd2a33cb713d0ab077b4fd32
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 14 22:09:52 2012 +0100
sr: demo: s/struct databag/struct context/.
commit ab331b679c417282616efa7d05d456868fd42933
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 14 22:08:31 2012 +0100
sr: demo: s/mydata/ctx/.
commit 4101f961e8a414ae17b16c0feb1e10fd07d08d52
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 14 20:02:48 2012 +0100
sr: s/SR_{USB,SERIAL}_INST/SR_INST_{USB,SERIAL}/.
commit 4502e869210005559d9f1a0e66f1e6954e6368c0
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:49:34 2012 +0000
fx2lafw: Added CWAV USBee SX to the device list
commit 0ca21631dda3d948f8a67de5d48a2198b1efa425
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:38:25 2012 +0000
fx2lafw: Corrected a comment
commit 93a9f3daaf7fb679660f44c67ffa0ea1171e67b1
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:36:17 2012 +0000
fx2lafw: Added Saleae Logic (and clones) to the device list
commit f8b07fc6c37cc40dbcc3c6bc607d6e3137b532e4
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:31:43 2012 +0000
fx2lafw: Moved firmware path into fx2lafw_profile
commit 4679d14db3fcc6e8990b916e0c175848af52f464
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:06:45 2012 +0000
fx2lafw: Made fx2lafw profiles const
commit 6ccfadaf667a615c00526a7fb9df0500f35cc0e3
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:04:53 2012 +0000
fx2lafw: Made string pointers constant
commit 17b6c75a899bb5fb2b8b841b60e3e9fb52ca3e30
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:03:13 2012 +0000
fx2lafw: Added ESLA201A to device list
commit 017375d17ebddce8f986568a476018593c8b5ffc
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 11 19:00:52 2012 +0000
fx2lafw: Send start command after bulk transfer have been set up
commit 13d0d2698c97a60cbb73423ffb78846347309c11
Author: Matt Ranostay <mranostay@gmail.com>
Date: Thu Mar 8 22:26:30 2012 -0800
ols: fixed *ctx null dereferences that would SEGFAULT on probing for a OLS or attempting to read from it.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit 9031ce63f3cee037ffc3e565cf324cafe38522f5
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 4 18:02:44 2012 +0000
fx2lafw: Corrected check_conf_profile checks
commit dba024420f934ff10f18eebbaad1f4e97c739259
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 4 14:10:44 2012 +0000
fx2lafw: Implemented control of sample rates
commit f92994fd9174bc423e58c21eda83633afc9513da
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 4 14:10:05 2012 +0000
fx2lafw: Ensure default sample rate is set
commit d98c4e35ce3187a8d4618a6c26ce35de636d7b91
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 3 18:09:29 2012 +0000
fx2lafw: Removed CMD_STOP and renumbered commands
commit 2e526f4a6a96bca01c81620ff820aa39e356977f
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 3 15:22:51 2012 +0000
fx2lafw: Moved num_samples into context struct
commit 266784d5947137040b4a72d0e00dc97c0c8b40ba
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 3 15:18:19 2012 +0000
saleae-logic: Moved num_samples into context struct
commit 19ccdf696c3b96459495fadbef56a6c607e87583
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 3 14:57:57 2012 +0000
fx2lafw: Removed CMD_SET_SAMPLERATE
commit f6582cd7bf62bc945ecadda09123fde6c3676107
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Thu Mar 1 20:34:20 2012 +0000
fx2lafw: Implemented initial support for start capture
commit 3f8d59721634e1d69251078c254caef81effc62c
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Thu Mar 1 19:47:47 2012 +0000
sr: Added device IDs for CWAV USBee AX to udev rules
commit 74fcfb806d5b66ae4372b982f7836be12328e664
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Thu Mar 1 19:45:08 2012 +0000
fx2lafw: Devices now retain the same PID/VID after fw load
commit e318664793525543f7001371aee8cad79102266d
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Feb 29 22:47:05 2012 +0000
fx2lafw: Implemented SR_HWCAP_PROBECONFIG and SR_HWCAP_LIMIT_SAMPLES
commit c8f2c9dda4027fe723aabccb4265629c374afcd9
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 4 14:34:16 2012 +0000
fx2lafw: Fixed a compiler error, and made cv_data consistent with saleae-logic.c
commit 0abee5076fd7751bd77d0fee940d617a1a40ea34
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 4 15:08:11 2012 +0100
sr: Fix some TODOs, improve comments/docs.
commit b5118d6c013c4b5ae7ae146166750b3e392c4a14
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 3 14:13:21 2012 +0100
sr/srd: s/handler/callback/.
We should consistently use the same name for the same thing.
commit 3cd3a20b350ed1e86675aee067f60ac5a2f576b1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 3 09:56:49 2012 +0100
sr: More callback param renames.
Start/stop acquisition callbacks: Consistently name the 'void *' parameter
cb_data for now. The per-device-instance device pointer is called
'session_dev_id' everywhere for now, but this should be renamed to
something more clear.
commit 1f9813eb6cf2fa3b6511af46b19270feb9484c1e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 22:32:34 2012 +0100
sr: Name all callback data 'cb_data'.
commit 31ccebc4925d245fed02545415ce3ee14055d897
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 22:08:45 2012 +0100
sr: s/sr_session_bus/sr_session_send/.
commit d08490aabaa66b547c8299b757f62ff5319dbf0b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 21:56:24 2012 +0100
sr/srd: Consistency fixes for callbacks.
- Callback function pointer typedefs end with _t.
- Variables holding callback functions are named 'cb' everywhere.
commit cfe064d8e74d86ab6a65779663ca1fb82e36260a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 19:56:15 2012 +0100
sr/cli/gtk/qt: s/hw/driver/ in some places.
commit c496ac97a83aa33dd2add8074c454b7dc1b08fe6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 19:32:39 2012 +0100
sr: sr_hw_has_hwcap(): More docs, error checks.
commit 2f8cf274094b945bc2e4d51fefb0408867b39cac
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 19:17:36 2012 +0100
sr: s/sr_dev_probe_name/sr_dev_probe_name_set/.
commit 7b8ca864a00010d64172820bb82b30cb5f2d0009
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 19:11:09 2012 +0100
sr: datastore: More error checks.
commit c30b417f719e20f9f1d29fd8fa72c24278af3a0c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 28 23:53:17 2012 +0100
sr: Rename hwplugin.c to hwdriver.c.
commit c09f0b578c0e9c03590cb814f66004bb3f6815ff
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 28 23:52:30 2012 +0100
sr/cli/gtk/qt/: s/plugin/driver/.
commit 2285cf9bc519edb88eccbe3bf2ddd6888e54cdf2
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 28 17:47:02 2012 +0100
sr: code cleanup
commit d261dbbfcc7317f2fd9aa9c08473dc4a7b6b2b30
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 28 01:09:29 2012 +0100
sr: Fix/document probe names.
commit 6c39d99a2809c0065b8bd547c426a08f42445e92
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 27 23:55:06 2012 +0100
sr: fx2lafw: Consistent #include guard naming.
commit f9a69557d276ee27d551eb9ef68f2700324613b4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 27 23:53:44 2012 +0100
sr: fx2lafw: Use gboolean consistenly.
commit 772a0e615397b63f5d5c9af1d25475e9e5dbe76b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 27 23:40:38 2012 +0100
fx2lafw: Small consistency fixes.
commit be4b99e897827b46c396a8c83cee0ce1c19d3afe
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 27 23:26:05 2012 +0100
fx2lafw: Compile fix.
commit 5da939028db118a2e1445184b8d8406ecdcc9850
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:34:24 2012 +0000
fx2lafw: Implemented hw_dev_acquisition_stop
commit 610dbb70914da9be34d9ac3f0c90a50356275277
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:32:58 2012 +0000
fx2lafw: Implemented hw_dev_acquisition_start
commit 7cb621d418281f64144048e6257055b1b25b5da9
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:21:08 2012 +0000
fx2lafw: Basic implementation of hw_dev_config_set with SR_HWCAP_LIMIT_SAMPLES
commit 62bc70e412e073580576fe8fda7c7bc7c9e2e30e
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:02:52 2012 +0000
fx2lafw: Added more to hw_cleanup
commit f1898235e85c884cca985e797848930a6b52139a
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:00:22 2012 +0000
fx2lafw: Implemented hw_dev_close
commit 43125c69937d1599985c281de956f630c00525d6
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Feb 26 12:39:40 2012 +0000
fx2lafw: Implemented hw_dev_open
commit 7f6a3b43ad9e26a2928672927960bcc02a2c7510
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Feb 26 12:18:05 2012 +0000
sr: Moved GTV_TO_MSEC to sigrok-internal.h
commit b1eeb67e926ddaddc11e8a509692fdcaf3e2226e
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Feb 25 11:58:55 2012 +0000
fx2lafw: Implemented firmware upload
commit cdfdd71101b04f13663b19b0ceffcdf63628dc36
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:42:08 2012 +0000
fx2lafw: Renamed fx2lafw_dev to ctx in hw_dev_info_get
commit 90282c82bce6cb108be2123d2393ce058c7aefdd
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:41:10 2012 +0000
fx2lafw: Renamed fx2lafw_dev to ctx in hw_init
commit cac0bbaafd0813bfdbfef1c7e235c5c886618354
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 20:50:00 2012 +0000
fx2lafw: Renamed dev_insts variable in hw_init
commit c69e35a7147ca0c1554c8ba13a9210fafb6f9796
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 27 22:27:33 2012 +0100
sr: sr_samplerate_string: Allow 3.15Hz etc. as output.
This is required for some hardware, e.g. ChronoVu LA8, where
33.333333 MHz or 2.439024 MHz are valid samplerates. This is because the
hardware takes a sampleperiod (in nanoseconds) as input, not a
samplerate (in Hz).
commit aae2fed675fc63aae58569a03c71201dc449344b
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Feb 11 17:41:22 2012 +0000
fx2lafw: Implemented hw_get_status
commit 8b35f474832e486116d72a76657fc75e95d4db3c
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Feb 11 17:39:39 2012 +0000
fx2lafw: Exposed capabilities data
commit 187b358232aa90de8ee12df915506f839a98f2ad
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Feb 11 16:08:47 2012 +0000
fx2lafw: Added probing for fx2lafw devices
commit f302a082567d10f90cd20fca5a7abd68d7267d96
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Feb 11 12:08:49 2012 +0000
fx2lafw: Added empty hardware module for fx2lafw
commit 04254c3f833fd048668507fcd925b290c55664d6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 23 21:54:07 2012 +0100
sr: la8: Improve comments and messages a bit.
commit 050e9219d6bca0d6f986dca07fc2c501295c5bde
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 22 21:48:30 2012 +0100
sr: No need for dynamic hardware driver registration.
We don't need or allow run-time registration of hardware
drivers/plugins, they're added at compile-time.
commit 47671b0f26cc6b3e7cf16257f458eadefe623d9f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 22 19:53:27 2012 +0100
sr: la8: Remove some unneeded checks.
commit ea9cfed7a55260ab97f57150b57c42a28c3a85a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 18:07:42 2012 +0100
sr: Consistent ctx name for per-dev-inst context.
commit 6b3dfec8dee898726b7b606cdd230bf8bd73bcbc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 12:17:56 2012 +0100
sr: Fix incorrectly renamed functions.
commit ee61b340da0bf4f0eb728c375459388c6a7bfd84
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 12:16:49 2012 +0100
sr: Remove unneeded temp. variable use.
commit a9a245b428cb9645d73044f6741818d2499efefc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 12:11:15 2012 +0100
sr: s/config_set/dev_config_set/.
This functions is per-device-instance, so use dev_ as prefix as with
the other ones.
commit 69040b7c8ff82aef2ad712b7881492d0fa4c86a8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 12:03:49 2012 +0100
sr: s/acquisition_*/dev_acquisition_*/.
These functions are per-device-instance, so use dev_ as prefix as with
the other ones.
commit e7eb703fff0167897f7e094e2edbf7d5798857ea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 11:57:43 2012 +0100
sr: opendev/closedev -> dev_open/dev_close.
commit 8105505d064ca8cc32799c119c5526fb337a5660
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 11:46:51 2012 +0100
sr: s/st*_acquisition/acquisition_st*/.
commit 5097b0d0912165429aceddb5febbf68467b623f5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 11:41:21 2012 +0100
sr/cli/gtk/qt: s/get_dev_info/dev_info_get/.
commit a7d05fcb388f142012035a0ed31bcf74d42bbe73
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 00:31:35 2012 +0100
sr/cli/gtk/qt: s/configuration/config/.
commit ffedd0bf5d3abb1eae86db68e336285eddf41778
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 00:17:18 2012 +0100
sr/cli/gtk: s/capability/hwcap/.
commit 1d9a8a5fe1458d4b1ecd250161a7962988359350
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 17 23:55:27 2012 +0100
sr/cli/gtk: A few more s/instance/inst/.
commit bb7ef79377ae617e1275373e0b631beb7f909d73
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 17 22:25:01 2012 +0100
sr/cli/gtk/qt: s/device/dev/ in many places.
Also, a few s/instance/inst/ occurences.
commit d68e2d1a21ac5c3f24d88b7689f98764e4d57c30
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 17 21:02:52 2012 +0100
sr: Some more s/device_instance/dev_inst/.
commit 44dae539254e324e0330e194f9c775be3d761503
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 17 20:44:19 2012 +0100
sr: Random cosmetics, fix/amend Doxygen comments.
commit 7b48d6e104fd461b0c12519b70dbd1c6c72824e1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 17 19:40:01 2012 +0100
sr: Prefix log messages with subsystem string.
commit 93a04e3be9cdaa276d9e7fe14da053483b567b74
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Feb 15 03:18:48 2012 +0100
sr: rename all sr_hwplugin(s)_* functions to sr_hw_*
commit 9fc6aa0a566d093b36cdbdad46e0cbdc116ff538
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 14 13:18:17 2012 +0100
sr: la8: remove debug output when no device is found
commit 341ce41545cab2bda88230c8434f36c64eadd8a1
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 14 12:26:22 2012 +0100
sr: don't free driver-specific per-device struct in drivers
sr_dev_inst_free() takes care of that.
commit da1466d677afadcb17b12ebc1223ab0bdafe21db
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 14 00:23:51 2012 +0100
sr: rename more functions to sr_thing_action format
Also improved the interface to find capabilities in a hardware plugin.
commit d3683c42e74fa61c21fc0f1bf360ae201fc4b1d1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 15:31:59 2012 +0100
sr: rename all sr_device_instance_* functions to sr_dev_inst_*
commit c532476aa7b9a4afb1f32d5b634348d3e825d6bb
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 15:23:16 2012 +0100
sr: rename hwplugin functions to sr_thing_action format
commit e0c25ac99c64f024e30d84c96e3ec48b44fda8d5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 13 19:49:09 2012 +0100
sr: Add missing #include, fixes warning.
commit 57ab7d9f925c0f93ec711c4e6914881e5ff5dfd9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 12 20:52:42 2012 +0100
sr: cleanup callback: Return int.
commit 3010f21c9170e9f235d49bc7b333d17677c70e5c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 12 13:31:58 2012 +0100
sr: stop_acquisition callback: Return int.
commit c73d2ea421c2b425c3f0ae33bce2bfd0c448ca5f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 14:31:51 2012 +0100
sr: adjust copyright year
commit 031685005b022b98b5b1604cc6226c0cc2b959f8
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 14:00:47 2012 +0100
sr: rename all sr_device_* functions to sr_dev_*
commit a1645fcd81ed4be71d29380218acb078789a6268
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 03:36:32 2012 +0100
sr: more API cleanup and documentation
commit b2ff95063a845ec7130d97fc3d8e9c65fe45f902
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 02:16:32 2012 +0100
sr: whitespace cleanup
commit 996b0c7234c5cc420181b57370f6ba264aee24d2
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 02:13:51 2012 +0100
sr: clean up public/private split in headers
commit 18beaeff948f5730e1ffbc1a50e8b86c7673f084
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 00:08:23 2012 +0100
sr: cleaned up session bus debug helper
commit bb08ee2e534a7fca22cff2f8d963d64441b6d65a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 12 23:57:43 2012 +0100
sr: public/private API cleanup in hwplugin
commit 6cfa474a809a56e1ea59f7356570a9fb4b6f2a3e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 12 22:36:19 2012 +0100
sr: rm unused sr_device_clear() and sr_device_probe_clear()
commit 040ae8be943b499b5e786e4861ed1109ae4ebcce
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 12 20:43:20 2012 +0100
sr: sigrok.h is no longer generated
commit 133a37bfba1a7e1423716b2b872d3bb82a2e64d9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 20:06:46 2012 +0100
Use g_try_malloc/g_free/g_strdup consistently.
Avoid plain malloc()/free() in sr/srd, especially in the API calls.
Also avoid g_malloc*() in favor of g_try_malloc*().
Use g_strdup() instead of strdup() so that we can use g_free()
consistently everywhere.
Exceptions: Stuff that is allocated via other libs (not using glib),
should also be properly free'd using the respective free-ing function
(instead of g_free()). Examples: Stuff allocated by libusb, libftdi, etc.
Also, use sr_err() instead of sr_warn() for actual errors. sr_warn() is
meant for non-fatal/uncritical warnings.
commit cd853ff0b2b0ad2643d65e73159661e1a3c6bc66
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 00:39:25 2012 +0100
sr: chronovu-la8: Add missing <stdlib.h> #include.
commit 8c4b60039390eac40fe24c191e89edfd39eac8b8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 00:38:48 2012 +0100
sr: asix: Change a free() to g_free() as it should be.
This also fixes a compiler warning (on FreeBSD at least).
commit 44b6aafdb748d961547bb80d5b0a0511f35d9702
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 00:34:16 2012 +0100
sr: FreeBSD has zlib, but no pkg-config file for it.
commit bf3f06c9c2a73b7c30862daab1e2731768ba6abc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 00:20:23 2012 +0100
sr: MinGW/Mac: No libusb_detach_kernel_driver() support.
commit 12f3e8741b5ae651569ca65b94f22a4dc154da7a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 8 22:08:55 2012 +0100
sr: Doxygen comments for loglevels.
commit 0ae67ff784db96268d4dae4b7ac896a78828746d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 8 22:04:13 2012 +0100
sr: Implement proper logging framework.
This is pretty much identical to the current libsigrokdecode API/framework.
commit d38cd6c1f6f3f23b2f659be2d189f56c7592b805
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 7 23:50:47 2012 +0100
sr: saleae: Fix typo.
commit 003f9bebf9f97225b08383573544c1ece7239aea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 7 23:49:51 2012 +0100
sr: saleae: Support more recent firmwares.
commit c32cc2504b471deab0f511037f843234c726c461
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 6 23:50:22 2012 +0100
sr: udev file: Add QuantAsylum QA100, Rigol VS5202D.
commit 657832184893c8a5e3b28ebf71109956a4a57246
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 6 22:46:22 2012 +0100
sr: s/z60_sigrok.rules/z60_libsigrok.rules/.
commit 7c1d391c8b33bf76f7c6617fe9d5174e16a04f95
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 4 10:56:51 2012 +0100
sr: input/output: Mark more symbols with SR_PRIV.
commit 0f8522bf74af8abfe8601e978b2e0d0e40b1a124
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 4 10:41:30 2012 +0100
Project-wide consistent naming for #include guards.
Document the naming scheme in HACKING.
commit 5c64390e5ac8a0052d8b7eeb49c781d86027c814
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 4 10:10:43 2012 +0100
sr/cli/gtk: Remove analog left-overs from API.
This will come back in some form or another later, but for now
don't clutter the API with non-working stuff. Removing stuff from APIs
is not possible without breaking the API, adding stuff later is simpler.
commit e7ee300a12391640ff499eaa4d54089fe7e825f2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 5 13:37:02 2012 +0100
sr: zeroplus: Drop unused global variable.
commit 3d2efd7d15f1e35b4080c4632dd94376ae824fa2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 5 13:36:03 2012 +0100
sr: Compile fix for Windows/MinGW.
commit dff75c0df1be07db2e63ef242e843c925779bddb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 5 12:54:44 2012 +0100
autogen.sh: aclocal support for Windows XP/Vista/7.
commit ca070ed9a0237e5cea10e5dd974e06da62de890d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 2 21:15:04 2012 +0100
sr: Make more symbols private via static/SR_PRIV.
Additional zeroplus fixes:
- Remove unneeded function prototypes from .h files.
- Remove unused variables and/or use standard libusb #defines instead.
- Remove unused GL_* error code #defines.
commit 185ae2c5c9ada0353b43e3736e838bbc8e370cb4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 2 21:08:33 2012 +0100
sr: zeroplus: Remove unused gl_open()/gl_close().
Merge the missing function calls into zeroplus.c's init functions.
commit 1a081ca67d63a0bd933a3d715792d85afd437296
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 1 23:40:35 2012 +0100
sr: Mark API functions with SR_API/SR_PRIV.
Use SR_API to mark public API symbols, and SR_PRIV for private symbols.
Variables and functions marked 'static' are private already and don't
need SR_PRIV. However, functions which are not static (because they need
to be used in other libsigrok-internal files) but are also not meant to
be part of the public libsigrok API, must use SR_PRIV.
This uses the 'visibility' feature of gcc (requires gcc >= 4.0).
Details: http://gcc.gnu.org/wiki/Visibility
commit 0146970797e809555b2feea9fdbc3933f9e24e8b
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Feb 1 02:59:41 2012 +0100
sr: remove unused time/duration fields from datafeed packets
commit 69890f7399f086c38670961dc72166f00de89af6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 29 23:06:10 2012 +0100
sr: Eliminate usb/serial instances from API.
The API should be generic and only provide sr_device_instance_new() and
friends, but not sr_usb_device_instance_new(), sr_serial_device_instance_new(),
or others for other device types we may have in the future. The
frontends shouldn't have to know or care about this implementation detail.
This also fixes the problem that parts of sigrok.h contained
'#ifdef HAVE_LIBUSB_1_0' and such, which is even less desirable for the API.
The usb/serial instance specifics are now private, and each driver that
needs them keeps a pointer in its driver-specific context.
commit c31e9ef49b84b61a353168956882140e2b5a93bb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 31 01:54:08 2012 +0100
sr: zp: Add missing <string.h> #include.
commit fd9836bfab434ed227b685d184e266d3cbc4f6c8
Author: Anatoly Sokolov <aesok@post.ru>
Date: Sun Jan 29 16:56:06 2012 +0400
Add sr_device_get_info
commit bf43ea2317d35a3bc774a9c7e1cf6ff9b6204736
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 29 19:14:25 2012 +0100
sr: zeroplus: Use device-specific context.
Make the zeroplus driver use a "struct zp" with per-device-instance
data (such as samplerate, trigger settings, and so on), like the other
drivers do.
Also, add a few more error checks.
commit ae32d7d759f5722f9d82a2da8ec4bbdebcfd029b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 29 12:47:53 2012 +0100
sr: la8: Fix typo.
commit 73017cf914b014ff3366de981035ca23ac72a0be
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 23:29:28 2012 +0100
sr: zeroplus: Fix a segfault.
commit ef7228ba49ddaced0f1972a4788ff2fdb8dcd57d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 21:26:56 2012 +0100
Update/enforce/document our build requirements.
commit fb93625d1afbe0bc2648b550102c100949066fbd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 19:42:04 2012 +0100
sr: sigrok.h.in: Set SR_HWCAP_DUMMY to 0 explicitly.
commit 660ef7d730969a401b3d64dc624138567dbbdb7a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 19:40:05 2012 +0100
sr: sigrok.h.in: Drop obsolete 'GSList *analyzers'.
commit a4cfb10f7fcb5dd5c7df403bff0787bb6b1c1949
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 19:23:09 2012 +0100
sr: Drop analog left-overs from sigrok.h.
For now, there's no analog/scope support in sigrok yet (will be added
later), so remove any such items from the public API (sigrok.h).
Having '#if defined(HAVE_LA_ALSA)' in sigrok.h is a bug anyway, the API
must not have anything device-dependent in general, and sigrok.h
specifically must not have any #ifdefs for specific hardware.
commit a141db8c4acb98c01dbc0a73f82111ee56f1050a
Author: Anatoly Sokolov <aesok@post.ru>
Date: Sat Jan 21 18:34:11 2012 +0400
add SR_HWCAP_DEMO_DEVICE capability
commit f020a99773d1431ee58090e9515dc19b10e7463f
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Thu Jan 12 11:50:50 2012 +0000
link-mso19: Fixed led toggling (the bit masking was not being proprly done).
commit e084a8042ea0bccb306e39725de73546138e1adf
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Wed Jan 18 16:03:39 2012 +0000
link-mso19: Prevent double free errors when freeing sdi->priv.
commit 357285a944b514bb4498f16b6318829516e33e1a
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Wed Jan 18 12:09:36 2012 +0000
link-mso19: Add debug messages.
commit a29360733d32e8479147178774d6a72e62f4e56c
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Tue Jan 17 13:41:38 2012 +0000
link-mso19: Properly initialize the protocol trigger block
commit a84671913ef320d10607f9c8aabaf6bc3563099b
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Tue Jan 17 13:16:41 2012 +0000
link-mso19: Added new register definitions and renamed variables to reflect new findings.
commit 80aa5f23d1225776a7db0fc6faa763bb5c141dcf
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Sat Jan 14 12:46:27 2012 +0000
link-mso19: Added struct definitions for the pattern generator config and the protocol trigger config.
commit 66410a8617185da7abf4ca21da99e934b22351bb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 19 00:32:02 2012 +0100
sr: g_free()/g_string_free() can handle NULL input.
commit af1c793dfe27b622a48dd213c4d42bc012e81965
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 15 23:14:45 2012 +0100
clean up some dead code
commit 8f81fe87287eba2113c3db9d2f894314b70afd19
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 10 22:16:41 2012 +0100
sr: s/g_message/sr_dbg/.
libsigrok should only use sr_*() for debug output.
commit 8c76be539e8098c08f69f56053077211001ed52b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 8 22:05:00 2012 +0100
clean up drivers at the end of a session, and fix session file init.
commit e0508e67998b6b2b5cdd65b4b094b50c07386385
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 7 17:08:54 2012 +0100
sr: session: Make most functions return int.
This allows us to return error codes etc.
Add a little more error handling.
commit b3b21462914d6ed89c85f3da27d46744b863f800
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 7 14:15:10 2012 +0100
More .gitignore files cleanup.
commit db4b455beeeb4ad632b4e394402b83a4305a40fc
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 7 02:13:05 2012 +0100
remove obsolete libsigrokdecode struct
commit 8ff6afc95d2a9213b8a583e88e9e1b4eb59aad17
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 6 16:20:28 2012 +0100
sr: Consistently use 512kB as default chunk size.
commit 1190dcf713a458d99c612f8f41c2d28e666aabfb
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Fri Jan 6 11:07:37 2012 +0000
Added "autostuff" to the .gitignore.
commit 446a037205a7488b424bde90d1b633f00640ef12
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Fri Jan 6 00:04:29 2012 +0000
session: Fixed error reporting.
commit 42eb54fb62b84adb5aaa4bf9144752e46ade54ea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 6 01:05:55 2012 +0100
mso-19: Fix whitespace.
commit d88b9393241e250590333326a4f8d19b53b4bdc6
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Thu Jan 5 23:37:54 2012 +0000
link-mso19: fixed segmentation fault.
commit e42ef08dba163e8c9ef933347732d9e8c58ab399
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Thu Jan 5 19:42:06 2012 +0000
link-mso19: Updated to the current structs (fixed compilation).
commit 0c8dc7b4160c47a21925e22da7c1be73e4c3a39a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 16:45:53 2012 +0100
udev: Add missing USB IDs for some devices.
commit 8e43129c10669d767d7eb17e786f38b70d799e60
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 15:26:41 2012 +0100
A few more fixes for configure.ac files.
Add missing checks and quotes, remove superfluous checks, etc.
commit dd8b5f565f60d536104b30bee8aadf4ea333aa7c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 02:50:26 2012 +0100
sr/srd: Add Doxyfile to the tarball.
commit 4abf8dd0a540db8c8f5af5e6bd78c6eb7b473d9f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 02:41:33 2012 +0100
srd: Show config summary, libs, and Python info.
commit 45aed0721c687a29bb394bff10cc129dab0f11c2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 00:49:21 2012 +0100
sr: configure.ac: Print more summary info.
- Package version (major.minor.micro)
- Library version (current:revision:age)
- Installation prefix (usually /usr/local)
- Detected libraries and their versions (only for pkg-config libs)
commit 3af71f0da646de1e61ccbed2e85e3fca9798565c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 00:05:43 2012 +0100
sr: configure.ac: Fix version number magic.
commit d8521c939f19b08cb991df7d0731fa358381d61c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 21:55:48 2012 +0100
Put most autotools files into autostuff/.
This yields a slightly more "tidy" top-level directory.
commit 8e190238d7b33ebb9f1baa2a28a37ffd041f7334
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 20:06:36 2012 +0100
sr: Put files into .../share/libsigrok.
commit 0da5b6a9f5a119ab485ed3dba08aeb4a3ad2c8f4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 20:01:02 2012 +0100
sr: Remove useless filename prefixes.
commit cd315a80d87a24a19a7846497d74c5ca85d494a0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 19:56:01 2012 +0100
sr/srd: Fix left-over #includes.
The libs themselves should use #include "sigrok.h" etc., while the
frontends must use #include <sigrok.h> and so on.
commit 3b7c8f54fcf4c6de1ec67d11a9ec8975a2ddbb57
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 2 14:25:52 2012 +0100
sr: Drop some obsolete and commented out code.
commit 9f45fb3aea9aa628ec2323bac8f2c354f5f3983c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 2 14:15:25 2012 +0100
sr: session: Add docs and some error checks.
commit 13177edbdf23200001fcc141f61419beb93962b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 30 22:38:25 2011 +0100
Split README, add appropriate ones per-project.
commit f928befdadd7b9a50ded5fe730a0aeec06b1ed09
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 30 22:12:37 2011 +0100
Update/fix .gitignore files.
commit db8ae7b941a31b2bc64e14d60a1e962fd2b2dc38
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 30 10:50:00 2011 +0100
sr/srd: Remove/fix non-applicable autotools stuff.
commit 826938d81e2e5bf592fbed82523081fcb7fdf85e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 30 10:42:39 2011 +0100
sr/srd: Move some files to their resp. dirs.
commit 5e59cfbfc736aab9e79caef4ab6bdcbc500e254f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 29 13:05:24 2011 +0100
Move most contrib/ stuff to libsigrok.
The udev rules file is libsigrok-specific, the gnuplot files too.
The nsis files stay in the top-level contrib/ for now, they're not
really part of any of the (sub-)projects, but rather are used to create
a single Windows .exe installer for all of them.
commit c37d2b1ba12b62d63590509879bf58adf842896d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 29 19:50:14 2011 +0100
probe names: Fix cosmetics, add docs, fix off-by-one.
commit 464d12c72aa8d83acccccbbc0bc755fbb9d542c0
Author: Kristoffer Sjöberg <ksjoberg@q1.se>
Date: Thu Dec 29 17:04:31 2011 +0100
Move the probe naming to the creator of the device, and let each driver name its own probes.
commit 2d83e0f963b39104ba065c61ef22456adcf15a8d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 23:11:52 2011 +0100
Fix outdated ezusb_install_firmware() prototype.
commit b7f09cf86dd57a59dc1bdece2cac9e4a176900b1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 23:07:08 2011 +0100
libsigrok: Fix #includes.
In the lib, we should only #include "sigrok.h" or "sigrok-internal.h",
but not the (possibly installed and thus different/older versions) via
<sigrok.h> or <sigrok-internal.h>.
Frontends should of course use <sigrok.h> and <sigrok-internal.h>.
commit a0ecd83bc6e07ea412db5cd0108d50d89e36df8f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 22:55:21 2011 +0100
Make more variables/functions static and non-global.
The 'GSList *devices' from device.c was actually really global (i.e.,
listed in sigrok.h), which is now fixed.
commit c5d660ae244babd4afc7863ba23f66d31af6e29e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 21:38:56 2011 +0100
Drop unused 'global' struct/variable.
The libs shouldn't have any (externally visible) globals anyway.
commit 155d1012f138fa94980c33a0e42b50ca0922ddce
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 21:37:37 2011 +0100
sigrok-proto.h: Drop obsolete prototype, move other one.
commit 08d4cc1d146478aa9f6032fc65142293df822726
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 21:34:37 2011 +0100
device: Make some parameters const.
commit 0e3b143994797cd4685526b9a739089fe83385cf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 17:16:33 2011 +0100
device: Change some functions to return int.
The callers of these functions are yet to be changed so that they
actually check the return values and handle errors appropriately.
commit 94799bc4dc6ab1ba64cdb7f0fb350d63d4fcee66
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 16:19:15 2011 +0100
device: Add Doxygen comments, improve error handling.
- Add Doxygen comments for all functions (some TODOs remain).
- Check return code of more functions, handle invalid input.
commit cb1e389c72ead8cf6eb440f3194f5056d86069ec
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 15 03:31:31 2011 +0100
make time/duration work, at least when loading from a session file
PD decode() call now takes 3 arguments: timeoffset, duration, data
as per the current API specification.
commit 15278f3e9cf4c4a4a6c331e042f9935709343c82
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 25 19:59:15 2011 +0100
datastore.c: Improve error handling and docs.
- Add Doxygen comments for all functions (some TODOs remain).
- Check for invalid input parameters (such as NULL pointers etc).
- Return SR_ERR_ARG upon invalid input parameters.
- Make sr_datastore_put() return int instead of void, so we can pass
an error code (SR_OK, SR_ERR_MALLOC, and so on) to the caller.
commit 7a6ec0c376cec9e41a12a876edea34fecaf5c2aa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 23 15:26:54 2011 +0100
sr_filter_probes(): Check for too many probes.
Return SR_ERR_ARG if the number of enabled probes is higher than the
requested unit size supports.
commit 488a13b110d3563194dd63e087e295a4aa114002
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 22 14:10:16 2011 +0100
Improve sr_filter_probes error handling and docs.
- Much more elaborate doxygen comments for the function and its
parameters, allowed input values, and so on.
- Make 'probelist' const, the function doesn't modify it.
- Check for invalid inputs such as NULL pointers.
- Use g_try_malloc() and g_free() for the output buffer. Document who
is expected to g_free() the buffer.
commit 25a605d187e9661757a1e5d4bd15fac2b533c296
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 4 18:33:29 2011 +0100
libsigrok: Quickfix for a segfault in ChronoVu LA8.
commit 276585ff209d02ea058f09820881ed536e48e3bb
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Mon Nov 28 21:52:35 2011 +1300
srd: Pass samplerate to decoder in metadata.
commit f64c14141b0c90fa78cacbc502dd2a41239376fd
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 27 19:31:25 2011 +0100
fix CLI size string specification
accept "hz" as optional qualifier but nothing else
properly return an error instead of quietly returning zero size
commit cb93f8a927e6fb2cb1d89176766c5c9c398db5c3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 24 22:57:48 2011 +0100
Other method to avoid "unused var" compiler warnings.
The '(void)varname' method is nicer than 'varname = varname' and also
prevents warnings when compiling sigrok with clang instead of gcc.
commit cc8a7d250cf7daff452ce376224c9853529204ca
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 24 22:42:02 2011 +0100
Add missing #includes to avoid clang warnings.
commit e7bad06355ea218d83e6df1d1137e67a58513b35
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 20 03:16:33 2011 +0100
la8: device not found during init() scan is not an error
fix some hardware plugin semantics
commit e48846b1d211ce88e5ad427c034e0a2fb43bbe37
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 19 16:19:24 2011 +0100
libsigrok: glib-2.0 is a hard requirement.
commit 4d436e71ba6059b217a3d90775033e850944ad42
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sat Nov 19 13:41:41 2011 +1300
Changed SR_T_NULL to SR_T_BOOL and adjusted RLE option.
commit 6bb5c5fadfe011ae7797138fb9e9ade32edb0caf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 17 23:00:33 2011 +0100
Consistently use __func__ instead of __FUNCTION__.
The __func__ form is standardized and more portable.
commit a562c3a2e5e54dbb7e0553422ac0e0c845b180ad
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 17 22:54:17 2011 +0100
libsigrok: Use sr_err() et al instead of printf.
commit 805e9640ff4a28dc470afb0b4f3b02aece44179b
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Thu Nov 17 21:18:46 2011 +1300
Fixed a crash when loading a second session file.
commit 48ca6b54b0a5e7b0cd5f34fa4066523a1a3cc3a3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 15 22:46:57 2011 +0100
sigrok.h: Remove SIGROK_*VERSION #defines again.
These version numbers represent the sigrok version (i.e., the version
of the tarball, such as "sigrok-0.2.0.tar.gz"), but _not_ the libsigrok
(libtool) library/API/ABI versions. Thus, they should not be in
libsigrok's include file (sigrok.h).
commit 719c5a934c7705466a449854b876b9962eb4cb5e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 15 21:05:40 2011 +0100
Fix some compiler warnings.
commit 300007323ec5963e211b75d2e0d957721dea35fa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 15 01:11:27 2011 +0100
libsigrok.pc: Add Required.private field entries.
The "Required.private:" field in pkg-config .pc files is used for
declaring that we need the listed libs (pkg-config packages) for
static linking, but not for dynamic linking.
I.e., the "Required.private:" field should be used for libs which we
use internally in libsigrok, but which we do not "expose" ourselves.
For now all libs are listed as "Required.private:" instead of
"Required:", but this may not be entirely correct and needs to be
checked carefully at some later date.
commit 5c582d9f61fa7dad2a5cf07e1f464b6b6ffb1e28
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sun Nov 6 11:44:25 2011 +1300
Remove IO source if callback returns FALSE.
commit 52f28f821f8923f52fce5b76909c00015231e299
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 29 19:27:32 2011 +0200
sigrok.h: Add SIGROK_{MAJOR,MINOR,MICRO,}_VERSION #defines.
commit 7583b99dbb2310ce2e34fd435c42634dec940ad6
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sun Oct 30 14:25:24 2011 +1300
OLS: Calculate actual sample rate used.
commit baf1d71477ea5c1dea449bc9ce72b39d02751934
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 30 02:10:32 2011 +0200
ols: Minor whitespace and coding style fixes.
commit 3a4d09c0de68c3ae9f287d243967431b8e3de0b7
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sat Oct 29 15:57:17 2011 +1300
Run-Length Encoding support for the OLS.
commit 221304219ef861c14a44017eb025631bbd2fa05c
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sat Oct 29 15:21:16 2011 +1300
Prevent reading past end of OLS hardware buffer.
commit 9a751023136a058dadf008a4ff983351947cc0df
Author: Jerry <jerry@xor-gate.org>
Date: Mon Jun 20 23:43:44 2011 +0200
Mac OS X build fixes
commit a634574eae69c9e712d5dbec8b97809840876c5f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 20 11:43:34 2011 +0200
saleae-logic: fix timing on packets when triggering is used
commit 7d2afd6c954e4b1507b494c5c0d469c2ecf59cb2
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 20 11:42:43 2011 +0200
better session bus logging
commit 9c939c5132d82575cc1ce8f8fef5b6c4289aec5b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 19 14:28:50 2011 +0200
use new datafeed packet format
commit 38ab3ee79db2a08dd1f01fff08b7474093a48ce5
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 19 02:35:23 2011 +0200
new datafeed packet format
struct sr_datafeed_packet now has timeoffset and duration fields,
expressed in picoseconds (1/10^12 seconds)
length and unitsize are now in a separate struct sr_datafeed_logic
commit 60eb1eb5820be30671729c08b371b0ab3c14c860
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 19 00:55:36 2011 +0200
fix parameter type
commit 8e49cebd10a1f34e9d5cdafeebc4c59a5c3c563c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 12 18:07:15 2011 +0200
whitespace
commit 6d754b6d3a8f843cd5254617674f484cac9b12db
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 12 18:04:19 2011 +0200
support for multiple FX2 devices
commit e53c830f33d08633db4eb560f08d2518ff26ad9e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 5 02:08:08 2011 +0200
saleae-logic: use new logging system
commit e10d6e32e4d8766e12b752da6d1806944b0ee85e
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jun 4 23:20:00 2011 +0200
saleae-logic: support for other FX2 devices (bare FX2)
This enables support for devices that have a different VID/PID
than the Saleae Logic, and yet another after firmware upload.
After firmware upload is checked every 100ms whether it came back,
instead of always waiting for 2 seconds.
If the kernel attaches a driver to a device we know, detact it first.
commit 8722c31e26ecebfc75035a566d4d72d07761ef14
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 4 05:13:29 2011 +0200
better cleanup of device/plugin resources
commit 896a19fd65790093b60ece2d1bdd36caba74eaf8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 9 00:59:41 2011 +0200
LA8: Remove trailing whitespace.
commit d1175d5f7e184dff420038a801113f1d3c8a6ee8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 9 00:54:59 2011 +0200
LA8: Use sr_spew() where appropriate.
commit f36cbf60cbd43be46ede083265549068db21f4b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 9 00:52:55 2011 +0200
LA8: Improve trigger support and debug output.
commit 06dd80d424a511736e0c61492bd618a5c3e65cff
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 8 20:26:22 2011 +0200
Add sr_spew/SR_LOG_SPEW for even more debug output.
This is meant for really extensive debug output which can slow down
operation significantly and should thus only be enabled if really needed.
commit a76983fd207554de93adabfd33d2abf8d0f3662a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 8 20:20:26 2011 +0200
LA8: Eliminate magic numbers.
commit 4d7b525ae9c0a85097280e77b9c158e9c4c8c6e5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 8 20:09:22 2011 +0200
LA8: Add trigger point support.
Report trigger point/position via SR_DF_TRIGGER packet.
commit 5a9660dd4e4977b9c3a86fe895e0b714e64a44a1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 6 20:38:48 2011 +0200
demo: Use memset(), might be faster.
commit c03ed397330b031fa5f63a5dd548e05c2c2d6923
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 6 20:34:12 2011 +0200
demo: Add all-low/all-high pattern support.
Also, improve error handling a bit.
commit c8f4624d9b265f63bc880df28bd9b1a7e29f1488
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 5 13:02:48 2011 +0200
demo: s/genmode/pattern/.
commit 0d31276b05643407ba4a4a9e3f0f95e259c8baa2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 22:37:12 2011 +0200
demo: Rename GENMODE_DEFAULT to GENMODE_SIGROK.
Also, add (Doxygen) comments for the currently supported patterns that
the demo device/driver can generate.
commit e88dadd77cd9fcb4fc0e85eeb6c41155847529ad
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 22:26:55 2011 +0200
Improve (Doxygen) comments for HWCAP entries.
commit 68c12597efda33a30b6152cbac4b805604f3e671
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 20:05:33 2011 +0200
demo: Eliminate unneeded tmp_u64.
commit d3b1b51cbef3edfeefbc5b9edfdd8423c6d5e8e0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 19:46:33 2011 +0200
LA8: Free memory from g_*alloc*() via g_freee().
commit 340cfac0f0629aa3ee84a0a4db53381d04079fe3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 19:44:25 2011 +0200
log messages: Use device name, not vendor name.
There can be multiple devices from the same vendor, obviously.
commit 697785d1aedc0bf385ea21074d83d61b11d8ce29
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 19:34:12 2011 +0200
libsigrok: closedev() now has a return code.
This is useful to allow frontends to react upon close failures in a
way they see fit (e.g. a popup in the GUI, or error message in the CLI).
They can also still ignore the error if they want, of course.
commit 1352eeddd4d164b58f2233ae109432b73faab539
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 19:03:01 2011 +0200
libsigrok/cli: Implement loglevel support.
libsigrok can now be told at which loglevel to work, i.e., how many
debug/error/warning output to generate. You can also query the current
loglevel.
In sigrok-cli it is now possible to set the loglevel via -l. For example:
- Disable all output: sigrok-cli -l 0
- Only show errors: sigrok-cli -l 1
- Show errors, warnings, info, and debug messages: sigrok-cli -l 4
commit 548b08e55cf05aeb8f57b26b29035c3fb153f0f5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 3 19:18:43 2011 +0200
Drop unneeded skeleton files.
They're not too useful as they mostly consist of a list of function names,
and that list is already available in the respective struct. The wiki
API docs and the code in the various hardware/output drivers serve as
useful examples already, no need for additional files.
commit 86f5e3d826fc9059e110f07221cb1a30652ceac2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 3 19:15:54 2011 +0200
libsigrok: Rename open/close to opendev/closedev.
commit 6f42226475bea46cebd348c1c7556cf9a6fce118
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 2 01:40:16 2011 +0200
demo: Add some more debug output.
commit 02604ed6def368edd782bae3c43c7de86111691e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 26 23:56:00 2011 +0200
Initial support for CSV as output format.
commit f38bdf5678d35a1493c17a5c260fc1120d93bd93
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 26 17:27:34 2011 +0200
Change left-over SIGROK_* to SR_*.
commit 4362438f1e2da14d04678327c403f9d75c4c0a48
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 25 00:16:47 2011 +0200
LA8: Shrink mangled_buf from 8MB to 4KB.
It's not necessary to have an 8MB buffer. Also, make it static, don't
use malloc() here.
commit da0918aae0d43ab25cb72ddf8773831f0364ebdb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 24 22:53:27 2011 +0200
ASIX: Small consistency fixes.
commit 4bc5fd4568350e3d4025ea72158a8a611650a912
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 24 22:50:04 2011 +0200
LA8: Eliminate unused num_probes variable.
commit 309397702f747ea6326492d841a31fddd2d76a9f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 24 22:48:45 2011 +0200
LA8: Replace some sr_warn() with sr_err().
commit ecaf59db8d79286b69a489273f4262901c0588f8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 17 10:11:52 2011 +0200
LA8: probeconfig/trigger support.
This should make proper trigger support work for ChronoVu LA8.
commit 4af22da5950cf490f2300199dfacd705e1d220b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 19 00:27:29 2011 +0200
Fix two small warnings.
commit e519ba8645b56f6c9eaaf69d6357a1efa8df501e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 19 00:14:15 2011 +0200
Hardware drivers: Use names for struct entries.
commit c0a4b9716d32811d9b2320884d3bd0e599feedcf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 17 14:51:54 2011 +0200
ols: Always use glib's memory allocation functions.
commit ecad043fd0c05ba307c3730438c1547a5dbe2608
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 17 10:22:10 2011 +0200
MSO19: Always use glib's memory allocation functions.
commit 27a3a6fe4b767414318c84a08c0cbe2c5a64e4b7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 16 17:23:04 2011 +0200
demo: Always use glib's memory allocation functions.
commit c548332c21acc2588114214b38eaa3237fc3f8b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 16 16:07:28 2011 +0200
serial.c: Use g_try_malloc().
commit 12ad53f5a6390e95ea0451ab3bd2c18574294aa3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 16 16:04:32 2011 +0200
ASIX Sigma: Improve error handling a bit.
commit 92b3101cfc71581a273e667f185b18be0f0c364f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 16 15:58:26 2011 +0200
alsa: Always use glib's memory allocation functions.
commit 2e82a17b5ae9d204c57b99db93f1063787f6c3d5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 16 14:24:58 2011 +0200
LA8: Always use glib's memory allocation functions.
commit b53738baf76219237e0a6629905981d7a1f2508e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 16 14:17:51 2011 +0200
Replace g_malloc{0,} with g_try_malloc{0,}.
The g_malloc()/g_malloc0() versions exit/segfault if not enough memory
is available, which is not a good thing in libsigrok.
Instead, we use the g_try_malloc()/g_try_malloc0() variants, which
return NULL if not enough memory is available, so that the caller can
handle the error properly.
commit 50959ddcdc455c930397fbc9f85c3a745ff45fda
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 15 21:49:22 2011 +0200
gnuplot output: Optimize by only storing changes.
Only output new lines in gnuplot output if there have been changes in
the samples (similar to what VCD does). As long as the first and last
sample are output, the resulting plot looks OK.
This reduces the size of the output file from roughly 200MB to just 60KB
in one specific test setup (depends on the number of probes and on the
signal, of course). The time and CPU load required to generate the gnuplot
output and the resulting plot (PNG or other) is also drastically reduced
from multiple minutes to roughly 30 seconds (again, depends on various
things).
Thanks Ken Mobley of ChronoVu for the report.
commit 15f2d0c0f2e39bc4338b0781b581aced0fca8e0c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 15 20:47:26 2011 +0200
Don't close/reset the FTDI device too often.
Only call la8_close_usb_reset_sequencer() in hw_closedev(), it's not
needed in hw_stop_acquisition().
Thanks Ken Mobley of ChronoVu for the report.
commit 2f5c8c9696f4a4a8ca7e3c7e6e7d2766a4927026
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 15 20:05:45 2011 +0200
LA8: free() sample buffers in hw_closedev().
Thanks Ken Mobley of ChronoVu for the report.
commit b08024a8363c7a019bebc05a25e2689e774326e8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 14 09:46:53 2011 +0200
libsigrok: Introduce sr_dbg/sr_info/sr_warn/sr_err.
We should use these (internal) functions in libsigrok exclusively from
now on, i.e. no more use of glib's g_debug() etc.
These functions are only for libsigrok, the frontends use whatever
logging mechanism is suitable there.
commit 83e9d586385097b957774d150a718ebaa7fcc3c9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 11 00:21:19 2011 +0200
Add chronovu-la8 input file format support.
commit 8c48f17944a224787aa430b3b3dc5f8709ccb700
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 10 23:33:43 2011 +0200
Add chronovu-la8 output file format.
commit 20ebd1fe1d9314f421cfdfc925eba6eee498ce80
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 10 16:46:05 2011 +0200
gnuplot output: More error checks.
commit cdb3573ceba61b02b80f7fc979d166db5b6ff3bc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 6 21:51:36 2011 +0200
input/output formats: s/extension/id/.
The struct entry 'extension' is not really a (filename) extension, but
rather a unique ID used for input or output formats, e.g. in the sigrok
CLI or GUI interface. Thus, rename it accordingly.
commit 8703f512a7c0e05f5fc3a5bc36f9e81afee71da3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 6 20:01:31 2011 +0200
LA8: Use the new SR_ERR_ARG macro.
commit f7d2982d42e876d8814cba203570a45284c79658
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 6 19:53:31 2011 +0200
Add SR_ERR_ARG #define.
Changing the number of SR_ERR_SAMPLERATE is not a problem ATM, as we
never had a public release of libsigrok, i.e. nobody relies on the API yet.
commit 819184ee68f1fda1ebc5b0a5f6aed403ecc27403
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 6 19:51:11 2011 +0200
Binary output: Add more error checks.
commit d494a4aa9dcbd90126d86757d16fa3e0f0a419f3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 6 19:42:49 2011 +0200
input/output formats: Explicit struct member names.
This makes it immediately clear what an entry is supposed to be, no
need to look it up in some header file.
commit f4314d7e0611917bdc7713dbffe17559490666d6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 4 19:40:30 2011 +0200
Add initial support for the ChronoVu LA8.
commit 8a7b47cdfae4a4a95e92958beab41a4985e8f8e3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 3 23:18:46 2011 +0200
Revert temporary changes for 0.2 release.
commit 2f3aab0ee9797700238656218208a6ab17a607b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 3 22:38:35 2011 +0200
Disable some stuff which should not be in 0.2.
Disable decoders, disable lib building.
commit 847c21bc65343fa1197aa8455012d06a887e6626
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 3 20:15:12 2011 +0200
Hook up output/text directory with autotools.
This is needed for 'make distcheck' to work.
Also, add missing text.h to the list of source files.
commit 4fe9a6da79561d82f2c88c39e222ae86c5507900
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 3 06:15:45 2011 +0200
OLS driver overhaul
support for metadata in recent versions of the FPGA code
moved constants and structs out to separate header file
got rid of all device instance-specific globals
commit f437ea3fe2cada77634eb3a06d34abf680b9c092
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Mar 17 14:53:06 2011 +0100
small warning fix
commit 4487177c795db2393fd7e4a3c7b46b56345dc8e1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 14 05:55:01 2011 +0100
output_ols: disabled cursors don't really need to be listed
commit 82957b65b111437ebe445b7f165719eec2d4e147
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 25 13:44:16 2011 +0100
ASIX Sigma: Fix firmware loading bug.
When no firmware file is found, return the right error code so sigrok
doesn't continue running with no firmware loaded.
Thanks Martin Stensgård <mastensg@ping.uio.no> for the patch!
commit 8bb416becf64c5095dc7f553a7899fbe9ebc28e0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 23:20:22 2011 +0100
Kill unused functions (avoid namespace pollution).
commit 120b259ea8f17b74deca3ba4b71e78771539bde8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 23:13:34 2011 +0100
Drop obsolete vcd_header.
commit d078d2e5f3842b1915ffa9961654f3aa4ed88e17
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 23:12:41 2011 +0100
Make some more items 'static'.
commit 25b4fb85572d0c86d9ccab2a48524f4dd9bef43c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 23:01:29 2011 +0100
Add doxygen comment to sr_filter_probes().
commit cd009d55619181e2fa7e7112f32fe85e4b49cf14
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 18:13:32 2011 +0100
sr_exit(): Return int to be able to report errors.
commit f5a443f27ad0e99f8f0f93867a1f298d7a6a327a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 18:08:41 2011 +0100
Make DATASTORE_CHUNKSIZE private.
commit c91404191e6b31ffe40edd8de469876a02c81d57
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 18:05:16 2011 +0100
Add SR_HZ macro for consistency.
commit 59df0c77e2906323290544ea62801831818ec096
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 17:57:03 2011 +0100
Add SR_ prefix to the KHZ/MHZ/GHZ macros.
commit 9688b443f65c7779a07b0e3ef2b9f9721ff742cd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 18:39:47 2011 +0100
Add SR_ prefix for MAX_NUM_PROBES/MAX_PROBENAME_LEN.
commit 4cea9eb20dc8d816a67c57d111a3a4529d452e4d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 18:29:05 2011 +0100
Make ARRAY_SIZE/ARRAY_AND_SIZE private.
This is not libsigrok-specific and should not be part of our API.
commit 54ac5277c5e462f1778300b9bc3fdd4709ecb2dc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 18:24:25 2011 +0100
Constify some more 'char *' parameters.
commit 809c5f2011198a064a2e5e4028f19e63eb532ec1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 14:20:15 2011 +0100
Add sr_ prefix for analog stuff some structs.
commit a887e3da9714cdfc4ee2eed37e0aa40cf7a5aaea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 14:14:13 2011 +0100
Add sr_ prefix to receive_data_callback typedef.
Also, drop obsolete add_source() prototype from sigrok-cli.h.
commit 13b0573369841c1e26834734699b0f34f35428eb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 14:09:15 2011 +0100
Add sr_ prefix to datafeed_callback typedef.
commit e5551f657d6f16ec752cbbd1c879827387fd0063
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 14:04:12 2011 +0100
Drop obsolete source_callback_*().
commit c25d2039de05250357f5a215e2cfcf703fbc6625
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 13:58:21 2011 +0100
Add sr_ prefix to filter_probes().
commit 8225e92175c64909eddaecf8bd512049acf653a2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 13:53:13 2011 +0100
Constify a few more 'char *' parameters.
commit 8233ff53ae7c6e120af4784bc61a036882d5c234
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 13:27:08 2011 +0100
Make load_hwplugins() private.
commit ee4b6342afe8e42c0be481109b9b97e27cbb846a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 13:24:26 2011 +0100
Add sr_ prefix to list_hwplugins().
commit 6f1be0a2d40b3998abd8d10b5479e4538bc4ff1e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 13:19:27 2011 +0100
Add sr_ prefix to session_{add,remove}.
commit 77b454421a2aa7d52873f036e5ba5f8030fe29a3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 13:08:44 2011 +0100
Disable analog bits/gnuplot output for now.
commit 29cbfeaf5c6a5e9112a6830a8fe4b584b33daf2a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 15 19:38:46 2011 +0100
Mark some private stuff 'static'.
commit a65de0309b0629d8a5f744f4be7bad67fdd5c34e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 15 19:24:52 2011 +0100
Add sr_ prefix for hwcap structs/functions.
commit a46d35febf4096df1af6189770bc5c1f91908ff5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 21:00:32 2011 +0100
Drop prototype for non-existant make_metadata().
commit 218557b85a308adc6ac533eb3f33d3dee17c13f8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 13 11:27:52 2011 +0100
Quickfix for a segfault with file input via -i.
Stuff like
./bin/sigrok-cli -i rnd.dd -a transitioncounter
would segfault (rnd.dd consists of random bytes) because device->plugin
was NULL and was being dereferenced.
Thanks Olivier Fauchon <olivier@aixmarseille.com> for reporting.
commit 305bde4d42ac801312743cc05671de214f6501fd
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Feb 12 06:18:16 2011 +0100
implement version 1.3 of the OLS output format, now streaming
commit 4bfbf9fce71f91b3e7b7e968d436f7c436fc9648
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Feb 12 03:24:23 2011 +0100
demo: forgot second part of samplerate support
commit e5d1717e6d436b4f529c00dd5cede669e74a1e58
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 9 00:07:29 2011 +0100
Saleae: Make more private stuff static.
commit ba0b1dc639d13caf9c9f564828dc82a55c771913
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 23:46:29 2011 +0100
Doxygen config files: Initial configuration.
commit df66e48b0c794cc91fbf5a3ceb8c9a8f3ada3458
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 23:00:49 2011 +0100
Add doxygen config files for both libs.
commit 03dbc020cde2f0d9857ffcfc273eed5f504a4860
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 21:50:27 2011 +0100
Rename probe_find() to sr_device_probe_find().
commit dfcc0bf9d3b56c06daa1c4eec923ad21bf13dcd3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 21:47:50 2011 +0100
strutil.c: Fix typo, add some (API) docs/comments.
commit c49111295f0b2e50044923897d99ca84f65b75db
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 21:22:10 2011 +0100
Add sr_ prefix for datastore API functions.
commit 2bf4aca64ad435a09359662446762840ac55db1d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 18:19:38 2011 +0100
Add sr_ prefix for device related API functions.
commit 60679b18e6940d20ee36fa77ea7411b67cbb9c2a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 18:07:19 2011 +0100
Add sr_ prefix to 'struct samplerates'.
commit 8a2efef2d5900cb3dd935af92a0e22528660c4be
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 18:00:49 2011 +0100
Add sr_ prefix to session related API functions.
commit 2872d21ebc4e9554f685551e4915f193357f13d9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 17:50:29 2011 +0100
Add sr_ prefix for 'struct session'.
commit 1afe89897cf100b1a3a5896184ddaca5705681cc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 17:47:38 2011 +0100
Add sr_ prefix for 'struct probe'.
commit 3bbd9849e9dc5fdc9fe18a4394abe4d4b43ac9d4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 6 02:14:57 2011 +0100
Fix warnings: g_fopen() needs <glib/gstdio.h>.
commit 868d8cefec0d27bc5afed4fe1e906c7b68665cf6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 5 20:03:17 2011 +0100
Use glib's g_fopen() instead of fopen().
commit 45fdfa307de68cc5209142cc6bae13a3be274949
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 4 23:52:16 2011 +0100
MinGW: Use "b" in all fopen() calls.
This is required for proper operation on Windows/MinGW, and doesn't
affect other OSes, most POSIX systems simply ignore the "b".
commit 0f33365007d72e3f114938a61b9c426b6f5e48c6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 4 20:11:17 2011 +0100
Revert FIRMWARE_DIR / DECODERS_DIR method for now.
There were several issues with the other method, revert for now.
commit d81d29333e255a236b029860683f4bfadd1c15e3
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Feb 4 06:28:49 2011 +0100
demo: support setting sample rate
commit 904e0b589ebfbfa5ced62b0fab50a204d8d8a4b5
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 1 18:27:12 2011 +0100
ols: default to 200KHz samplerate
commit a9f54bcd7b83baf465e5096f604470cacb4951bf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 2 13:13:13 2011 +0100
MinGW: Build fixes.
commit 22b02383442ec55a11cc6dd2b4c467d1de0b5bd2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 2 10:25:52 2011 +0100
Fix build when no libusb-LA is compiled.
Until now the build would break if the user doesn't enable at least one
of the libusb1.0-based LAs. I.e., you could not compile only OLS, or
only the demo driver.
commit cddd1c5f4739e43365a48a9d17e49cb105d929c7
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 1 06:51:34 2011 +0100
demo: stored-pattern generator now keeps state
commit 6e738600eb4b98f76ca6f0d7d38da7e7a2acd0ca
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 1 06:13:32 2011 +0100
output_ols: now fully compliant with spec
commit 3a285098170ee6d5c7eab3fd94606e61a4fbaa19
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 1 02:33:54 2011 +0100
don't just assume a device has a samplerate setting
commit 4a1b18f86d71ce814ec65b5273c1fdc4ac224735
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 1 01:41:33 2011 +0100
don't force .sigrok extension when saving session file
commit b8c2f85f561a3e2738b621a0d42e0c066c1fcee9
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 1 00:06:32 2011 +0100
session_driver: remove unneeded callbacks
commit dd56a9320d3ecb8f9054600f118a219f0de4ec9f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 31 23:44:18 2011 +0100
fix device probe adding
commit 7d6588743503514c9de5c4fc8a511e9b0bdad7e6
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 31 22:34:14 2011 +0100
implement session loading based on a virtual device driver
commit 40f5ddac0125b1a7c9b2625dda631f3c0ba24a4b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 31 22:29:40 2011 +0100
move samplerate/period printers and parsers into libsigrok
commit a59606dfff0fa324e0003904a8eb72d7159c3c1f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 30 21:57:45 2011 +0100
remove dead code
commit 9f4bc44e3a4442eb2b4a1fc2bdfeefc2e2bad425
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 31 14:14:28 2011 +0100
MinGW: Build fix.
commit 01d9dc35ad8ba6817170ac9cca6c7e4fce989b78
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 30 19:22:13 2011 +0100
Consistently use _exit prefix for functions.
commit 5a2326a71b3a7d3bc6b367a7a3dfa6f137f5f0ec
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 30 17:58:41 2011 +0100
SR_ prefix for all public enums.
commit 6c29007211e3a35bb90db53cd22042f04fbe4e44
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 30 16:44:26 2011 +0100
Prefixes for *_device_instance.
commit 5c2d46d1dbfa636fb3cdbeaffdc0e9ca77c66ee1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 30 16:19:42 2011 +0100
Prefix device structs with sr_.
commit 9f8274a544865838f880c4849c28b6129141cf99
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 17:10:24 2011 +0100
Add a field for the full name of a device.
Also, show this long/full name in 'sigrok-cli -V'.
commit b9c735a275512ce82da7f66275c7cb62eaf66b60
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 17:03:26 2011 +0100
Prefix datafeed structs with sr_.
commit d32d961d17e3c7f409912062e5c336c19b6ef270
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 16:57:35 2011 +0100
get_sr_device_instance() -> sr_get_device_instance().
commit a00ba012288726678e1a270961c8d4f46f3dbd33
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 16:43:45 2011 +0100
Change all sigrok_ prefixes to sr_.
commit f50f3f40d9238b0c50be67e52bc132aadfcf2050
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 16:36:57 2011 +0100
Add sr_ prefix to input/output structs.
commit e46b8fb154ba90ffec9c1f805399dfa819e736f9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 16:23:12 2011 +0100
Change SIGROK_ prefix to SR_.
commit 544a458212dc972b663e67cd522ba54cbd8a00de
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 30 02:40:55 2011 +0100
move session main loop stuff into libsigrok (session_run)
commit ff35879bb7374a430ef89633df273288d42d4988
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 27 23:17:47 2011 +0100
Fix some compiler warnings.
commit aa4b110766256f010af198e1e5f2ca64055403df
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 24 07:46:16 2011 +0100
fix session saving and input file loading
cli: -i option now properly takes the -o option into account,
so sigrok can now be used for protocol conversion with just
those two options.
commit e54bcdc5d17daf9a0641763bc33f5c8a723c4cbb
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 24 02:49:14 2011 +0100
cli: don't initialize and scan for hardware unless needed
If the -d <plugin> option is used, only initialize the specified plugin.
commit eeebceea31bacfbe05ba6d7cbcf21de03910329a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 23 19:53:50 2011 +0100
Introduce proper libtool versioning for the libs.
commit da6923732120b9f169c5991000ecabd15c05ffc0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 23 18:21:58 2011 +0100
Build fix.
commit 108a5bfbba72882d1bc903a0ae54d0a883ff0824
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 23 05:32:37 2011 +0100
fix compile warning on 32-bit platforms
commit 070befcd1c4786645a9191b96885dd62490b0d41
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 23 05:32:13 2011 +0100
restore demo driver to working state
commit 47697369b552515d76930951e75cf84b5a16953a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 23 04:58:32 2011 +0100
cli: revamp option syntax
for device (-d) and format (-f), the syntax is:
<thing>:key=value:key2=value2
commit cdbc51d97d027c3889aad43c9d9ed3344cfb5a91
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Sat Jan 22 12:23:34 2011 -0200
alsa: hide a few compiler warnings
commit 58330ab892c64461a73471a197fd8816630944a9
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Sat Jan 22 12:21:04 2011 -0200
finish alsa driver implementation
Yes, it works now.
commit 6ea7e23526b6be4d6c762b1136e361e4d3caccf6
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 22 14:18:31 2011 +0100
Revert "re-enable filter and datastore for DF_LOGIC"
This reverts commit 23da86dfc0a89c7ab951fea31a318a493830eb69.
commit 97554432e8d8bcf7f5af2dd770bcf752c9cd7d75
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 21 22:59:18 2011 +0100
split output_text into more manageable pieces
commit 921a4c741fee27ee2f248971f9ee309a1551f981
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Sat Jan 22 01:01:53 2011 -0200
fix copynpaste glitch
commit 6ed4f0443730685b6a4a00b316384d751aa787e3
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Sat Jan 22 00:57:27 2011 -0200
initial version of alsa plugin.
It does NOT work yet.
commit cfd8b10a2e2e4cd710d148ec5d2e11e18d583414
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 22:02:32 2011 -0200
alphabetical order
commit 5819184b229d5d33ccb8e5ed5f7d715f501fedb5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 21 21:04:01 2011 +0100
Remove duplicate FIRMWARE_DIR includes.
We use AC_DEFINE_UNQUOTED in configure.ac now to put the FIRMWARE_DIR #define
in the config.h file, which is included where we need the #define.
commit 62eeeb171bd9a05d167990373e33bc1f956cbfee
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 18:04:09 2011 -0200
re-enable filter and datastore for DF_LOGIC
This definitely isn't the proper fix, but it should allow DF_LOGIC
and DF_ANALOG to coexist.
commit 81bbdf6a6a2a8651e3c1ab3a7f714a851da77141
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 16:11:44 2011 -0200
add incomplete DF_ANALOG support to output_gnuplot.c
RAW->Voltage conversion is not implemented yet, its hardcoded for
signed 16bit conversion.
commit 8038e90aefdbddd68a9775aea4f588bdd89894fe
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 12:52:12 2011 -0200
add a sine wave to demo.c
commit c3579621d569f4b1ef3c21c7e2ed3bdc855c617b
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 11:25:50 2011 -0200
reduce analog_sample sizes.
To save resources, reduce the max ADC resolution and max probes
per device. Just increase when needed.
Soft limit: 256 probes, 16bit adc
Hard limit: 2^64 probes, 64 bit adc
commit 764f887f7bfe480690fdc90ccadadfc1f9b42c03
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 01:30:56 2011 -0200
change demo.c to output analog packets
You need to #define DEMO_ANALOG to generate DF_ANALOG packets.
commit 6eb0e3ea9528e91ef1e44e224fe9d6b05e31596f
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 01:19:50 2011 -0200
change output_text.c to support analog
Only the "bits" output format was converted.
Analog values, are scaled down to A-Z letters.
commit 48d783e4b5e557b6b7beee3907f0e8bd88741426
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 01:14:53 2011 -0200
introduce analog_sample datafeed packet
These structs define the packet format used to exchange data using
the DF_ANALOG packet type.
commit f3163a6c2ee7a1d7ec6865f11cfcf52b07dc31f5
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Thu Jan 20 20:10:43 2011 -0200
make output_analog.c = output_text.c
commit f95fd1aaf3830c4d1f451b4b15c56169c9e95b35
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 20 23:23:06 2011 +0100
Install an empty firmware/ directory.
This reduces the hassle for the users (and distro packages) a bit, you
only need to copy files into there now.
commit a00b530c644076f04a8505bc3644d2dceb3f6ed7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 20 23:00:59 2011 +0100
lib headers: Add 'extern "C"' for C++ usage.
commit bffed4fc107358b11ab007ef2cdef851572680ef
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 20 00:39:59 2011 +0100
Re-enable stuff we temporarily disabled for 0.1.
commit 07c81bfad119a4ea66c76cc830506ce3b381b4c5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 19 23:55:03 2011 +0100
Disable Link Instruments MSO-19 for 0.1.
commit 26ce0bbfd88121831c651c8042e3c843ccd5d2c2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 19 23:47:21 2011 +0100
demo: Small indentation fix.
commit 1924f59f4b788046f5eaf7ef3272a14c79a7c6f3
Author: Håvard Espeland <gus@ping.uio.no>
Date: Wed Jan 19 23:14:17 2011 +0100
Demo: Obery samplerate and fix race condition.
commit 576790ff7b7e888eeefa79239ffed6d8550c1160
Author: Bert Vermeulen <bert@slab.local>
Date: Wed Jan 19 22:47:55 2011 +0100
disable MSO-19 specific stuff for 0.1 release
commit c70fce6ba6f061f1fbd4dbdf08e5d2ffa0168f6a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 19 19:20:44 2011 +0100
Don't install libs and headers in the 0.1 release.
The library APIs are not yet usable or finalized, so don't expose the
libs for now. Instead, only install sigrok-cli, the manpages, and
the decoders.
commit 058b70353dd462ab13f3badb43f2fea697161bd7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 19 01:16:19 2011 +0100
Move more non-public headers to sigrok-internal.h.
commit 01bd1ed396f33efc7126703210f44c4b5730d064
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 18 00:08:11 2011 +0100
Fix compiler warning.
commit 32c0551ba66452acc24c9dc163ade3a637b1c7f2
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 23:17:55 2011 +0100
output_vcd: Make timestamp work on 32-bit machine.
commit 94ba4bd6897d87af2ca45acc0505139d04785d44
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 23:12:57 2011 +0100
Sigma: Update set_configuration to reflect API.
commit 7c70c53843766003b881ca2c47f2c4bb454a3360
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 22:39:46 2011 +0100
Sigma: Set default samplerate to 200 KHz.
commit 5b5ea7c6d25bb42de09b61d0a070d78252f2367b
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 22:24:23 2011 +0100
Sigma: Only send trigger packet if enabled.
The Sigma hardware emits a default trigger event.
commit abda62ced8a9cdbb13be49a503d6bc6a8a8f8f2e
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 22:17:43 2011 +0100
Sigma: Never send empty packets.
commit afa8f8449aa6c04980a9d4639a901079a2afedc9
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 22:14:36 2011 +0100
output_text: Mark trigger at correct position.
ASCII output does not separate groups of samples with
and must be handled separately.
commit 6ef7a8cb5d2f035734dd504d99b267a118b2dade
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 22:13:50 2011 +0100
output_text: Fix ASCII edge case.
commit d4f228d094d53c95bdf4dd42525a271db716928d
Author: Håvard Espeland <gus@ping.uio.no>
Date: Mon Jan 17 22:56:14 2011 +0100
output_text: Add ASCII output.
commit b9cc36296b6e08d194a2b8e6c1adeb010af9a630
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 17 02:20:52 2011 +0100
demo driver: support time limit
commit 574ce4988ac771ea39e3423c196019555e81df8a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 17 02:18:02 2011 +0100
refuse to set sample limit under 4 (protocol can't handle it)
also a bit of whitespace mangling.
commit b33e7d7058a5a092eea7b8bce18cf95d70e5ff5a
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Jan 16 17:55:51 2011 +0100
output_vcd: Emit timestamps as time, not sample num.
commit 08b488b84896d0e29c401c67f7bda7fed968f9ca
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Jan 16 17:34:49 2011 +0100
output_vcd: Remember samples between packets.
Fixes two bugs in vcd output:
1) Waveform did not match original input when viewed in gtkwave.
2) No vcd output when using 1 MHz sampling on Sigma.
commit 88c51afe876b6d6ba115f8152d89b9564ee00e4f
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Jan 16 17:03:25 2011 +0100
Sigma: Support for decoding partial chunks.
Samples are stored in chunks and the last samples do not fill up
a complete chunk. This patch adds support for decoding partial
chunks.
commit 10c471ab131bd766c9207e05e485fd2467ba7d5b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 16 14:18:26 2011 +0100
Fix warnings.
commit d35aaf0256aa646af0f23035932271579ca65a3d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 16 14:12:52 2011 +0100
demo: Use GIOChannels, makes it work on MinGW.
commit fbf1ff5d2268c0fbf35b6210afa11da351b9b2ba
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 16 04:34:45 2011 +0100
clean up output_vcd module
use self-expanding strings, better standards conformance
commit 98b8cbc17e03119fcaa735a4bc2f0451000ab54f
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sat Jan 15 20:01:00 2011 +0100
Sigma: Limit number of edge triggers to 1.
Actually, Sigma supports 2 rising/falling triggers,
but they are ORed and the current trigger syntax
does not permit ORed triggers.
commit 31facdd3c5ca0c118d1216ce65c468db130bb751
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sat Jan 15 19:19:49 2011 +0100
Sigma: Download samples from partial chunks.
commit ab224f7b61ee1d3cf46fff172e4d97c856031593
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 18:18:09 2011 +0100
Initial support for the OLS output format.
This is the file format for the OpenBench Logic Sniffer "Alternative" client.
Details: https://github.com/jawi/ols/wiki/OLS-data-file-format
This is work-in-progress.
Currently the number of samples is hardcoded to 10000. Also, this will
require a real logic analyzer as input at the moment, and will not yet
work with the "demo" driver.
commit 9d7ab9ba3b5208e99bc7fd33c6a831fe21a427f3
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sat Jan 15 18:24:01 2011 +0100
output_text: Allocate more memory for output
The trigger line was forgotten. Allocate 512 bytes extra.
commit 9996570987d362a324384ed041040e884628853e
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sat Jan 15 17:02:18 2011 +0100
Sigma: Move sigma state to device specific struct
Thanks to Daniel Ribeiro for contributing this patch. Some
modifications were done.
Not tested on multiple Sigmas, because of lack of hardware.
commit 3aa403e858a490aee17c23c11d3a09cdd4eb324d
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sat Jan 15 16:10:57 2011 +0100
output_text: Allocate enough memory for output
commit 858fb11c5e26009861b8b7aef7c07b701d2cda5a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 15:44:21 2011 +0100
Drop unused debug.c.
Even if we'd use it, it probably belongs into the frontend, not libsigrok.
commit 484760d1a8a26ba830b3d63d1451dc30985babd1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 15:43:25 2011 +0100
Cosmetics.
commit aa0b6b208e2ecaa7e56b020c204b6c3e702fb4ca
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 15:43:03 2011 +0100
sigrok-proto.h: Sort the prototypes, fix comments.
commit 1483577eed7ac27b8107b1b76e1adc5369745c29
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 15:06:58 2011 +0100
Start moving private stuff to sigrok-internal.h.
This is work-in-progress, unfinished.
commit f7606f9b75b1b4b2324635426f3cc52feda1e3aa
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 15 15:21:54 2011 +0100
fix hex output
commit c2bd92ec0867eff49ee58b557d6fb9aec2b63357
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 14:41:57 2011 +0100
Slightly more consistent #include-guard naming.
commit 917e0e71d53cb0a0ac7965cb4f36791b14f7e5ff
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 15 14:28:03 2011 +0100
added example code for generating a stored pattern
commit 9be9893eed4acf03533d1a2fb63719de6eb10753
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sat Jan 15 14:03:08 2011 +0100
Sigma: Check state in hw_closedev
If the device is closed without previously running hw_openedev
the driver crashes (happens in cleanup). This patch checks
if the device has been opened.
commit 02440dd88c93b049bdd71039ef036af1c8812189
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 13:06:04 2011 +0100
demo: Cosmetics, constify.
commit e15f48c268877632086e9cd0bb16356cd58cde5f
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 15 05:12:41 2011 +0100
cleaned up demo driver
removed unused samplerate
added patternmode (random and incremental)
commit 925dbf9f97c18628ead7cb5a93f95052b48ca0e4
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 15 05:11:40 2011 +0100
add new HWCAP patternmode
commit 63570167d67cacab2ac56eaabb6219c7593bca9e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 03:44:19 2011 +0100
Cosmetics for the -D output.
commit 17e1afcb81b8581091fcb660c2e61f05c75e00b5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 13 23:50:34 2011 +0100
Whitespace and consistency fixes.
Also, drop a <poll.h> #include. It's unused anyway, and breaks the build
on MinGW/Windows as there is no poll.h there.
commit 9ab95e54083b62c060cddd1e2762529c762d90be
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 13 02:05:39 2011 +0100
make output modules a bit more crashproof
the event handler in output modules is now optional.
commit 2507648e63d7b9807808d2e74b168821e94d893d
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 13 01:26:23 2011 +0100
use us instead of µs in periods (VCD can't handle it)
commit 2119ab0364b6a161091a89a7018be14d49bdc7b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 12 00:43:00 2011 +0100
MinGW/Windows: Serial port portability fixes.
Add serial_read()/serial_write() which have different implementations on
MinGW/Windows.
Add some more error code handling and documentation.
commit ba3d481bb78a3bdb009c8d0aed3885a0a0192a04
Author: Olivier Fauchon <olivier@aixmarseille.com>
Date: Wed Jan 12 00:25:15 2011 +0100
add ontinuous mode for demo driver
commit 13a12913507682c319aaa890d897670bc8457adb
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 11 23:58:41 2011 +0100
fully implement input_binary module
commit 78ed6420358cd83bb74208e80cbcd7c068713769
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 11 23:49:32 2011 +0100
code cleanup
commit a61b0e6a35fdf06c98a2304e186a3a17c9fbf8d8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 11 22:17:33 2011 +0100
configure: Add --enable-demo option.
commit 1fdb75e14528abd62ebe727537512c741a5759da
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 11 01:25:10 2011 +0100
MinGW: Quickfix to make serial.c/ols.c compile.
Note: It does NOT actually work, yet, it only compiles!
commit 74b9b43836a55debd1e5c27637021ef505f6e7aa
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 10 22:17:52 2011 +0100
cli: support --continuous option for continuous sampling
commit 8a839354c122b533181fe02da82d0110a44911cf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 10 23:20:37 2011 +0100
Cosmetics, whitespace, consistency fixes.
commit fc96e6f8c8591c15930ff3dfe9e14303b29e70aa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 10 22:49:38 2011 +0100
demo: Add missing copyright line.
commit 2566bd4884bf33518488504575ba62e99ef43a7b
Merge: 01cf881 882e207
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 15:58:05 2011 -0200
Merge branch 'master' of git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok
commit 01cf8814949f4786da4a1be79a74030a691be152
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 15:15:51 2011 -0200
Add incomplete mso-19 plugin
* Both Analog and Logic capture works.
* Analog values are raw ADC, still useless.
* Triggers aren't implemented.
* Pattern Generator not implemented.
* Everything is broken. :)
commit 3677f3ec3f76ec3efc8aea97a1b050f6949d773d
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 15:14:26 2011 -0200
Add HZ_TO_NS macro
commit c2616fb9faca19945154974884a0816359cec1df
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 15:12:38 2011 -0200
update plugins and cli to use new DF_HEADER
commit 921e753f7e2bef9590b1e344200b736a0faa18cc
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 15:08:43 2011 -0200
Support for analog probes
Add a field to the probe struct to store the probe type.
Change DF_HEADER to report the quantity of each type of probe.
commit ac4a2ea45a9320e87ec03cd820bf80c96eb65b21
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 15:05:14 2011 -0200
serial.c: fix parity != none
The flag write was wrong
commit 882e2075bb51496e5eb9548b98204b90a4b60a82
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 10 13:47:24 2011 +0100
finish split of sigrok.h
commit 10509bc2e445b20f90d2ce05561dfbb873180872
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 10 13:44:11 2011 +0100
split off prototypes into their own header file
commit 655756e01d929607f67a9d576222917c72513b4b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 10 12:39:53 2011 +0100
cli: new option to list output modules
commit 43275b4712b0ad5baea1c7d71fdb710249a46681
Merge: e006af1 9d4bde7
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 02:36:50 2011 -0200
Merge branch 'master' of git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok
commit 9d4bde70fc2a46bae172ab1851f3aff9e3f9b3b5
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 02:21:07 2011 -0200
Finish serial_set_params implementation
Adds the most common baud rates and support bits, parity, stopbits
and flocontrol settings.
commit e006af1116adb76014e77db718bb8673137a8bf5
Merge: 1ff7712 9b36e36
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 02:28:59 2011 -0200
Merge branch 'master' of git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok
commit 9b36e360f3c23c3287e6e10acb0b57479c5d19ad
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 10 05:27:22 2011 +0100
output_analog: allow samples per line arg (default analog10)
commit 1ff7712c93fb61e7710de6c2b4241652445f368e
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 02:21:07 2011 -0200
Finish serial_set_params implementation
Adds the most common baud rates and support bits, parity, stopbits
and flocontrol settings.
commit 1437e8934bd01167f2126616c7e8b44ca342cd27
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 10 05:13:46 2011 +0100
add DF_ANALOG, and an analog output module
Samples in DF_ANALOG packets are fixed in length to sizeof(double).
commit f0411b1d170aa60c3aa79b12e88f53b225ea350d
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 9 23:22:48 2011 +0100
output modules now register the DF type they can use
commit 8d6725506115e97665be8ef35dbaaf694ba72a93
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Sun Jan 9 03:50:45 2011 -0200
Add a per-instance pointer storage for hardware plugins.
We need this to properly support more than one device connected
at the same time.
commit dfa4b731da66ddf05ff04943bf0d385aa440c3ac
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Sun Jan 9 03:48:39 2011 -0200
Add ARRAY_AND_SIZE macro
Just a handy macro
commit 4c046c6bcc392666405154853faf7dc2522aa1d9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 9 06:32:38 2011 +0100
change all DF_LOGIC* to a single DF_LOGIC type
The datafeed packet has a new field 'unitsize' to denote the number of
bytes per sample in the payload.
commit af812219f655b286f5a2a0146846d9b97e25435c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 20:06:32 2011 +0100
Only build specific source files if needed.
commit 7c17ac6cc4ecc30a1df1848ef3a3e0827351090c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 19:15:39 2011 +0100
Only build hardware drivers if they're enabled.
commit 5096c6a6c1f2efb01d5efdebb26e282296c2910e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 19:01:07 2011 +0100
demo driver: Small cleanups, error handling.
commit 85b5af068776cca18c704a101d6d56be1ec236b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 18:29:10 2011 +0100
Make the demo driver work.
When initialized, the driver starts a thread that generates signal data.
This data is written to a pipe (write file descriptor).
The other end of the pipe (read file descriptor), is connected to the
main polling code, like any other driver.
Note: This patch adds a new dependency on libgthread.
At the moment, you can list the driver's device:
$ ./cli/sigrok-cli -D
The following devices were found:
ID Device
0 Sigrok project Demo Driver v1.0 with 8 probes
And use it for random signal generation:
$ /opt/sigrok/bin/sigrok-cli -d 0 --samples 50 -f bits -p 1-8
sigrok 0.1pre2
Acquisition with 8/8 probes at 0 Hz
1:10111100 11010110 00001011 00011110 00111010 11110100 10
2:11010110 00111111 01001010 11111101 11010011 00010010 11
3:11000101 01000001 10100011 10100100 10110000 11110011 00
4:00100111 11110100 10011101 01100111 00100101 01001110 10
5:00011100 00101100 10111000 11001101 01011101 01011011 01
6:10110101 10111110 10010110 10111000 11011010 10000100 11
7:11111111 01001111 11110110 11010010 10000101 01001111 00
8:01000101 01111110 01010111 00000111 00010010 00000101 11
The next step is to make demo driver customisable (per-probe signal clock,
reference sample signals : serial, I2C, CAN...).
Thanks Olivier Fauchon <olivier@aixmarseille.com> for the patch.
commit d4ae8eaa7c09e31ef246b7d56008a0aa21db9f0d
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 8 15:48:39 2011 +0100
fix buffer size, various error checks
commit 2a3f9541a4bece23b25e1b255c0fab31ba5a751b
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 6 00:51:29 2011 +0100
add sigrok_period_string(), MAX_NUM_PROBES
commit 5e2ddeb098b677faca5d044f3523f5f6f3382d90
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 03:51:31 2011 +0100
Fix two more compiler warnings noticed on amd64.
commit 340f6e7aeaf0c6cbbb27c5b535787bd09407994b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 03:32:25 2011 +0100
Fix out-of-tree build.
Use libtool "noinst" local helper libs and use one Makefile.am per
subdir, which is the usual/preferred method. These helper libraries are
purely local and will not be installed.
This also fixes out-of-tree builds of sigrok, i.e. building in a
directory other than the sigrok source directory, e.g.
$ cd /home/user
$ git clone ...sigrok
$ cd sigrok
$ ./autogen.sh
$ mkdir /tmp/foo
$ cd /tmp/foo
$ /home/user/sigrok/configure
$ make
$ make install
This will place all build results (.o files, .la files, etc) in the
local build directory (/tmp/foo) instead of the source directory
(/home/user/sigrok in this example). The installation directory is
selected via the --prefix configure option (/usr/local per default).
commit 757b8c628a5b64f8b6b166044b1b3ac1ccf797dc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 7 19:55:25 2011 +0100
Cosmetics, whitespace, simplifications.
Reduce code nesting a bit, constify some strings.
commit 6239c175c1b967b577f760032d326322dd4c4576
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 6 19:16:47 2011 +0100
Initial, unfinished demo/simulation hardware driver.
commit 339729131d5acd50147e26ec238db569e273a459
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 29 01:22:58 2010 +0100
proper fix for output_text corner cases
limit probe names to 32 chars
commit e6ac9ac808b900287a80ea44d9c661703e3a101c
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 29 00:02:30 2010 +0100
consistent debug msgs, rename sump to ols
commit ee5f5e81adc83e68c9af2c9305b0ddcb813d2b4a
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 28 21:59:07 2010 +0100
fix corner cases/memory management (cli->text out)
commit a5e18535ad897084b9a67dbee19bcc1ebd21ae7a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 27 23:44:50 2010 +0100
don't turn on/off libusb debugging
commit f0551a6543206a0970410481b8e36bbfa6a609ea
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 12 06:04:44 2010 +0200
oops, fix serial_flush()
commit 06d64eb880876bd8a81c249e7b2f690eb03e12c1
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 12 06:02:25 2010 +0200
add serial_flush()
commit e1aac2319a1e0f5e7d263b5fd50a62c8b42fe22e
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 12 05:49:00 2010 +0200
increase length of datafeed packets to uint64_t
commit a143e4e5ddb4743867b7578e0599a566c2c82c07
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 12 04:57:09 2010 +0200
don't push configuration to device until acq time
commit f0d1b53e56045bc15fe156c3f6e855dfc91037be
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Aug 11 18:37:09 2010 +0200
OLS: fix multi-channel capture
commit edc508d49cacf2ff7ff38dec5cb49ec317f4a39f
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Aug 11 04:04:20 2010 +0200
add debug logging (set SIGROK_DEBUG=2 to see)
commit a803c0db4d5887c29b8c79626bfcc452845cfed2
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 5 03:54:33 2010 +0200
OLS: fix triggers, sample order, capture ratio
commit 3245dfcb629ced90a2570dc04db99f59af60b888
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 5 03:52:32 2010 +0200
define pre/post-trigger capture ratio option
commit b5698bd71e96561ba08a481abaa9c64ee687bda2
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 18 21:57:27 2010 +0200
saleae logic: fix triggers after style changes
commit c4fffe1e9606e3e63a4cd0b760a37beb1f122cc5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 14 22:09:21 2010 +0200
hwplugin.c: Add missing config.h #include.
This fixes a bug where no LA would be found or displayed in lists such
as 'sigrok-cli -H' or 'sigrok-cli -D'.
Thanks Forrest Voight for spotting the bug.
commit 960a75e4741edf7d3481339897328f0ea712e2c0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 25 01:11:11 2010 +0200
Only build hardware plugins if requested by user.
Per default all plugins will be built, though. The user can override
this via the --disable-la-xxxx options.
commit 5b907f9b07b0559f7230e827e5d02589d307e727
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 31 11:34:10 2010 +0200
Add per-LA --enable-XXXX configure options.
commit 38ba2522516b481fa3619bdec56d1e2a4b7a5f45
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 27 01:51:55 2010 +0200
Use 'kHz' (not 'KHz') consistently.
commit 49d0ce50d0e43c1a10dc2863afd20185051819aa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 19 00:38:14 2010 +0200
Simplifications and small fixes.
commit 5013f07422b5a62386f68d1663011d5ba885f1ef
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 19 00:23:27 2010 +0200
skeleton.c: Update to latest prototypes.
commit 2458ea651409c8252d33dba5b5cfe9313f3e4899
Author: Bert Vermeulen <bert@biot.com>
Date: Sat May 15 23:30:17 2010 +0200
use flexible sample limit specification (k/m/g)
HWCAP_LIMIT_SAMPLES is now passed to the driver as *uint64
commit 989938f6cd5f9bf76f42e29ab39eca4570e430e2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 17 23:59:56 2010 +0200
Cosmetics: Reduce nesting level a bit.
commit 9a5c6dcf498b8dfebb8beb848ee6db6b59b173e5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 14 14:24:05 2010 +0200
Factor out opendev2/opendev3.
commit 5e59f476152a343619f473c37f2b06e2b6ef15d3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 14 13:12:06 2010 +0200
opendev2/opendev3: Don't depend on global vars.
commit 28fc6de055eae2d6ba97206bb636f28e12fd68a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 14 13:07:03 2010 +0200
Cosmetics.
commit d658e348a89c5dd3d248abdbbdf5423465a2d344
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 11 18:07:54 2010 +0200
pkg-config: Add (semi-generated) libsigrok.pc.
commit 1ebdb3fdc3e28d138046539d9a38610254d9c00a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 11 17:13:35 2010 +0200
Drop unused and obsolete gmodule stuff.
commit 5b15b41e623e755e31cdc699f9d542d69d7e61c7
Author: Peter Stuge <peter@stuge.se>
Date: Sun May 9 23:11:08 2010 +0200
sump/ols: Wait 10ms for hw response to make pl2303 reliable
commit 71dda1065642b33d4c82d514bcaf28e2d2b8729c
Author: Peter Stuge <peter@stuge.se>
Date: Sun May 9 23:04:24 2010 +0200
serial: Remove unneccesary nesting
commit fbe2f7945d70500f6db374956a36d7bb131b09d5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 21:05:15 2010 +0200
VCD: Optimizations and fixes.
commit 086eac7c7bef114dd96c6ddb639fa2fa35f9182b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 20:52:36 2010 +0200
VCD/Gnuplot: Fix incorrect sample counter.
commit 114fb93f67f8748352ad4f851afeab31df2f0385
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 20:27:11 2010 +0200
Gnuplot: Nicer output formatting.
commit fdebec21082fdc7bb2642e717565bdbc8b98f287
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 19:36:43 2010 +0200
filter.c: Error handling, code simplification.
commit 5f8c4cb3633cdde636c497cf7ec4eb79e30e32f6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 15:52:56 2010 +0200
Gnuplot: Improve column/probe name display.
This fixes incorrect probe name display if the user explicitly named
probes via '-p 1=CLK' etc.
commit e734b81a685c9a1bcb4bd899ba162f5c7769b2d1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 15:38:33 2010 +0200
output_text: More error handling.
commit caf62e22c4dad949c8b1282e621e2dbf47daac30
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 15:12:10 2010 +0200
output_gnuplot: Simplify event().
commit d20ba6490ac948783435c72340d3e37b67cd6a62
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 15:11:47 2010 +0200
output_binary: Code simplifications.
commit 1e32053cd0a8e42e628cf832d81360b96c8de97d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 15:02:17 2010 +0200
Gnuplot quickfix: Increase malloc()'ed size.
commit 5cca9adbf27252349729cdb1e1c6ca0a526561b1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 14:54:16 2010 +0200
VCD/Gnuplot: Store time/date in output.
commit 607b58de58f22baa026d24ac7b8e0ae123c9ede0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 14:42:46 2010 +0200
VCD/Gnuplot: Cosmetics, code simplifications.
commit a821069b3411e127512dc2c436a76d25fdac0a5a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 14:35:02 2010 +0200
Gnuplot output: More error handling.
commit 2aebf78d9d10eb838b2fe58683d7af06015cd214
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 13:32:58 2010 +0200
datastore_new(): Use int as return value.
commit 33247d6acf94bb9119ba7e1a8239b474bdcfa430
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 13:25:03 2010 +0200
Datastore: More error checking.
commit 6b5e3ceefcdee5e942b9cbff5c697016dacee774
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 8 16:09:25 2010 +0200
VCD: Improve error handling/checking.
Check malloc()/calloc() return values and so on. Also, add missing
free() calls and some TODOs. Simplify some code.
commit d2b36a10d72133feeea3610bdc81a484b6f8fc72
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Wed May 5 22:06:38 2010 -0700
output_text: always print sigrok version
commit c9c1c6458c15958d19d8cbac50f2e301479892a1
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Wed May 5 21:43:25 2010 -0700
output_binary: rm TODO item
Yes, disabled probes are stripped by the filter before the
output module even gets data.
commit 7aae74622ecf04f51d5b7df650ea8bd98baa0fcf
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Wed May 5 19:56:48 2010 -0700
output: if device has no plugin, don't report samplerate
commit db91a1c3c1e798610542b9749191fc89f15c5ccd
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Wed May 5 19:55:58 2010 -0700
input: use dummy device when loading from file
commit 873080cc03a7c7889ef775a4584d1036b1d1315f
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Wed May 5 19:54:19 2010 -0700
allow devices without a plugin
this is needed to support file loading: we want a device struct
so we can enumerate probes from the file, but there is no plugin
since the data come in from a device.
commit e273a9040e10c1297c758fe35eb522bd5470e708
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue May 4 19:44:39 2010 +0200
Output: Fix invalid pointer dereferencing in vcd and gnuplot.
commit bdfc7a89745a0fae422806c883cbd946f16eace3
Author: Håvard Espeland <gus@ping.uio.no>
Date: Mon May 3 21:35:02 2010 +0200
Sigma: Small cleanups.
commit 36b1c8e61b277aabc84d181992795447e7339e5d
Author: Håvard Espeland <gus@ping.uio.no>
Date: Mon May 3 21:30:37 2010 +0200
Sigma: Use software trigger to pinpoint exact sample.
commit 6aac77375bb6f9545475d8d4d5e565f896b28be0
Author: Håvard Espeland <gus@ping.uio.no>
Date: Mon May 3 19:04:10 2010 +0200
Sigma: Add state machine for tracking Sigma status.
commit a42aec7f6e61b83fcd00e20827b31cc0ee3852d0
Author: Håvard Espeland <gus@ping.uio.no>
Date: Mon May 3 15:06:43 2010 +0200
Sigma: Merge storage of rise/fall triggers.
commit 4ae1f451363013d2f0fff180942e5b140e39f049
Author: Håvard Espeland <gus@ping.uio.no>
Date: Sun May 2 19:21:05 2010 +0200
Sigma: Minor cleanups.
commit 11fc8d9d938c2e254c62a40f569a964db79a489e
Author: Håvard Espeland <gus@ping.uio.no>
Date: Sun May 2 19:12:36 2010 +0200
Sigma: Set capture ratio correctly.
commit c53d793f037878992a40c37aa4c0f5f5a3d1c2d8
Author: Håvard Espeland <gus@ping.uio.no>
Date: Sun May 2 14:58:59 2010 +0200
Sigma: 50 MHZ falling/rising edge trigger support.
Falling/rising edge and value/mask triggers can be combined, e.g.:
--triggers 1=0,2=r,3=1,4=1
commit f758d0744de812ded8938d06a5a72df3f8dd84c1
Author: Håvard Espeland <gus@ping.uio.no>
Date: Sun May 2 12:59:33 2010 +0200
Sigma: Fix simple trigger LUT calculation.
commit ee492173a1834514dadbec95388c8a0f00e8af64
Author: Håvard Espeland <gus@ping.uio.no>
Date: Sat May 1 22:38:43 2010 +0200
Sigma: Value/mask trigger support in 50 MHz mode.
commit eec5275e2f3dfa1b9bb51a1b054dc7d8bd3bac20
Author: Håvard Espeland <gus@ping.uio.no>
Date: Sat May 1 14:22:22 2010 +0200
Sigma: Small cleanups.
commit e65679b15e16d4b898ebdc1456018b9a8d364b1b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 1 02:41:37 2010 +0200
Saleae: Rename firmware file to saleae-logic.fw.
This is done for consistency with the ASIX SIGMA firmware file names,
and also for brevity.
commit 34e4813f2e8b75981ed92d625c5fd55146a35e66
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Fri Apr 30 15:54:39 2010 -0700
inout module infrastructure + binary input module
commit 5045c217e69d6bbb5ca52c75799a4d64c72bfafd
Author: Håvard Espeland <gus@ping.uio.no>
Date: Fri Apr 30 22:18:55 2010 +0200
cli: Show trigger event in bits plugin.
commit 57bbf56b8420e75bcad45b417c0d36c0a55a3910
Author: Håvard Espeland <gus@ping.uio.no>
Date: Fri Apr 30 22:18:10 2010 +0200
Sigma: Add triggers support for 100 and 200 MHz.
commit ed09fd07f7122dd9ade0f15a2b885f33abed86e9
Author: Håvard Espeland <gus@ping.uio.no>
Date: Fri Apr 30 23:51:57 2010 +0200
Sigma: Minor cleanup and add more samplesrates.
commit 9ddb2a125d0cc01f76acc43670c4609cc4a7b49b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 29 00:32:44 2010 +0200
Sigma: Small cosmetic fixes.
commit edca2c5c2261ef4d6862d97e6d28d5a1c148a2f1
Author: Håvard Espeland <gus@ping.uio.no>
Date: Wed Apr 28 22:45:13 2010 +0200
Sigma: Support for low samplerates
Lowest samplerate supported in driver is 250 KHz
commit f78898e947a52e1713f6b2eef66d473e1dfcd7bf
Author: Håvard Espeland <gus@ping.uio.no>
Date: Wed Apr 28 21:21:19 2010 +0200
Sigma: Support 50 and 200 MHz modes
commit a8116d764ba3fc33bb6719f9e47ba1a5069981d1
Author: Håvard Espeland <gus@ping.uio.no>
Date: Wed Apr 28 21:20:27 2010 +0200
Sigma: Rename firmware files
commit e8397563a219d07179aa273d30396c3c21fb91ba
Author: Håvard Espeland <gus@ping.uio.no>
Date: Wed Apr 28 20:01:15 2010 +0200
Sigma: Upload 50, 100 or 200 MHz firmware
commit f6564c8d1933921ee9e34e93effeef8cee4cc3ba
Author: Håvard Espeland <gus@ping.uio.no>
Date: Wed Apr 28 19:48:59 2010 +0200
Sigma: Move upload firmware into a function
commit fefa18001aa343a476e3742de3ac946ae7ff2709
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 28 00:17:28 2010 +0200
ASIX SIGMA: Coding style fixes (via indent mostly).
Also, end all/most comments with full stop and avoid variable/array
definitions in the middle of functions.
commit 204b1629bd4ef6b61c297fd830a3dae9edafc388
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 27 22:46:59 2010 +0200
asix-sigma.h: Add missing license header.
commit 911f18341b4def1c3184702c555b163de83a0f71
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 27 22:44:15 2010 +0200
ASIX Sigma: Use common license header format.
commit 28a35d8ab35483b6d50e5b8404542cc11875fa5d
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Apr 27 21:43:24 2010 +0200
This commit adds initial support for the Asix Sigma Logic Analyzer. Currently, only 200 MHz is supported, and only with software trigger. Firmware for the device will be distributed separately, with permission from the vendor.
Signed-off-by: Håvard Espeland <gus@ping.uio.no>
commit 926b866cb624cebf2efca098088dba11afa8ae96
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 22 03:39:02 2010 +0200
Win: Fix compile, serial port code (unfinished).
commit 9601818842c469339038e85b3c110b66d1a31d4b
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Sun Apr 18 10:57:13 2010 -0700
simplify code for unused features
commit eee4890f2fac030ea77a31a3c6c478b4cb628011
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Sat Apr 17 23:07:00 2010 -0700
fix broken samplerate calculation
commit 9c48090a8816949bccdec612edc165897fe8ce58
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Sat Apr 17 22:09:33 2010 -0700
fix double DF_END and libusb timeout
commit 9a4988343fe72bf2e7e5364dbdaa4ce0d4d6c59d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 23:24:44 2010 +0200
Oops, bugfixes.
commit 408e719989d0b4d4408439bf84b87edea8ce85d6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 23:21:30 2010 +0200
Refactoring and code simplifications.
commit fed16f06e236f3f2ccc25a63ca7ec7a020124fdc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 22:59:43 2010 +0200
Saleae/Zeroplus: Coding style fixes.
commit 43fc7885d31c1f6af0715b583a9d153ba59eda5c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 22:16:35 2010 +0200
OLS: Coding style fixes.
commit 986f7270bf871046e5cf1f154b6ed6226f63c7a5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 20:55:57 2010 +0200
hardware/common: Coding style fixes.
commit 99c1fc59ed59785d44610ac07556143cb1617f01
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 20:36:04 2010 +0200
output: Coding style fixes.
commit 62c820258238485d3352f4a68a65d299b136b792
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 20:16:53 2010 +0200
libsigrok: More coding style fixes.
commit 1b452b8510922bac08db87f8ea769515c795e22f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 20:07:16 2010 +0200
libsigrok: Coding style fixes.
commit d86dc674a204bec034730f303f69cf61984fd819
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 19:49:14 2010 +0200
Fix insufficient braces in KHZ() et al.
commit fdd20b52391b9d491b37fb7d3e157ea5db098062
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 13 00:34:20 2010 +0200
Add ARRAY_SIZE helper.
commit 02076d69f9505bc20ce0e9f67fa131054d8baeab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 12 23:21:12 2010 +0200
Rename "bin" output module to "bits" everywhere.
commit 1c5b9d302c410cdd1cba441f618e0e3f7afa137d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 12 21:22:58 2010 +0200
Add raw binary output format.
Also, rename the "bin" format to "bits" for now to avoid confusion.
commit afc8e4deb68271ba7696e38cc02053b97cfc1a19
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 22:18:46 2010 +0200
Fix all warnings and re-enable -Wextra.
commit 86c5e279085a05c19d1d071831411fb617816ded
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 21:20:22 2010 +0200
zeroplus: Fix compiler warnings.
commit 08cfe6a2b755367eba4098195557f4e8e426eea4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 21:16:11 2010 +0200
Factor out trigger_helper() to reduce nesting.
commit edf60d0575d039229da3676867a5eb094d0c3c5e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 20:44:51 2010 +0200
Factor out common ezusb_upload_firmware().
commit 9d2933fbe9719df679cde8fbffde8c191d6a56d3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 20:36:29 2010 +0200
ezusb.c: Coding style fixes.
commit 904299164f5718109fea2b23bc34e1522c548db4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 20:31:43 2010 +0200
sl_open_device(): Refactoring to reduce nesting.
commit f6958dabcd0ce8e2613ee6b958bef7c80b9f9e18
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 19:25:29 2010 +0200
Simplify code by reducing nesting level.
commit 6f5f21f996cb06b518739440e7983fa61d61aea1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 19:04:36 2010 +0200
Coding style fixes, aided by 'indent'.
The following shell alias can be used:
alias INDENT='indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs'
commit d02a535e05513ba8d2d4a82b49180d60ef410e1c
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Apr 9 05:15:27 2010 +0200
move posix-specific serial port comms to serial.c
commit 54dc4bc703f7797a71129ee92412999d6ea64458
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 8 16:58:07 2010 +0200
switch to SIGROK_ERR
commit 6937bb757e577ba3cf4036d24cc9852159182f47
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 8 16:49:39 2010 +0200
various fixes, basic acquisition works
commit 54b38f64aa25d1cceebf1b31bcee0f11d67e432c
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 8 16:44:13 2010 +0200
use strdup() instead of g_strdup()
commit 37aea2d35c981239e630254fe74f0a411bbc34cb
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 8 16:42:22 2010 +0200
better buffer size calculation
commit d2cd86ac26a00a95cb0497ba5cb807d4587b67ce
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 4 20:51:04 2010 +0200
fix off-by-one error
commit 25e7d9b115e5ea08be2d92ffe286aa1bf95778f4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 7 19:43:41 2010 +0200
Factor out common sigrok_samplerate_string().
commit bc010c054be68082451dd56e586f03038ec7fb45
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 6 15:02:14 2010 +0200
VCD output: Handle disabled probes correctly.
commit e2ad47b5b0ad98fc99579d4cd9ebee7db2a03d82
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 6 14:38:47 2010 +0200
Gnuplot output format support.
commit 2b3414a497f639233c824bc930cecf5f17b5a79d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 6 01:29:32 2010 +0200
libsigrokdecode: Add initial return code list.
commit e31b636df6651ae17f9bb28c51157a51fc92c421
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 5 16:41:54 2010 +0200
Start unification of libsigrok return codes.
We have SIGROK_OK for functions calls where no errors occured. All
error code names start with SIGROK_ERR and are globally unique,
negative values.
The value SIGROK_ERR is a generic/unspecified error code, all others,
such as SIGROK_ERR_MALLOC, refer to a specific error condition.
This commit renames the old SIGROK_NOK etc.
commit 5a8fda158bd9cc040b36fb3b016808c59ccf89f3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 5 16:20:09 2010 +0200
Allow output_format.init() to return errors.
commit 4c100f3244ad816070fe2e30713705e109d5b4fb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 5 15:31:39 2010 +0200
More consistent spelling of "samplerate".
commit 4c9ffa83cf5b63445a1463af18a910a8cc786e31
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 4 13:19:20 2010 +0200
Initial Value Change Dump (VCD) output support.
commit a695d6c0751494a07493d809520d1ead9b281e7f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 2 20:26:48 2010 +0200
Rename libbackend to libsigrok.
commit a1bb33afbde769156ad4bef7a60579da64aebbb7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 2 20:18:27 2010 +0200
Start of code base layout restructuring.