Test and Measurement Forum

New Linux Drivers

Look here for drivers, example code and projects using the DrDaq with Linux

New Linux Drivers

Postby Martyn » Fri Jun 08, 2012 8:39 am

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

Re: New Linux Drivers

Postby Martyn » Thu Jun 21, 2012 7:04 am

Drivers update
Attachments
USBDrDAQ_x86.tar.gz
(163.74 KiB) Downloaded 271 times
USBDrDAQ_armel.tar.gz
(153.02 KiB) Downloaded 287 times
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2348
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: New Linux Drivers

Postby srinath_umd » Fri Jun 29, 2012 5:23 am

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
srinath_umd
Newbie
 
Posts: 0
Joined: Fri Jun 29, 2012 4:20 am

Re: New Linux Drivers

Postby Martyn » Fri Jun 29, 2012 6:37 am

These drivers are for the USB DrDaq not the PicoScope 2203
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2348
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: New Linux Drivers

Postby dave_g22 » Sun Jul 15, 2012 11:17 am

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 <username>

* 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.
dave_g22
Newbie
 
Posts: 0
Joined: Sun Jul 15, 2012 10:40 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests