[sane-devel] samsung smfp, local scanimage works but not via net

Ruediger Meier sweet_f_a at gmx.de
Sat Jan 14 18:48:27 UTC 2012


Hi,


I have a Samsung SCX-4833FR with libsane-smfp.so.1 installed on saned 
server.

scanimage works locally on the server but not on saned client:

$ scanimage >/dev/null
[...]
[net] sane_start: remote start
[net] sane_start: server has little endian byte order
[net] sane_start: remote start finished, data at port 44740
[net] sane_start: done (Success)
[dll] sane_get_parameters(handle=0x614700,params=0x7fffe1b807f0)
[net] sane_get_parameters
[net] sane_get_parameters: remote get parameters
[net] sane_get_parameters: returned status Success
scanimage: scanning image of size 2538x3295 pixels at 24 bits/pixel
scanimage: acquiring RGB frame
[dll] 
sane_read(handle=0x614700,data=0x615d00,maxlen=65536,lenp=0x7fffe1b8081c)
[net] sane_read: handle=0x613760, data=0x615d00, max_length=65536, 
length=0x7fffe1b8081c
[net] sane_read: reading packet length
[net] sane_read: read 4 bytes, 0 from 4 total
[net] sane_read: next record length=4294967295 bytes
[net] sane_read: received error signal
[net] sane_read: error code Error during device I/O
[net] do_cancel: 0x613760
[net] do_cancel: closing data pipe
scanimage: min/max graylevel value = 255/0
scanimage: sane_read: Error during device I/O
[...]


The funny thing is that xsane (same libsane) does the job. So I've 
looked at saned's debug output to see what both clients are doing 
differently.
As far I can see it looks like xsane and scanimage are sending some 
different parameters to saned but I could not find out something 
specific.

So would be nice if somebody of you could log at the attached logs to 
point me to the right direction.
Maybe it's even a bug in scanimage.


thx,
Rudi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: saned_bad.log.gz
Type: application/x-gzip
Size: 2130 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120114/3fe4e6ea/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: saned_good.log.gz
Type: application/x-gzip
Size: 2919 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120114/3fe4e6ea/attachment-0001.bin>


More information about the sane-devel mailing list