Re: SANE snapscan backend & agfa 1236

Kick Glorie (silicon@multiweb.nl)
Thu, 29 Apr 1999 00:07:29 +0200

<snap>
>
> >
> > > The driver recognizes the scanner perfectly, but all tests fail
> > > (scanimage -T) and scanning is impossible.
> >
> > Do not run 'scanimage -T'. It fails, and leaves the SCSI driver and
> > the scanner in a funny state. You have to turn the scanner off and
> > on, and reload the scsi driver.
> >
> > > The driver does seem to send something to the scanner, since its led
> > > starts flashing as soon as a preview, or a scan is attempted.
> > > Are there any people who have actually made scans with this backend?
> > > If so, what am I doing wrong?
> >
> > I managed to get it going, so it is possible.
> >
> > > My configuration: Linux 2.2.6ac1
> > > Initio INI9200UW SCSI controller(dual channel)
> > > (scanner is the only device on the A channel)
> > > SANE 1.0.1 (final)
> >
> > You have a newer kernel then I tested with, and a different SCSI
> > controler, but none of that should make the scanning fail.
> >
> > Try starting with a freshly rebooted machine (or reloaded scsi driver)
> > and scanner, and see if the problem is still there.
> >
> > To get debug info, use 'SANE_DEBUG_SNAPSCAN=128 scanimage -L'.

Well it does have something to do with the newer kernel I have :-). I
just tried some "older" kernels, and found out that the backend just
worked perfectly with every kernel below 2.2.5-ac1/ac2. So plain 2.2.5
works.. I checked the changes files for the Alan Cox patches and found
out that (surprise surprise!) some changes were made to the scsi generic
code:

------------------------------------------------------------------------------
Differences between Linux 2.2.5ac1 and Linux 2.2.5ac2

o Fixed the uid cache race again (me)
o DaveM's tcp fix (DaveM)
o EFS partition endian fixes (Al Smith)
o SMP fixes for old EISA boxes (James
Bottomley)
o Ksymoops updates - please test on non x86 (Keith Owens)
o Non blocking tty fix (Tobias
Ringstrom)
o SCSI generic updates (Douglas
Gillbert)
o Config updates (Axel Boldt)
o IPv4 traffic equaliser (Guus Sliepen)
o Soundscape Vivo fix (Walter Hunt)

Differences between Linux 2.2.5 and Linux 2.2.5ac1

o Large file arrays
o AIC7xxx driver updated.
o NFS client does write clustering and handles >4K page servers
well
o PCI2000/PSI2200 compile fixed.
o QlogicFC driver pdated.
o V7 file system support in the SYS5 fs
o Updated Sangoma drivers (in progress)
o 2Gig memory support on the Alpha
o ARM arch & driver updates
o I2O SCSI and Block OSM (experimental)
o MCA updates
o K6-II/III MTRR registers
o Cleaned up MSR/TSC handling
o MCD parameters settable in make config
o IRDA updates - IRDA sockets
o Roadrunner/HIPPI updates
o Sealevel Wan card driver (experimental)
o Sound fixes for mulaw
o Experimental sound drivers for ESS Maestro PCI
o 4bit VGA fbcon driver
o Inode versioning
o Lockd, NFSD updates
o NTFS doesnt crash the machine on out of memory
o Procfs readlink fix
o Improved scsi generic
o Misc small changes
-------------------------------------------------------------------------------

I'm not sure if these changes were incorporated in 2.2.6 (since I tested
with 2.2.6-ac1, which surely had them...), but they are in the (just
released) 2.2.7 kernel.
I hope this is an easy to fix problem...

Kick Glorie

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com