sbs20 / scanservjs

SANE scanner nodejs web ui
https://sbs20.github.io/scanservjs/
GNU General Public License v2.0
771 stars 146 forks source link

Scanner (Fujitsu ix1300) is found by `sane-find-scanner` but not `scanimage -L` #448

Closed ep1cman closed 2 years ago

ep1cman commented 2 years ago

Describe the bug Scanner (Fujitsu ix1300) is found by sane-find-scanner but not scanimage -L, inside docker container (latest).

To Reproduce

Run Docker:

root@Neon:/tmp/scansrv/scanservjs# chmod a+rw /dev/bus/usb/004/002 
root@Neon:/tmp/scansrv/scanservjs# docker run -d   -p 8001:8080   -v /var/run/dbus:/var/run/dbus   --restart unless-stopped   --name scanservjs-container   --privileged  sbs20/scanservjs:latest
fc67a7d336ec62a20723ca19c668feb5fc01cb8e990ae7e65dd20c874d55e6c2
root@Neon:/tmp/scansrv/scanservjs# docker exec -it scanservjs-container /bin/bash          
root@fc67a7d336ec:/app# sane-find-scanner -q
found USB scanner (vendor=0x04c5 [Fujitsu], product=0x162c [ScanSnap iX1300]) at libusb:004:002
found USB scanner (vendor=0x1a86, product=0x7523 [USB Serial]) at libusb:003:002
root@fc67a7d336ec:/app# scanimage -L
Created directory: /var/lib/snmp/cert_indexes

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).
ep1cman commented 2 years ago

Turns out sane doesn't currently support this scanner thats why, my bad

antegral commented 3 months ago

Like this issue, I was able to find it with the scanner with sane-find-scanner -q, but not with scanimage -L.

root@e34fb6060480:/usr/lib/scanservjs# sane-find-scanner -q
found possible USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], product=0x347e [C48x Series]) at libusb:001:006
root@e34fb6060480:/usr/lib/scanservjs# 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).

In fact, even if it doesn't show up in the SANE supported devices list, the device is detected when after install the driver and seems to work very well.

For reference, I'm using an SL-C483 (Not on the SANE supported devices list), and I installed the driver from here. After installing the driver, I found that it works perfectly as shown below:

image