Test and Measurement Forum

Picoscope doesn't works under Ubuntu after last updates

Discussion forum for the new Picoscope Linux software

Picoscope doesn't works under Ubuntu after last updates

Postby Boremi » Mon Aug 25, 2014 11:52 am

After my holidays, (3 weeks without using picoscope), my picoscope doesn't works with Ubuntu 14.04.
This morning, there was an update for the picoscope. May be it doesn't works ?

The USB interface is detected (see with lsusb: Bus 001 Device 012: ID 0ce9:1016 pico Technology).
But the piscoscope software locks with enumerating devices.

I have a Win XP in a VMWare windows, if i connect the picoscope USB device to the VMWare, the Windows version of picoscope software works corectly.

What can i do ?

Best regards
Boremi
Newbie
 
Posts: 0
Joined: Wed Jul 09, 2014 7:29 am

Re: Picoscope doesn't works under Ubuntu after last updates

Postby mario_ » Tue Aug 26, 2014 3:18 pm

Hi Boremi,

You could try starting Picoscope without device connected. then Demo device dialogue should popup, to which you should agree. In Help/About version number should be presented - the latest is 6.10.1.12. Is it the same for you?

You could try reinstalling Picoscope:
Code: Select all
sudo apt-get install --reinstall picoscope


You could try following to fix Picoscope permission scheme:
Code: Select all
sudo dpkg-reconfigure picoscope

Choose non-automatic mode and make sure your current user is selected. You may require system restart if any changes were made - of which you should be notified by the installer.

You could try starting picoscope without management script:
Code: Select all
cd /opt/picoscope/lib
mono PicoScope.GTK.exe

Console will be filled with diagnostic messages. Same will be stored in ~/.local/share/Pico Technology/some-numbers-with-dashes/trace.xml Either contents of this file or whatever is on your console should help us narrow the problem, should you choose to provide it.

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

Re: Picoscope doesn't works under Ubuntu after last updates

Postby antonio.galea » Thu Aug 28, 2014 6:27 am

Same problem here on Debian Wheezy, with a 2205 MSO scope that used to work a month ago.

Checked permissions with usbtest: it recognizes the scope and says my user is ok, but scope configuration fails with a bus reset:

reset high-speed USB device number 50 using ehci_hcd

Tested with ps2000acon and PicoScope on a 386 desktop and an amd64 laptop. On the laptop I've tried a few older versions of libps2000a and different kernel versions (3.2, 3.12, 3.13,3.14): no way, it always resets the bus.

To be more specific: ps2000acon calls OpenDevice(), the bus resets before the scope can ack something and the program stalls. If I wait for a few seconds and unplug the scope, ps2000acon gets to the menu and shows the correct model and serial number (but of course it does not interact with it any more). So AFAIKT OpenDevice() correctly recognized the scope, but likely fails during a configuration phase.

On the same laptop with Windows7 I can use the scope without a glitch.

If you need me to help you in debugging the issue, I'm more than willing to help - I need the scope to work under Linux again.

Thanks in advance,

Antonio
antonio.galea
Newbie
 
Posts: 0
Joined: Thu Aug 28, 2014 6:04 am

Re: Picoscope doesn't works under Ubuntu after last updates

Postby mario_ » Thu Aug 28, 2014 9:24 am

Hi,

The fixed version is now published. It was timing issue causing firmware only on this particular device (2205MSO) to crash.

Thanks for your help in narrowing the issue.

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

Re: Picoscope doesn't works under Ubuntu after last updates

Postby antonio.galea » Thu Aug 28, 2014 10:09 am

mario_ wrote:Hi,
The fixed version is now published. It was timing issue causing firmware only on this particular device (2205MSO) to crash.
Thanks for your help in narrowing the issue.

Regards,
Mario


Wow, are you guys always that fast? I'm impressed!

I just installed the software, but I don't have the scope with me today - will test as soon as I can.

Thank you very much and kudos for such a great support,

Antonio

PS: Just for the record, there's a minor quirk with the new .deb packages:

Code: Select all
Setting up libps2000a (1.1.2-5r07) ...
/var/lib/dpkg/info/libps2000a.postinst: line 158: [: argument expected
Setting up picoscope (6.10.1-4r13) ...
/var/lib/dpkg/info/picoscope.postinst: line 174: [: argument expected


The offending command is the same:

Code: Select all
if [ "$RET" != "true" -a ];


I think the correct version should be the following one:

Code: Select all
if [ "x$RET" != "xtrue" ];


In any event, the installation completes.

Thanks again!
antonio.galea
Newbie
 
Posts: 0
Joined: Thu Aug 28, 2014 6:04 am

Re: Picoscope doesn't works under Ubuntu after last updates

Postby antonio.galea » Thu Aug 28, 2014 5:49 pm

mario_ wrote:Hi,
The fixed version is now published. It was timing issue causing firmware only on this particular device (2205MSO) to crash.


Hello Mario,
just a line to confirm that the new release fixes the problem.

Thank you very much,

Antonio
antonio.galea
Newbie
 
Posts: 0
Joined: Thu Aug 28, 2014 6:04 am

Re: Picoscope doesn't works under Ubuntu after update 6.10.1

Postby Boremi » Wed Nov 12, 2014 8:14 am

Hello,

This morning, there is a new update for Linux PicoScope 6 Beta (version 6.10.1.25) for my picoscope PS2205MSO.
And now the software doesn't start.

After the splash screen, the software main window appears and after few seconds, the window closes itself.

I try the three suggestions given on Tue Aug 26, 2014 4:18 pm
- sudo apt-get install --reinstall picoscope
- sudo dpkg-reconfigure picoscope
- cd /opt/picoscope/lib AND mono PicoScope.GTK.exe

Nothing is working

Could you suggest a solution ?
Boremi
Newbie
 
Posts: 0
Joined: Wed Jul 09, 2014 7:29 am

Re: Picoscope doesn't works under Ubuntu after last updates

Postby mario_ » Wed Nov 12, 2014 9:05 am

Hi Boremi,

Code: Select all
cd /opt/picoscope/lib && mono PicoScope.GTK.exe


Above should produce at least minimal output, than can help us understand what is actually happening. You could also try starting PicoScope without device plugged in and check if Demo mode works.

Was this only PicoScope that got upgraded this morning? You can review that investigating contents of /var/log/apt/history.log

Also there is known incompatibility bug - PicoScope crashes on certain calls to libgdiplus.so. Those crashes are intermittent - sometimes crash occurs 6 times in a row while starting, other times it works for weeks without even showing the symptoms.

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

Re: Picoscope doesn't works under Ubuntu after last updates

Postby Boremi » Fri Nov 14, 2014 8:10 am

Hello


Starting picoscope with
Code: Select all
cd /opt/picoscope/lib && mono PicoScope.GTK.exe
open a white window then this window is greyed then software crash and a Ubuntu crash report is opened 'mono-sgen stops for an unexceptated reason'.

Same command without picoscope connected starts normally. I can select the demo mode which works fine.

History.log
Code: Select all
Start-Date: 2014-11-12  08:37:15
Commandline: aptdaemon role='role-commit-packages' sender=':1.74'
Upgrade: libreoffice-pdfimport:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libreoffice-base-core:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), ure:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libreoffice-writer:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libps6000:amd64 (1.4.4-6r12, 1.4.4-6r17), libusbdrdaq:amd64 (1.0.4-1r06, 1.0.4-1r09), libreoffice-impress:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), uno-libs3:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libreoffice-avmedia-backend-gstreamer:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libreoffice-base:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libjavascriptcoregtk-3.0-0:amd64 (2.4.4-1~ubuntu1, 2.4.7-1~ubuntu1), libwebkitgtk-1.0-0:amd64 (2.4.4-1~ubuntu1, 2.4.7-1~ubuntu1), libreoffice-help-fr:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libreoffice-draw:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), gir1.2-javascriptcoregtk-3.0:amd64 (2.4.4-1~ubuntu1, 2.4.7-1~ubuntu1), libps5000:amd64 (1.5.4-3r11, 1.5.4-3r14), fonts-opensymbol:amd64 (102.6+LibO4.2.6.3-0ubuntu1, 102.6+LibO4.2.7-0ubuntu1), mount:amd64 (2.20.1-5.1ubuntu20.2, 2.20.1-5.1ubuntu20.3), libreoffice-core:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libreoffice-gnome:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), chromium-codecs-ffmpeg-extra:amd64 (37.0.2062.120-0ubuntu0.14.04.1~pkg1049, 38.0.2125.111-0ubuntu0.14.04.1.1061), libreoffice-sdbc-firebird:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), wine:amd64 (1.7.28-0ubuntu2~ppa1, 1.7.30-0ubuntu1~ppa1), libps4000:amd64 (1.2.4-2r11, 1.2.4-2r14), libuuid1:amd64 (2.20.1-5.1ubuntu20.2, 2.20.1-5.1ubuntu20.3), libuuid1:i386 (2.20.1-5.1ubuntu20.2, 2.20.1-5.1ubuntu20.3), libmount1:amd64 (2.20.1-5.1ubuntu20.2, 2.20.1-5.1ubuntu20.3), libps2000a:amd64 (1.1.4-5r17, 1.1.4-5r19), libreoffice-presentation-minimizer:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), curl:amd64 (7.35.0-1ubuntu2.1, 7.35.0-1ubuntu2.2), libreoffice-style-human:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libps3000:amd64 (3.7.5-3r10, 3.7.5-3r13), language-pack-gnome-en:amd64 (14.04+20140707, 14.04+20141110), libreoffice-help-en-us:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libpl1000:amd64 (1.0.7-1r06, 1.0.7-1r09), libps3000a:amd64 (1.4.4-6r20, 1.4.4-6r22), bsdutils:amd64 (2.20.1-5.1ubuntu20.2, 2.20.1-5.1ubuntu20.3), libreoffice-ogltrans:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libwebkitgtk-3.0-0:amd64 (2.4.4-1~ubuntu1, 2.4.7-1~ubuntu1), language-pack-gnome-fr:amd64 (14.04+20140707, 14.04+20141110), xserver-xorg-video-intel:amd64 (2.99.910-0ubuntu1.2, 2.99.910-0ubuntu1.3), uuid-runtime:amd64 (2.20.1-5.1ubuntu20.2, 2.20.1-5.1ubuntu20.3), python3-uno:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libreoffice-common:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libps2000:amd64 (2.1.4-3r11, 2.1.4-3r14), picoscope:amd64 (6.10.1-4r22, 6.10.1-4r25), libreoffice-sdbc-hsqldb:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libreoffice-gtk:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libreoffice-java-common:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libps4000a:amd64 (1.0.4-2r12, 1.0.4-2r15), libcurl3:amd64 (7.35.0-1ubuntu2.1, 7.35.0-1ubuntu2.2), libreoffice-l10n-fr:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), linux-firmware:amd64 (1.127.8, 1.127.10), libwebkitgtk-3.0-common:amd64 (2.4.4-1~ubuntu1, 2.4.7-1~ubuntu1), libblkid1:amd64 (2.20.1-5.1ubuntu20.2, 2.20.1-5.1ubuntu20.3), libwebkitgtk-1.0-common:amd64 (2.4.4-1~ubuntu1, 2.4.7-1~ubuntu1), util-linux:amd64 (2.20.1-5.1ubuntu20.2, 2.20.1-5.1ubuntu20.3), libjavascriptcoregtk-1.0-0:amd64 (2.4.4-1~ubuntu1, 2.4.7-1~ubuntu1), libps5000a:amd64 (1.1.4-5r12, 1.1.4-5r15), language-pack-en:amd64 (14.04+20140707, 14.04+20141110), libreoffice-base-drivers:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), gir1.2-webkit-3.0:amd64 (2.4.4-1~ubuntu1, 2.4.7-1~ubuntu1), language-pack-fr:amd64 (14.04+20140707, 14.04+20141110), libreoffice-math:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libreoffice-calc:amd64 (4.2.6.3-0ubuntu1, 4.2.7-0ubuntu1), libcurl3-gnutls:amd64 (7.35.0-1ubuntu2.1, 7.35.0-1ubuntu2.2)
End-Date: 2014-11-12  08:40:09
Boremi
Newbie
 
Posts: 0
Joined: Wed Jul 09, 2014 7:29 am

Re: Picoscope doesn't works under Ubuntu after last updates

Postby mario_ » Fri Nov 14, 2014 8:33 am

Hi Boremi,

Please verify that your user is in pico group (getent group pico) and the contents of udev rule is as follows (cat /etc/udev/rules.d/95-pico.rules ):
Code: Select all
ATTRS{idVendor}=="0ce9", MODE="664", GROUP="pico"



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

Re: Picoscope doesn't works under Ubuntu after last updates

Postby Boremi » Thu Nov 20, 2014 11:06 am

Please verify that your user is in pico group (getent group pico)

Code: Select all
getent group pico
pico:x:999:remi

I am in the Pico Group

and the contents of udev rule is as follows (cat /etc/udev/rules.d/95-pico.rules ):

Code: Select all
cat /etc/udev/rules.d/95-pico.rules
ATTRS{idVendor}=="0ce9", MODE="664", GROUP="pico"

It is also OK

Rémi
Boremi
Newbie
 
Posts: 0
Joined: Wed Jul 09, 2014 7:29 am

Re: Picoscope doesn't works under Ubuntu after last updates

Postby mario_ » Mon Nov 24, 2014 9:03 am

Hi Rémi,

As mentioned earlier, without output from `mono PicoScope.GTK.exe` we won't be able to get the starting point in our investigation. Either paste it here or provide trace.xml file (attach here or send to support@picotech.com). This file can be found in following directory: "/home/remi/.local/share/Pico Technology/260a68f1-c314-451b-830f-0a5e01d65514/"

Another thing to try is reset default/startup settings - move or delete folder mentioned earlier: "/home/remi/.local/share/Pico Technology/260a68f1-c314-451b-830f-0a5e01d65514/"


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

Re: Picoscope doesn't works under Ubuntu after last updates

Postby Boremi » Tue Nov 25, 2014 1:57 pm

Hello, I just received a mail from Hitesh:

Hello Rémi,

This is a follow up e-mail to let you know that the issue relating to the crash when a digital trigger is selected in the PicoScope 6 for Linux software has been fixed.

You can update the software using the appropriate update command.

Please note, although the crash has been fixed, there was a note on the bug report to state that the digital trigger settings are not restored properly. If you find this to be case as well, please let me know.

Regards,

Hitesh


Unfortunately there is no update available on http://labs.picotech.com/debian/ picoscope main

The package date is always 11-Nov-2014
So my software version is still 6.10.1.25.

Please, could you put the new version on line ?

Best regards
Rémi
Boremi
Newbie
 
Posts: 0
Joined: Wed Jul 09, 2014 7:29 am

Re: Picoscope doesn't works under Ubuntu after last updates

Postby Martyn » Tue Nov 25, 2014 3:31 pm

That version should have fixed the issue, we will take a look to see what is happening.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2338
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Picoscope doesn't works under Ubuntu after last updates

Postby Boremi » Mon Dec 08, 2014 11:57 am

Hello,

After a long days, here is the trace.xml you asked me.

I was unabled to sent the command `mono PicoScope.GTK.exe`.
I got an error '/usr/lib/mono/2.0/mscorlib.dll' is missing.
When i look in the folder /usr/lib/mono/ i only see 4.0 and 4.5 sub-folders.
So i had to intall mono-complete ! Now I have alse 2.0 sub-folder.

I hope it help you to find my problem.

Best regards

Rémi
Attachments
trace.xml
(11 KiB) Downloaded 90 times
Boremi
Newbie
 
Posts: 0
Joined: Wed Jul 09, 2014 7:29 am

Next

Return to PicoScope for Linux

Who is online

Users browsing this forum: No registered users and 0 guests