Commit Graph

67 Commits

Author SHA1 Message Date
Uwe Hermann 3474ec2361 contrib/z60_libsigrok.rules: Use 660 permissions.
It doesn't really make sense to allow anyone to read (but not write)
USB devices.

This fixes parts of bug #665.
2017-03-27 17:05:01 +02:00
Karl Palsson 68fefbd75c contrib/udev: add note on required name for systemd
Systemd needs the file to be numbered the right way, document this
properly.

See also:
https://lists.debian.org/debian-devel-announce/2016/11/msg00008.html
http://openocd.zylin.com/2804

This fixes parts of bug #665.

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2017-03-27 17:03:59 +02:00
Karl Palsson 7a97743336 contrib/udev: add TAG+="uaccess" for systemd
Instead of replacing the group=plugdev, simply add the TAG as well.
This allows (in most cases) the same file to be used happily on systemd
and older group based systems. Some systems may produce warnings about
non-existant groups, but it remains functional. Approach inspired by
that taken by the OpenOCD project.

This fixes parts of bug #665.

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2017-03-27 17:03:41 +02:00
Uwe Hermann efcdec00b7 z60_libsigrok.rules: Add Hantek 6022BL. 2017-01-27 01:12:20 +01:00
Gerhard Sittig 2ea1fdf121 license: remove FSF postal address from boiler plate license text
Remove the FSF postal address as it might change (it did in the past).
Reference the gnu.org website instead which is more stable.
2017-01-07 16:05:39 +01:00
Uwe Hermann 6c23b710ec udev: Add comment about Rocktech BM102. 2016-11-02 19:09:55 +01:00
Uwe Hermann 545c04f139 udev: Add DreamSourceLab DScope VID/PID. 2016-11-02 19:09:55 +01:00
Uwe Hermann 7305457f61 udev: Update for new post-firmware Hantek 6022BE VID/PID. 2016-10-31 15:30:12 +01:00
Uwe Hermann d5794ad63a contrib: Drop all example gnuplot scripts.
These files (or at least similar ones) can now be generated by the
CSV output module.
2016-09-04 18:18:37 +02:00
Benjamin Larsson afb001a359 udev rules file: Add entry for Sainsmart DDS120. 2016-05-05 14:06:51 +02:00
Andrew Bradford 4801798f63 udev: Add DSLogic Pro rule
Signed-off-by: Andrew Bradford <andrew.bradford@kodakalaris.com>
2016-04-17 14:53:21 +02:00
Stefan Brüns 851329ca3a contrib: add udev rules for HAMEG HO720/HO730 2016-04-17 14:50:42 +02:00
Stefan Brüns d71ead65ea contrib: add udev rules for R&S HMO1002 in VCP and USBTMC mode 2016-04-17 14:50:42 +02:00
Uwe Hermann 8ccf5ceb17 udev rules file: Add entry for Hantek 6022BE. 2016-03-13 23:33:56 +01:00
Tilman Sauerbeck 8dd5d426f7 z60_libsigrok.rules: Add udev rule for LeCroy LogicStudio16. 2015-12-04 10:35:04 +01:00
Uwe Hermann 2cdd40205e z60_libsigrok.rules: Add sigrok fx2lafw VID/PID pairs. 2015-11-27 00:12:57 +01:00
Daniel Elstner e8cd7d602c contrib: Add SysClk LWLA1016 to udev rules 2015-11-26 21:44:31 +01:00
Mike Walters 7637cc60ba Add udev rule for Rigol 1000Z series 2015-03-24 15:54:53 +00:00
Bert Vermeulen 0e6510b8fc Add udev rule for DSLogic. 2015-03-19 18:25:55 +01:00
Bert Vermeulen 57d355a7bd Add some Agilent USBTMC PIDs. 2014-10-03 13:39:06 +02:00
Bert Vermeulen 7079c078df Add VID/PID for Testo 435. 2014-07-05 21:56:20 +02:00
Uwe Hermann 00910580bb la8: Add support for the ChronoVu LA16.
The ChronoVu LA16 is a new logic analyzer from ChronoVu with some
differences in features compared to the LA8, e.g.

 - Supports 16 channels (instead of 8).
 - Max. 200MHz samplerate (instead of 100MHz).
 - Supports state triggering (low and high channel value) and edge triggering
   (rising or falling edge), the LA8 only supports state triggering.

This driver now supports both the LA8 and LA16, but it needed a few
changes:

 - Add support for detecting multiple device instances at all.
 - Add support for both LA8 and/or LA16 devices being detected.
 - Add a device profile struct for LA8-/LA16-specific device properties.
 - Move the samplerates list to devc (it's different for LA8 and LA16).
 - Split scan() into two functions, one for scanning, one for adding a device.
 - Expand some variables and fields from uint8_t to uint16_t in order to
   support 16 channels.
 - Update the samplerate related functions to support the LA16's 200MHz.
 - Various other minor updates in order to better handle both device types.
 - Various error handling improvements and simplifications.
 - Also, replace time() with g_get_monotonic_time() everywhere.

This also fixes bug #247 (which was related to incorrect handling of
resources during scan and open of the device, which was exposed by
PulseView allowing multiple consecutive scan/close/open calls).
2014-04-02 17:20:09 +02:00
Uwe Hermann 67bd805523 Switch to a non-recursive automake setup.
Instead of >= 44 Makefile.am's we now only have one top-level
Makefile.am, and use the 'subdir-objects' automake option to
handle the build via non-recursive (auto)make.

This has the advantage of fewer (boilerplate or other) files and less
clutter in general, as well as performance advantages since the new
setup can build many files in parallel (with 'make -j'), not only 2 or 3
files within the same (e.g. hardware/xxxx/* subdirectory) and also since
we no longer need to build intermediate libtool helper libs per subdirectory.

A quick, non-scientific test build on a quad-core laptop with 'make -j 4'
yields a build time reduction from 35s to 19s.

All autotools features that worked before are still intact without any
regressions, including the Make targets 'install', 'uninstall', 'check',
'dist', 'clean', 'distclean' and so on, as well as all the usual portability
handling (build works on any OS, with any Make implementation such as
GNU Make or BSD Make, with any shell such as sh/ksh/zsh/bash/dash, etc. etc.)
and features such as out-of-tree build support, cross-compile support,
testsuite support (also with colored output), "silent make rules", etc. etc.
2014-03-20 13:10:05 +01:00
Aurelien Jacobs ad7621d445 add udev rule for the Rigol DS2000 series 2014-01-14 22:58:48 +01:00
Daniel Elstner 5874e88d83 sysclk-lwla: Implement support for the LWLA1034. 2014-01-14 19:33:31 +01:00
poljar (Damir Jelić) 138c0652f8 udev: Add the Rigol DG4000 series to the udev rules 2014-01-13 22:53:21 +01:00
Martin Ling b76eca818a Add udev rule for Agilent DSO1000 series. 2013-12-29 01:48:40 +01:00
Martin Ling 3086efdd73 Rename rigol-ds1xx2 driver to rigol-ds. 2013-11-29 00:50:59 +00:00
Dan Horák 8dce54f7aa update udev rules
With usbtmc driver being classified under usbmisc in newer kernels the udev rules
need an update.
2013-11-04 10:56:19 +01:00
Uwe Hermann 21d464a7e5 contrib/z60_libsigrok.rules: Also mention UNI-T UT325.
The same USB/HID based IC is used in the UNI-T UT-D04 cable (for various
multimeters) and the UNI-T UT325 thermometer.
2013-11-04 01:14:57 +01:00
Uwe Hermann 8823146edf contrib/z60_libsigrok.rules: Add entry for the Saleae Logic16. 2013-11-04 01:14:57 +01:00
Uwe Hermann cdc30138c5 udev rules: Add missing IKALOGIC ScanaPLUS entry. 2013-08-07 16:21:57 +02:00
Uwe Hermann ce95428cca Consistent use of "IKALOGIC" spelling.
The company name is written all-caps pretty consistently on the
vendor website and docs, so use that spelling everywhere.
2013-08-07 16:21:57 +02:00
Uwe Hermann c51bbdec34 Drop nexus-osciprime skeleton for now.
This is mostly just a skeleton driver framework at the moment, we'll
bring it back when the driver is fully implemented.
2013-08-05 12:59:23 +02:00
Uwe Hermann 1663ebe27f udev rules file: Only list supported devices.
The udev rules file should only list devices that are actually supported
by a driver in the current libsigrok version. Thus, drop all entries for
devices which will get support later on (at which point the respective udev
rule will be re-added again).

Also, add a few missing entries.
2013-07-31 12:31:47 +02:00
Uwe Hermann d1056603a0 udev rules file: Drop URLs and lsusb.
The URLs to vendor webpages and the full lsusb are in the wiki
already, no need to duplicate them here.
2013-07-31 12:22:06 +02:00
Bert Vermeulen c8bab81c5c Add Kecheng KC-330B 2013-07-16 16:08:38 +02:00
Uwe Hermann 7c3e7b4306 udev rules file: Add entry for the ZEROPLUS LAP-16128U. 2013-05-04 15:22:45 +02:00
Uwe Hermann 50985c2019 GPL headers: Use correct project name. 2013-04-23 22:24:30 +02:00
Bert Vermeulen 82b904b173 Add Rigol DS1052E/1102E VID:PID 2013-04-11 18:32:08 +02:00
Uwe Hermann a978eda2c9 udev: Add UNI-T UT-D04 multimeter cable entry. 2013-01-20 18:47:35 +01:00
Uwe Hermann 26e6ef346d 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.
2013-01-03 19:17:51 +01:00
Bert Vermeulen d40a8d1455 added VID:PIDs for all Hantek DSO-2xxx/5xxx 2012-12-28 16:46:21 +01:00
Bert Vermeulen a97a3d7089 added Nexus-Computing OsciPrime VID:PID 2012-12-25 19:13:20 +01:00
Bert Vermeulen 5ea1e54ab5 add VID:PID for generic SILabs F32x USBXpress chips
Used in Lascar EL-USB series devices
2012-12-04 23:22:35 +01:00
Uwe Hermann 121c18854a contrib/Makefile.am: Add missing files. 2012-11-11 18:14:17 +01:00
Uwe Hermann e61b4fa0d0 Doxygen: Add sigrok logo PNG for use by Doxygen. 2012-10-22 11:56:17 +02:00
Bert Vermeulen 606a07b670 sr: corrected VID for Victor 70C 2012-08-18 16:23:08 +02:00
Ivan Fedorov 0d012ede9d sr: fix gnuplot script for USBee DX and clones
- Now channels order is right
 - Added 16bit version
2012-08-03 00:25:38 +02:00
Ivan Fedorov c19298d141 sr: add gnuplot script for USBee DX and clones 2012-08-01 00:12:00 +04:00