[Eisfair] SANE mit scanbd oder scanbuttond

Stefan Puschek stefan.puschek at t-online.de
Sa Feb 13 19:31:56 CET 2021


Hallo Holger,
> 
>>> wie ist der denn vorher gelaufen
>>
>> ääääh: was GENAU willst Du von mir wissen? Ich verstehe die Frage nicht:
>> Bis heute Mittag lief er.
> 
> welche Einstellungen waren fuer phpSANE gemacht worden

ich habe mal hier die NG durchgewühlt:
am 18.4.15 schrieb ich in "sane - Erfolgserlebnis und Frage"
(keine Ahnung, wie ich hier im Thunderbird auf den alten Thread 
verlinke), dass ich nix ändern musste

>>> ja weil scanbuttond da die Finger drauf hat
>>
>> Moment: warum klappt das wohl als user root - aber nicht als user
>> wwwrun? er sagt ja "insufficient permissions"
> 
> ja, benutzt du da das sane Menu   'Scan image'

nein:

als root
barbrady # whoami
root
barbrady # sane-find-scanner

   # sane-find-scanner will now attempt to detect your scanner. If the
   # result is different from what you expected, first make sure your
   # scanner is powered up and properly connected to your computer.

   # No SCSI scanners found. If you expected something different, make 
sure that
   # you have loaded a kernel SCSI driver for your SCSI adapter.
   # Also you need support for SCSI Generic (sg) in your operating system.
   # If using Linux, try "modprobe sg".

found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan], 
chip=LM9832/3) at libusb:001:002
   # Your USB scanner was (probably) detected. It may or may not be 
supported by
   # SANE. Try scanimage -L and read the backend's manpage.

   # Not checking for parallel port scanners.

   # Most Scanners connected to the parallel port or other proprietary ports
   # can't be detected by this program.
barbrady #

-----------------------

und als wwwrun
barbrady # su wwwrun
barbrady # whoami
wwwrun
barbrady # sane-find-scanner

   # sane-find-scanner will now attempt to detect your scanner. If the
   # result is different from what you expected, first make sure your
   # scanner is powered up and properly connected to your computer.

   # No SCSI scanners found. If you expected something different, make 
sure that
   # you have loaded a kernel SCSI driver for your SCSI adapter.
   # Also you need support for SCSI Generic (sg) in your operating system.
   # If using Linux, try "modprobe sg".

could not open USB device 0x1d6b/0x0003 at 002:001: Access denied 
(insufficient permissions)
could not open USB device 0x04a9/0x220d at 001:002: Access denied 
(insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied 
(insufficient permissions)
   # No USB scanners found. If you expected something different, make 
sure that
   # you have loaded a kernel driver for your USB host controller and 
have setup
   # the USB system correctly. See man sane-usb for details.

   # Not checking for parallel port scanners.

   # Most Scanners connected to the parallel port or other proprietary ports
   # can't be detected by this program.

   # You may want to run this program as root to find all devices. Once you
   # found the scanner devices, be sure to adjust access permissions as
   # necessary.
barbrady #

HTH

Groetjes
Stefan



Mehr Informationen über die Mailingliste Eisfair