Skip to end of metadata
Go to start of metadata
Table of Contents

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

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

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

containing the following line

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