knarfS / smuview

SmuView is a GUI for sigrok that supports power supplies, electronic loads and all sorts of measurement devices like multimeters, LCR meters and so on.
GNU General Public License v3.0
130 stars 25 forks source link

USB scan fails on Ubuntu 20.04 #31

Closed jakobbraun closed 3 years ago

jakobbraun commented 3 years ago

Describe the bug

I'm trying to discover my UNI_T UT71B using SmuView-0.0.5-x86_64.AppImage but it does not show my USB device. However, if I specify the device via --driver=uni-t-ut71b:conn=1a86.e008 everything works fine.

To Reproduce Steps to reproduce the behavior:

  1. Open smuview
  2. Click on add device button
  3. Choose UNI_T UT71B (uni-t ut71b) driver
  4. select USB
  5. Click on Scan for devices using driver above Expected behavior My device shows up in the list

Screenshots or log image

command line output of ./SmuView-0.0.5-x86_64.AppImage -l5

Enviroment:

Additional Information

knarfS commented 3 years ago

Unfortunately, the auto scan feature doesn't work with the UT-D04 cable/adapter you are using: There is AFAIK no save way do auto detect the Uni-t DMMs and all the adapter combinations. See https://github.com/sigrokproject/libsigrok/blob/master/README.devices#L305.

Therefor you have to specify your device driver and the USB-ID via the SmuView -d parameter or in the connection dialog. In the connection dialog you have to select "Serial Port" and enter (or select?) the USB-ID 1a86.e008 there.