I can't connect to Rigol DS1054Z Firmware Version 00.04.04.SP3 via USB sigrok-cli --loglevel=5 --driver=rigol-ds:conn=usbtmc/1ab1.04ce --show sr: libsigrok loglevel set to 5. sr: backend: Sanity-checking all drivers. sr: backend: Sanity-checking all input modules. sr: backend: Sanity-checking all output modules. srd: libsigrokdecode loglevel set to 5. sr: hwdriver: Initializing driver 'rigol-ds'. sr: scpi: Opening USBTMC device usbtmc/1ab1.04ce. sr: usb: Trying to find USB device with VID:PID = 1ab1:04ce. sr: usb: Found USB device (VID:PID = 1ab1:04ce, bus.address = 3.3). sr: usb: Found 1 device(s). sr: usb: Trying to open USB device 3.3. sr: usb: Opened USB device (VID:PID = 1ab1:04ce, bus.address = 3.3). sr: scpi_usbtmc: Interface 0 sr: scpi_usbtmc: Configuration 1 sr: scpi_usbtmc: Interrupt EP 129 sr: scpi_usbtmc: Bulk IN EP 130 sr: scpi_usbtmc: Bulk OUT EP 3 sr: scpi_usbtmc: Device capabilities: SCPI, L4, T6, SR1, RL1, DT1 sr: scpi_usbtmc: Successfully sent SCPI command: '*IDN?'. sr: scpi: Got response: 'RIGOL TECHNOLOGIES,DS1054Z,DS1ZA999,00.04.04.SP3'. sr: scpi: Got IDN string: 'RIGOL TECHNOLOGIES,DS1054Z,DS1ZA999,00.04.04.SP3' sr: hwdriver: Scan of 'rigol-ds' found 0 devices. No devices found. lsb_release -a Distributor ID: LinuxMint Description: Linux Mint 18.1 Serena Release: 18.1 Codename: serena uname -a Linux U47VC 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux modinfo usbtmc filename: /lib/modules/4.4.0-53-generic/kernel/drivers/usb/class/usbtmc.ko license: GPL srcversion: 8A1D71863801CA6BE71EE57 alias: usb:v*p*d*dc*dsc*dp*icFEisc03ip01in* alias: usb:v*p*d*dc*dsc*dp*icFEisc03ip00in* depends: intree: Y vermagic: 4.4.0-53-generic SMP mod_unload modversions udev rules file: /etc/udev/rules.d/51-usbtmc.rules SUBSYSTEMS=="usb", ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="04ce", GROUP="dialout", MODE="0660" ls -la /dev/usbtmc1 crw-rw---- 1 root dialout 180, 1 Apr 28 16:37 /dev/usbtmc1
Your version of libsigrok is not shown, but most likely outdated. Please build from git, see http://sigrok.org/wiki/Linux And btw, we don't use the usbtmc kernel module but in your case it's not causing problems, so it's fine.
Ah, just saw you're connecting via usbtmc on purpose, never mind my usbtmc comment then.
libsigrok version 0.3.0-1build1 Is there a proper or better way to connect without USBTMC?. AFAIK that's the only way to do it.
I've compiled and installed: libserialport == 0.1.1 pulseview == 0.3.0 sigrok-cli == 0.6.0 libsigrokdecode == 0.4.0 libsigrok == 0.4.0 Everything seems to be OK now.