Fedora 31 - how to start

Discussion forum for the new Picoscope Linux software
Post Reply
PrzemoF
User
User
Posts: 2
Joined: Sat Nov 09, 2019 10:24 am

Fedora 31 - how to start

Post by PrzemoF »

What's the best way of getting PicoScope 2204A to work on fedora linux? I did some searching, but I don't see any "official" way.

I managed to start Picoscope 6 using different tricks on fedora 31, but I failed to convince the software I have the hardware connected. I tried root account, I added custom udev rule, the syste, sees the device, but the picoscope 6 fails to detect it. Normally I'd be able to debug it down to kernel level, but it's a proprietary software, so I need help. My setup:
- fedora 31 with mono installed
- hardware: PicoScope 2204A
- system sees the usb device as:

Code: Select all

[20059.297178] usb 3-2: new high-speed USB device number 13 using xhci_hcd
[20059.423315] usb 3-2: New USB device found, idVendor=0ce9, idProduct=1007, bcdDevice= 0.05
[20059.423320] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
- my custom udev rule to change access rights and create symlink:

Code: Select all

$ cat /etc/udev/rules.d/99-picoscope.rules 
SUBSYSTEM=="usb", ATTR{idVendor}=="0ce9", ATTR{idProduct}=="1007", MODE="0666" SYMLINK+="picoscope"
Looks like picoscope can't find ps2000.dll. I don't have that dll and I can't find it
Where I can get it?

P.S. I'm experienced linux user and open source developer & supporter, so if you're interested in developing open source software for picoscope hardware please stand up & be counted :D

PrzemoF
User
User
Posts: 2
Joined: Sat Nov 09, 2019 10:24 am

Re: Fedora 31 - how to start

Post by PrzemoF »

OK, I got the picoscope working. I had to put together some files manually, including picoscope.conf in /etc. Anyway, it can be done. The missing ps2000.dll is llibps2000.so

If someone needs the info quickly please post here. OtherwiseIi'll try to make an installation script in my free time.

chuck13
Newbie
Posts: 0
Joined: Sun Jun 07, 2020 5:39 pm

Re: Fedora 31 - how to start

Post by chuck13 »

Hi,
I am trying to replicate your success and get Picoscope running under Fedora 31. I have extracted and installed the files from the .deb file. I created the file /etc/ld.so.conf.d/picoscope.conf with one line: "/opt/picoscope/lib". I created the /etc/udev/rules.d file as in your post and when I plug in the PicoScope 2206B, it creates the symlink /dev/picoscope. So far so good.

When I start picoscope, its opens the GUI and reports "No suitable device found". I can poke around a bit and cause it to generate an error report. Among other things, the error report includes:

Attempting to load ps2000.dll
ps2000.dll System.DllNotFoundException: ps2000.dll

It fails to find several other dll with similar names (psX000.dll and psX000a.dll).

Your post says that the missing ps2000.dll is llibps2000.so. Can you tell me where you found that? I see nothing similar in /opt/picoscope/lib.

Thanks!

chuck13
Newbie
Posts: 0
Joined: Sun Jun 07, 2020 5:39 pm

Re: Fedora 31 - how to start

Post by chuck13 »

Oops!

It does help to read the instructions. I failed to recognize that the libps2000a was a separate installation. I also needed to install libpicoipp which I found at:
https://labs.picotech.com/rpm/x86_64/

I now have picoscope running on my Fedora 31 system.

PrzemoF
User
User
Posts: 2
Joined: Sat Nov 09, 2019 10:24 am

Re: Fedora 31 - how to start

Post by PrzemoF »

Great! :D

Post Reply