Le mercredi 7 f?vrier 2007, adrian a ?crit?:
> Stef
> Thanks for prompt reply and thanks for the encouraging news.  I was not
> looking forward to throwing out a perfectly good scanner!
>
> Results of your suggestions:
>
> [root@localhost adrian]# export -p
> declare -x SANE_DEBUG_UMAX_PP="255"
> declare -x SANE_DEBUG_UMAX_PP_LOW="255"
>
> [root@localhost adrian]# export SANE_DEBUG_UMAX_PP=255
> [root@localhost adrian]#
> [root@localhost adrian]# export SANE_DEBUG_UMAX_PP_LOW=255
> [root@localhost adrian]#
>
> [root@localhost adrian]# scanimage -L
> [sanei_debug] Setting debug level of umax_pp to 255.
> [umax_pp] init: SANE_Auth_Callback not supported (yet) ...
> [umax_pp] init: SANE v1.0.18, backend v1.0.604-dev
> [umax_pp] init: evaluating option <option buffer 2097152>
> [umax_pp] init: option buffer 2097152
> [umax_pp] init: option buffer 2097152
> [umax_pp] init: setting global option buffer to 2097152
> [umax_pp] init: don't know what to do with `device : /dev/parport0'
> [umax_pp] umax_pp_try_ports: trying port `/dev/parport0'
> [sanei_debug] Setting debug level of umax_pp_low to 255.
> [umax_pp_low] SANE_INB level 0
> [umax_pp_low] sanei_umax_pp_InitPort(0x0,/dev/parport0)
> [umax_pp_low] parport modes: 47
> [umax_pp_low] parport modes:            PARPORT_MODE_EPP
>
> [umax_pp_low] umax_pp: ppdev couldn't negociate mode IEEE1284_MODE_EPP
> for '/dev/parport0' (ignored)
> [umax_pp_low] umax_pp: mode set to PARPORT_MODE_EPP for '/dev/parport0'
> [umax_pp_low] Using /dev/parport0 ...
> [umax_pp_low] status 120 doesn't match! umax_pp_low.c:5091
> [umax_pp_low] No scanner detected by 'ringScanner(2,0)'...
> [umax_pp_low] status 120 doesn't match! umax_pp_low.c:5091
> [umax_pp_low] No scanner detected by 'ringScanner(5,0)'...
> [umax_pp_low] status 120 doesn't match! umax_pp_low.c:5091
> [umax_pp_low] No scanner detected by 'ringScanner(5,10000)'...
> [umax_pp_low] status 120 doesn't match! umax_pp_low.c:5091
> [umax_pp_low] No scanner detected by 'ringScanner(5,10000)'...
> [umax_pp_low] No 1220P/2000P scanner detected by 'ringScanner()'...
> [umax_pp_low] ringScanner passed...
> [umax_pp_low] sendCommand(0x30) passed ... (umax_pp_low.c:7367)
> [umax_pp_low] sendCommand(0x00) passed... (umax_pp_low.c:7374)
> [umax_pp_low] status 126 doesn't match! umax_pp_low.c:5257
> [umax_pp_low] testVersion(0) (umax_pp_low.c:7378) failed ...
> [umax_pp_low] testVersion(0) passed...
> [umax_pp_low] status 126 doesn't match! umax_pp_low.c:5257
> [umax_pp_low] testVersion(1) failed (expected) ... (umax_pp_low.c:7385)
> [umax_pp_low] status 126 doesn't match! umax_pp_low.c:5257
> [umax_pp_low] testVersion(0) (umax_pp_low.c:7394) failed ...
> [umax_pp_low] testVersion(0) passed...
> [umax_pp_low] status 126 doesn't match! umax_pp_low.c:5257
> [umax_pp_low] testVersion(1) failed (expected) ... (umax_pp_low.c:7401)
> [umax_pp_low] sendCommand(0x40) passed...
> [umax_pp_low] sendCommand(0xE0) passed...
> [umax_pp_low] ClearRegister(0) passed...
> [umax_pp_low] SPPResetLPT() passed...
> [umax_pp_low] Found 0x77 expected 0xC7 (umax_pp_low.c:7474)
> [umax_pp_low] Trying 610p (umax_pp_low.c:7483)
> [umax_pp_low] sync610p failed (got 0x78 expected 0x38)!
> (umax_pp_low.c:3733) [umax_pp_low] sync610p failed! Scanner not present or
> powered off ... (umax_pp_low.c:6363)
> [umax_pp_low] initTransport610p() failed (umax_pp_low.c:6673)
> [umax_pp] attach: failed to probe scanner on /dev/parport0
> [umax_pp] attach: couldn't attach to `/dev/parport0' (Error during device
> I/O) [umax_pp] umax_pp(v1.0.604-dev): line 254: debug exception
> [umax_pp] init: couldn't attach to port `/dev/parport0'
> [umax_pp] init: safe-auto attach failed ![umax_pp] init: don't know what to
> do with `astra 1220'
> [umax_pp] get_devices
> [umax_pp] unused arg: local_only = 0
>
> No scanners were identified. If you were expecting something different,
> check that the scanner is plugged in, turned on and detected by the
> sane-find-scanner tool (if appropriate). Please read the documentation
> which came with this software (README, FAQ, manpages).
> [umax_pp] sane_exit: (...)
>
> Not sure what to make of the above . . . .
> Does it mean that parport0 is the incorrect address?
> Should I be using
>  port 0x378
> or
>  port 0x38
>
> Is
>  safe-port auto
> more likely to work?
>
> What do you read?
>
> Adrian

        Hello,

        I think that the umax_pp.conf has some unexpected keyword in it (such 
as 'device'), hence the 'don't know what to do with ...' messages. You only 
need these 2 lines in it:

option buffer 2097152
port safe-auto

        The log shows that parport communication is non-working.

        From your previous mail, I think your parallel port is OK:

    parport: PnPBIOS parport detected.
    parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
    ppdev: user-space parallel port driver:

        However, double check in BIOS that the parallel port settings are 
really 
these ones. You may force correct detection by giving the settings to the 
kernel module:
options parport_pc io=0x378 irq=7 dma=none

        An other option would be to set the parallel port to EPP+ECP in BIOS and
give the following option to the parport kernel module:
options parport_pc io=0x378 io_hi=0x778 irq=7 dma=auto

        The trouble with parallel ports are the bugs that affect hardware and 
BIOS. 
You have to find the best settings for your PC by trial and error. Be aware 
that the HP3200C might need to be reset after unsuccessful test (see 
http://umax1220p.sourceforge.net/tips.html for the procedure).

        The attached ppdiag script will let you test your parallel port. Send 
its 
output in EPP and EPP+ECP mode, that will let use see what could be the best 
hardware settings.

Regards,
        Stef

        









-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppdiag
Type: application/x-shellscript
Size: 6787 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070208/c50130cc/ppdiag-0001.bin
From johnfisc...@suscom-maine.net  Thu Feb  8 07:17:22 2007
From: johnfisc...@suscom-maine.net (John Fischer)
Date: Thu Feb  8 08:38:56 2007
Subject: [sane-devel] Epson Expression 1600 Scanner
Message-ID: <45cac072.1090...@suscom-maine.net>

I wondering if anyone has experience setting up this scanner for a Mac 
OS X 10.4 (the latest). I'm trying to scan directly into Acrobat. When I 
choose to Scan to PDF, an Acrobat Scan dialog box comes up.....SANE 
appears as a choice in the list of scanners. But when I try to get to 
the next step, I get a "No image source found" error. All it says to do 
is consult the documentation at ellert.se/twain-sane. This isn't a very 
helpful message.

Can anyone help me set this up??

John Fischer
Maine, USA

Reply via email to