Debian Repository

Post your Linux discussions here
Martyn
Site Admin
Site Admin
Posts: 4483
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Debian Repository

Post by Martyn »

We now have a Debian repository for Linux drivers. In the first instance this includes drivers for the PS3000a and PS6000 ranges, others will follow in due course.

To access this please use the following instructions

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 driver (libps3000a or libps6000)

sudo apt-get install libps3000a

a sample application will be installed to /opt/picoscope/share/doc/ which will then need to be moved to a user accessible area.
Martyn
Technical Support Manager

wo_gue@hotmail.com
Newbie
Posts: 0
Joined: Mon Feb 04, 2013 10:24 pm

Re: Debian Repository

Post by wo_gue@hotmail.com »

Took some time, but finally this looks pretty good.
Install, compile and running the demo worked fine on Ubuntu 12.02 amd64.
Thanks.

wo_gue@hotmail.com
Newbie
Posts: 0
Joined: Mon Feb 04, 2013 10:24 pm

Re: Debian Repository

Post by wo_gue@hotmail.com »

When I try to compile (run autgen.sh) on i386, Debian Squeeze I get an error.
Looks like Squeeze is not supported. Could you please provide ps3000a.so compiled with gcc-4.4.5-8, so this will also run on Squeeze.
Here is the corresponding outputexcerpt of config.log

Code: Select all

...
configure:14481: checking for ps3000aOpenUnit in -lps3000a
configure:14506: gcc -o conftest -g -O2   -Wl,-u,pthread_atfork -L/opt/picoscope/lib/ conftest.c -lps3000a   >&5
/opt/picoscope/lib//libps3000a.so: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
/opt/picoscope/lib//libps3000a.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/opt/picoscope/lib//libps3000a.so: undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)@GLIBCXX_3.4.15'
/opt/picoscope/lib//libps3000a.so: undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
collect2: ld returned 1 exit status
configure:14506: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Pico Technology PicoScope 3000a Example"
| #define PACKAGE_TARNAME "PS3000Acon"
| #define PACKAGE_VERSION "1.0.0"
| #define PACKAGE_STRING "Pico Technology PicoScope 3000a Example 1.0.0"
| #define PACKAGE_BUGREPORT "support@picotech.com"
| #define PACKAGE_URL ""
| #define PACKAGE "PS3000Acon"
| #define VERSION "1.0.0"
| #define LIBTOOL_VERSION_MAJOR VERSION
| #define LIBTOOL_VERSION_MINOR N
| #define LIBTOOL_VERSION_POINT
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char ps3000aOpenUnit ();
| int
| main ()
| {
| return ps3000aOpenUnit ();
|   ;
|   return 0;
| }
configure:14515: result: no
configure:14528: error: libps3000a missing!
...

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

Re: Debian Repository

Post by mario_ »

The new version of libps3000a/lips6000 is now available and has fixes for compatibility with squeeze. You may want to update it:

Code: Select all

sudo apt-get update
sudo apt-get install libps3000a
There is also initial/experimental version of libps5000a available now.

wo_gue@hotmail.com
Newbie
Posts: 0
Joined: Mon Feb 04, 2013 10:24 pm

Re: Debian Repository

Post by wo_gue@hotmail.com »

Works on squeeze now. Thanks a lot for fixing so quickly.

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

Re: Debian Repository

Post by mario_ »

Initial version of libps2000a now available.

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

Re: Debian Repository

Post by mario_ »

New versions have been released:
libps2000a 1.0.2-1
libps3000a 1.0.5-3
libps5000a 1.0.2-2
libps6000 1.3.5-2

Apart general bugfix there was one critical issue addressed across all ranges, where block mode was returning wrong data on 64bit drivers. Upgrade is advised. Refer to changelog of each package to see more.

ninharp
Newbie
Posts: 0
Joined: Thu Dec 19, 2013 6:54 pm

Re: Debian Repository

Post by ninharp »

The 64bit Drivers wont work on Debian Wheezy by now! Is there any possibility to get it run under Debian Wheezy?

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

Re: Debian Repository

Post by Martyn »

Which device do you have?
Martyn
Technical Support Manager

ninharp
Newbie
Posts: 0
Joined: Thu Dec 19, 2013 6:54 pm

Re: Debian Repository

Post by ninharp »

I got a 2203

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

Re: Debian Repository

Post by Martyn »

Sorry the 2203 is not currently supported by these new drivers.
Martyn
Technical Support Manager

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

Re: Debian Repository

Post by mario_ »

The list of available drivers in repository has been extended to:
libps2000
libps2000a
libps3000
libps3000a
libps5000
libps5000a
libps6000

Therefore list of Linux supported devices covers whole 2xxx/3xxx/5xxx/6xxxx ranges.

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

Re: Debian Repository

Post by greg »

libps4000 has been added to the repository - supporting the PicoScope 4000 Series.

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

Re: Debian Repository

Post by mario_ »

Two more drivers were added - libpl1000 supporting data loggers from PicoLog 1000 series and libusbdrdaq for DrDAQ Data Logger.

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

Re: Debian Repository

Post by mario_ »

Another yet possibly final for now set of drivers has been added to the repository: libusbpt104, libusbtc08 and libplcm3.

Post Reply