I wrote a udev rule:
rose@beaglebone1:/home/rose(42)$ ll /etc/udev/rules.d/52-usblib.rules
-rw-r--r-- 1 root root 122 Oct 12 20:42 /etc/udev/rules.d/52-usblib.rules
rose@beaglebone1:/home/rose(43)$ cat /etc/udev/rules.d/52-usblib.rules
SUBSYSTEM="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="0547",
ATTR{idProduct}=="a00a", MODE="0664", GROUP="users"
The same rule worked on other linux systems like a charm. At the beaglebone
a test programm started by an ordinary user hangs with a USB error:
rose@beaglebone1:/home/rose/Txt/projects/(40)$ ./chk_cam.sh
libusb: 0.000000 error [op_kernel_driver_active] get driver failed error -1
errno 9
libusb: 0.001356 error [op_claim_interface] claim interface failed, error
-1 errno 9
^C
If I start the programm as root, it works without problems:
root@beaglebone1:/mnt/home_leopard/rose/Txt/projects/(2)# ./chk_cam.sh
[InitDevice] return 0.
[DeviceCount] find 1 devices!
,,,
Any hint is appreciated.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.