[sane-devel] saned doesn't release the parallel port when finished]

Jim George jim.george@blueyonder.co.uk
Fri, 26 Dec 2003 14:13:49 -0000 (GMT)


------=_20031226141349_65285
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Henning,

appologies for the double post, I've been having problems with my email.

The problem has taken a new twist (as you can see from the attached).  I'm
sure the configuration files are setup correctly as follows;

/etc/sane.d/dll.conf
net, pnm are uncommented

/etc/sane.d/saned.conf
localhost is uncommented and /etc/services and /etc/inetd.conf are setup
correctly

/etc/sane.d/mustek_pp.conf
scanner Mustek-1200CP parport0 cis1200

I set the following SANE_DEBUG_MUSTEK_PP=255 and saned -d128 and tried
running scanimage -d net:localhost:mustek_pp:Mustek-1200CP but this
failed, as did scanimage -d mustek_pp:Mustek-1200CP

If you have any thoughts please let me know.

Jim

> Hi,
>
> On Fri, Dec 26, 2003 at 10:13:38AM -0000, Jim George wrote:
>> Can anyone help me with the following?
>
> I had already answered to your first posting, no need to repeat it twice
> :-)
>
> I'll repost my answer:
> ------------------------ snip ----------------------------
> On Sat, Dec 20, 2003 at 10:51:59AM -0000, Jim George wrote:
>> 2) scanimage -T - works fine
>> 3) scanimage > /dev/null - starts fine then hangs
>
> scanimage -T doesn't do much different then scanimage >/file. It's just
> stops the scan before it's finishe.
>
>> 4) scanimage -T - works fine subsequent to a hang (I kill the process
>> to get out of it).
>> 5) saned -d128 and scanimage -d net:localhost:mustek_pp:Mustek-1200CP
>> - starts fine but then hangs (see attached).
>
> The logfile doesn't show anything unusual. The file even seems to be
> closed, but the call to sane_exit seems to be missing.
>
>> Can anyone advise what I should try next?
>
> SANE_DEBUG_MUSTEK_PP=255 saned -d128
>
> may show some more debug messages. Run scanimage as above.
> ------------------------ snip ----------------------------
>
> In short i believe it's a backend (mustek_pp) problem.
>
> Bye,
>   Henning
>
> --
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request@lists.alioth.debian.org



------=_20031226141349_65285
Content-Type: text/plain; name="jim.txt"
Content-Disposition: attachment; filename="jim.txt"

[sanei_debug] Setting debug level of mustek_pp to 255.
[mustek_pp] sane-mustek_pp, version 0.12-alpha. build for SANE 1.0.13
[mustek_pp] backend by Jochen Eisinger <jochen.eisinger@gmx.net>
[mustek_pp] cis_attach: couldn't attach to `parport0' (Invalid argument)
[mustek_pp] sane_open: unknown devicename ``Mustek-1200CP''
scanimage: open of device mustek_pp:Mustek-1200CP failed: Invalid argument
[mustek_pp] sane_exit: all drivers unloaded

------=_20031226141349_65285--