[sane-devel] Installation of Epson 1650 Scanner

Karl Heinz Kremer khk@khk.net
Mon, 28 Oct 2002 22:17:38 -0500


--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Try gimp-print.sourceforge.net.

On Mon, Oct 28, 2002 at 10:51:51PM -0500, John S. Dey wrote:
> Karl and Others:
>=20
> I went back over this log and discovered that the file epson.conf file=20
> had an incorrect entry .  I changed the enty from "/dev/usb/scanner0" to=
=20
> "usb  /dev/usb/scanner0" as I had been instructed.  Thanks for your=20
> assistance and patience.   Scanner seem to be working correctly and I=20
> have it working with gimp.  One last question.  Where do I get=20
> information with regards to linux drivers for my HP 970Cxi printer?  I=20
> am not at all happy with the print quality.
>=20
> Again thank you very much.
>=20
> John Dey
>=20
> Karl Heinz Kremer wrote:
>=20
> >On Sun, Oct 27, 2002 at 02:06:34PM -0500, John S. Dey wrote:
> >=20
> >
> >>Karl:
> >>
> >>(1) You were right -- the permission was "crw-------" but the owner was=
=20
> >>user.  When I change the permission to "crw-rw-rw" and set owner to=20
> >>"user.user" and logoff and logon again the values revert to "cwr-------=
"=20
> >>and "user.root".  RH does something or maybe Gnome.  I tried with=20
> >>another user account and observed the same behavior.
> >>  =20
> >>
> >
> >That's OK, something in our computer is changing the permissioins when
> >you log in. Therefore whoever is logged into the console has access
> >to the scanner.=20
> >
> >Did you install RH 7.3 from scratch, or was this an update from 7.2?
> >
> >=20
> >
> >>(2) After setting to "crw-rw-rw" and "user.user" and running xsane as=
=20
> >>before, the debug scan.log file now doesn't have the line "Send buf,=20
> >>Size=3D2" but ends with the line "[epson] attach failed: Access to=20
> >>resource has been denied"
> >>  =20
> >>
> >
> >This is odd, as long as you have rw access to the device, it should
> >behave the same way.
> >
> >=20
> >
> >>(3) There were no messages printed to the console
> >>
> >>(4) I don't have another USB cable but I have a Win98 machine that did=
=20
> >>work with the scanner.  I will check out that this is still the case.  =
I=20
> >>plan to install RH 7.3 on that machine and I will run the experiments=
=20
> >>using it.
> >>
> >>(5)  I am currently running on a Compaq Presario 5000 with a USB=20
> >>keyboard.
> >>
> >>Thank you for your efforts and suggestions.  Any further thoughts will=
=20
> >>be greatly appreciated.
> >>  =20
> >>
> >
> >I am running out of ideas here. Let me give you once again the check lis=
t,
> >usually it's one of these points:
> >
> >- Verify that you only have one set of configuration file / one version
> >of Sane installed.
> >- Verify that you have the correct configuration line in epson.conf
> >(very likely "usb /dev/usb/scanner0")
> >- Verify that you have read and write access to the device file
> >- Verify that the USB scanner driver is loaded (cat /proc/modules | grep=
=20
> >scanner)
> >- Verify that the scanner is recognized by the USB driver (cat=20
> >/proc/bus/usb/devices)
> >- Verify that you get the same results as root and as normal user.
> >- Connect the scanner directly to the computer and not via a hub.
> >
> >Karl Heinz
> >
> >
> >
> >
> >=20
> >
> >>Karl Heinz Kremer wrote:
> >>
> >>  =20
> >>
> >>>Sorry for the misunderstanding. The backend tries to send two bytes
> >>>(the reset command), but never receives the acknowledgement from
> >>>the scanner. You wrote in your first message that the permissions
> >>>on the device file are 666, can you please verify this.=20
> >>>
> >>>Do you see any messages on the console?=20
> >>>
> >>>Is the scanner connected via a hub? If so, can you try to connect
> >>>it directly to the computer and run the test again.
> >>>
> >>>Do you have a second USB cable that you can use? I have seen this
> >>>problem once where replacing the cable fixed everything.=20
> >>>
> >>>Do you have any other USB devices connected to your computer?
> >>>
> >>>Karl Heinz
> >>>
> >>>
> >>>On Sat, Oct 26, 2002 at 09:10:30PM -0400, John S. Dey wrote:
> >>>
> >>>
> >>>    =20
> >>>
> >>>>By home I meant that things are not working yet.  Please note that th=
e=20
> >>>>device opens and the debug output ends with "Send buf, Size=3D2"  I=
=20
> >>>>rechecked the file epson.conf for the correct spelling for the device=
=20
> >>>>name and it appears correct.  Where do I go from here.
> >>>>
> >>>>
> >>>>Karl Heinz Kremer wrote:
> >>>>
> >>>>=20
> >>>>
> >>>>      =20
> >>>>
> >>>>>This is strange. I assume that you have not yet changed the=20
> >>>>>spelling of the entry in the config file. Therefore the scanner
> >>>>>should not react at all. Or did I misinterpret your comment
> >>>>>about not being home?=20
> >>>>>
> >>>>>Karl Heinz
> >>>>>
> >>>>>On Sat, Oct 26, 2002 at 04:18:42PM -0400, John S. Dey wrote:
> >>>>>
> >>>>>
> >>>>>  =20
> >>>>>
> >>>>>        =20
> >>>>>
> >>>>>>Karl:
> >>>>>>
> >>>>>>Thanks for correcting my spelling.  I'm not home yet however.  When=
=20
> >>>>>>I xsane, a window pops up and first says that it is "scanning for a=
=20
> >>>>>>device" . After about 15 sec. the light on the scanner is blinking=
=20
> >>>>>>and then  the window goes blank and the light on the scanner stops=
=20
> >>>>>>blinking and stays on.  The debug file indicates the device has bee=
n=20
> >>>>>>openned and a line "Send buf, Size=3D2" is added to file.  I couldn=
't=20
> >>>>>>delete the window and I couldn't kill it as user or super user. =20
> >>>>>>Logout/login got rid of the xsane process.   Have I experienced=20
> >>>>>>normal behavior or is there still something I am missing.  Thanks=
=20
> >>>>>>for your assistance.
> >>>>>>
> >>>>>>
> >>>>>>Karl Heinz Kremer wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>    =20
> >>>>>>
> >>>>>>          =20
> >>>>>>
> >>>>>>>The log files show that you are trying to open the file
> >>>>>>>/dev/ubs/scanner0 and not /dev/usb/scanner0. I am pretty
> >>>>>>>sure that the scanner will work once you correct the typo.
> >>>>>>>
> >>>>>>>Karl Heinz
> >>>>>>>
> >>>>>>>On Sat, Oct 26, 2002 at 02:16:53PM -0400, John S. Dey wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>=20
> >>>>>>>
> >>>>>>>      =20
> >>>>>>>
> >>>>>>>            =20
> >>>>>>>
> >>>>>>>>Hello:
> >>>>>>>>
> >>>>>>>>I am trying to connect my Epson Perfection 1650 to a Up2date RH7.=
3=20
> >>>>>>>>linux machine.  I researched the archives and ran the follow test=
.=20
> >>>>>>>>The scanner is on and connected.
> >>>>>>>>The device, /dev/usb/scanner0, privelages was set to 666. Can=20
> >>>>>>>>anyone help me out with the installation? =20
> >>>>>>>>Thanks
> >>>>>>>>
> >>>>>>>>TESTS
> >>>>>>>>
> >>>>>>>>"sane-find-scanner" produces:
> >>>>>>>>
> >>>>>>>>sane-find-scanner: found USB scanner (vendor =3D 0x04b8, product =
=3D=20
> >>>>>>>>0x0110) at device /dev/usb/scanner0
> >>>>>>>>
> >>>>>>>>"export SANE_DEBUG_EPSON=3D3D12
> >>>>>>>>xsane > /tmp/scan.log 2>&1" produces the output:
> >>>>>>>>
> >>>>>>>>[sanei_debug] Setting debug level of epson to 3.
> >>>>>>>>[epson] sane_init: sane-backends 1.0.7
> >>>>>>>>[epson] SANE Epson Backend v0.2.19 - 2002-01-18
> >>>>>>>>[epson] attach: opening epson:/dev/ubs/scanner0
> >>>>>>>>[epson] attach: open failed: Invalid argument
> >>>>>>>>
> >>>>>>>>I have set epson.conf to both /dev/ubs/scnner0 (output not shown)=
=20
> >>>>>>>>and epson:/dev/ubs/scanner0
> >>>>>>>>
> >>>>>>>>I issued:
> >>>>>>>>"SANE_DEBUG_EPSON=3D255 scanimage -L" which produces:
> >>>>>>>>[sanei_debug] Setting debug level of epson to 255.
> >>>>>>>>.=20
> >>>>>>>>.
> >>>>>>>>.
> >>>>>>>>[epson] sane_init, >#               recognized.<
> >>>>>>>>[epson] sane_init, >epson:/dev/ubs/scanner0<
> >>>>>>>>[epson] sane_init, >epson:/dev/ubs/scanner0<
> >>>>>>>>[epson] attach(epson:/dev/ubs/scanner0)
> >>>>>>>>[epson] SANE Epson Backend v0.2.19 - 2002-01-18
> >>>>>>>>[epson] attach(epson:/dev/ubs/scanner0)
> >>>>>>>>[epson] attach: opening epson:/dev/ubs/scanner0
> >>>>>>>>[epson] attach: open failed: Invalid argument
> >>>>>>>>[epson] sane_get_devices()
> >>>>>>>>.=20
> >>>>>>>>.
> >>>>>>>>.
> >>>>>>>>and finally I issued:
> >>>>>>>>"SANE_DEBUG_DLL=3D255 scanimage -L" which produces:
> >>>>>>>>
> >>>>>>>>[sanei_debug] Setting debug level of dll to 255.
> >>>>>>>>[dll] sane_init: SANE dll backend version 1.0.5 from=20
> >>>>>>>>sane-backends-1.0.7
> >>>>>>>>[dll] add_backend: adding backend epson
> >>>>>>>>[dll] load: loading backend epson
> >>>>>>>>[dll] load: dlopen()ing `/usr/lib/sane/libsane-epson.so.1'
> >>>>>>>>[dll] init: initializing backend `epson'
> >>>>>>>>[sanei_debug] Setting debug level of epson to 3.
> >>>>>>>>[epson] sane_init: sane-backends 1.0.7
> >>>>>>>>[epson] SANE Epson Backend v0.2.19 - 2002-01-18
> >>>>>>>>[epson] attach: opening epson:/dev/ubs/scanner0
> >>>>>>>>[epson] attach: open failed: Invalid argument
> >>>>>>>>[dll] init: backend `epson' is version 1.0.219
> >>>>>>>>[dll] sane_exit: exiting
> >>>>>>>>[dll] sane_exit: calling backend `epson's exit function
> >>>>>>>>[dll] sane_exit: finished
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>_______________________________________________
> >>>>>>>>Sane-devel mailing list
> >>>>>>>>Sane-devel@www.mostang.com
> >>>>>>>>http://www.mostang.com/mailman/listinfo/sane-devel
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>  =20
> >>>>>>>>
> >>>>>>>>        =20
> >>>>>>>>
> >>>>>>>>              =20
> >>>>>>>>
> >>>>>>>=20
> >>>>>>>
> >>>>>>>      =20
> >>>>>>>
> >>>>>>>            =20
> >>>>>>>
> >>>>>>    =20
> >>>>>>
> >>>>>>          =20
> >>>>>>
> >>>>>  =20
> >>>>>
> >>>>>        =20
> >>>>>
> >>>>=20
> >>>>
> >>>>      =20
> >>>>
> >>>
> >>>    =20
> >>>
> >>
> >>  =20
> >>
> >
> >=20
> >
>=20
>=20
>=20

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

--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9vf3Sxejv3RfKrhsRAkJeAJ9B84EdF8NYrswrv9gZ4ynwW6p9PQCeOBrK
EA46D+50kYscd/w8Sv7W1Zs=
=qa2I
-----END PGP SIGNATURE-----

--G4iJoqBmSsgzjUCe--