DreamSourceLab / DSView

An open source multi-function instrument for everyone
www.dreamsourcelab.com
GNU General Public License v3.0
1.13k stars 415 forks source link

DSlogic Failed to Connect to MacOS with v1.1.2 (shows a red led always) #332

Open nurikk opened 4 years ago

nurikk commented 4 years ago

Hi guys, my brand new DSLogic Plus has issue connecting to my MAC (10.15.5),

⋊> /A/D/C/MacOS ./DSView                                                                                                                                                                                                              20:31:17
srd: Failed to load decoder clear.bat: import by name failed:ModuleNotFoundError:No module named 'clear'.
Protocol decoder enabled!

Starting a hotplug thread...

DreamSourceLab Hardware Attached!

DreamSourceLab hardware attached!
sr: DSL Hardware: dsl_dev_open: Unable to claim interface: LIBUSB_ERROR_NOT_FOUND.

More verbose log

DreamSourceLab hardware detached!
sr: hwdriver: Scan of 'virtual-demo' found 1 devices.
sr: DSL Hardware: DSLogic: Closing device 0 on 20.33 interface 0.
sr: hwdriver: Scan of 'DSLogic' found 0 devices.
sr: hwdriver: Scan of 'DSCope' found 0 devices.
DreamSourceLab Hardware Attached!

DreamSourceLab hardware attached!
sr: hwdriver: Scan of 'virtual-demo' found 1 devices.
sr: DSL Hardware: Found an DSLogic device.
sr: hwdriver: Scan of 'DSLogic' found 1 devices.
sr: hwdriver: Scan of 'DSCope' found 0 devices.
sr: DSL Hardware: dsl_dev_open: Firmware upload was not needed.
sr: DSL Hardware: Opened device 0 on 20.35, interface 0, firmware 2.0.
sr: DSL Hardware: dsl_dev_open: Unable to claim interface: LIBUSB_ERROR_NOT_FOUND.
sr: DSL Hardware: config_set: setting Signal Max Height to 0
sr: DSL Hardware: config_set: setting pattern to 2
sr: DSL Hardware: config_set: setting channel mode to 20
sr: DSL Hardware: config_set: setting filter to 0
sr: DSL Hardware: config_set: setting DSO Trigger Slope to 0
sr: DSL Hardware: config_set: setting DSO Trigger Source to 0
sr: DSL Hardware: config_set: setting DSO Trigger Source to 0
sr: DSL Hardware: config_set: setting Trigger Holdoff Time to 0
sr: DSL Hardware: config_set: setting Trigger Margin to 8

Status led is always red. But some times like 1 attempt from 20-30 it connects successfully, I tested same DSL on my windows laptop, with it connects flawlessly

I even reinstalled MAC os from scratch and tested on clean system, same issue happens again. Tested with multiple usb c cables.

Here are the videos with issue https://drive.google.com/drive/folders/1HI-wWYmeu55l0Pl9iKUZaVj_EIQD1u8m

ClassicOldSong commented 3 years ago

Same problem here on USB A cables. Whenever the device is connected to the USB, DSView wont load up. As soon as I disconnect the device, it opens. Then I plug the device back in, it wont start capturing.

fklement commented 3 years ago

Having the exact same problem as @nurikk and @ClassicOldSong. Did you found a solution yet?
I already tried different connection settings but non are working.

magicmicros commented 3 years ago

Will there be a solution to this anytime???

iopq1 commented 3 years ago

hello my dear friends. i faced the same problem. decision very simple - you need choose "Demo device" and then "DSLogic"

Screenshot 2021-01-28 at 05 26 13
ClassicOldSong commented 3 years ago

Choosing demo mode then you are getting nothing real

On Thu, Jan 28, 2021 at 10:27 AM iopq1 notifications@github.com wrote:

hello my dear friends. i faced the same problem. decision very simple - you need choose "Demo device" and then "DSLogic"

[image: Screenshot 2021-01-28 at 05 26 13] https://user-images.githubusercontent.com/76855313/106081122-6c180900-6129-11eb-985b-930c4ed8d489.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DreamSourceLab/DSView/issues/332#issuecomment-768751742, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQGQJWC47MTCN5XZFH6KSTS4DDQXANCNFSM4P5L3KGA .

iopq1 commented 3 years ago

oh. its obviously. first - select demo device. second - dslogic. good working

https://user-images.githubusercontent.com/76855313/106081963-e5642b80-612a-11eb-9518-f3b64e0ec2fe.mov

ClassicOldSong commented 3 years ago

Tried multiple times, no use. It’s still complains about connection.

On Thu, Jan 28, 2021 at 10:38 AM iopq1 notifications@github.com wrote:

oh. its obviously. first - select demo device. second - dslogic. good working

https://user-images.githubusercontent.com/76855313/106081963-e5642b80-612a-11eb-9518-f3b64e0ec2fe.mov

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DreamSourceLab/DSView/issues/332#issuecomment-768755352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQGQJUW5SRV3IJ5XWBK663S4DEZNANCNFSM4P5L3KGA .

iopq1 commented 3 years ago

you device switch red led on green led?

ClassicOldSong commented 3 years ago

It stays red.

On Thu, Jan 28, 2021 at 10:42 AM iopq1 notifications@github.com wrote:

you device switch red led on green led?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DreamSourceLab/DSView/issues/332#issuecomment-768756793, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQGQJRKUZNDQTSDEGQILZTS4DFJ3ANCNFSM4P5L3KGA .

iopq1 commented 3 years ago

apparently my case unique. may be your hardware problem? windows pc good working?

ClassicOldSong commented 3 years ago

Tried on Linux, working perfectly fine.

On Thu, Jan 28, 2021 at 10:51 AM iopq1 notifications@github.com wrote:

apparently my case unique. may be your hardware problem? windows pc good working?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DreamSourceLab/DSView/issues/332#issuecomment-768759586, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQGQJQBK4UWCJRXVA3C4FLS4DGJRANCNFSM4P5L3KGA .

iopq1 commented 3 years ago

im sorry that my help useless. may be somebody it can help

nurikk commented 3 years ago

Btw, I've tried my dslogic with sigrok, and getting same issue

iopq1 commented 3 years ago

how install sigrok on macos 11.1? i get mistake -

`imac@iMac-iMac ~ % brew install sigrok-cli Updating Homebrew... ==> Auto-updated Homebrew! Updated 2 taps (homebrew/core and homebrew/cask). ==> New Formulae mpdecimal ==> Updated Casks Updated 65 casks.

==> Installing sigrok-cli from rene-dev/sigrok ==> Downloading http://sigrok.org/download/source/libsigrokdecode/libsigrokdecod Already downloaded: /Users/imac/Library/Caches/Homebrew/downloads/7ad39221afeb178fe5158b44a419f49c85fe31fc70a97358dfd59c3e84fe8e04--libsigrokdecode-0.5.0.tar.gz ==> Downloading http://sigrok.org/download/source/sigrok-cli/sigrok-cli-0.7.0.ta Already downloaded: /Users/imac/Library/Caches/Homebrew/downloads/a1da1f03260b6f0cf164035d9b3bd0ab27744521de7681183938a7e316cc66e3--sigrok-cli-0.7.0.tar.gz ==> Installing dependencies for rene-dev/sigrok/sigrok-cli: rene-dev/sigrok/libsigrokdecode ==> Installing rene-dev/sigrok/sigrok-cli dependency: rene-dev/sigrok/libsi ==> ./configure --prefix=/usr/local/Cellar/libsigrokdecode/0.5.0 ==> make install Last 15 lines from /Users/imac/Library/Logs/Homebrew/libsigrokdecode/02.make: _get_channels in decoder.o _decoder_free in decoder.o ... "__Py_FalseStruct", referenced from: _Decoder_has_channel in type_decoder.o "Py_NoneStruct", referenced from: _srd_decoder_doc_get in decoder.o _srd_inst_start in instance.o _Decoder_put in type_decoder.o _Decoder_wait in type_decoder.o "Py_TrueStruct", referenced from: _Decoder_has_channel in type_decoder.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [libsigrokdecode.la] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/rene-dev/homebrew-sigrok/issues

These open issues may also help: building libsigrokdecode with "brew" on macOS broken https://github.com/rene-dev/homebrew-sigrok/issues/23 imac@iMac-iMac ~ % `

nurikk commented 3 years ago

how install sigrok on macos 11.1? i get mistake -

`imac@iMac-iMac ~ % brew install sigrok-cli Updating Homebrew... ==> Auto-updated Homebrew! Updated 2 taps (homebrew/core and homebrew/cask). ==> New Formulae mpdecimal ==> Updated Casks Updated 65 casks.

==> Installing sigrok-cli from rene-dev/sigrok ==> Downloading http://sigrok.org/download/source/libsigrokdecode/libsigrokdecod Already downloaded: /Users/imac/Library/Caches/Homebrew/downloads/7ad39221afeb178fe5158b44a419f49c85fe31fc70a97358dfd59c3e84fe8e04--libsigrokdecode-0.5.0.tar.gz ==> Downloading http://sigrok.org/download/source/sigrok-cli/sigrok-cli-0.7.0.ta Already downloaded: /Users/imac/Library/Caches/Homebrew/downloads/a1da1f03260b6f0cf164035d9b3bd0ab27744521de7681183938a7e316cc66e3--sigrok-cli-0.7.0.tar.gz ==> Installing dependencies for rene-dev/sigrok/sigrok-cli: rene-dev/sigrok/libsigrokdecode ==> Installing rene-dev/sigrok/sigrok-cli dependency: rene-dev/sigrok/libsi ==> ./configure --prefix=/usr/local/Cellar/libsigrokdecode/0.5.0 ==> make install Last 15 lines from /Users/imac/Library/Logs/Homebrew/libsigrokdecode/02.make: _get_channels in decoder.o _decoder_free in decoder.o ... "__Py_FalseStruct", referenced from: _Decoder_has_channel in type_decoder.o "Py_NoneStruct", referenced from: _srd_decoder_doc_get in decoder.o _srd_inst_start in instance.o _Decoder_put in type_decoder.o _Decoder_wait in type_decoder.o "Py_TrueStruct", referenced from: _Decoder_has_channel in type_decoder.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [libsigrokdecode.la] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/rene-dev/homebrew-sigrok/issues

These open issues may also help: building libsigrokdecode with "brew" on macOS broken rene-dev/homebrew-sigrok#23 imac@iMac-iMac ~ % `

Download binaries https://sigrok.org/wiki/Downloads

iopq1 commented 3 years ago

i do it. but app not found my device -

Screenshot 2021-01-28 at 19 08 14
iopq1 commented 3 years ago

i need help how connected dslogic to pulseview. in dsview app not working magic mouse

LordRafa commented 3 years ago

Hello I have a similar issue on Linux using qemu/libvirt. If I try to redirect this device using a spice channel, I get LIBUSB_ERROR_NOT_FOUND perhaps there is something nasty going on with libusb and the device itself?

LianYangCn commented 3 years ago

I got the same issue Tried on windows working perfectly fine on same PC

LianYangCn commented 3 years ago

same as #320

McKlaud76 commented 3 years ago

Same here with macOS 10.14.6, the highest version of DSView that recognises DSLogic Plus from 2017 is 0.99. Any newer cannot recognise and communicate with the unit, LED in red permanently.

nurikk commented 3 years ago

Updating to mac os 11.2.2 didn't help

LianYangCn commented 3 years ago

Hi gays,

For me, plug in another USB 3.0 port to work normally

Camfix commented 2 years ago

Hi fellows,

I struggled in the same mud ... with Dslogic Basic whatever... on my Mac.

Will see, if all the capturing etc. works. I am curious. Keep on going!

Andreas

iopq1 commented 2 years ago

hello. i have converted my dslogic to dslogicplus. now my device works with pulseview. dsview i isn't like because what magic mouse doesn't work (zoom + and -)

McKlaud76 commented 2 years ago

i have converted my dslogic to dslogicplus. now my device works with pulseview.

How can the conversion be done?

nurikk commented 2 years ago

i have converted my dslogic to dslogicplus. now my device works with pulseview.

How can the conversion be done?

Check this article https://www.eevblog.com/forum/testgear/upgrading-dslogic-basic-to-plus-without-eeprom-modification/

kpishere commented 2 years ago

I had the same issue. Worked a treat on 10.13 for years. 10.15, there are hiccups. However, the advise above, IT DOES WORK.

Select the demo device in DSView. Then select your real devices, the light goes green and works.

Camfix commented 2 years ago

Thank you for your answer. It worked on my computer as well.

Regards Andreas