New Linux Drivers

Look here for drivers, example code and projects using the DrDaq with Linux
Post Reply
Martyn
Site Admin
Site Admin
Posts: 4577
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

New Linux Drivers

Post by Martyn »

We have produced Linux drivers for x86 and arm.
Attachments
USBDrDAQ_armel.tar.gz
arm - Drivers and example code
(153.85 KiB) Downloaded 1120 times
USBDrDAQ_x86.tar.gz
x86 - Drivers and example code
(164.48 KiB) Downloaded 1171 times
Martyn
Technical Support Manager
Martyn
Site Admin
Site Admin
Posts: 4577
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: New Linux Drivers

Post by Martyn »

Drivers update
Attachments
USBDrDAQ_x86.tar.gz
(163.74 KiB) Downloaded 1124 times
USBDrDAQ_armel.tar.gz
(153.02 KiB) Downloaded 1106 times
Martyn
Technical Support Manager
srinath_umd
Newbie
Posts: 0
Joined: Fri Jun 29, 2012 4:20 am

Re: New Linux Drivers

Post by srinath_umd »

Hi Martyn

I tried installing the previous version of the drivers on my Ubuntu 10.04 for my pico 2203.
Didn't have success. Please provide a howto on the usage.

Even in Windows if i try to connect 10 times, i succeed only once. I am quite disappointed as i had such great hopes with pico

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

Re: New Linux Drivers

Post by Martyn »

These drivers are for the USB DrDaq not the PicoScope 2203
Martyn
Technical Support Manager
dave_g22
Newbie
Posts: 0
Joined: Sun Jul 15, 2012 10:40 am

Re: New Linux Drivers

Post by dave_g22 »

Hi srinath_umd,

to get the drivers for the 2xxx series some more actions are needed. The package supplied by picotech is for Fedora I think.

First you need to transform the rpm to dpkg:

* You need to install a package called alien:
sudo apt-get install alien

* You need to transform the rpm package supplied by picotech:
alien -i package-name.rpm
i.e.: alien -i libps2_3000-3.6.4.4-1.i386.rpm for i386 architecture

* You need to install the created deb package:
sudo dpkg -i package-name.deb

* Create a group pico:
sudo addgroup --system pico

* Add your user to the group:
useradd -G pico

* You probably need to logout/login to update user/group stuff

Picotech provided a udev rules file that gives options, how the system shall behave, when a pico usb device is connected. I tried it, but it doesnt work on my ubuntu machine. Therefore I changed it a little:

old: SYSFS{idVendor}=="0ce9", ATTRS{idVendor}=="0ce9", MODE="664",GROUP="pico"
new: ATTRS{idVendor}=="0ce9", MODE="664", GROUP="pico", OWNER="root"

* You need to copy the modified file to /etc/udev/rules.d

* You need to change the rights of the copied file:
sudo chmod 644 95-pico.rules

* After that check your work with the provided usbtest

* Compile the example
(did not work): gcc -lps3000 PS3000con.c
(worked): gcc PS3000con.c -lps3000

Good luck.

I tried the driver with the ps3204 on an (K)Ubuntu 12.04 x64 machine.

Regards,
Dave

@picotech
Thx for Linux support.
Post Reply