[sane-devel] Problems with mustek_pp and releasing the parallel port

Jim George jim.george at blueyonder.co.uk
Sat Jan 10 00:03:17 GMT 2004


> Hi Jim,
>
> now we are getting somewhere.
> It looks like the driver is waiting for the scanner motor to stabilize,
but it waits forever, either because it doesn't stabilize, or because the
communication with the scanner is somehow messed up.
>
> Do you have libieee1284 installed? If so, what version is it?
>
> It would be useful to also see the debug output of sanei_pa4s2.
> I know you are short of disk space, so I won't ask you to collect  all
output. Just let it scroll off the screen. I'm only interested  in the
last few tens of lines or so (as long as the last few lines of mustek_pp
output are included):
>
>  - stop inetd
>  - as root:
>      SANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255 saned -d128
>  - in another window:
>      scanimage -d net:localhost:mustek_pp:Mustek-1200CP > /dev/null
>
> Best regards,
>
> Eddy

Eddy,

I am running libieee1284-0.2.8-0.pm.0

As root I stopped inetd, and executed the above commands.  The first time
I did this I got the contents of first.txt.

So I rebooted the server and tried again but didn't appear to get any
output from scanimage (I didn't use > /dev/null but > test.pnm which
didn't appear to grow at all).

So I ran SANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255 saned -d128
and scanimage -d net:localhost:mustek_pp:Mustek-1200CP -T but there
appeared to be no output from the scanimage -T.

So I then ran saned -d128 and scanimage -d
net:localhost:mustek_pp:Mustek-1200CP and got the output found in the
attachment sanedonly.txt

I then tried again with the original commands you requested but, in the
end I lost my courage because it didn't appear to be doing anything still
so I stopped.

Finally I tried ANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255
scanimage -d mustek_pp:Mustek-1200CP > test.pnm but again there is was no
file generated so I decided to stop the output for fear of breaking my
scanner.

Hope this helps.

Jim


-------------- next part --------------
A non-text attachment was scrubbed...
Name: first.LOG
Type: application/octet-stream
Size: 5384 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20040110/6d6a02fa/attachment.obj>
-------------- next part --------------
saned -d128
[saned] main: starting debug mode (level 128)
[saned] main: trying to get port for service `sane' (getaddrinfo)
[saned] main: [0] socket () using IPv6
[saned] main: [0] setsockopt ()
[saned] main: [0] bind () to port 6566
[saned] main: [0] listen ()
[saned] main: [1] socket () using IPv4
[saned] main: [1] setsockopt ()
[saned] main: [1] bind () to port 6566
[saned] main: [1] bind failed: Address already in use
[saned] main: waiting for control connection
[saned] saned (AF-indep+IPv6) from sane-backends 1.0.13 ready
[saned] check_host: access by remote host: ::1
[saned] check_host: remote host is IN6_LOOPBACK: access granted
[saned] init: access granted
[saned] init: access granted to root@::1
[saned] process_request: waiting for request
[saned] process_request: got request 2
[saned] process_request: access to resource `mustek_pp' granted
[sanei_debug] Setting debug level of mustek_pp to 2.
[saned] process_request: waiting for request
[saned] process_request: got request 4
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
[saned] process_request: got request 7
[saned] start_scan: using port 1088 for data
[saned] process_request: waiting for data connection
[saned] process_request: access to data port from ::1
[saned] do_scan: start
[saned] do_scan: processing RPC request on fd 4
[saned] process_request: waiting for request
[saned] process_request: got request 6
[mustek_pp] sane_get_parameters: can't set parameters while scanning
[saned] do_scan: trying to read 8188 bytes from scanner
[saned] do_scan: read 4096 bytes from scanner
[saned] do_scan: trying to write 4100 bytes to client
[saned] do_scan: wrote 4100 bytes to client
[saned] do_scan: trying to read 4088 bytes from scanner
[saned] do_scan: read 4088 bytes from scanner
[saned] do_scan: trying to write 4092 bytes to client
[saned] do_scan: wrote 4092 bytes to client
[saned] do_scan: trying to read 8188 bytes from scanner
[saned] do_scan: read 8 bytes from scanner
[saned] do_scan: processing RPC request on fd 4
[saned] process_request: waiting for request
[saned] process_request: got request 8
[saned] do_scan: done, status=Success
[saned] process_request: waiting for request
[saned] process_request: got request 3
[saned] process_request: waiting for request
[saned] process_request: got request 10
[saned] quit: exiting
tassi:~ # 


More information about the sane-devel mailing list