Beta Release of PicoScope for Linux

Discussion forum for the Picoscope 6 Linux software
Post Reply
Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Beta Release of PicoScope for Linux

Post by Martyn »

We have just released a Beta version of PicoScope software for Linux. To get a copy

Code: Select all

1. Edit /etc/apt/sources.list (as root via sudo) and add following line:
  deb http://labs.picotech.com/debian picoscope main

2. Import public key
  wget -O - http://labs.picotech.com/debian/dists/picoscope/Release.gpg.key | sudo apt-key add -

3. Update apt cache
  sudo apt-get update

4. Install picoscope
  sudo apt-get install picoscope
1. Devices ranges supported:
  • a. All 2000 Series
    b. All 3000 Series
    c. All 4000 Series
    d. All 5000 Series
    e. All 6000 Series
2. Operating systems supported:
  • a. Debian 7.0 (wheezy) i386/amd64
    b. Ubuntu 12.xx/13.xx i386/amd64
    c. Any other Debian based should still work, if PicoScope package requirements are met (mono-runtime >= 2.10.8.1)
Enjoy :)
Martyn
Technical Support Manager

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Beta Release of Picoscope for Linux

Post by Martyn »

If you have any feedback then please post comments here or email them directly to support@picotech.com
Martyn
Technical Support Manager

hmaarrfk
Newbie
Posts: 0
Joined: Sun Jun 24, 2012 11:41 pm

Re: Beta Release of Picoscope for Linux

Post by hmaarrfk »

Very nice.

Are there any plans for a Fedora release?

hmaarrfk
Newbie
Posts: 0
Joined: Sun Jun 24, 2012 11:41 pm

Re: Beta Release of Picoscope for Linux

Post by hmaarrfk »

Hi all

I opened the .deb files and took the relevant libraries out.

For anybody who needs it
I think this should install well on Fedora 20 x64

https://github.com/hmaarrfk/picoscope-rpm/releases

Picotech seems to install things in /opt . I don't really like that because it is a non-standard install.

The RPMs install the relevant files in /usr and try to maintain the copyright notices from the original deb files.

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Beta Release of Picoscope for Linux

Post by Martyn »

Thanks for that.

First stage is to add more functionality to the software and then turn it into a formal release, a Fedora version may come later.
Martyn
Technical Support Manager

nickdobrinich
Newbie
Posts: 0
Joined: Tue Jan 14, 2014 3:55 am

Re: Beta Release of Picoscope for Linux

Post by nickdobrinich »

Under Linux Mint Cinnamon 16 I got this far before failure on libps2000a config.
I have a Picoscope 2203 USB scope which is not currently supported.
Bless you for supporting Linux.

Setting up libmono-accessibility4.0-cil (2.10.8.1-5ubuntu2) ...
Setting up libmono-i18n4.0-cil (2.10.8.1-5ubuntu2) ...
Setting up libmono-i18n-west4.0-cil (2.10.8.1-5ubuntu2) ...
Setting up libmono-system-configuration-install4.0-cil (2.10.8.1-5ubuntu2) ...
Setting up libmono-system-management4.0-cil (2.10.8.1-5ubuntu2) ...
Setting up libmono-webbrowser4.0-cil (2.10.8.1-5ubuntu2) ...
Setting up libmono-system-windows-forms4.0-cil (2.10.8.1-5ubuntu2) ...
Setting up libmono-system-xaml4.0-cil (2.10.8.1-5ubuntu2) ...
Setting up libmono-windowsbase4.0-cil (2.10.8.1-5ubuntu2) ...
Setting up libpicoipp (1.1.1-2) ...
Setting up libps2000a (1.1.0-3~41) ...
Adding group `pico' (GID 126) ...
Done.
dpkg: error processing libps2000a (--configure):
subprocess installed post-installation script returned error exit status 30
Setting up libps3000a (1.3.0-4~19) ...
Setting up libps5000 (1.5.0-1~36) ...
Setting up libps5000a (1.1.0-3~34) ...
Setting up libps6000 (1.4.0-4~24) ...
dpkg: dependency problems prevent configuration of picoscope:
picoscope depends on libps2000a (= 1.1.0-3~41); however:
Package libps2000a is not configured yet.

dpkg: error processing picoscope (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
Errors were encountered while processing:
libps2000a
picoscope
E: Sub-process /usr/bin/dpkg returned an error code (1)

IanCarr
Newbie
Posts: 0
Joined: Wed Jun 13, 2012 10:16 am

Re: Beta Release of Picoscope for Linux

Post by IanCarr »

I've followed the instructions and unfortunately it ends with:
"
Setting up libpicoipp (1.1.1-2) ...
Setting up libps2000a (1.1.0-3~41) ...
Adding group `pico' (GID 128) ...
Done.
dpkg: error processing libps2000a (--configure):
subprocess installed post-installation script returned error exit status 30
Setting up libps3000a (1.3.0-4~19) ...
Setting up libps5000 (1.5.0-1~36) ...
Setting up libps5000a (1.1.0-3~34) ...
Setting up libps6000 (1.4.0-4~24) ...
dpkg: dependency problems prevent configuration of picoscope:
picoscope depends on libps2000a (= 1.1.0-3~41); however:
Package libps2000a is not configured yet.
dpkg: error processing picoscope (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
No apport report written because MaxReports has already been reached
ldconfig deferred processing now taking place
Errors were encountered while processing:
libps2000a
picoscope
E: Sub-process /usr/bin/dpkg returned an error code (1)
"
Any ideas/suggestions? I've no experience debuging problems with software that comes with package manager, they normally work out of the box. I do have experience with betas, but they normally come source.tgz. One thing that occures to me is that I already have libps2000a.so.1.0.0 on the system. This is on ubuntu 12.04 LTS.
Actually the Pico interfaces I have available are 2205-MSO and DrDaq, niether of which are listed as supported. Will I be able to use either of them? Is there an intention to add support?
Yours
Ian

michaelrst
Newbie
Posts: 0
Joined: Tue Jan 14, 2014 8:56 am

Re: Beta Release of Picoscope for Linux

Post by michaelrst »

I had the same problem, libps2000a has a script which wouldn't run properly, however running:
sudo apt-get install libps2000a
after the install picoscope failed, succeeded and also successfully set up picoscope.

Michael

royleith
Newbie
Posts: 0
Joined: Tue Feb 07, 2012 4:01 pm

Re: Beta Release of Picoscope for Linux

Post by royleith »

As an inveterate repository   I ignored most of your installation advice. In Kubuntu I added the repository using Muon package manager and then used Konsole to add the pgp key. (Thanks for that. I was able to add the keys for a couple of other repositories, as well!).

picoscope did not appear in Muon. I issued a sudo apt-get update and the repository appeared with no PUBKEY warning and so that seems OK.

However, sudo apt-get install picoscope fails to find the package. Is the package unavailable whilst a few more dents are knocked out of the Beta?

At this stage the excitement is just too much and so I will sit in a darkened room drinking tea until I calm down.

All power to your coding elbows. Even with a limited feature set, this might justify getting a new Linux laptop.

Roy Leith

djlegge
Newbie
Posts: 0
Joined: Tue Jan 14, 2014 9:58 am

Re: Beta Release of Picoscope for Linux

Post by djlegge »

I had the same problem with libps2000a but all I had to do was just

Code: Select all

sudo apt-get install picoscope
again and it installed fine second time around.
It's great to see this working on linux...thanks. Any plans to support the picoscope 2105 on linux ?

greg
PICO STAFF
PICO STAFF
Posts: 23
Joined: Mon Dec 16, 2013 9:09 am

Re: Beta Release of Picoscope for Linux

Post by greg »

similar to michaelrst instructions, please try:

sudo apt-get install picoscope

again if you see "Package libps2000a is not configured yet."

2205-MSO should work (although there isn't yet an interface for setting up the digital channels, but you can load a file with the settings)
DrDAQ is not yet supported.

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

Re: Beta Release of Picoscope for Linux

Post by mario_ »

Sometimes when repository is configured via ui (not via editing /etc/apt/sources.list file), apt-get update fails to pull picoscope repository db. To fix this following command needs to be run:

Code: Select all

sudo rm /var/lib/apt/lists/labs.picotech.com*
followed by

Code: Select all

sudo apt-get update
it will pull the db again.

LeifH
Newbie
Posts: 0
Joined: Tue Jan 14, 2014 12:38 pm

Re: Beta Release of Picoscope for Linux

Post by LeifH »

Hi!

I can confirm that I had to follow the advice from "mario_" and remove some apt files.
-rw-r--r-- 1 root root 0 dec 13 15:40 /var/lib/apt/lists/labs.picotech.com_debian_dists_picoscope_main_binary-i386_Packages
-rw-r--r-- 1 root root 1675 dec 13 15:40 /var/lib/apt/lists/labs.picotech.com_debian_dists_picoscope_Release
-rw-r--r-- 1 root root 490 dec 13 15:40 /var/lib/apt/lists/labs.picotech.com_debian_dists_picoscope_Release.gpg
$ sudo rm /var/lib/apt/lists/labs.picotech.com*
$ sudo apt-get update
OK! Since the *_Packages file above was empty I guess that one caused apt to not see any picoscope packages.

I'm using Debian wheezy and (unfortunately) Picoscope 2205. Picoscope on Linux ignores 2205 completely.
I would really, really like to see support for that one on Linux, please. Now I'm running it on an old w-xp machine that I control via VNC. With (or without VNC) it's way to slow and I don't wan't to start another computer to use my oscilloscope.

/Leif Hornsved

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

Re: Beta Release of Picoscope for Linux

Post by mario_ »

Glad the fix for apt-get worked for you.

Support for 2205 will come from libps2000. Driver is almost ready, expect release really soon.

Mario

LeifH
Newbie
Posts: 0
Joined: Tue Jan 14, 2014 12:38 pm

Re: Beta Release of Picoscope for Linux

Post by LeifH »

Support for 2205 will come from libps2000. Driver is almost ready, expect release really soon.
Whoaa! :D That sounds really good and promising! I didn't have much hope. Thank you!
/Leif

Post Reply