On 10/8/07, Folkert van Heusden <[EMAIL PROTECTED]> wrote: > Hi, > > In test_libhid.c I found the following code/text regarding hid_force_open: > > > * To open the HID, you need permission to the file in the /proc usbfs > > * (which must be mounted -- most distros do that by default): > > * mount -t usbfs none /proc/bus/usb > > * You can use hotplug to automatically give permissions to the device on > > * connection. Please see > > * http://cvs.ailab.ch/cgi-bin/viewcvs.cgi/external/libphidgets/hotplug/ > > * for an example. Try NOT to work as root! > > Now I was wondering: > - is there an udev solution for this?
Of course. Actually udev rules are preferred in newer distros since they may not support hotplug rules. Here is a good reference. http://piklab.sf.net/files/libusb_udev_hotplug.txt Xiaofan _______________________________________________ libhid-discuss mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss

