Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Setting up udev

you need udev in order to use the usb without root privileges

Setup on SL4/SL5

prepare a file called
/etc/udev/rules.d/usbdaq.sh

Code Block
#!/bin/sh
chown caliceon $1
chmod 660 $1

thenĀ  create a file /etc/udev/rules.d/51-usbdaq.rules

containing the following line

Code Block
 ENV{UDEVD_EVENT}=="1", ACTION=="add", SYSFS{idVendor}=="0bd7", SYSFS{idProduct}=="1003", RUN+="/etc/udev/rules.d/usbdaq.sh $env{DEVNAME}"