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

Karl Heinz Kremer khk at khk.net
Fri Oct 4 12:14:27 BST 2002


Did you change anything since it worked? And I really mean anything,
even if you think it's absolutely unreleated to scanning (e.g. 
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 
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.,
> 
> I'm afraid I'm back with another problem. I tried to run the scanner as
> UID 0 again and got this new error:
> 
> scanimage --list-devices
> [epson] Unknown type  or level B, using B3
> device `epson:0x378' is a Epson  flatbed scanner
> default device is `epson:0x378'
> 
> plus the scanner is no longer identified as Expression636.
> 
> 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):
> 
> SANE_DEBUG_EPSON=9 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 EPSON
> 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 = 2
> [epson] receive buf, expected = 1, got = 1
> [epson] get_identity_information()
> [epson] send buf, size = 2
> [epson] receive buf, expected = 1, got = 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 = 2
> [epson] receive buf, expected = 1, got = 1
> [epson] send buf, size = 2
> [epson] receive buf, expected = 1, got = 1
> [epson] send buf, size = 2
> [epson] receive buf, expected = 1, got = 1
> [epson] Max. supported color depth = 8
> [epson] request_focus_position()
> [epson] Disabling 'Set Focus' support
> [epson] receive buf, expected = 1, got = 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=9 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 EPSON
> 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 = 2
> [epson] receive buf, expected = 1, got = 1
> [epson] get_identity_information()
> [epson] send buf, size = 2
> [epson] receive buf, expected = 1, got = 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 = 2
> [epson] receive buf, expected = 1, got = 1
> [epson] send buf, size = 2
> [epson] receive buf, expected = 1, got = 1
> [epson] send buf, size = 2
> [epson] receive buf, expected = 1, got = 1
> [epson] Max. supported color depth = 8
> [epson] request_focus_position()
> [epson] Disabling 'Set Focus' support
> [epson] send buf, size = 2
> [epson] receive buf, expected = 1, got = 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 = 0.000000
> [epson] set = 0.000000
> [epson] open_scanner()
> [epson] sane_start: Setting data format to 1 bits
> [epson] send buf, size = 2
> [epson] receive buf, expected = 1, got = 1
> [epson] sane_start: set_data_format failed: Invalid argument
> scanimage: sane_start: Invalid argument
> 
> E.g., the scanner has no ADF attached.
> 
> Thanks for your help!
> 
> Best,
> Petr
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel

-- 
Karl Heinz Kremer                                  khk at khk.net
PGP Key at                 http://www.khk.net/download/khk.asc
EPSON Sane Backend:                         http://www.khk.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20021004/76a2982b/attachment.sig>


More information about the sane-devel mailing list