The Navigatrix has been updated. The new website can be found at navigatrix.net.




Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: [solved] Re: Using Picoscope 2208 with navigatrix

Joined: 08 Jan 2011, 19:07
Posts: 27
Hi Moe,

It looks like I need to compile two files in Downloads/Pico.

PS2000Acon.c

and

usbtest

When I try to run ./PS2000Acon it says that the file doesn't exist.

Thanks again,

Tim


Top
   
 
 Post subject: Re: Using Picoscope 2208 with navigatrix

Joined: 04 Nov 2010, 20:51
Posts: 1062
usbtest is a shell script in the parent directory.

To make executable you first have to make it executable. This is done one of two ways:

Through the File Manager highlight the file; right click; Properties >Permissions tab and then tick the Make the file executable box.

...or flip the executable bit
Code:
chmod +x ~/Downloads/pico/usbtest

Then run it (most likely)
Code:
sh ~/Downloads/pico/usbtest


The PS2000Acon is missing some files. They are located in Picotech's Software Development Kit.

I'll take a look and see if it can even be compiled for Linux. It might run under Wine. I don't know yet...


Top
   
 
 Post subject: Re: Using Picoscope 2208 with navigatrix

Joined: 04 Nov 2010, 20:51
Posts: 1062
Ok, are we having fun yet?

It's back to the drawing board after unsuccessfully trying many different options.

There were too many error trying to compile; the Windows software would install but not run (it relies heavily on Visual Basic, but even with VB installed under Wine...no go); I couldn't find any ready-made Linux application and so on....

Then I read "run 2205 under Ubuntu 10.04LTS, driver issue" .

What have I got to loose? Alien is already installed. I followed the instructions...it complained. I corrected my typo and then really followed the instructions...it complained but executed the command. The example software compiled without a peep.

I don't know if this will work because I've nothing to test...but what have you got to loose?


Top
   
 
 Post subject: Re: Using Picoscope 2208 with navigatrix

Joined: 08 Jan 2011, 19:07
Posts: 27
Oh yes we're having fun now...

I just ran the usb test and got the result at the bottom of the page. I'm looking into the install read.me for the fix. I'll let you know how I make out.

I looked at the link you sent me and I'm having trouble finding libps2000-2.0.7.7-1.i386.rpm. At the bottom of the page they suggested downloading the combined 2000-3000 drivers so I did that but got an error when I tried to install it per the instructions on the linked page.

I looked for the developer kit but haven't found it. I'll have more time tomorrow to see what I can find.

Thanks again for all of your help.

Tim



***************************************************************************
* Pico Technology Linux USB Diagnostics *
****************************************************************************

This script looks for Pico USB devices connected to your computer
and checks whether you are able to access them. If your user account
does not have permission to access the devices, the script will try
to suggest how to correct this for your particular Linux installation.

Press enter to continue...read: 13: arg count

Getting user and group information...
- You are running this script as nx.
- You are in the following groups:
nx adm dialout cdrom plugdev lpadmin admin netdev debian-tor sambashare

Please connect your Pico USB device and press enter to continue...read: 37: arg count

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

- It belongs to root (which is not you) who has permissions rw-
- The members of group root (which you are not in) have permissions rw-
- Everyone else (this is you) has permissions r--
- You CANNOT write to this device and so will NOT be able to use it.
Please see the driver installation instructions for assistance in
resolving this problem


Top
   
 
 Post subject: Re: Using Picoscope 2208 with navigatrix

Joined: 04 Nov 2010, 20:51
Posts: 1062
Did it look like this?
Quote:
sailor@example:~/Downloads/libps2_3000-3.6.4.4-1.i386$ sudo alien -i libps2_3000-3.6.4.4-1.i386.rpm
error: incorrect format: unknown tag
dpkg --no-force-overwrite -i libps2-3000_3.6.4.4-2_i386.deb
(Reading database ... 116641 files and directories currently installed.)
Preparing to replace libps2-3000 3.6.4.4-2 (using libps2-3000_3.6.4.4-2_i386.deb) ...
Unpacking replacement libps2-3000 ...
Setting up libps2-3000 (3.6.4.4-2) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
sailor@example:~/Downloads/libps2_3000-3.6.4.4-1.i386$


Then it worked...didn't like it..but worked.

Try running the usbtest script as root

sudo ~/Downloads/whatever/whatever/usbtest

There's an ownership issue going on. Root 'owns' the usb device. You, as a lowly user, don't. We can deal with it later. In the mean time pretend to be root with sudo.


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2


Search for:
cron

Credits © 2010 - 2024