Re: scanner/sane/SCSI problem [final]

2003-11-29 Thread Pontus Johannisson
On Sat, 29 Nov 2003, Martin wrote:

> > > > 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.
> 
> > > I had a similar problem with an HP ScanJet 5 (yes - it does play music)
> > > from talking to the folks on the SANE mailing lists it seems to be
> > > something to do with the SCSI drivers on SPARC but I never got further
> > > than that.  's very interesting that 2.2 works.  Sorry I can't be of
> > > more help.
> > OK, it's a little help anyway, since I was thinking of sending this to
> > some SANE people (no pun intended :) ).
> Last time I spoke to them the SANE dev. team were very keen to hear from
> people using GNU/Linux on non-x86 hardware and other more obscure set
> ups.
>
> Could you give a shout if you find out exactly what the problem is / how
> to fix it.
>
> Cheers,
>  - Martin

The problem was with SANE after all, and it has been fixed in recent
versions.

With woody, version 1.0.7 is distributed. I compiled sane-backends-1.0.13,
and found that "sane-find-scanner" correctly identifies the scanner using
both (2.2 and 2.4) kernels.

Below is a copy of some commands.  /usr/bin/sane-find-scanner is from
debian, ./sane-find-scanner is the compiled version. Under 2.4.17, the
Debian version incorrectly "finds" only a USB scanner at /dev/scanner.

/Pontus

rosalia:~# uname -a
Linux rosalia 2.4.17 #1 Mon Nov 17 19:09:40 CET 2003 sparc64 unknown
rosalia:~# /usr/bin/sane-find-scanner /dev/scanner
sane-find-scanner: found USB scanner (UNKNOWN vendor and product) at device 
/dev/scanner
rosalia:~# ./sane-find-scanner /dev/scanner
found SCSI processor "EPSON Perfection1200 1.03" at /dev/scanner
rosalia:~#
--- reboot ---
rosalia:~# uname -a
Linux rosalia 2.2.20 #2 Wed Nov 26 15:47:00 CET 2003 sparc64 unknown
rosalia:~# /usr/bin/sane-find-scanner /dev/scanner
sane-find-scanner: found SCSI processor "EPSON Perfection1200 1.03" at device 
/dev/scanner
sane-find-scanner: found USB scanner (UNKNOWN vendor and product) at device 
/dev/scanner
rosalia:~# ./sane-find-scanner /dev/scanner
found SCSI processor "EPSON Perfection1200 1.03" at /dev/scanner
rosalia:~#



Re: scanner/sane/SCSI problem

2003-11-28 Thread Martin
> > > 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.

> > I had a similar problem with an HP ScanJet 5 (yes - it does play music)
> > from talking to the folks on the SANE mailing lists it seems to be
> > something to do with the SCSI drivers on SPARC but I never got further
> > than that.  's very interesting that 2.2 works.  Sorry I can't be of
> > more help.
> OK, it's a little help anyway, since I was thinking of sending this to
> some SANE people (no pun intended :) ).
Last time I spoke to them the SANE dev. team were very keen to hear from
people using GNU/Linux on non-x86 hardware and other more obscure set
ups.

Could you give a shout if you find out exactly what the problem is / how
to fix it.

Cheers,
 - Martin

-- 
Martin
[EMAIL PROTECTED]
"Seasons change, things come to pass"



Re: scanner/sane/SCSI problem

2003-11-28 Thread Pontus Johannisson
On Fri, 28 Nov 2003, Martin wrote:

> > 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.
> 
> > rosalia:~# uname -a
> > Linux rosalia 2.4.17 #1 Mon Nov 17 19:09:40 CET 2003 sparc64 unknown
> 
> > 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:~#
>
> I had a similar problem with an HP ScanJet 5 (yes - it does play music)
> from talking to the folks on the SANE mailing lists it seems to be
> something to do with the SCSI drivers on SPARC but I never got further
> than that.  's very interesting that 2.2 works.  Sorry I can't be of
> more help.
>
> Cheers,
>  - Martin
>
> --
> Martin
> [EMAIL PROTECTED]
> "Seasons change, things come to pass"
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
OK, it's a little help anyway, since I was thinking of sending this to
some SANE people (no pun intended :) ).

/Pontus



Re: scanner/sane/SCSI problem

2003-11-27 Thread Martin
> 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.

> rosalia:~# uname -a
> Linux rosalia 2.4.17 #1 Mon Nov 17 19:09:40 CET 2003 sparc64 unknown

> 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:~#

I had a similar problem with an HP ScanJet 5 (yes - it does play music)
from talking to the folks on the SANE mailing lists it seems to be
something to do with the SCSI drivers on SPARC but I never got further
than that.  's very interesting that 2.2 works.  Sorry I can't be of
more help.

Cheers,
 - Martin
 
-- 
Martin
[EMAIL PROTECTED]
"Seasons change, things come to pass"



scanner/sane/SCSI problem

2003-11-27 Thread Pontus Johannisson
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-AccessANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: EPSONModel: Perfection1200   Rev: 1.03
  Type:   ProcessorANSI 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-AccessANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: EPSONModel: Perfection1200   Rev: 1.03
  Type:   ProcessorANSI 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:~#