11-01-2006 04:42 AM
12-08-2006 10:33 PM
When I run labview as a normal user I don't see the USB device when I use VISA Find Resource. I did a chmod 666 for the device (002) under /proc/bus/usb/004. But that didn't help.I was able to fix this by executing:
cd /proc/bus/usb chmod -R 777 * cd .usbfs chmod -R 777 *
When I run labview as root I can see the device with VISA Find Resource: USB0::0x04B4::0x0002::NI-VISA-4002::RAW But when I try to open the device with the returned string I get error 0xBFFF0000, Unknown system error (misellaneous error)I have not been able to figure this out yet, if you have figured the problem out since you posted your message I would appreciate any help you can give me!
12-11-2006 06:57 AM
cd /proc/bus/usb chmod -R 777 * cd .usbfs chmod -R 777 *
I tried this, but it still doesn't work for me. I don't have the .usbfs directory on my suse 10 installation, but I have set all other files and dirs to 777.
When I run labview as root I can see the device with VISA Find Resource: USB0::0x04B4::0x0002::NI-VISA-4002::RAW But when I try to open the device with the returned string I get error 0xBFFF0000, Unknown system error (misellaneous error)I have not been able to figure this out yet, if you have figured the problem out since you posted your message I would appreciate any help you can give me!
I solved the problem for my device. I tried to test the usb capabilities with an old usb kit from cypress. It included an usb device with an onboard temperature sensor. Apparently someone wrote a linux driver for it, because it was detected by the kernel. To test it with usb visa I simply removed the linux driver. But I wasn't able to open the device with visa. I finally used another usb device (usb can interface), which wasn't recoqnized by linux and it worked immediately.So my guess is is that the linux kernel shouldn't recoqnize your device otherwise the usbfs interface will not work.