[sane-devel] saned only run once

esoterican@freenet.de esoterican@freenet.de
Tue, 08 Jun 2004 12:05:06 +0200


hello list!<br>
<br>
i'm using a microtek scanmaker 9600 xl. everything works fine... except one=
 feature:<br>
<br>
when i want to use this scanner in the network and adjust everthing mention=
ed in <br>
<br>
http://www.penguin-breeder.org/sane/saned/<br>
<br>
it runs when i start "saned -d"  only once and the exited. i've tried the "=
cover" method mentioned in the article, but it doesn't work. <br>
the central error message is "[net] connect_dev: [0] failed to connect (Con=
nection refused)". <br>
where's my fault?<br>
in addition some config files and debug outputs... hope it helps. i've fina=
lly got no idea how to fix this problem, please help me.<br>
<br>
thanks in advance<br>
 eric<br>
<br>
<br>
SERVER SIDE  -         given command: /usr/sbin/saned.bin -d128<br>
[saned] main: starting debug mode (level 128)<br>
[saned] main: [1] socket () using IPv4<br>
[saned] main: [1] bind () to port 6566<br>
[saned] saned (AF-indep+IPv6) from sane-backends 1.0.14 ready<br>
[saned] check_host: access by remote host: 10.1.1.127<br>
[saned] check_host: local hostname: scanbox<br>
[saned] check_host: access granted from IP address 10.1.1.127 (in subnet 10=
.1.1.0/16)<br>
[saned] init: access granted to saned-user@149.219.182.127<br>
[saned] process_request: access to resource `microtek2' granted<br>
[saned] process_request: sane_open returned: Success          <br>
<br>
<br>
CLIENT -> SERVER - given command         scanimage -d net:10.1.1.155:microt=
ek2:/dev/sg1                           (saned -d not started)<br>
<br>
[net] sane_init: SANE net backend version 1.0.12 (AF-indep+IPv6) from sane-=
backends 1.0.14<br>
[net] sane_init: Client has little endian byte order<br>
[net] add_device: backend 10.1.1.155 added<br>
[net] sane_init: done<br>
[net] sane_open("10.1.1.155:microtek2:/dev/sg1")<br>
[net] sane_open: host =3D 10.1.1.155, device =3D microtek2:/dev/sg1<br>
[net] sane_open: device found in list<br>
[net] sane_open: device not connected yet...<br>
[net] connect_dev: trying to connect to 10.1.1.155<br>
[net] connect_dev: [0] failed to connect (Connection refused)<br>
[net] connect_dev: couldn't connect to host (see messages above)<br>
[net] sane_open: could not connect to device<br>
scanimage: open of device net:10.1.1.155:microtek2:/dev/sg1 failed: Error d=
uring device I/O<br>
<br>
CLIENT -> SERVER   - given command             scanimage -d net:149.219.181=
.155:microtek2:/dev/sg1                    Everything works fine<br>
[net] connect_dev: trying to connect to 10.1.1.155<br>
[net] connect_dev: [0] connection succeeded (IPv4)<br>
[net] connect_dev: sanei_w_init<br>
[net] connect_dev: net_init (user=3D(null), local version=3D1.0.3)<br>
[net] connect_dev: freeing init reply (status=3DSuccess, remote version=3D1=
.0.3)<br>
[net] connect_dev: done<br>
[net] sane_open: net_open<br>
[net] sane_open: success<br>
[net] sane_control_option: option 0, action 0<br>
[net] sane_control_option: getting option descriptors<br>
[net] fetch_options: 0x8052ae8<br>
[net] fetch_options: get_option_descriptors<br>
[net] fetch_options: creating 60 local option descriptors<br>
[net] fetch_options: copying 60 option descriptors<br>
[net] fetch_options: 60 options fetched<br>
[net] sane_control_option: remote control option<br>
[net] sane_control_option: done (Success)<br>
[net] sane_control_option: option 0, action 0<br>
[net] sane_control_option: remote control option<br>
[net] sane_control_option: done (Success)<br>
[net] sane_get_option_descriptor: option 0 ........<br>
[net] sane_control_option: done (Success)<br>
[net] sane_start         ..................................................=
........... *snip*<br>
=0A=0A=0A<br>--<br><!-- AdSpace freenet EMO Webmail Banner --> =0A<a href=
=3D"http://adserver.freenet.de/click.ng/site=3Dfn&prod=3Dchetools&kat=3Drub=
&tbl=3Dwebmail&ppos=3D1&TransactionID=3D1086689105365151&rgtg=3D256" target=
=3D"_blank"><img src=3D"http://adserver.freenet.de/image.ng/site=3Dfn&prod=
=3Dchetools&kat=3Drub&tbl=3Dwebmail&ppos=3D1&TransactionID=3D10866891053651=
51&rgtg=3D256" border=3D"0"></a><!-- / AdSpace -->=0A