[sane-devel] sane-pixma TS6150

Giles Knap gilesknap at gmail.com
Mon Sep 3 20:35:05 BST 2018


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.

On Mon, Sep 3, 2018 at 5:30 PM Giles Knap <gilesknap at gmail.com> wrote:

> Hello,
>
> I'm testing the latest pixma support against the TS6150 which is listed as
> not yet tested.
>
> 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:-
>
> bjnp-timeout=5000
> bjnp://192.168.0.100:8612
>
> I am running on Ubuntu 18.04.1 and have built from the latest source in
> master branch of https://gitlab.com/sane-project/backends.
>
> The compilation is with debug and I get the following output pasted below.
>
> 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.
>
> ----------------------------------------------
> giles at gklinux:~/github/backends$ SANE_DEBUG_PIXMA=21 SANE_DEBUG_BJNP=3
> simple-scan
>
> (simple-scan:15264): Gtk-WARNING **: 17:10:07.715: Failed to register
> client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to
> register client
> [sanei_debug] Setting debug level of pixma to 21.
> [pixma] pixma is compiled with pthread support.
> [pixma] pixma version 0.17.49
> [sanei_debug] Setting debug level of bjnp to 3.
> [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.49
> [bjnp] Set new default timeout value: 5000 ms.[bjnp]
> sanei_bjnp_find_devices: Adding scanner from pixma.conf: bjnp://
> 192.168.0.100:8612
> [bjnp] bjnp_allocate_device(bjnp://192.168.0.100:8612/timeout=5000) 0
> [bjnp] get_scanner_name: Name for 192.168.0.100 not found : Name or
> service not known
> [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.0.100
> port 8612
> [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)
> [bjnp] bjnp_init_device_structure: Cannot read mac address, skipping this
> scanner
> [bjnp] bjnp_allocate_device: Scanner not yet in our list, added it:
> 192.168.0.100:8612
> [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.0.100
> port 8612
> [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)
> [bjnp] get_scanner_id: ERROR - Failed to retrieve scanner identity:
> [bjnp] add_scanner: ERROR - Cannot read scanner make & model: bjnp://
> 192.168.0.100:8612/timeout=5000
> [bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do auto
> detection...
> [bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...
> [bjnp] prepare_socket: eno1 is IPv4 capable, sending broadcast, socket = 50
> [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
> [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 51
> [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 52
> [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 53
> [bjnp] sanei_find_devices: scanner discovery finished...
> [pixma] pixma_find_scanners() found 0 devices
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20180903/d49a3f27/attachment-0001.html>


More information about the sane-devel mailing list