|
LIBUSB - usb driver with non-root credentials
- I am trying to connect a USB device (driver for which is written using libusb) with non-root credentials...the app. runs fine with root credentials. I am running fedora core 6 ( 2.6.20-1.2933.fc6).
- The udev persmissions file /etc/security/console.perms.d/ispvme.perms has -
<ispvme>=/dev/ispvme* <console> 0600 <ispvme> 0600 root
- The /etc/udev/rules.d/76-ispvme.rules for PAM has :
SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=="8001", SYSFS{idProduct}=="1134", SYMLINK+="ispvme-%k"
After skill of udevd and respawn, {$/sbin/lsusb} spits the following when the device is connected-
Bus 005 Device 005: ID 1134:8001.
It never lists the device with the symbolic link "ispvme-*" under /dev/ and I cannot run the app. with non-root credentials.
I am really at my wits end with this issue. You see anything wrong with any of the above settings? Any inputs will be greatly appreciated...
Thank you.
PS - This is what udev.conf file bears -
udev_root="/dev/"
udev_db="/dev/.udevdb"
udev_rules="/etc/udev/rules.d/"
udev_permissions="/etc/udev/permissions.d/"
default_mode="0660"
udev_log="err"
Last edited by Sorab; 04-24-2007 at 09:16 PM.
|