I installed sane from Rolf's PPA (not OOA!) So would assume that it is compiled with libusb?<div><br></div><div>Thanks,</div><div>Giles<br><br><div class="gmail_quote"><div dir="ltr">On Sun, 16 Sep 2018, 00:58 m. allan noah, <<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Did you build sane-backends without libusb support too?<br>
<br>
allan<br>
On Sat, Sep 15, 2018 at 3:17 PM Giles Knap <<a href="mailto:gilesknap@gmail.com" target="_blank">gilesknap@gmail.com</a>> wrote:<br>
><br>
> Hi Rolf,<br>
><br>
> I now have tried your latest driver from your OOA on a clean install of Ubuntu.<br>
><br>
> In this case I cannot see the scanner at all. Can you advise as to possible reasons for this?<br>
><br>
> See log below.<br>
><br>
> Many thanks,<br>
> giles.<br>
><br>
> ------------------------<br>
> ubuntu@ubuntu:~$ SANE_DEBUG_PIXMA=21 simple-scan<br>
><br>
> (simple-scan:11145): Gtk-WARNING **: 19:11:42.614: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client<br>
> [sanei_debug] Setting debug level of pixma to 21.<br>
> [pixma] pixma is compiled with pthread support.<br>
> [pixma] pixma version 0.17.51<br>
> [pixma] pixma_find_scanners() found 0 devices<br>
> [pixma] pixma_find_scanners() found 0 devices<br>
> ^C<br>
> ubuntu@ubuntu:~$<br>
> ubuntu@ubuntu:~$ lsusb<br>
> Bus 002 Device 005: ID 04a9:1822 Canon, Inc.<br>
> Bus 002 Device 008: ID 046d:c077 Logitech, Inc. M105 Optical Mouse<br>
><br>
><br>
> On Thursday, 13 September 2018, Giles Knap <<a href="mailto:gilesknap@gmail.com" target="_blank">gilesknap@gmail.com</a>> wrote:<br>
>><br>
>> OK, I repeated the test with wireless LAN disabled on the scanner (it has no ethernet connection).<br>
>><br>
>> The results are the same (except this time I did not turn on BJNP debugging - if I do then the output is identical to previously).<br>
>><br>
>> See below.<br>
>><br>
>> Thanks,<br>
>> giles<br>
>><br>
>> ------------------------<br>
>><br>
>> giles@gklinux:~$ SANE_DEBUG_PIXMA=21  simple-scan<br>
>><br>
>> (simple-scan:4156): Gtk-WARNING **: 20:44:50.832: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client<br>
>> [sanei_debug] Setting debug level of pixma to 21.<br>
>> [pixma] pixma is compiled with pthread support.<br>
>> [pixma] pixma version 0.17.50<br>
>> [pixma] pixma_collect_devices() found Canon PIXMA TS6100 Series at libusb:002:005<br>
>> [pixma] pixma_find_scanners() found 1 devices<br>
>><br>
>> -------- I hit the "scan" button in simple scan here ----------<br>
>><br>
>> [pixma] pixma_collect_devices() found Canon PIXMA TS6100 Series at libusb:002:005<br>
>> [pixma] pixma_open(): Canon PIXMA TS6100 Series<br>
>> [pixma] pixma_connect() failed EBUSY<br>
>> [pixma] pixma_open() failed EBUSY<br>
>> [pixma] pixma_close(): Canon PIXMA TS6100 Series<br>
>> giles@gklinux:~$<br>
>><br>
>><br>
>> On Thu, Sep 13, 2018 at 5:18 PM Rolf Bensch <<a href="mailto:rolf@bensch-online.de" target="_blank">rolf@bensch-online.de</a>> wrote:<br>
>>><br>
>>> Hi Giles,<br>
>>><br>
>>> As I mentioned before, very probably your scanner cannot be used via<br>
>>> Ethernet and WiFi. Please retry scanning via USB connection. Then you<br>
>>> should remove the Ethernet cable and/or disable WiFi.<br>
>>><br>
>>> Hope this helps.<br>
>>><br>
>>> Cheers,<br>
>>> Rolf<br>
>>><br>
>>> Am 12.09.2018 um 23:21 schrieb Giles Knap:<br>
>>> > Thanks Rolf,<br>
>>> ><br>
>>> > I was immediately able to see the scanner but unfortunately when I try<br>
>>> > to scan I get an error. I have tried power cycling the scanner and<br>
>>> > restarting ubuntu but get the following:-<br>
>>> ><br>
>>> > Thanks,<br>
>>> > giles.<br>
>>> > --------------------------------<br>
>>> > giles@gklinux:~$ SANE_DEBUG_PIXMA=21 SANE_DEBUG_BJNP=3 simple-scan<br>
>>> ><br>
>>> > (simple-scan:15292): Gtk-WARNING **: 22:19:23.217: Failed to register<br>
>>> > client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable<br>
>>> > to register client<br>
>>> > [sanei_debug] Setting debug level of pixma to 21.<br>
>>> > [pixma] pixma is compiled with pthread support.<br>
>>> > [pixma] pixma version 0.17.50<br>
>>> > [sanei_debug] Setting debug level of bjnp to 3.<br>
>>> > [pixma] pixma_collect_devices() found Canon PIXMA TS6100 Series at<br>
>>> > libusb:002:005<br>
>>> > [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.50<br>
>>> > [bjnp] sanei_bjnp_find_devices: No devices specified in configuration file.<br>
>>> > [bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do<br>
>>> > auto detection...<br>
>>> > [bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...<br>
>>> > [bjnp] prepare_socket: eno1 is IPv4 capable, sending broadcast, socket = 23<br>
>>> > [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...<br>
>>> > [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 24<br>
>>> > [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 25<br>
>>> > [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 26<br>
>>> > [bjnp] sanei_find_devices: scanner discovery finished...<br>
>>> > [pixma] pixma_find_scanners() found 1 devices<br>
>>> > [pixma] pixma_collect_devices() found Canon PIXMA TS6100 Series at<br>
>>> > libusb:002:005<br>
>>> > [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.50<br>
>>> > [bjnp] sanei_bjnp_find_devices: No devices specified in configuration file.<br>
>>> > [bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do<br>
>>> > auto detection...<br>
>>> > [bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...<br>
>>> > [bjnp] prepare_socket: eno1 is IPv4 capable, sending broadcast, socket = 23<br>
>>> > [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...<br>
>>> > [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 24<br>
>>> > [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 25<br>
>>> > [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 26<br>
>>> > [bjnp] sanei_find_devices: scanner discovery finished...<br>
>>> > [pixma] pixma_open(): Canon PIXMA TS6100 Series<br>
>>> > [pixma] pixma_connect() failed EBUSY<br>
>>> > [pixma] pixma_open() failed EBUSY<br>
>>> > [pixma] pixma_close(): Canon PIXMA TS6100 Series<br>
>>> ><br>
>>> ><br>
>>> > On Wed, Sep 12, 2018 at 9:14 PM Rolf Bensch <<a href="mailto:rolf@bensch-online.de" target="_blank">rolf@bensch-online.de</a><br>
>>> > <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank">rolf@bensch-online.de</a>>> wrote:<br>
>>> ><br>
>>> >     Hi Giles,<br>
>>> ><br>
>>> >     I just added your scanner to SANE. You can pull the recent version from<br>
>>> >     git now.<br>
>>> ><br>
>>> >     Or you can use my Ubuntu PPA:<br>
>>> >     <a href="https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git" rel="noreferrer" target="_blank">https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git</a><br>
>>> >     <<a href="https://launchpad.net/%7Erolfbensch/+archive/ubuntu/sane-git" rel="noreferrer" target="_blank">https://launchpad.net/%7Erolfbensch/+archive/ubuntu/sane-git</a>> .<br>
>>> >     Then you<br>
>>> >     must wait for the next version tomorrow.<br>
>>> ><br>
>>> >     Please report your results.<br>
>>> ><br>
>>> >     Cheers,<br>
>>> >     Rolf<br>
>>> ><br>
>>> >     Am 12.09.2018 um 20:40 schrieb Giles Knap:<br>
>>> >     > Many thanks, Rolf.<br>
>>> >     ><br>
>>> >     > I would be very happy to have my scanner working via USB.<br>
>>> >     ><br>
>>> >     > The USB IDs are as follows:-<br>
>>> >     > Bus 002 Device 005: ID 04a9:1822 Canon, Inc.<br>
>>> >     ><br>
>>> >     > Cheers,<br>
>>> >     > giles<br>
>>> >     ><br>
>>> >     > On Wed, Sep 12, 2018 at 6:41 PM Rolf Bensch <<a href="mailto:rolf@bensch-online.de" target="_blank">rolf@bensch-online.de</a><br>
>>> >     <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank">rolf@bensch-online.de</a>><br>
>>> >     > <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank">rolf@bensch-online.de</a> <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank">rolf@bensch-online.de</a>>>> wrote:<br>
>>> >     ><br>
>>> >     >     Hi Giles,<br>
>>> >     ><br>
>>> >     >     I'm sorry to tell you that your scanner isn't supported by<br>
>>> >     SANE. You<br>
>>> >     >     confuse your TS6150 with the TS6050 (PIXMA TS6000 Series).<br>
>>> >     ><br>
>>> >     >     There's another problem with the tested TSxxxx scanners: WiFi<br>
>>> >     isn't<br>
>>> >     >     working.<br>
>>> >     ><br>
>>> >     >     I can quickly implement your scanner to SANE, but you very<br>
>>> >     probably<br>
>>> >     >     need to use the scanner USB connected to your PC. Please send me<br>
>>> >     >     your scanner's USB IDs, which can be indentified on a console<br>
>>> >     with:<br>
>>> >     >     $ lsusb<br>
>>> >     >     Bus 002 Device 007: ID 04a9:1908 Canon, Inc.<br>
>>> >     >     ...<br>
>>> >     ><br>
>>> >     >     Hope this helps.<br>
>>> >     ><br>
>>> >     >     Cheers,<br>
>>> >     >     Rolf<br>
>>> >     ><br>
>>> >     ><br>
>>> >     >     Am 03.09.2018 um 18:30 schrieb Giles Knap:<br>
>>> >     >>     Hello,<br>
>>> >     >><br>
>>> >     >>     I'm testing the latest pixma support against the TS6150 which is<br>
>>> >     >>     listed as not yet tested.<br>
>>> >     >><br>
>>> >     >>     I can't connect over USB or TCP even if I explicitly place my<br>
>>> >     >>     device's IP address in /etc/sane.d/pixma.conf as follows:-<br>
>>> >     >><br>
>>> >     >>     bjnp-timeout=5000<br>
>>> >     >>     bjnp://<a href="http://192.168.0.100:8612" rel="noreferrer" target="_blank">192.168.0.100:8612</a> <<a href="http://192.168.0.100:8612" rel="noreferrer" target="_blank">http://192.168.0.100:8612</a>><br>
>>> >     <<a href="http://192.168.0.100:8612" rel="noreferrer" target="_blank">http://192.168.0.100:8612</a>><br>
>>> >     >><br>
>>> >     >>     I am running on Ubuntu 18.04.1 and have built from the latest<br>
>>> >     >>     source in master branch<br>
>>> >     of <a href="https://gitlab.com/sane-project/backends" rel="noreferrer" target="_blank">https://gitlab.com/sane-project/backends</a>.<br>
>>> >     >><br>
>>> >     >>     The compilation is with debug and I get the following output<br>
>>> >     >>     pasted below.<br>
>>> >     >><br>
>>> >     >>     The device is working since I am able to scan in an incredibly<br>
>>> >     >>     limited fashion using the official scangearmp2 (which I have<br>
>>> >     since<br>
>>> >     >>     uninstalled). The device also works if I reboot to windows.<br>
>>> >     >><br>
>>> >     >>     ----------------------------------------------<br>
>>> >     >>     giles@gklinux:~/github/backends$ SANE_DEBUG_PIXMA=21<br>
>>> >     >>     SANE_DEBUG_BJNP=3 simple-scan<br>
>>> >     >><br>
>>> >     >>     (simple-scan:15264): Gtk-WARNING **: 17:10:07.715: Failed to<br>
>>> >     >>     register client:<br>
>>> >     >>     GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to<br>
>>> >     >>     register client<br>
>>> >     >>     [sanei_debug] Setting debug level of pixma to 21.<br>
>>> >     >>     [pixma] pixma is compiled with pthread support.<br>
>>> >     >>     [pixma] pixma version 0.17.49<br>
>>> >     >>     [sanei_debug] Setting debug level of bjnp to 3.<br>
>>> >     >>     [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.49<br>
>>> >     >>     [bjnp] Set new default timeout value: 5000 ms.[bjnp]<br>
>>> >     >>     sanei_bjnp_find_devices: Adding scanner from pixma.conf:<br>
>>> >     >>     bjnp://<a href="http://192.168.0.100:8612" rel="noreferrer" target="_blank">192.168.0.100:8612</a> <<a href="http://192.168.0.100:8612" rel="noreferrer" target="_blank">http://192.168.0.100:8612</a>><br>
>>> >     <<a href="http://192.168.0.100:8612" rel="noreferrer" target="_blank">http://192.168.0.100:8612</a>><br>
>>> >     >>     [bjnp]<br>
>>> >     bjnp_allocate_device(bjnp://<a href="http://192.168.0.100:8612/timeout=5000" rel="noreferrer" target="_blank">192.168.0.100:8612/timeout=5000</a><br>
>>> >     <<a href="http://192.168.0.100:8612/timeout=5000" rel="noreferrer" target="_blank">http://192.168.0.100:8612/timeout=5000</a>><br>
>>> >     >>     <<a href="http://192.168.0.100:8612/timeout=5000" rel="noreferrer" target="_blank">http://192.168.0.100:8612/timeout=5000</a>>) 0<br>
>>> >     >>     [bjnp] get_scanner_name: Name for 192.168.0.100 not found : Name<br>
>>> >     >>     or service not known<br>
>>> >     >>     [bjnp] setup_udp_socket: Setting up a UDP socket, dest:<br>
>>> >     >>     192.168.0.100  port 8612<br>
>>> >     >>     [bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]<br>
>>> >     >>     udp_command: ERROR - recv failed: Connection refused[bjnp]<br>
>>> >     >>     udp_command: ERROR - recv failed: Connection refused[bjnp]<br>
>>> >     >>     udp_command: ERROR - no data received (timeout = 5000)<br>
>>> >     >>     [bjnp] bjnp_init_device_structure: Cannot read mac address,<br>
>>> >     >>     skipping this scanner<br>
>>> >     >>     [bjnp] bjnp_allocate_device: Scanner not yet in our list, added<br>
>>> >     >>     it: <a href="http://192.168.0.100:8612" rel="noreferrer" target="_blank">192.168.0.100:8612</a> <<a href="http://192.168.0.100:8612" rel="noreferrer" target="_blank">http://192.168.0.100:8612</a>><br>
>>> >     <<a href="http://192.168.0.100:8612" rel="noreferrer" target="_blank">http://192.168.0.100:8612</a>><br>
>>> >     >>     [bjnp] setup_udp_socket: Setting up a UDP socket, dest:<br>
>>> >     >>     192.168.0.100  port 8612<br>
>>> >     >>     [bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]<br>
>>> >     >>     udp_command: ERROR - recv failed: Connection refused[bjnp]<br>
>>> >     >>     udp_command: ERROR - recv failed: Connection refused[bjnp]<br>
>>> >     >>     udp_command: ERROR - no data received (timeout = 5000)<br>
>>> >     >>     [bjnp] get_scanner_id: ERROR - Failed to retrieve scanner<br>
>>> >     identity:<br>
>>> >     >>     [bjnp] add_scanner: ERROR - Cannot read scanner make & model:<br>
>>> >     >>     bjnp://<a href="http://192.168.0.100:8612/timeout=5000" rel="noreferrer" target="_blank">192.168.0.100:8612/timeout=5000</a><br>
>>> >     <<a href="http://192.168.0.100:8612/timeout=5000" rel="noreferrer" target="_blank">http://192.168.0.100:8612/timeout=5000</a>><br>
>>> >     >>     <<a href="http://192.168.0.100:8612/timeout=5000" rel="noreferrer" target="_blank">http://192.168.0.100:8612/timeout=5000</a>><br>
>>> >     >>     [bjnp] sanei_bjnp_find_devices: Added all configured<br>
>>> >     scanners, now<br>
>>> >     >>     do auto detection...<br>
>>> >     >>     [bjnp] prepare_socket: lo is not a valid IPv4 interface,<br>
>>> >     skipping...<br>
>>> >     >>     [bjnp] prepare_socket: eno1 is IPv4 capable, sending broadcast,<br>
>>> >     >>     socket = 50<br>
>>> >     >>     [bjnp] prepare_socket: lo is not a valid IPv6 interface,<br>
>>> >     skipping...<br>
>>> >     >>     [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast,<br>
>>> >     >>     socket = 51<br>
>>> >     >>     [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast,<br>
>>> >     >>     socket = 52<br>
>>> >     >>     [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast,<br>
>>> >     >>     socket = 53<br>
>>> >     >>     [bjnp] sanei_find_devices: scanner discovery finished...<br>
>>> >     >>     [pixma] pixma_find_scanners() found 0 devices<br>
>>> >     >><br>
>>> >     ><br>
>>> ><br>
><br>
> --<br>
> sane-devel mailing list: <a href="mailto:sane-devel@alioth-lists.debian.net" target="_blank">sane-devel@alioth-lists.debian.net</a><br>
> <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel</a><br>
> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
>              to <a href="mailto:sane-devel-request@lists.alioth.debian.org" target="_blank">sane-devel-request@lists.alioth.debian.org</a><br>
<br>
<br>
<br>
-- <br>
"well, I stand up next to a mountain- and I chop it down with the edge<br>
of my hand"<br>
</blockquote></div></div>