08-11-2009 11:01 AM - edited 08-11-2009 11:01 AM
Hi,
I'm a real beginner at Unix, so please be patient 🙂
I have just installed Mandriva 2009 and LabVIEW 2009 on my laptop. My objective is to drive a USB raw device.
I went through some difficulties to install NI-VISA 4.5 and solved them by browsing in the forum. Some issues remain:
- As I am not familiar with Unix, I am not sure to understand what "usbfs should be mounted with devmode=0666". Could someone tell me the rigth command line to enter?
- When running AddUsbRawPermissions.sh, I am told that /etc/hotplug cannot be found. Reading the script, I saw that it is looking for /sbin/udevcontrol. I don't have it, I only have under /sbin the "udevadm" and "udevd" executables.
- When running the VISA driver wizard, I only have access to PXI/PCI. Maybe it is related to former points.
- When trying to launch the VISA Interactive Control, I get a nice bouncing cursor animation, but nothing else.
- When trying to use the "VISA Find Resource" VI, Labview just crashes.
Thank you in advance for your answers.
Achille
08-12-2009 02:32 AM
Hello,
First, you should allow software to use USB devices by entering this command :
mount -o devmode=0666 usbfs /proc/bus/usb
or this one :
mount -o remount,devmode=0666 usbfs /proc/bus/usb
And then tell me if you are still getting the same issues.
Regards,
08-12-2009 03:22 AM
Hello,
First command line generated an error (translation from French: mount: you must specify the file system type). Second command line seemed to work. At least it didn't cause an error. Therefore I went ahead and tried the AddUsbRawPermissions.sh script, leading to the same error: -Cannot find "/etc/hotplug".-
Besides, VISA Driver Wizard and VISA Interactive Control still behave the same way.
Regards,
Achille