[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

scanner/sane/SCSI problem



I am setting up an old Ultra 1 as a scanner machine, and I have had
some problems making sane connect to the SCSI-scanner. I have tried
two different kernels, 2.2.20 and 2.4.17, both compiled with
make-kpkg. It works only with the older kernel.

Below a copy of issued commands is seen. The machine has been rebooted
but except from the differences in kernel versions, the two systems
are identical. It is seen that the scanner (and the disk) are
identified correctly in both cases, but for some reason
"sane-find-scanner" fails under 2.4.17. The sg module is loaded in
both cases. This looks like a bug in either the SCSI part of 2.4.17 or
a bug in sane.

Things work with 2.2.20, which means my problems are solved. I just
report this since it might be of interest. (Hopefully this is not
well-known already.) I will be happy to provide more information if
someone needs it.

B.t.w. could someone tell me the reason why the installation kernel
is compiled without hardware clock support?

/Pontus Johannisson

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

rosalia:~# uname -a
Linux rosalia 2.2.20 #2 Wed Nov 26 15:47:00 CET 2003 sparc64 unknown
rosalia:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: DORS32160SUN2.1G Rev: WA7A
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: EPSON    Model: Perfection1200   Rev: 1.03
  Type:   Processor                        ANSI SCSI revision: 02
rosalia:~# sane-find-scanner
# Note that sane-find-scanner will find any scanner that is connected
# to a SCSI bus and some scanners that are connected to the Universal
# Serial Bus (USB) depending on your OS. It will even find scanners
# that are not supported at all by SANE. It won't find a scanner that
# is connected to a parallel or proprietary port.

sane-find-scanner: found SCSI processor "EPSON Perfection1200 1.03" at
device /dev/scanner
sane-find-scanner: found SCSI processor "EPSON Perfection1200 1.03" at
device /dev/sg1
rosalia:~#
--- reboot ---
rosalia:~# uname -a
Linux rosalia 2.4.17 #1 Mon Nov 17 19:09:40 CET 2003 sparc64 unknown
rosalia:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: DORS32160SUN2.1G Rev: WA7A
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: EPSON    Model: Perfection1200   Rev: 1.03
  Type:   Processor                        ANSI SCSI revision: 02
rosalia:~# sane-find-scanner
# Note that sane-find-scanner will find any scanner that is connected
# to a SCSI bus and some scanners that are connected to the Universal
# Serial Bus (USB) depending on your OS. It will even find scanners
# that are not supported at all by SANE. It won't find a scanner that
# is connected to a parallel or proprietary port.

rosalia:~#



Reply to: