PicoScope 7 Software
Available on Windows, Mac and Linux
Code: Select all
Pico USB device found: /dev/bus/usb/001/009
- It belongs to root (which is you) who has permissions rw-
- The members of group root (which you are in) have permissions rw-
- Everyone else has permissions r--
- You can write to this device and so will be able to use it.
Code: Select all
PS2000 driver example program
Version 1.0
Opening the device...
Handle: 0
Unable to open device
Unit Not Opened
Error Code: 3
I was using the example program as root.ziko wrote:Hi I had a word with one of the engineers and here is what he had to say:
"We are aware of the problem with usbtest and it will be fixed in the next release. The rest of the output of the script should be correct, however.
The usbtest output you have posted shows that this device is only writeable by root, meaning that only the root user will be able to access the oscilloscope. So the first question is: are you running the ps2000con example program as root? If not, try doing so and see if you can access the oscilloscope. If it now works, you need to set up the file permissions for USB devices on your system so other users can access the oscilloscope: this is system-specific, but there's some guidance in the file INSTALL in the tar distribution.
I am using the picoscope 2203ziko wrote: If the example program still doesn't work when run as root we will need a bit more information: which Pico oscilloscope do you have (e.g. PicoScope 2203), which Linux distribution and version are you using? Have you successfully used this oscilloscope with a Windows PC? You could also send the output of "ls -lR /dev/bus/usb", and "cat /proc/bus/usb/devices" or "cat /dev/bus/usb/devices" (only one, or neither, of these files may exist depending on distribution).
(Aside: after the example program has displayed the error code, it is in fact waiting for you to press a key and will terminate gracefully if you do so. We ought to add a "Press any key to continue..." message to the program.)
"
Hope this helps.
Code: Select all
ls -lR /dev/bus/usb/001/003
crw-rw-r-- 1 root pico 189, 2 2009-07-01 07:00 /dev/bus/usb/001/003
Same problem here.ziko wrote:If anyone else is having a problem with the 2203 and linux, please email us at support@picotech.com
Kind regards
Code: Select all
Pico USB device found: /dev/bus/usb/001/006
- It belongs to root (which is not you) who has permissions rw-
- The members of group pico (which you are in) have permissions rw-
- Everyone else has permissions r--
- You can write to this device and so will be able to use it.
Pico USB device not found. Please try again
Code: Select all
PS2000 driver example program
Version 1.0
Opening the device...
Handle: 0
Unable to open device
Unit Not Opened
Error Code: 3
When runs to Serial, it hanging for long time.
PS2000 driver example program
Version 1.0
Opening the device...
Handle: -1
Unable to open device
Drive version: 3.6.2.0 Linux
USB version:0.0
Hardware version:0
Variant Info:
Serial:
With my PS2205 I have similar problems from time to time. Check the configuration of the VM in VirtualBox. In the USB section, there is a flag that enables USB 2.0. This flag is available only since version 4 of VirtualBox. You have to activate it. The most recent version of VirtualBox (4.1.16) seems to have a bug, the bug inverts the USB 2.0 flag. So you have to de-activate the USB 2.0 flag in order to use a USB 2.0 device.
I am not quite sure if we are talking about the same problem. But the checks I suggested above are easy to do and if they really solve the problem then you have save much time.