[sane-devel] Permission denied on parallel port Epson Expression636

Karl Heinz Kremer khk@khk.net
Fri, 4 Oct 2002 07:14:27 -0400


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

Did you change anything since it worked? And I really mean anything,
even if you think it's absolutely unreleated to scanning (e.g.=20
connect or turn on a parallel printer). I don't think that you've
changed anything on the scanner (e.g. firmware). The scanner is=20
no longer identified with it's name because the software can no
longer talk to the scanner ("Illegal response ...").

Karl Heinz

On Thu, Oct 03, 2002 at 04:54:13PM -0500, Petr Hlustik wrote:
> Hello Greg et al.,
>=20
> I'm afraid I'm back with another problem. I tried to run the scanner as
> UID 0 again and got this new error:
>=20
> scanimage --list-devices
> [epson] Unknown type  or level B, using B3
> device `epson:0x378' is a Epson  flatbed scanner
> default device is `epson:0x378'
>=20
> plus the scanner is no longer identified as Expression636.
>=20
> Turning the scanner off and on does not help.  This is the testing output
> with debug (I'm scared of thinking I may have messed up the internal
> scanner firmware or something):
>=20
> SANE_DEBUG_EPSON=3D9 scanimage --list-devices
> [sanei_debug] Setting debug level of epson to 9.
> [epson] sane_init: sane-backends 1.0.8
> [epson] sane_init, ># epson.conf<
> [epson] sane_init, >#<
> [epson] sane_init, ># here are some examples for how to configure the EPS=
ON
> backend<
> [epson] sane_init, >#<
> [epson] sane_init, ># SCSI scanner:<
> [epson] sane_init, >#scsi EPSON<
> [epson] sane_init, >#<
> [epson] sane_init, ># Parallel port scanner:<
> [epson] sane_init, >#pio 0x278<
> [epson] sane_init, >pio 0x378<
> [epson] sane_init, >pio 0x378<
> [epson] attach(pio 0x378)
> [epson] SANE Epson Backend v0.2.21 - 2002-04-22
> [epson] attach(pio 0x378)
> [epson] attach: opening pio 0x378
> [epson] send buf, size =3D 2
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] get_identity_information()
> [epson] send buf, size =3D 2
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] code   ff
> [epson] Illegal response of scanner for command: ff
> [epson] type    D 0x44
> [epson] level   [epson] no option equipment installed
> [epson] Unknown type  or level B, using B3
> [epson] fbf tlx 0.000000 tly 0.000000 brx 0.000000 bry 0.000000 [mm]
> [epson] send buf, size =3D 2
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] send buf, size =3D 2
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] send buf, size =3D 2
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] Max. supported color depth =3D 8
> [epson] request_focus_position()
> [epson] Disabling 'Set Focus' support
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] code   ff
> [epson] Illegal response of scanner for command: ff
> [epson] sane_init, >#pio 0x3BC<
> [epson] sane_init, >#<
> [epson] sane_init, ># USB scanner - only enable this if you have an EPSON
> scanner. It could<
> [epson] sane_init, >#               otherwise block your non-EPSON scanner
> from being<
> [epson] sane_init, >#               recognized.<
> [epson] sane_init, >#           Depending on your distribution, you may
> need either the<
> [epson] sane_init, >#           first or the second entry.<
> [epson] sane_init, >#usb /dev/usb/scanner0<
> [epson] sane_init, >#usb /dev/usb/scanner0<
> [epson] sane_get_devices()
> device `epson:0x378' is a Epson  flatbed scanner
> default device is `epson:0x378'
> johann# scanimage -T
> [epson] Unknown type  or level B, using B3
> scanimage: sane_start: Invalid argument
> johann# scanimage --list-devices
> [epson] Unknown type  or level B, using B3
> device `epson:0x378' is a Epson  flatbed scanner
> default device is `epson:0x378'
> johann# SANE_DEBUG_EPSON=3D9 scanimage -T
> [sanei_debug] Setting debug level of epson to 9.
> [epson] sane_init: sane-backends 1.0.8
> [epson] sane_init, ># epson.conf<
> [epson] sane_init, >#<
> [epson] sane_init, ># here are some examples for how to configure the EPS=
ON
> backend<
> [epson] sane_init, >#<
> [epson] sane_init, ># SCSI scanner:<
> [epson] sane_init, >#scsi EPSON<
> [epson] sane_init, >#<
> [epson] sane_init, ># Parallel port scanner:<
> [epson] sane_init, >#pio 0x278<
> [epson] sane_init, >pio 0x378<
> [epson] sane_init, >pio 0x378<
> [epson] attach(pio 0x378)
> [epson] SANE Epson Backend v0.2.21 - 2002-04-22
> [epson] attach(pio 0x378)
> [epson] attach: opening pio 0x378
> [epson] send buf, size =3D 2
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] get_identity_information()
> [epson] send buf, size =3D 2
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] code   ff
> [epson] Illegal response of scanner for command: ff
> [epson] type     0xc4
> [epson] level   [epson] no option equipment installed
> [epson] Unknown type  or level B, using B3
> [epson] fbf tlx 0.000000 tly 0.000000 brx 0.000000 bry 0.000000 [mm]
> [epson] send buf, size =3D 2
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] send buf, size =3D 2
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] send buf, size =3D 2
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] Max. supported color depth =3D 8
> [epson] request_focus_position()
> [epson] Disabling 'Set Focus' support
> [epson] send buf, size =3D 2
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] code   ff
> [epson] Illegal response of scanner for command: ff
> [epson] ADF detected
> [epson] adf tlx 0.000000 tly 0.000000 brx 25270.011765 bry 0.000000 [mm]
> [epson] sane_init, >#pio 0x3BC<
> [epson] sane_init, >#<
> [epson] sane_init, ># USB scanner - only enable this if you have an EPSON
> scanner. It could<
> [epson] sane_init, >#               otherwise block your non-EPSON scanner
> from being<
> [epson] sane_init, >#               recognized.<
> [epson] sane_init, >#           Depending on your distribution, you may
> need either the<
> [epson] sane_init, >#           first or the second entry.<
> [epson] sane_init, >#usb /dev/usb/scanner0<
> [epson] sane_init, >#usb /dev/usb/scanner0<
> [epson] sane_open(0x378)
> [epson] set =3D 0.000000
> [epson] set =3D 0.000000
> [epson] open_scanner()
> [epson] sane_start: Setting data format to 1 bits
> [epson] send buf, size =3D 2
> [epson] receive buf, expected =3D 1, got =3D 1
> [epson] sane_start: set_data_format failed: Invalid argument
> scanimage: sane_start: Invalid argument
>=20
> E.g., the scanner has no ADF attached.
>=20
> Thanks for your help!
>=20
> Best,
> Petr
> _______________________________________________
> Sane-devel mailing list
> Sane-devel@www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel

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

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

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

iD8DBQE9nXgTxejv3RfKrhsRAowJAJ9a792Q7BcHOrBBav33roftetDngACgmqYj
rsu+ZVs6tMIzg8VLrOPGIgE=
=nwcm
-----END PGP SIGNATURE-----

--SLDf9lqlvOQaIe6s--