udev rules script not working, ideas why?
Posted: Fri Jan 25, 2013 12:23 pm
This works on Ubuntu 10.04 but not LM13.
I'm trying to add the "drivers" for an Acces I/O Products USB A/D, D/A, & DIO device. The company's instructions are poor and their scripts on the installation CD are incorrect for the device I ordered, so I don't recommend them. But I fixed the scripts and got it working on Ubuntu 10.04.
On LM13 the udev script does not appear to run
All my file permisions match what is on the rules files setup by the installation.
The relavant part of my 10-acces_usb.rules script in /etc/udev/rules.d:
The fxload package has been installed. If I run their perl installation script (which I correced as well) the firmware loads and the device works.
I need the udev hotplug system to work for this device, any ideas what might be wrong?
lsusb output after device insertion:
Bus 001 Device 005: ID 1605:0140
lsusb output after firmware is loaded by the perl script:
Bus 001 Device 006: ID 1605:8140
On Ubuntu 10.04 you never really see the 1605.0140 as once udev loads the firmware the device disconnects and reconnects as 1605:8140.
I'm trying to add the "drivers" for an Acces I/O Products USB A/D, D/A, & DIO device. The company's instructions are poor and their scripts on the installation CD are incorrect for the device I ordered, so I don't recommend them. But I fixed the scripts and got it working on Ubuntu 10.04.
On LM13 the udev script does not appear to run
All my file permisions match what is on the rules files setup by the installation.
The relavant part of my 10-acces_usb.rules script in /etc/udev/rules.d:
Code: Select all
# USB-AIO16-16A
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="1605", SYSFS{idProduct}=="0140", RUN+="/sbin/fxload -t fx2 -D $tempnode -I /usr/share/usb/USB-AIO16-16A.hex"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="1605", SYSFS{idProduct}=="8140", RUN+="/bin/chmod 0666 $tempnode"
I need the udev hotplug system to work for this device, any ideas what might be wrong?
lsusb output after device insertion:
Bus 001 Device 005: ID 1605:0140
lsusb output after firmware is loaded by the perl script:
Bus 001 Device 006: ID 1605:8140
On Ubuntu 10.04 you never really see the 1605.0140 as once udev loads the firmware the device disconnects and reconnects as 1605:8140.