[sane-devel] sane-pixma TS6150

m. allan noah kitno455 at gmail.com
Sun Sep 16 00:57:56 BST 2018


Did you build sane-backends without libusb support too?

allan
On Sat, Sep 15, 2018 at 3:17 PM Giles Knap <gilesknap at gmail.com> wrote:
>
> Hi Rolf,
>
> I now have tried your latest driver from your OOA on a clean install of Ubuntu.
>
> In this case I cannot see the scanner at all. Can you advise as to possible reasons for this?
>
> See log below.
>
> Many thanks,
> giles.
>
> ------------------------
> ubuntu at ubuntu:~$ SANE_DEBUG_PIXMA=21 simple-scan
>
> (simple-scan:11145): Gtk-WARNING **: 19:11:42.614: 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.51
> [pixma] pixma_find_scanners() found 0 devices
> [pixma] pixma_find_scanners() found 0 devices
> ^C
> ubuntu at ubuntu:~$
> ubuntu at ubuntu:~$ lsusb
> Bus 002 Device 005: ID 04a9:1822 Canon, Inc.
> Bus 002 Device 008: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
>
>
> On Thursday, 13 September 2018, Giles Knap <gilesknap at gmail.com> wrote:
>>
>> OK, I repeated the test with wireless LAN disabled on the scanner (it has no ethernet connection).
>>
>> 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).
>>
>> See below.
>>
>> Thanks,
>> giles
>>
>> ------------------------
>>
>> giles at gklinux:~$ SANE_DEBUG_PIXMA=21  simple-scan
>>
>> (simple-scan:4156): Gtk-WARNING **: 20:44:50.832: 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.50
>> [pixma] pixma_collect_devices() found Canon PIXMA TS6100 Series at libusb:002:005
>> [pixma] pixma_find_scanners() found 1 devices
>>
>> -------- I hit the "scan" button in simple scan here ----------
>>
>> [pixma] pixma_collect_devices() found Canon PIXMA TS6100 Series at libusb:002:005
>> [pixma] pixma_open(): Canon PIXMA TS6100 Series
>> [pixma] pixma_connect() failed EBUSY
>> [pixma] pixma_open() failed EBUSY
>> [pixma] pixma_close(): Canon PIXMA TS6100 Series
>> giles at gklinux:~$
>>
>>
>> On Thu, Sep 13, 2018 at 5:18 PM Rolf Bensch <rolf at bensch-online.de> wrote:
>>>
>>> Hi Giles,
>>>
>>> As I mentioned before, very probably your scanner cannot be used via
>>> Ethernet and WiFi. Please retry scanning via USB connection. Then you
>>> should remove the Ethernet cable and/or disable WiFi.
>>>
>>> Hope this helps.
>>>
>>> Cheers,
>>> Rolf
>>>
>>> Am 12.09.2018 um 23:21 schrieb Giles Knap:
>>> > Thanks Rolf,
>>> >
>>> > I was immediately able to see the scanner but unfortunately when I try
>>> > to scan I get an error. I have tried power cycling the scanner and
>>> > restarting ubuntu but get the following:-
>>> >
>>> > Thanks,
>>> > giles.
>>> > --------------------------------
>>> > giles at gklinux:~$ SANE_DEBUG_PIXMA=21 SANE_DEBUG_BJNP=3 simple-scan
>>> >
>>> > (simple-scan:15292): Gtk-WARNING **: 22:19:23.217: 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.50
>>> > [sanei_debug] Setting debug level of bjnp to 3.
>>> > [pixma] pixma_collect_devices() found Canon PIXMA TS6100 Series at
>>> > libusb:002:005
>>> > [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.50
>>> > [bjnp] sanei_bjnp_find_devices: No devices specified in configuration file.
>>> > [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 = 23
>>> > [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
>>> > [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 24
>>> > [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 25
>>> > [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 26
>>> > [bjnp] sanei_find_devices: scanner discovery finished...
>>> > [pixma] pixma_find_scanners() found 1 devices
>>> > [pixma] pixma_collect_devices() found Canon PIXMA TS6100 Series at
>>> > libusb:002:005
>>> > [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.50
>>> > [bjnp] sanei_bjnp_find_devices: No devices specified in configuration file.
>>> > [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 = 23
>>> > [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
>>> > [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 24
>>> > [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 25
>>> > [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 26
>>> > [bjnp] sanei_find_devices: scanner discovery finished...
>>> > [pixma] pixma_open(): Canon PIXMA TS6100 Series
>>> > [pixma] pixma_connect() failed EBUSY
>>> > [pixma] pixma_open() failed EBUSY
>>> > [pixma] pixma_close(): Canon PIXMA TS6100 Series
>>> >
>>> >
>>> > On Wed, Sep 12, 2018 at 9:14 PM Rolf Bensch <rolf at bensch-online.de
>>> > <mailto:rolf at bensch-online.de>> wrote:
>>> >
>>> >     Hi Giles,
>>> >
>>> >     I just added your scanner to SANE. You can pull the recent version from
>>> >     git now.
>>> >
>>> >     Or you can use my Ubuntu PPA:
>>> >     https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git
>>> >     <https://launchpad.net/%7Erolfbensch/+archive/ubuntu/sane-git> .
>>> >     Then you
>>> >     must wait for the next version tomorrow.
>>> >
>>> >     Please report your results.
>>> >
>>> >     Cheers,
>>> >     Rolf
>>> >
>>> >     Am 12.09.2018 um 20:40 schrieb Giles Knap:
>>> >     > Many thanks, Rolf.
>>> >     >
>>> >     > I would be very happy to have my scanner working via USB.
>>> >     >
>>> >     > The USB IDs are as follows:-
>>> >     > Bus 002 Device 005: ID 04a9:1822 Canon, Inc.
>>> >     >
>>> >     > Cheers,
>>> >     > giles
>>> >     >
>>> >     > On Wed, Sep 12, 2018 at 6:41 PM Rolf Bensch <rolf at bensch-online.de
>>> >     <mailto:rolf at bensch-online.de>
>>> >     > <mailto:rolf at bensch-online.de <mailto:rolf at bensch-online.de>>> wrote:
>>> >     >
>>> >     >     Hi Giles,
>>> >     >
>>> >     >     I'm sorry to tell you that your scanner isn't supported by
>>> >     SANE. You
>>> >     >     confuse your TS6150 with the TS6050 (PIXMA TS6000 Series).
>>> >     >
>>> >     >     There's another problem with the tested TSxxxx scanners: WiFi
>>> >     isn't
>>> >     >     working.
>>> >     >
>>> >     >     I can quickly implement your scanner to SANE, but you very
>>> >     probably
>>> >     >     need to use the scanner USB connected to your PC. Please send me
>>> >     >     your scanner's USB IDs, which can be indentified on a console
>>> >     with:
>>> >     >     $ lsusb
>>> >     >     Bus 002 Device 007: ID 04a9:1908 Canon, Inc.
>>> >     >     ...
>>> >     >
>>> >     >     Hope this helps.
>>> >     >
>>> >     >     Cheers,
>>> >     >     Rolf
>>> >     >
>>> >     >
>>> >     >     Am 03.09.2018 um 18:30 schrieb Giles Knap:
>>> >     >>     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 <http://192.168.0.100:8612>
>>> >     <http://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 <http://192.168.0.100:8612>
>>> >     <http://192.168.0.100:8612>
>>> >     >>     [bjnp]
>>> >     bjnp_allocate_device(bjnp://192.168.0.100:8612/timeout=5000
>>> >     <http://192.168.0.100:8612/timeout=5000>
>>> >     >>     <http://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 <http://192.168.0.100:8612>
>>> >     <http://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
>>> >     <http://192.168.0.100:8612/timeout=5000>
>>> >     >>     <http://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
>>> >     >>
>>> >     >
>>> >
>
> --
> sane-devel mailing list: sane-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org



-- 
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"



More information about the sane-devel mailing list