Author Topic: Cannot load DSLogic (dreamsourcelab-dslogic) driver in PulseView  (Read 435 times)

0 Members and 1 Guest are viewing this topic.

Offline ArvidTopic starter

  • Newbie
  • Posts: 1
  • Country: de
Hello,

I have problems with PulseView an DSLogic on Linux!

I checked the driver with:
sigrok-cli --driver dreamsourcelab-dslogic  --scan:
The following devices were found:
dreamsourcelab-dslogic:conn=1.8 - DreamSourceLab DSLogic Pro with 16 channels: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

But when I choose the driver in the 'Connect to device' window, it found no device if I scan it!

The LED of the DSLogic is orange!

I get the following errors in the log:
srd: Failed to load decoder gpib: missing or malformed 'tags' attribute
srd: Failed to load decoder iec: missing or malformed 'tags' attribute
dreamsourcelab-dslogic: Failed to open potential device with VID:PID 2a0e:0003: LIBUSB_ERROR_ACCESS.

The lsusb command gets:
Bus 001 Device 008: ID 2a0e:0003 Shenzhen DreamSource Technology Co., Ltd. USB-based Instrument

With Windows (10) it worked!

I think it's not really a PulseView issue, but I'm hoping someone can help me.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8006
  • Country: de
  • A qualified hobbyist ;)
Re: Cannot load DSLogic (dreamsourcelab-dslogic) driver in PulseView
« Reply #1 on: May 09, 2024, 03:26:56 pm »
srd: Failed to load decoder gpib: missing or malformed 'tags' attribute
srd: Failed to load decoder iec: missing or malformed 'tags' attribute

Looks like a quite old version (gpib and iec are replaced by ieee488). I think you can ignore that.

dreamsourcelab-dslogic: Failed to open potential device with VID:PID 2a0e:0003: LIBUSB_ERROR_ACCESS.

That should be the cause, i.e. access rights. Most likely the user running PulseView has no access to the device. The best approach is to add a udev rule for the DSLogic Pro to set a specfic group (/etc/udev/rules.d/99-local.rules), and also add the user to that group (/etc/group).
 

Online tatel

  • Frequent Contributor
  • **
  • Posts: 505
  • Country: es
Re: Cannot load DSLogic (dreamsourcelab-dslogic) driver in PulseView
« Reply #2 on: May 09, 2024, 05:13:57 pm »
Use DSView, not PulseView. There's bad blood between the guys at Sigrok and DSLabs. So the support in PulseView for DSLab products isn't the best.

Download DSView: https://www.dreamsourcelab.com/download/

Video from PulseView developer about the drama, go to 27:06

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf