[sane-devel] pixma 920 network scanner

Louis Lagendijk louis at fazant.net
Tue Apr 16 22:03:02 BST 2019


On Sat, 2019-04-13 at 14:48 -0400, Sasha Kacanski wrote:
> Hi,I have deb 9.1 and I did install sane-back-end and front-end and
> everything worked for a while just fine.
> I have latest drivers for sane at least latest from debian
> prospective...
> 
> 
> One day scanner stopped working and aside from usb I can't scan over
> network no matter what ...
> 
> export SANE_DEBUG_PIXMA=20
> xport SANE_DEBUG_BJNP=20
> 
> scanimage -L 2> /tmp/log
> 
> bjnp_allocate_device(bjnp://new-host-3.home:8612) 1
> [bjnp] get_scanner_name: Forward lookup for new-host-3.home
> succeeded, using as hostname
> [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.4 
> port 8612
> [bjnp] bjnp_get_scanner_mac_address: Discover response:
> [bjnp]  00000000:42 4a 4e 50 82 01 00 00  00 00 00 00 00 00 00 10 
> [bjnp]  00000010:00 01 08 00 06 04 f8 0d  60 cc 7f fa c0 a8 01 04 
> [bjnp] add_scanner: Scanner at bjnp://new-host-3.home:8612 was added
> before, good!
> [bjnp] sanei_find_devices: scanner discovery finished...
> [pixma] pixma_collect_devices() found Canon PIXMA MX920 Series at
> bjnp://new-host-3.home:8612
> [pixma] pixma_find_scanners() found 2 devices
> 
> scanimage -L
> device `pixma:MX920_new-host-3.home' is a CANON Canon PIXMA MX920
> Series multi-function peripheral
> device `pixma:04A9176B_239673' is a CANON Canon PIXMA MX920 Series
> multi-function peripheral
> 
> I am not sure if the ARP cache is somehow messed up, or something
> else is wrong on the network but no matter what I do including
> increasing a timeout for bjnp-timeout=5000
> I still get 
> Error during read: Invalid argument ....
> 
> 14:43:50.725652 ARP, Request who-has new-host-3.home tell
> openrg.home, length 46
> 14:44:03.168722 ARP, Request who-has venus.home tell new-host-3.home, 
> length 46
> 14:44:03.168743 ARP, Reply venus.home is-at d0:50:99:76:17:eb (oui
> Unknown), length 28
> 14:44:03.169115 IP new-host-3.home.8612 > venus.home.8612: UDP,
> length 32
> 14:44:03.172898 IP new-host-3.home.8612 > venus.home.8612: UDP,
> length 32
> 14:44:03.189756 IP venus.home.53994 > new-host-3.home.8612: UDP,
> length 16
> 14:44:03.192539 IP new-host-3.home.8612 > venus.home.53994: UDP,
> length 32
> 14:44:03.192649 IP venus.home.45336 > new-host-3.home.8612: UDP,
> length 16
> 14:44:03.196669 IP new-host-3.home.8612 > venus.home.45336: UDP,
> length 117
> 14:44:03.215539 IP venus.home.40091 > new-host-3.home.8612: UDP,
> length 16
> 14:44:03.218627 IP new-host-3.home.8612 > venus.home.40091: UDP,
> length 32
> 14:44:08.192337 ARP, Request who-has new-host-3.home tell venus.home,
> length 28
> 14:44:08.192792 ARP, Reply new-host-3.home is-at f8:0d:60:cc:7f:fa
> (oui Unknown), length 46
> 14:44:11.464185 IP new-host-3.home.mdns > 224.0.0.251.mdns: 0*- [0q]
> 1/0/0 (Cache flush) TXT "txtvers=1" "adminurl=http://mx920.local."
> "ty=Canon MX920 series" "mfg=Canon" "mdl=MX920 series" "uuid=239673"
> "scannerAvailable=1" (181)
> 14:44:11.472390 IP new-host-3.home.mdns > 224.0.0.251.mdns: 0*- [0q]
> 3/0/0 (Cache flush) AAAA fe80::fa0d:60ff:fecc:7ffa, (Cache flush) A
> 192.168.1.4, (Cache flush) SRV mx920.local.:8612 0 0 (120)
> 14:44:20.709221 ARP, Request who-has new-host-3.home tell
> openrg.home, length 46
> 14:44:28.098120 IP new-host-3.home.mdns > 224.0.0.251.mdns: 0*- [0q]
> 5/0/0 (Cache flush) TXT "txtvers=1" "adminurl=http://mx920.local."
> "ty=Canon MX920 series" "mfg=Canon" "mdl=MX920 series" "uuid=239673"
> "scannerAvailable=1", (Cache flush) AAAA fe80::fa0d:60ff:fecc:7ffa,
> (Cache flush) A 192.168.1.4, (Cache flush) SRV mx920.local.:8612 0 0,
> PTR Canon MX920 series._scanner._tcp.local. (265)
> 
This reminds me of a case I looked into last week: can you please do a
nslookup new-host-3.home and report back? Does it return more than one
IP-address?  I had some discussion with another gentlemen last week
where it turned out that his modem got confused with DHCP and reported
2 IP-addresses for some new-host.home address... 
/Louis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20190416/f73555a6/attachment.html>


More information about the sane-devel mailing list