cant find DrDAQ

Discussion forum for the new Picoscope Linux software
Post Reply
vogi
Newbie
Posts: 0
Joined: Tue Mar 03, 2015 8:30 pm

cant find DrDAQ

Post by vogi » Tue Mar 03, 2015 8:43 pm

Hi

I have a linux Mint 17 cinnamon 64-bit and installed picoscope which runs but can't find the DrDAQ.
lsusb shows:
Bus 002 Device 019: ID 0ce9:1014 pico Technology
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
...
Any ideas?
Thanks, Walter.

mario_
Site Admin
Site Admin
Posts: 112
Joined: Fri Sep 13, 2013 12:57 pm

Re: cant find DrDAQ

Post by mario_ » Wed Mar 04, 2015 8:01 am

Hi vogi,

What are result of following commands?

Code: Select all

dpkg -l | grep picoscope
dpkg -l | grep libusbdrdaq
The results should match

Code: Select all

picoscope 6.10.1-4r36
libusbdrdaq 1.0.4-1r19
If not, try reinstalling:

Code: Select all

sudo apt-get install --reinstall picoscope
sudo apt-get install --reinstall libusbdrdaq
Mario

vogi
Newbie
Posts: 0
Joined: Tue Mar 03, 2015 8:30 pm

Re: cant find DrDAQ

Post by vogi » Wed Mar 04, 2015 7:12 pm

vogi@wacompi2 ~ $ dpkg -l | grep picoscope
ii picoscope 6.10.1-4r36 all PicoScope GTK
vogi@wacompi2 ~ $ dpkg -l | grep libusbdrdaq
ii libusbdrdaq 1.0.4-1r19 amd64 PicoScope USBDrDAQ Linux driver
vogi@wacompi2 ~ $

and reinstall didn't change anything.

vogi
Newbie
Posts: 0
Joined: Tue Mar 03, 2015 8:30 pm

Re: cant find DrDAQ

Post by vogi » Wed Mar 04, 2015 7:16 pm

vogi@wacompi2 ~ $ dpkg -l | grep picoscope
ii picoscope 6.10.1-4r36 all PicoScope GTK
vogi@wacompi2 ~ $ dpkg -l | grep libusbdrdaq
ii libusbdrdaq 1.0.4-1r19 amd64 PicoScope USBDrDAQ Linux driver
vogi@wacompi2 ~ $

... and reinstalling didn't help either.

mario_
Site Admin
Site Admin
Posts: 112
Joined: Fri Sep 13, 2013 12:57 pm

Re: cant find DrDAQ

Post by mario_ » Thu Mar 05, 2015 8:16 am

Hi vogi,

Can you run the following to check whether the permissions are granted for the device:

Code: Select all

/opt/picoscope/share/doc/libusbdrdaq/usbtest
Mario

vogi
Newbie
Posts: 0
Joined: Tue Mar 03, 2015 8:30 pm

Re: cant find DrDAQ

Post by vogi » Thu Mar 05, 2015 10:16 am

Press enter to continue...

Getting user and group information...
- You are running this script as vogi.
- You are in the following groups:
vogi adm dialout cdrom sudo dip plugdev users lpadmin sambashare ssh pico

Please connect your Pico USB device and press enter to continue...

Pico USB device found: /dev/bus/usb/002/003

- It belongs to root (which is not you) who has permissions rw-
- The members of group pico (which you are in) have permissions rw-
- Everyone else has permissions r--
- You can write to this device and so will be able to use it.

mario_
Site Admin
Site Admin
Posts: 112
Joined: Fri Sep 13, 2013 12:57 pm

Re: cant find DrDAQ

Post by mario_ » Fri Mar 06, 2015 8:08 am

Hi vogi,

There are still few things to try...

1) Did you try running your device on Windows or any other system? - Just to rule out faulty device.
2) Starting in your home directory, then .local/share/Pico\ Technology/260a68f1-c314-451b-830f-0a5e01d65514/ should be a trace.xml file from latest launch. There might be more information on why the device is not being picked up.
3) Did you try running console example? (Located in /opt/picoscope/share/doc/libusbdrdaq/)

Mario

vogi
Newbie
Posts: 0
Joined: Tue Mar 03, 2015 8:30 pm

Re: cant find DrDAQ

Post by vogi » Fri Mar 06, 2015 11:58 am

1) yes, works with windows
2)

Code: Select all


    Trace opened 06.03.2015.
    Running on Mono - True
    Mono Display Name - 3.12.0 (tarball Sat Feb  7 19:12:57 UTC 2015)
    Host Operating System - Linux
    64Bit Operating System - True
    64Bit Process - True
    Logical Processors - 4
    Application 'PicoScope 6 Beta' (version 6.10.1.36) starting.
    8DAC253C23CC4CC5CD888F819C1D74D9
    User is not Guest
    No Administrator Privileges
    Failed to detect access rights
    OS Version - Unix 3.13.0.24
    .net Version - 4.0.30319.17020
    Current Directory - /opt/picoscope/lib
    Command Line - /opt/picoscope/lib/PicoScope.GTK.exe
    Settings file version - 11.2.0
    Preferences file version - 2.0.0
    Probes file version - 1.0.0
    Data file binary header version - 1
    Using default culture: German (Germany).
    Begin
    Begin
    Complete
    Attempting to load ps6000.dll
    Finished loading ps6000.dll
    Opening device using DLL ps6000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps6000.dll
    Finished loading ps6000.dll
    Opening device using DLL ps6000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps5000a.dll
    Finished loading ps5000a.dll
    Opening device using DLL ps5000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps5000.dll
    Finished loading ps5000.dll
    Opening device using DLL ps5000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps4000a.dll
    Finished loading ps4000a.dll
    Opening device using DLL ps4000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps4000a.dll
    Finished loading ps4000a.dll
    Opening device using DLL ps4000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps4000.dll
    Finished loading ps4000.dll
    Opening device using DLL ps4000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000a.dll
    Finished loading ps3000a.dll
    Opening device using DLL ps3000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000a.dll
    Finished loading ps3000a.dll
    Opening device using DLL ps3000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000a.dll
    Finished loading ps3000a.dll
    Opening device using DLL ps3000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000a.dll
    Finished loading ps3000a.dll
    Opening device using DLL ps3000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000.dll
    Finished loading ps3000.dll
    Opening device using DLL ps3000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps2000a.dll
    Finished loading ps2000a.dll
    Opening device using DLL ps2000a.dll
    Opening PS2000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps2000.dll
    Finished loading ps2000.dll
    Opening device using DLL ps2000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load usbdrdaq.dll
    Finished loading usbdrdaq.dll
    Opening device using DLL usbdrdaq.dll
    usbdrdaq.dll OpenUnit returned 3
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load pl1000.dll
    Finished loading pl1000.dll
    Opening device using DLL pl1000.dll
    Opening device unsuccessful. Error UnitNotFound
    No of Devices Found: 0
    Complete
    Device open dialog: Refresh clicked
    Begin
    Complete
    Attempting to load ps6000.dll
    Finished loading ps6000.dll
    Opening device using DLL ps6000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps6000.dll
    Finished loading ps6000.dll
    Opening device using DLL ps6000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps5000a.dll
    Finished loading ps5000a.dll
    Opening device using DLL ps5000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps5000.dll
    Finished loading ps5000.dll
    Opening device using DLL ps5000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps4000a.dll
    Finished loading ps4000a.dll
    Opening device using DLL ps4000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps4000a.dll
    Finished loading ps4000a.dll
    Opening device using DLL ps4000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps4000.dll
    Finished loading ps4000.dll
    Opening device using DLL ps4000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000a.dll
    Finished loading ps3000a.dll
    Opening device using DLL ps3000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000a.dll
    Finished loading ps3000a.dll
    Opening device using DLL ps3000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000a.dll
    Finished loading ps3000a.dll
    Opening device using DLL ps3000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000a.dll
    Finished loading ps3000a.dll
    Opening device using DLL ps3000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000.dll
    Finished loading ps3000.dll
    Opening device using DLL ps3000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps2000a.dll
    Finished loading ps2000a.dll
    Opening device using DLL ps2000a.dll
    Opening PS2000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps2000.dll
    Finished loading ps2000.dll
    Opening device using DLL ps2000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load usbdrdaq.dll
    Finished loading usbdrdaq.dll
    Opening device using DLL usbdrdaq.dll
    usbdrdaq.dll OpenUnit returned 3
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load pl1000.dll
    Finished loading pl1000.dll
    Opening device using DLL pl1000.dll
    Opening device unsuccessful. Error UnitNotFound
    Opening device using DLL Demo Device
    Opening device successful. Error NoError.
    Device opened Demo: Demo PSGeneric Demo
    No of Devices Found: 1
    Device selected: PSGeneric, Demo
    Driver: Demo Device Version: 6.10.1.36
    Kernel driver: picopp.sys Version: 6.10.1.36
    Device open dialog: Cancel clicked
    Trace Closing


3)vogi@wacompi2 /opt/picoscope/share/doc/libusbdrdaq $ ls
autogen.sh    Copyright    README         usbtest
configure.ac  Makefile.am  USBDrDAQcon.c
vogi@wacompi2 /opt/picoscope/share/doc/libusbdrdaq $ sudo ./autogen.sh 
[sudo] password for vogi: 
./autogen.sh: Zeile 4: libtoolize: Befehl nicht gefunden
vogi@wacompi2 /opt/picoscope/share/doc/libusbdrdaq $

mario_
Site Admin
Site Admin
Posts: 112
Joined: Fri Sep 13, 2013 12:57 pm

Re: cant find DrDAQ

Post by mario_ » Fri Mar 06, 2015 1:20 pm

Hi vogi,

Code: Select all

usbdrdaq.dll OpenUnit returned 3
Simply says that deice is not found :shock:

I have attached compressed console program to run (tar -xzf usbdrdaqcon.tar.gz to decompress). Could you run it? (./usbdrdaqcon)

Mario
Attachments
usbdrdaqcon.tar.gz
(8.05 KiB) Downloaded 272 times

vogi
Newbie
Posts: 0
Joined: Tue Mar 03, 2015 8:30 pm

Re: cant find DrDAQ

Post by vogi » Fri Mar 06, 2015 3:16 pm

vogi@wacompi2 ~/Downloads $ ./usbdrdaqcon
USB DrDAQ driver example program
Version 1.0
Opening the device...
Unable to open device
Press any key
vogi@wacompi2 ~/Downloads $

Have you seen my answer to 3) ?

mario_
Site Admin
Site Admin
Posts: 112
Joined: Fri Sep 13, 2013 12:57 pm

Re: cant find DrDAQ

Post by mario_ » Mon Mar 09, 2015 8:52 am

Hi vogi,

Lead 3 was suppose to get us to run the console program, which I have compiled an attached to the later post, to save you the time of getting it compiled yourself (libtool is required for build configuration). But the console program still didn't find your device.

I am afraid I'm out of ideas now. I have installed Mint 17 on one of test machines and there is nothing specific about it to stop usbdrdaq from being enumerated. I even used German language to rule out that possibility.

It might be one of those rare occasion where your hardware is not fully supported by Linux kernel. In Windows many USB Host controllers have their own specific drivers. In Linux they fall under generic ones. If you wish, you could try using PCI USB card to verify that, or at least run the device through (powered) USB hub.

Mario

vogi
Newbie
Posts: 0
Joined: Tue Mar 03, 2015 8:30 pm

Re: cant find DrDAQ

Post by vogi » Wed Mar 11, 2015 10:35 am

Hi Mario

I tried ...
DrDAQ and 2205 with picoscope on windows -> yes, yes
DrDAQ and 2205 with picoscope on Linux Mint 17 -> no, yes
DrDAQ and 2205 with ./usbdrdaqcon and ./ps2000con on Raspian (on a Raspberry Pi) -> no, yes.

Well, I stop this project here.
Another question: is there a possibility to run picoscope on a Raspberry Pi 2 with windows 10?

Post Reply