[sane-devel] Trouble with network scanning and Umax Astra 2200

Jonathan Hall flimzy at flimzy.com
Wed Sep 28 00:21:30 UTC 2005


I have a Umax Astra 2200 (the combo SCSI/USB version) connected to a USB
port.  I can scan locally as root or a user using 'scanimage -d
umax:libusb:001:014 > foo.pnm'.  I also have it configured such that I can
scan over the network locally (scanimage -d
net:localhost:umax:libusb:001:014 > foo.pnm).  However, I am unable to
scan over the network from another machine (I've tried with two).

scanimage -L shows the scanner on both client machines:

jonhall at tirian:~$ scanimage -L
device `net:10.0.2.10:umax:libusb:001:014' is a UMAX     Astra 2200      
flatbed scanner

scanimage -T, however, freezes, and renders the scanner unresponsive until
I power cycle it.

jonhall at tirian:~$ scanimage -d net:10.0.2.10:umax:libusb:001:014 -T
scanimage: scanning image of size 850x1170 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 2550 bytes...

I ran an strace on saned on the server machine.  Here's the last bit (I
can send the entire strace to someone if it would be helpful):

getpeername(7, {sa_family=AF_INET6, sin6_port=htons(51945),
inet_pton(AF_INET6,
fcntl64(7, F_SETFL, O_WRONLY)           = 0M
shutdown(7, 0 /* receive */)            = 0M
fcntl64(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0M
select(8, [4 6], [7], NULL, NULL)       = 2 (in [4], out [7])M
read(4, "\0\0\0\6\0\0\0\0", 8192)       = 8M
write(4, "\0\0\0\0\0\0\0\1\0\0\0\1\0\0\t\366\0\0\3R\0\0\4\222\0\0"..., 28)
= 28
select(8, [4 6], [7], NULL, NULL)       = 1 (out [7])M
select(8, [4 6], [7], NULL, NULL)       = 1 (out [7])M


The last line repeates infinately until I Ctrl-C, or power-cycle the scanner.

All three machines (server and two clients) are running Debian testing. 
The server is running kernel 2.6.8, one client has 2.6.12.4 and one has
2.4.27. The server's USB host controller is an Intel 82371AB/EB/MB PIIX4.

Does anyone have any idea what's going on?  Thanks for any help you can
provide!

-- Jonathan




More information about the sane-devel mailing list