[sane-devel] sane-pixma and Canon MF8380Cdw

Louis Lagendijk louis at fazant.net
Tue Oct 3 19:40:54 UTC 2017


On Sun, 2017-10-01 at 14:19 +0300, Harri T. wrote:
> Hi,
> 
> I'm trying to connect a Canon MF8380Cdw multifunction device to my
> Linux Stretch laptop. Windows PCs seem to communicate with the ports
> TCP/8610 and UDP/8610 when scanning. I checked that with Wireshark.
> 
> The folloing line is added to /etc/sane.d/pixma.conf:
> 
> mfnp://192.168.0.51:8610
> 
> However, the scanner is not found:
> 
> [0] mypc<harri>:~>scanimage --version
> scanimage (sane-backends) 1.0.25; backend version 1.0.25
> 
> [0] mypc<harri>:~>scanimage              
> scanimage: no SANE devices found
> 
> [0] mypc<harri>:~>strace scanimage:
> ...
> socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP) = 36
> connect(36, {sa_family=AF_INET, sin_port=htons(8610),
> sin_addr=inet_addr("192.168.0.51")}, 16) = 0
> sendto(36, "MFNP\2\1\0\0\0\0\0\0\0\0\0\0", 16, 0, NULL, 0) = 16
> select(37, [36], NULL, NULL, {tv_sec=4, tv_usec=0}) = 1 (in [36],
> left {tv_sec=3, tv_usec=997255})
> recvfrom(36,
> "MFNP\202\1\0\0\0\0\0\0\0\0\0\20\0\1\200\0\6\4t/hO\327b\300\250\2\25"
> , 2048, 0, NULL, NULL) = 32
> close(36)                               = 0
> socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP) = 36
> connect(36, {sa_family=AF_INET, sin_port=htons(8610),
> sin_addr=inet_addr("192.168.0.51")}, 16) = 0
> sendto(36, "MFNP\0020\0\0\0\1\0\0\0\0\0\0", 16, 0, NULL, 0) = 16
> select(37, [36], NULL, NULL, {tv_sec=4, tv_usec=0}) = 1 (in [36],
> left {tv_sec=3, tv_usec=982931})
> recvfrom(36, "MFNP\2020\0\0\0\1\0\0\0\0\0VMFG:CANON;CMD:MF"..., 2048,
> 0, NULL, NULL) = 102
> close(36)  
> ...
> 
> Does this mean that SANE connects to the device but the model is not
> supported?
> 
> Best regards,
> 
> Harri
> 
Harri, to see if your device is supported at all, please check first
using a USB connection. The network protocol piggybacks on the USB
backend. so a test of the USB interface should show if the MF8380 is
supported in the Sane version you are using.
I am not sure if this covers your device, but the MF8300 Series has
been added quite some time ago (May 2015?). So your sane version may be
too old. You may need to upgrae to 1.0.27.

You can also try:
SANE_DEBUG_PIXMA=21 scanimage 2> log and forward the log file. 
BR, Louis 





More information about the sane-devel mailing list