<div dir="ltr">I re-installed scangearmp2 and checked which port it is connecting to the device on. It turns out it is port 80. Indeed if I connect to my scanner/printer with a browser I see a GUI reporting ink levels, but no apparent means to invoke scan commands.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 3, 2018 at 5:30 PM Giles Knap <<a href="mailto:gilesknap@gmail.com">gilesknap@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I'm testing the latest pixma support against the TS6150 which is listed as not yet tested.</div><div><br></div><div>I can't connect over USB or TCP even if I explicitly place my device's IP address in /etc/sane.d/pixma.conf as follows:-</div><div><br></div><div><div>bjnp-timeout=5000</div><div>bjnp://<a href="http://192.168.0.100:8612" target="_blank">192.168.0.100:8612</a></div><div><br></div></div><div>I am running on Ubuntu 18.04.1 and have built from the latest source in master branch of <a href="https://gitlab.com/sane-project/backends" target="_blank">https://gitlab.com/sane-project/backends</a>.</div><div><br></div><div>The compilation is with debug and I get the following output pasted below.</div><div><br></div><div>The device is working since I am able to scan in an incredibly limited fashion using the official scangearmp2 (which I have since uninstalled). The device also works if I reboot to windows.</div><div><br></div><div>----------------------------------------------</div><div><div>giles@gklinux:~/github/backends$ SANE_DEBUG_PIXMA=21 SANE_DEBUG_BJNP=3 simple-scan</div><div><br></div><div>(simple-scan:15264): Gtk-WARNING **: 17:10:07.715: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client</div><div>[sanei_debug] Setting debug level of pixma to 21.</div><div>[pixma] pixma is compiled with pthread support.</div><div>[pixma] pixma version 0.17.49</div><div>[sanei_debug] Setting debug level of bjnp to 3.</div><div>[bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.49</div><div>[bjnp] Set new default timeout value: 5000 ms.[bjnp] sanei_bjnp_find_devices: Adding scanner from pixma.conf: bjnp://<a href="http://192.168.0.100:8612" target="_blank">192.168.0.100:8612</a></div><div>[bjnp] bjnp_allocate_device(bjnp://<a href="http://192.168.0.100:8612/timeout=5000" target="_blank">192.168.0.100:8612/timeout=5000</a>) 0</div><div>[bjnp] get_scanner_name: Name for 192.168.0.100 not found : Name or service not known</div><div>[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.0.100 port 8612</div><div>[bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - no data received (timeout = 5000)</div><div>[bjnp] bjnp_init_device_structure: Cannot read mac address, skipping this scanner</div><div>[bjnp] bjnp_allocate_device: Scanner not yet in our list, added it: <a href="http://192.168.0.100:8612" target="_blank">192.168.0.100:8612</a></div><div>[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.0.100 port 8612</div><div>[bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - no data received (timeout = 5000)</div><div>[bjnp] get_scanner_id: ERROR - Failed to retrieve scanner identity:</div><div>[bjnp] add_scanner: ERROR - Cannot read scanner make & model: bjnp://<a href="http://192.168.0.100:8612/timeout=5000" target="_blank">192.168.0.100:8612/timeout=5000</a></div><div>[bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do auto detection...</div><div>[bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...</div><div>[bjnp] prepare_socket: eno1 is IPv4 capable, sending broadcast, socket = 50</div><div>[bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...</div><div>[bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 51</div><div>[bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 52</div><div>[bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 53</div><div>[bjnp] sanei_find_devices: scanner discovery finished...</div><div>[pixma] pixma_find_scanners() found 0 devices</div></div><div><br></div></div>
</blockquote></div>