Forum › Forums › General › Tips and Tricks › How to solve »Scanner not found« issue in antiX 21
Tagged: flatbed-scanner, mustek, rescan-scsi-bus, Scanner, scsi
- This topic has 0 replies, 1 voice, and was last updated Apr 14-6:52 pm by Robin.
-
AuthorPosts
-
April 14, 2022 at 6:52 pm #81310Member
Robin
Problem: The external SCSI-Scanner, known to be seen by antiX19-32 bit flawlessly, is invisible to the 64bit System running under antiX21 now, even when connected, line terminated correctly, powered on, and scsitools have been installed.
$ 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).When using the command rescan-scsi-bus.sh the very device was found immediately by antiX 19 (32bit), and properly addressed:
$ sudo rescan-scsi-bus.sh Scanning SCSI subsystem for new devices Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Scanning for device 0 0 0 0 ... OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: HL-DT-ST Model: DVD-RAM GSA-H55L Rev: 1.03 Type: CD-ROM ANSI SCSI revision: 05 Scanning for device 0 0 1 0 ... canning for device 0 0 1 0 ... OLD: Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: ATA Model: SAMSUNG SV6004H Rev: 0-11 Type: Direct-Access ANSI SCSI revision: 05 Scanning host 1 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Scanning host 2 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs 0 new or changed device(s) found. 0 remapped or resized device(s) found. 0 device(s) removed. $ 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). $ sudo apt-get install lsscsi Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: gir1.2-polkit-1.0 libpolkit-agent-1-0 libpolkit-gobject-1-0 libpolkit-gobject-elogind-1-0 Verwenden Sie »sudo apt autoremove«, um sie zu entfernen. Die folgenden NEUEN Pakete werden installiert: lsscsi 0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 50,4 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 119 kB Plattenplatz zusätzlich benutzt. Holen:1 http://ftp.de.debian.org/debian bullseye/main amd64 lsscsi amd64 0.31-1+b1 [50,4 kB] Es wurden 50,4 kB in 0 s geholt (172 kB/s). Vormals nicht ausgewähltes Paket lsscsi wird gewählt. (Lese Datenbank ... 229891 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../lsscsi_0.31-1+b1_amd64.deb ... Entpacken von lsscsi (0.31-1+b1) ... lsscsi (0.31-1+b1) wird eingerichtet ... Trigger für man-db (2.9.4-2) werden verarbeitet ... $ lsscsi [0:0:0:0] cd/dvd HL-DT-ST DVD-RAM GSA-H55L 1.03 /dev/sr0 [0:0:1:0] disk ATA SAMSUNG SV6004H 0-11 /dev/sda $ lsscsi -H [0] pata_amd [1] pata_amd [2] aic7xxx $ lsmod | grep aic Module Size Used by aic7xxx 143360 0 scsi_transport_spi 36864 1 aic7xxx $ cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: HL-DT-ST Model: DVD-RAM GSA-H55L Rev: 1.03 Type: CD-ROM ANSI SCSI revision: 05 Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: ATA Model: SAMSUNG SV6004H Rev: 0-11 Type: Direct-Access ANSI SCSI revision: 05 $ ls /proc/scsi/aic7xxx/ 2 $ cat /proc/scsi/aic7xxx/2 Adaptec AIC7xxx driver version: 7.0 Adaptec 2940 SCSI adapter aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs Allocated SCBs: 4, SG List Length: 128 Serial EEPROM: 0x0218 0x0218 0x0218 0x0218 0x0218 0x0208 0x0218 0x0218 0x0238 0x0238 0x0238 0x0238 0x0238 0x0238 0x0238 0x0238 0x0000 0x005c 0x2807 0xff08 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x00ff 0x4ad0 Target 0 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 1 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 2 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 3 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 4 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 5 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 6 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 7 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127)Summary so far: The Adaptec-SCSI-Card (pci) was obviously recognised, kernel modules were installed and loaded properly. Consequently everything should work, but the recgognition of the scanner by rescan-scsi-bus.sh fails now, running it in antiX21 64bit. Why so?
After having checked and tested lots of additional command line options (see: man rescan-scsi-bus.sh) did the trick finally, after many try and error. It were the combined options -a -w –largelun which discovered the Scanner finally in antiX21-64bit:
$ sudo rescan-scsi-bus.sh -a -w --largelun Temporarily setting kernel scanning flags from 0x00000000 to 0x00000200 Scanning SCSI subsystem for new devices Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15, all LUNs Scanning for device 0 0 0 0 ... OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: HL-DT-ST Model: DVD-RAM GSA-H55L Rev: 1.03 Type: CD-ROM ANSI SCSI revision: 05 Scanning for device 0 0 1 0 ... canning for device 0 0 1 0 ... OLD: Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: ATA Model: SAMSUNG SV6004H Rev: 0-11 Type: Direct-Access ANSI SCSI revision: 05 Scanning host 1 for SCSI target IDs 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15, all LUNs Scanning host 2 for SCSI target IDs 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15, all LUNs Scanning for device 2 0 6 0 ... NEW: Host: scsi2 Channel: 00 Id: 06 Lun: 00 Vendor: SCANNER Model: Rev: 2.00 Type: Scanner ANSI SCSI revision: 01 1 new or changed device(s) found. \t[2:0:6:0]\n0 remapped or resized device(s) found. 0 device(s) removed. $ cat /proc/scsi/aic7xxx/2 Adaptec AIC7xxx driver version: 7.0 Adaptec 2940 SCSI adapter aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs Allocated SCBs: 4, SG List Length: 128 Serial EEPROM: 0x0218 0x0218 0x0218 0x0218 0x0218 0x0208 0x0218 0x0218 0x0238 0x0238 0x0238 0x0238 0x0238 0x0238 0x0238 0x0238 0x0000 0x005c 0x2807 0xff08 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x00ff 0x4ad0 Target 0 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 1 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 2 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 3 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 4 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 5 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Target 6 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) Goal: 3.300MB/s transfers Curr: 3.300MB/s transfers Channel A Target 6 Lun 0 Settings Commands Queued 169 Commands Active 0 Command Openings 1 Max Tagged Openings 0 Device Queue Frozen Count 0 Target 7 Negotiation Settings User: 10.000MB/s transfers (10.000MHz, offset 127) $ cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: HL-DT-ST Model: DVD-RAM GSA-H55L Rev: 1.03 Type: CD-ROM ANSI SCSI revision: 05 Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: ATA Model: SAMSUNG SV6004H Rev: 0-11 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi2 Channel: 00 Id: 06 Lun: 00 Vendor: SCANNER Model: Rev: 2.00 Type: Scanner ANSI SCSI revision: 01 CCS $ lsscsi [0:0:0:0] cd/dvd HL-DT-ST DVD-RAM GSA-H55L 1.03 /dev/sr0 [0:0:1:0] disk ATA SAMSUNG SV6004H 0-11 /dev/sda [2:0:6:0] scanner SCANNER 2.00 - $ scanimage -L device 'mustek:/dev/sg2' is a Mustek ScanExpress 12000SP flatbed scannerTest scans using easyscan worked fine after this, but I didn’t see any reason why the behaviour has changed from antiX 19-32bit to antic 21-64bit and the scanner is not found anymore with the default command settings. Strange thing. But this notes may help other users to solve similar scanner problems in antiX 21.
Windows is like a submarine. Open a window and serious problems will start.
-
AuthorPosts
- You must be logged in to reply to this topic.