Hi. I am having trouble getting a Rigol DS1054Z to work on Windows 10
via USB. I have an idea what the fix might be too, scroll down...

Rigol's UltraSigma and UltraScope software work fine. I got the latest
nightly build of Sigrok. Scope is on latest firmware (00.04.04.SP3,
board version 0.1.4).

> sigrok-cli -V
sigrok-cli 0.8.0-git-f5735c5

Libraries and features:
- libsigrok 0.6.0-git-3940abc/4:0:0 (rt: 0.6.0-git-3940abc/4:0:0).
 - Libs:
  - glib 2.44.1 (rt: 2.44.1/4401:1)
  - libzip 1.5.1
  - libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1)
  - libusb-1.0 1.0.20.11003-rc3 API 0x01000104
  - libftdi 1.2
  - Host: x86_64-w64-mingw32.static.posix, little-endian.
  - SCPI backends: TCP, serial, USBTMC.
- libsigrokdecode 0.6.0-git-be760e5/4:0:0 (rt: 0.6.0-git-be760e5/4:0:0).
 - Libs:
  - glib 2.44.1 (rt: 2.44.1/4401:1)
  - Python 3.4.4 / 0x30404f0 (API 1013, ABI 3)
  - Host: x86_64-w64-mingw32.static.posix, little-endian.


> sigrok-cli --loglevel=5 -d rigol-ds --scan
sr: [00:00.000000] log: libsigrok loglevel set to 5.
sr: [00:00.010000] backend: libsigrok 0.6.0-git-3940abc/4:0:0 (rt:
0.6.0-git-3940abc/4:0:0).
sr: [00:00.010000] backend: Libs: glib 2.44.1 (rt: 2.44.1/4401:1),
libzip 1.5.1, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0
1.0.20.11003-rc3 API 0x01000104, libftdi 1.2.
sr: [00:00.010000] backend: Host: x86_64-w64-mingw32.static.posix,
little-endian.
sr: [00:00.010000] backend: SCPI backends: TCP, serial, USBTMC.
sr: [00:00.010000] backend: Firmware search paths:
sr: [00:00.039000] backend:  -
C:\Users\paulqureshi\AppData\Local\sigrok-firmware
sr: [00:00.039000] backend:  - C:\ProgramData\sigrok-firmware
sr: [00:00.039000] backend:  - C:\Users\Public\Documents\sigrok-firmware
sr: [00:00.039000] backend:  - C:\Program Files
(x86)\sigrok\sigrok-cli\share\sigrok-firmware
sr: [00:00.039000] backend:  - C:\Program Files
(x86)\sigrok\sigrok-cli\share\sigrok-firmware
sr: [00:00.039000] backend: Sanity-checking all drivers.
sr: [00:00.039000] backend: Sanity-checking all input modules.
sr: [00:00.039000] backend: Sanity-checking all output modules.
sr: [00:00.039000] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
sr: [00:00.080000] scpi_usbtmc: Found USBTMC device (VID:PID =
1ab1:04ce, bus.address = 2.10).
sr: [00:00.080000] scpi_usbtmc: Found USBTMC device (VID:PID =
1ab1:04ce, bus.address = 2.10).
sr: [00:00.080000] scpi: Opening USBTMC device usbtmc/2.10.
sr: [00:00.089000] usb: Found USB device (VID:PID = 1ab1:04ce,
bus.address = 2.10).
sr: [00:00.089000] usb: Found USB device (VID:PID = 1ab1:04ce,
bus.address = 2.10).
sr: [00:00.089000] scpi_usbtmc: Failed to find USB device '2.10'.
sr: [00:00.089000] scpi: Opening USBTMC device usbtmc/2.10.
sr: [00:00.099000] usb: Found USB device (VID:PID = 1ab1:04ce,
bus.address = 2.10).
sr: [00:00.099000] usb: Found USB device (VID:PID = 1ab1:04ce,
bus.address = 2.10).
sr: [00:00.110000] scpi_usbtmc: Failed to find USB device '2.10'.
sr: [00:01.760000] hwdriver: Scan found 0 devices (rigol-ds).
sr: [00:01.770000] hwdriver: Cleaning up all drivers.


That is after a clean boot with the UltraSigma software closed.
Unfortunately I don't have the facility to try TCP/IP, only USB.

I noticed that the scope uses a composite USB device, and I know
libusb has problems with composite devices on Windows. In fact I
submitted a patch to libusb to get dfu-util working on Windows due to
that issue, so I'm wondering if it could be the same thing.

Pull request here: https://github.com/libusb/libusb/pull/398

I'm afraid I don't have the facility to build Sigrok at the moment so
I can't test it.

Regards,
Paul


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to