[sane-devel] Sane Test for Canon G3110 Series Scanner (Compatible with G3010 series)

Rolf Bensch rolf at bensch-online.de
Fri Apr 17 18:31:49 BST 2020


Hi Nubio,

scanimage still sees SANE version 1.0.27.

Please check used SANE version with:
$ scanimage -V

You should see 1.0.29 twice. If not, please go through all steps
described in INSTALL.linux

Hope this helps.

Cheers,
Rolf

Am 17.04.20 um 06:48 schrieb Núbio Cicarini Hott Júnior:
> Hi Rolf Bensch,
> 
> You are right, the version supported by Gentoo is 1.0.27 (it is without
> a maintainer to update the program). This is the difference with Fedora
> which uses sane 1.0.29. So I compiled Sane-Backends 1.0.29 with an
> ebuild from an overlay Gentoo repository with support for pixma backend,
> USB and zeroconf. But I still couldn't identify the scanner over the
> network. I have Avahi installed and configured and my firewall is
> disabled. I tried automatic identification with the result:
> 
>> /$ env SANE_DEBUG_PIXMA=21 SANE_DEBUG_BJNP=5 scanimage -L/
>> [01:25:34.091753] [sanei_debug] Setting debug level of pixma to 21.
>> [01:25:34.091796] [pixma] pixma is compiled without pthread support.
>> [01:25:34.091833] [pixma] pixma version 0.27.0
>> [01:25:34.270250] [sanei_debug] Setting debug level of bjnp to 5.
>> *[01:25:34.270308]**[bjnp] sanei_bjnp_find_devices, pixma backend
>> version: 0.27.0*
>> [01:25:34.270330] [bjnp] sanei_bjnp_find_devices: Configuration file
>> is empty, No devices specified.
>> [01:25:34.270343] [bjnp] sanei_bjnp_find_devices: Start auto-detection.
>> [01:25:34.270496] [bjnp] prepare_socket: lo is not a valid IPv4
>> interface, skipping...
>> [01:25:34.270535] [bjnp] prepare_socket: enp3s0 is IPv4 capable,
>> sending broadcast, socket = 9
>> [01:25:34.270556] [bjnp] prepare_socket: lo is not a valid IPv6
>> interface, skipping...
>> [01:25:34.270587] [bjnp] prepare_socket: enp3s0 is IPv6 capable,
>> sending broadcast, socket = 10
>> [01:25:34.270611] [bjnp] prepare_socket: enp3s0 is IPv6 capable,
>> sending broadcast, socket = 11
>> [01:25:34.791550] [bjnp] sanei_find_devices: scanner discovery finished...
>> [01:25:34.791585] [pixma] pixma_find_scanners() found 0 devices
>>
>> No scanners were identified. If you were expecting something different,
>> check that the scanner is plugged in, turned on and detected by the
>> sane-find-scanner tool (if appropriate). Please read the documentation
>> which came with this software (README, FAQ, manpages).
> 
> And also manual identification by editing pixma.conf:
> 
> 
>> /$ env SANE_DEBUG_PIXMA=21 SANE_DEBUG_BJNP=5 scanimage -L/
>> [01:32:35.178137] [sanei_debug] Setting debug level of pixma to 21.
>> [01:32:35.178194] [pixma] pixma is compiled without pthread support.
>> *[01:32:35.178240] [pixma] pixma version 0.27.0*
>> [01:32:35.357159] [sanei_debug] Setting debug level of bjnp to 5.
>> [01:32:35.357205] [bjnp] sanei_bjnp_find_devices, pixma backend
>> version: 0.27.0
>> [01:32:35.357222] [bjnp] sanei_bjnp_find_devices: Adding scanner from
>> pixma.conf: bjnp://192.168.0.10:8612/timeout=3000
>> *[01:32:35.357244] [bjnp]
>> bjnp_allocate_device(bjnp://192.168.0.10:8612/timeout=3000) 0*
>> [01:32:40.376351] [bjnp] get_scanner_name: Name for 192.168.0.10 not
>> found : Name or service not known
>> [01:32:40.376430] [bjnp] setup_udp_socket: Setting up a UDP socket,
>> dest: 192.168.0.10  port 8612
>> [01:32:40.387641] [bjnp] udp_command: ERROR - recv failed: Connection
>> refused[01:32:40.392966] [bjnp] udp_command: ERROR - recv failed:
>> Connection refused[01:32:40.397503] [bjnp] udp_command: ERROR - recv
>> failed: Connection refused[01:32:40.397524] [bjnp] udp_command: ERROR
>> - no data received (timeout = 3000)
>> [01:32:40.397531] [bjnp] bjnp_init_device_structure: Cannot read mac
>> address, skipping this scanner
>> [01:32:40.397539] [bjnp] bjnp_allocate_device: Cannot access scanner,
>> skipping![01:32:40.397545] [bjnp] add_scanner: Scanner at
>> bjnp://192.168.0.10:8612/timeout=3000 can not be added
>> [01:32:40.397551] [bjnp] sanei_bjnp_find_devices: Added all specified
>> scanners.
>> [01:32:40.397558] [bjnp] sanei_bjnp_find_devices: Start auto-detection.
>> [01:32:40.397634] [bjnp] prepare_socket: lo is not a valid IPv4
>> interface, skipping...
>> [01:32:40.397651] [bjnp] prepare_socket: enp3s0 is IPv4 capable,
>> sending broadcast, socket = 9
>> [01:32:40.397658] [bjnp] prepare_socket: lo is not a valid IPv6
>> interface, skipping...
>> [01:32:40.397674] [bjnp] prepare_socket: enp3s0 is IPv6 capable,
>> sending broadcast, socket = 10
>> [01:32:40.397685] [bjnp] prepare_socket: enp3s0 is IPv6 capable,
>> sending broadcast, socket = 11
>> [01:32:40.918476] [bjnp] sanei_find_devices: scanner discovery finished...
>> [01:32:40.918516] [pixma] pixma_find_scanners() found 0 devices
>>
>> No scanners were identified. If you were expecting something different,
>> check that the scanner is plugged in, turned on and detected by the
>> sane-find-scanner tool (if appropriate). Please read the documentation
>> which came with this software (README, FAQ, manpages).
> 
> Do you have any suggestions for me to resolve this?
> 
> Thank you all.
> 
> 
> Em 15/04/2020 17:13, Rolf Bensch escreveu:
>>
>> Hi Nubio,
>>
>> For your scanner you need at least SANE version 1.0.28.
>>
>> Please check the version installed on your machine.
>>
>> If Gentoo Linux doesn't support the SANE version above or recent
>> version 1.0.29, you need to install SANE from source, as described in
>> INSTALL.linux (http://www.sane-project.org/docs.html).
>>
>> Hope this helps.
>>
>> Cheers,
>> Rolf
>>
>>
>> Am 10.04.20 um 18:38 schrieb Ralph Little:
>>> Hi
>>> Looking on Canon's driver section, it looks like they have support
>>> for Linux for scanning. Have you tried that?
>>>
>>> Cheers
>>> Ralph
>>>
>>>
>>> On Fri, Apr 10, 2020, 06:07 Núbio Cicarini Hott Júnior,
>>> <nubiocicarini at gmail.com <mailto:nubiocicarini at gmail.com>> wrote:
>>>
>>>     Hello Sane community!
>>>
>>>     I have a Canon G3110 multi-functional peripheral (Compatible with
>>>     G3010 series - USB and WiFi) connected via USB and network to an
>>>     updated Gentoo Linux system with sane-backend installed and
>>>     compiled with USB (USE) support and PIXMA drive. However, the
>>>     scanner is not detected with scanimage -L. On the other hand,
>>>     sane-find-scanner -q detects the scanner via USB. I tried to make
>>>     corrections to the udev rules but that failed. The same scanner
>>>     worked fine with Sane via USB on the Fedora Live CD. As
>>>     peripheral support has not yet been tested, with the help of the
>>>     Sane community, I am willing to do so.
>>>
>>>     Thankful,
>>>
>>>     Nubio Cicarini,
>>>
>>>     Social scientist,
>>>
>>>     Brazil.
>>>



More information about the sane-devel mailing list