[Eisfair] SANE mit scanbd oder scanbuttond

Stefan Puschek stefan.puschek at t-online.de
Sa Feb 13 20:42:10 CET 2021


Hallo Holger,
>>> /var/install/bin/add-user-to-additional-group -g scanner -u wwwrun
>>
> 
> ls -l /dev/bus/usb/001

barbrady # ls -l /dev/bus/usb/001
total 0
crw-rw-r-- 1 root root 189, 0 Feb 13 20:14 001
crw-rw-r-- 1 root root 189, 1 Feb 13 20:30 002
barbrady #

> du musst scanbuttond anhalten

ändert nix

> /etc/init.d/sane scanbd-stop
> 
>> barbrady # su wwwrun
>> barbrady # sane-find-scanner
> 
> scanimage -L

barbrady # scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
barbrady #

>> could not open USB device 0x04a9/0x220d at 001:002: Access denied
>> (insufficient permissions)
> 
>              ^^^^^^^^^^^^^^^^^
> 
>> worauf genau will sane-find-scanner denn access haben?

barbrady # lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
barbrady #

der scanner ist doch
barbrady # ls -l /dev/bus/usb/001/002
crw-rw-r-- 1 root root 189, 1 Feb 13 20:30 /dev/bus/usb/001/002
barbrady #

wenn ein Programm mit dem Scanner "reden" will, müsste das dann für 
non-root-user micht 666=rw-rw-rw- sein?

und eine Ebene höher vielleicht auch???

Groetjes
Stefan



Mehr Informationen über die Mailingliste Eisfair