Will depend on your linux distro, some use hal instead of udev rules, or some other thing. It is best to ask on a distro-specific forum just how your particular distro version manages device permissions.
allan On Thu, Sep 10, 2015 at 3:40 PM, Yury Tarasievich <[email protected]> wrote: > I'm having an issue of plustek backend (sane-backends-git20150807) failing > to open the device under a non-root account. Can't use scanimage, can't use > xsane. Scanning under root works fine. > > > The account is added to `scanner` group. Sane udev rules in > /etc/udev/rules.d mention `scanner` group. > > However, strangely, when Canon LIDE 25 is plugged in, the device node is > created with group owner `lp` and mode 664, however. Can't find the reason. > The account is in group `lp`, too. > > Ultimately, when trying to do scanimage on specific device, like > > env SANE_DEBUG_DLL=255 SANE_DEBUG_PLUSTEK=255 scanimage -d > plustek:/dev/bus/usb/001/006 > > right now, I'm getting this > > ... > [plustek] usbDev_open(auto,) - 0x157b040 > [plustek] sanei_access_lock failed: 11 > [plustek] open failed: -1 > [dll] init: backend `plustek' is version 1.0.0 > [plustek] sane_open - /dev/bus/usb/001/006 > [plustek] attach (/dev/bus/usb/001/006, 0x7fff95e05960, 0x7fff95e058c8) > [plustek] Device configuration: > ... > > and subsequently this > > ... > [plustek] usbDev_open(/dev/bus/usb/001/006,) - 0x157b040 > [plustek] No supported device found! > [plustek] open failed: -1 > scanimage: open of device plustek:/dev/bus/usb/001/006 failed: Error during > device I/O > ... > > Could anybody advise, please? > > -- > sane-devel mailing list: [email protected] > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to [email protected] -- "well, I stand up next to a mountain- and I chop it down with the edge of my hand" -- sane-devel mailing list: [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to [email protected]
