On Tuesday 09 May 2006 19:07, Henning Meier-Geinitz wrote: >[...] > By default, SANE generates a udev rules file like this: > > ACTION!="add", GOTO="libsane_rules_end" > SUBSYSTEM!="usb_device", GOTO="libsane_rules_end" > > # Hewlett-Packard ScanJet 4100C > SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0101", MODE="660", > GROUP="scanner" [...] > LABEL="libsane_rules_end" > > Does this still work?
The above rules do not work with an older version of libusb (e.g. 0.1.10a shipped with SUSE 10.0). This version looks at /proc/bus/usb first. If the usbfs is mounted, which is normally true, libusb will open a device node in /proc/bus/usb (not in /dev/bus/usb) which is normally not writable by non-root users and is not affected by the above rules. Anyway, I suggest we should stick with the above udev rules. For those who has an older libusb (like me), exporting USB_DEVFS_PATH=/dev/bus/usb as a system wide environment variable could help. Regards -- Wittawat Yamwong Hannover, Germany