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

Jim George jim.george@blueyonder.co.uk
Thu, 18 Dec 2003 20:21:18 -0000 (GMT)


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

Hi Henning,

thanks for responding and sorry for the delay.

When I start saned -d128 (having commented it out of inetd.conf and
services) I get the following output on the terminal, see attached.
Also please find attached the contents of /var/log/messages (only those
relevant to this problem).

Thanks,

Jim

> Hi,
>
> On Tue, Dec 16, 2003 at 03:10:46PM -0000, Jim George wrote:
>> Can anyone give me an idea what is going wrong?
>
>> Dec 15 10:54:51 tassi saned[6609]: decode_handle: cancel: error while
>> decoding handle argument (h=0, Success)
>
> Ooops. That shouldn't happen. That lloks like a communication problem
> betwwen the net backend and saned. Or something else disturbs the flow
> of communication between saned and net. Such an error will end saned so
> the backend may not be able to "close" the parport.
>
> You have done a normal scan and have not cancelled it?
>
> Can you please try the following: disable saned in inetd.conf, restart
> inetd to apply that change, and start saned manually with debugging
> enabled:
>
> saned -d128
>
> Please show us the output when you do a scan with scanimage.
>
> 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



------=_20031218202118_54090
Content-Type: application/octet-stream; name="jim"
Content-Disposition: attachment; filename="jim"
Content-Transfer-Encoding: base64

W3NhbmVkXSBtYWluOiBzdGFydGluZyBkZWJ1ZyBtb2RlIChsZXZlbCAxMjgpCltzYW5lZF0gbWFp
bjogdHJ5aW5nIHRvIGdldCBwb3J0IGZvciBzZXJ2aWNlIGBzYW5lJyAoZ2V0YWRkcmluZm8pCltz
YW5lZF0gbWFpbjogInNhbmUiIHNlcnZpY2UgdW5rbm93biBvbiB5b3VyIGhvc3Q7IHlvdSBzaG91
bGQgYWRkCltzYW5lZF0gbWFpbjogICAgICBzYW5lIDY1NjYvdGNwIHNhbmVkICMgU0FORSBuZXR3
b3JrIHNjYW5uZXIgZGFlbW9uCltzYW5lZF0gbWFpbjogdG8geW91ciAvZXRjL3NlcnZpY2VzIGZp
bGUgKG9yIGVxdWl2YWxlbnQpLiBQcm9jZWVkaW5nIGFueXdheS4KW3NhbmVkXSBtYWluOiBbMF0g
c29ja2V0ICgpIHVzaW5nIElQdjYKW3NhbmVkXSBtYWluOiBbMF0gc2V0c29ja29wdCAoKQpbc2Fu
ZWRdIG1haW46IFswXSBiaW5kICgpIHRvIHBvcnQgNjU2Ngpbc2FuZWRdIG1haW46IFswXSBsaXN0
ZW4gKCkKW3NhbmVkXSBtYWluOiBbMV0gc29ja2V0ICgpIHVzaW5nIElQdjQKW3NhbmVkXSBtYWlu
OiBbMV0gc2V0c29ja29wdCAoKQpbc2FuZWRdIG1haW46IFsxXSBiaW5kICgpIHRvIHBvcnQgNjU2
Ngpbc2FuZWRdIG1haW46IFsxXSBiaW5kIGZhaWxlZDogQWRkcmVzcyBhbHJlYWR5IGluIHVzZQpb
c2FuZWRdIG1haW46IHdhaXRpbmcgZm9yIGNvbnRyb2wgY29ubmVjdGlvbgo=
------=_20031218202118_54090
Content-Type: application/octet-stream; name="jim2"
Content-Disposition: attachment; filename="jim2"
Content-Transfer-Encoding: base64

RGVjIDE4IDIwOjA5OjI3IHRhc3NpIHNhbmVkWzIwNTJdOiBzYW5lZCAoQUYtaW5kZXArSVB2Nikg
ZnJvbSBzYW5lLWJhY2tlbmRzIDEuMC4xMyByZWFkeSAKRGVjIDE4IDIwOjA5OjI3IHRhc3NpIHNh
bmVkWzIwNTJdOiBjaGVja19ob3N0OiBnZXRwZWVybmFtZSBmYWlsZWQ6IFNvY2tldCBvcGVyYXRp
b24gb24gbm9uLXNvY2tldCAKRGVjIDE4IDIwOjA5OjI3IHRhc3NpIHNhbmVkWzIwNTJdOiBpbml0
OiBhY2Nlc3MgYnkgaG9zdCBbZXJyb3JdIGRlbmllZCAKRGVjIDE4IDIwOjA5OjI3IHRhc3NpIHNh
bmVkWzIwNTJdOiBxdWl0OiBleGl0aW5nIApEZWMgMTggMjA6MDk6NTIgdGFzc2kgc2FuZWRbMjA1
N106IHNhbmVkIChBRi1pbmRlcCtJUHY2KSBmcm9tIHNhbmUtYmFja2VuZHMgMS4wLjEzIHJlYWR5
IApEZWMgMTggMjA6MDk6NTIgdGFzc2kgc2FuZWRbMjA1N106IGNoZWNrX2hvc3Q6IGdldHBlZXJu
YW1lIGZhaWxlZDogU29ja2V0IG9wZXJhdGlvbiBvbiBub24tc29ja2V0IApEZWMgMTggMjA6MDk6
NTIgdGFzc2kgc2FuZWRbMjA1N106IGluaXQ6IGFjY2VzcyBieSBob3N0IFtlcnJvcl0gZGVuaWVk
IApEZWMgMTggMjA6MDk6NTIgdGFzc2kgc2FuZWRbMjA1N106IHF1aXQ6IGV4aXRpbmcgCg==

------=_20031218202118_54090--