[sane-devel] High res problem with Epson 1240U USB Scanner

Karl Heinz Kremer khk@khk.net
Sun, 5 Aug 2001 13:01:55 -0400


--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Do you really get the "funky result" messages? This should be fixed
in 2.4.7.=20

I know of one instance where similar problems were fixed by using a=20
new hub. Is you scanner connected directly to the mother board, or
via a hub?=20

Karl Heinz

On Sun, Aug 05, 2001 at 03:09:54PM +0200, Stephan Feder wrote:
> Dear Karl Heinz,
>=20
> I had exactly the same problems as Bill. I now have a working
> 2.4.7-kernel which includes scanner.c 0.4.5. But every time while
> scanning I get USB timeout messages from usb.c. I tried usb-uhci.o as
> well as uhci.o for the Intel 82371SB USB controller in may Asus P55T2P4
> mainboard. I cannot pinpoint the troublemaker: sane-epson, scanner.o,
> usbcore.o, usb-uhci.o/uhci.o. Has anyone any idea?
>=20
> Just as an aside: The setup works with another well-known operating
> system, so it is no hardware issue.
>=20
> Thanks in advance
>=20
> 	Stephan
>=20
> --
>=20
> Karl Heinz Kremer wrote:
> >=20
> > Bill,
> >=20
> > please read the FAQ for the EPSON backend on my site:
> > http://www.freecolormanagement.com/sane/faq.html
> >=20
> > You have to increase a timeout value in the kernel scanner driver -
> > or use a newer kernel that automatically increases this timeout for
> > EPSON scanners.
> >=20
> > Karl Heinz
> >=20
> > Bill Slade <bill.slade@rmit.edu.au> said:
> >=20
> > > Hi all,
> > > Perhaps someone can help me fix this problem.   I have an Epson 1240 U
> > Scanner.  After doing all the configuration mentioned in the USB scanne=
r FAQ
> > and conecting the scanner to the USB port...I was all excited when it w=
orked
> > straight away....until  I tried to scan at a resolution higher than 600=
dpi.
> > Xsane choked and a  dialog window "Error during read: Invalid argument"
> > popped up.
> > >
> > > Doing a <<cat /proc/bus/usb/devices >> yields
> > >
> > > :  Bus=3D01 Lev=3D00 Prnt=3D00 Port=3D00 Cnt=3D00 Dev#=3D  1 Spd=3D12=
  MxCh=3D 2
> > > B:  Alloc=3D  0/900 us ( 0%), #Int=3D  0, #Iso=3D  0
> > > D:  Ver=3D 1.00 Cls=3D09(hub  ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D=
  1
> > > P:  Vendor=3D0000 ProdID=3D0000 Rev=3D 0.00
> > > S:  Product=3DUSB UHCI Root Hub
> > > S:  SerialNumber=3D3400
> > > C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D40 MxPwr=3D  0mA
> > > I:  If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub  ) Sub=3D00 Prot=3D00 Dr=
iver=3Dhub
> > > E:  Ad=3D81(I) Atr=3D03(Int.) MxPS=3D   8 Ivl=3D255ms
> > > T:  Bus=3D01 Lev=3D01 Prnt=3D01 Port=3D00 Cnt=3D01 Dev#=3D  6 Spd=3D1=
2  MxCh=3D 0
> > > D:  Ver=3D 1.00 Cls=3Dff(vend.) Sub=3Dff Prot=3Dff MxPS=3D64 #Cfgs=3D=
  1
> > > P:  Vendor=3D04b8 ProdID=3D010b Rev=3D 1.14
> > > S:  Manufacturer=3D?????
> > > S:  Product=3D??????????????
> > > C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D40 MxPwr=3D  2mA
> > > I:  If#=3D 0 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3Dff Prot=3Dff Dr=
iver=3Dusbscanner
> > > E:  Ad=3D81(I) Atr=3D02(Bulk) MxPS=3D  64 Ivl=3D  0ms
> > > E:  Ad=3D02(O) Atr=3D02(Bulk) MxPS=3D  64 Ivl=3D  0ms
> > >
> > > The kernel complains withthe maintainer.
> > > Jul 23 12:43:38 localhost kernel: scanner.c: read_scanner(0): funky r=
esult:-
> > 32.
> > > Please notify the maintainer.
> > > Jul 23 12:43:38 localhost last message repeated 50 times
> > > Jul 23 12:43:38 localhost kernel: sd_scanner(0): funky result:-32. Pl=
ease
> > notify the maintainer.
> > > Jul 23 12:43:38 localhost kernel: scanner.c: read_scanner(0): funky r=
esult:-
> > 32.
> > > Please notify the maintainer.
> > > Jul 23 12:43:38 localhost last message repeated 1168 times
> > >
> > > What is happening and what fixes it?  Isit the backend or the USB dri=
ver
> > that is the problem?  Any help would be greatly appreciated.
> > >
> > > BTW -  I am using RedHat 7.1 on a Compaq laptop with kernel 2.4.2-2. =
The
> > scanner.o module  is dated April 9, 2001.
> > >
> > > Cheers,
> > > Bill
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Sane-devel mailing list
> > > Sane-devel@www.mostang.com
> > > http://www.mostang.com/mailman/listinfo/sane-devel
> > >
> >=20
> > --

--=20
Karl Heinz Kremer                                  khk@khk.net
PGP Key at http://www.freecolormanagement.com/download/khk.asc
EPSON Sane Backend:         http://www.freecolormanagement.com

--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQCVAwUBO218Ah4KmkKPBVxtAQEZ0QP/b2uW3N1VwnAE5c1H5VJc/C5hokaRNrJ0
26n2qnC4Ww+t44wAkLvIGUjoLllk4ZVa0QHF1xGWc7efXtM6BTm0t7rcqrYzB/1q
uknH5Tc4R/4d4fh8xgSePWwo7faUCb9/t8LjoAM/ojWTOk9+Dl0tYJDpB6n7m/Ft
gfOzJGpNUuw=
=GNbD
-----END PGP SIGNATURE-----

--LZvS9be/3tNcYl/X--