[sane-devel] still problems from xinetd

Joerg Napp sane at lottasophie.de
Fri Apr 11 05:38:12 BST 2003


Hello again,

after solving the PATH issue with the AS6E driver I ran into another
problem which prevents saned from being started from xinetd.

Thhe situation is: sane Version 1.0.11, as6edriver version 0.4.9, scanning
from a workstation after runnding saned -d on the linux box works fine.

When I try to aquire a preview (no matter if i try from sanetwain or xsane
runnin on the windows box or scanimage -d net:... from the linux box) the
scanner makes some moves and stops then; on the corresponding client
program an errort message is issued (except for xsane which dies...).

Running tcpdump shows that the debug messages from as6edriver are sent to
the client. Could this be the reason?

I append the results of scanimage and a snippet of tcpdump results. Any
help is greatly appreciated.

BTW: Is this really the right place for this kind of questions or is there
another list?

CU,

Jörg



muumipappa:/etc # SANE_DEBUG_NET=128 scanimage -d
net:muumipappa:as6e:as6edriver
[sanei_debug] Setting debug level of net to 128.
[net] sane_init: authorize = 0x80492b0, version_code = 0xbffff2d8
[net] sane_init: SANE net backend version 1.0.9 from sane-backends 1.0.11
[net] sane_init: Client has little endian byte order
[net] sane_init: determining sane service port
[net] sane_init: found port 6566
[net] sane_init: searching for config file
[net] sane_init: trying to add muumipappa
[net] add_device: adding backend muumipappa
[net] add_device: backend muumipappa added
[net] sane_init: done reading config
[net] sane_init: evaluating environment variable SANE_NET_HOSTS
[net] sane_init: done
[net] sane_open("muumipappa:as6e:as6edriver")
[net] sane_open: host = muumipappa, device = as6e:as6edriver
[net] sane_open: device found in list
[net] sane_open: device not connected yet...
[net] connect_dev: trying to connect to muumipappa
[net] connect_dev: connection succeeded
[net] connect_dev: sanei_w_init
[net] connect_dev: net_init (user=root, local version=1.0.3)
[net] connect_dev: freeing init reply (status=Success, remote
version=1.0.3) [net] connect_dev: done
[net] sane_open: net_open
[net] sane_open: success
[net] sane_control_option: option 0, action 0
[net] sane_control_option: getting option descriptors
[net] fetch_options: 0x8052198
[net] fetch_options: get_option_descriptors
[net] fetch_options: creating 9 local option descriptors
[net] fetch_options: copying 9 option descriptors
[net] fetch_options: 9 options fetched
[net] sane_control_option: remote control option
[net] sane_control_option: done (Success)
[net] sane_control_option: option 0, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: done (Success)
[net] sane_get_option_descriptor: option 0
[net] sane_get_option_descriptor: option 1
[net] sane_get_option_descriptor: option 2
[net] sane_get_option_descriptor: option 3
[net] sane_get_option_descriptor: option 4
[net] sane_get_option_descriptor: option 5
[net] sane_control_option: option 5, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: done (Success)
[net] sane_get_option_descriptor: option 6
[net] sane_control_option: option 6, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: done (Success)
[net] sane_get_option_descriptor: option 7
[net] sane_get_option_descriptor: option 8
[net] sane_control_option: option 3, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: done (Success)
[net] sane_control_option: option 4, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: done (Success)
[net] sane_control_option: option 3, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: done (Success)
[net] sane_get_option_descriptor: option 5
[net] sane_control_option: option 5, action 1
[net] sane_control_option: remote control option
[net] sane_control_option: done (Success)
[net] sane_control_option: option 4, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: done (Success)
[net] sane_get_option_descriptor: option 6
[net] sane_control_option: option 6, action 1
[net] sane_control_option: remote control option
[net] sane_control_option: done (Success)
[net] sane_start
[net] sane_start: remote start
[net] sane_start: server has little endian byte order
[net] sane_start: remote start finished, data at port 2119
[net] sane_start: done (Success)
[net] sane_get_parameters
[net] sane_get_parameters: remote get parameters
[net] sane_get_parameters: returned status Unknown SANE status code
173372265 scanimage: sane_get_parameters: Unknown SANE status code
173372265 [net] sane_cancel: sending net_cancel
[net] do_cancel: 0x8052198
[net] do_cancel: closing data pipe
[net] sane_cancel: done
scanimage: WARNING: read more data than announced by backend
(0/2631348544) [net] sane_close: handle 0x8052198
[net] sane_close: removing cached option descriptors
[net] sane_close: removing local option descriptors
[net] sane_close: net_close
[net] sane_close: done
[net] sane_exit: exiting
[net] sane_exit: closing dev 0x8052128, ctl=3
[net] sane_exit: finished.
muumipappa:/etc #


at the same time, on another console...

muumipappa:~ # tcpdump -X port sane -i lo
[...]                      ...*
23:22:22.339830 muumipappa.muumit.lottasophie.de.sane >
muumipappa.muumit.lottasophie.de.mentaserver: P 1393:1486(93) ack 386 win
32767 <nop,nop,timestamp 1215145 1214506> (DF)
0x0000   4500 0091 ec5d 4000 4006 cbf0 c0a8 0064        E....]@. at ......d
0x0010   c0a8 0064 19a6 0846 713c 69d8 70f2 f8f6        ...d...Fq<i.p...
0x0020   8018 7fff 3003 0000 0101 080a 0012 8aa9        ....0...........
0x0030   0012 882a 0a55 7369 6e67 2045 5050 204d        ...*.Using.EPP.M
0x0040   6f64 652e 0a20 2020 2020 2020 2020 2020        ode.............
0x0050   4361                                           Ca
23:22:22.340263 muumipappa.muumit.lottasophie.de.mentaserver >
muumipappa.muumit.lottasophie.de.sane: P 386:394(8) ack 1486 win 32767
<nop,nop,timestamp 1215145 1215145> (DF)
0x0000   4500 003c 7f63 4000 4006 3940 c0a8 0064        E..<.c at .@.9 at ...d
0x0010   c0a8 0064 0846 19a6 70f2 f8f6 713c 6a35        ...d.F..p...q<j5
0x0020   8018 7fff f7ce 0000 0101 080a 0012 8aa9        ................
0x0030   0012 8aa9 0000 0008 0000 0000                  ............ [...]




More information about the sane-devel mailing list