[sane-devel] plustek backend failing to open device under non-root

Yury Tarasievich yury.tarasievich at gmail.com
Thu Sep 10 19:40:14 UTC 2015


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?



More information about the sane-devel mailing list