[sane-devel] Permission denied on parallel port Epson Expression636
Petr Hlustik
phlustik at uchicago.edu
Thu Oct 3 22:54:13 BST 2002
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
More information about the sane-devel
mailing list