Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Canon G3010 Series scanner does not work with Sane PIXMA
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nubiocicarini
n00b
n00b


Joined: 20 Feb 2019
Posts: 64
Location: Brazil

PostPosted: Wed Apr 08, 2020 4:51 am    Post subject: Canon G3010 Series scanner does not work with Sane PIXMA Reply with quote

Hello Gentoo 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.

Code:
scanimage -L
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).


Code:
sudo sane-find-scanner -q
found USB scanner (vendor=0x04a9 [Canon], product=0x183b [G3010 series]) at libusb:003:006

Thankful.
_________________
Workers of the world, unite!
Back to top
View user's profile Send private message
nubiocicarini
n00b
n00b


Joined: 20 Feb 2019
Posts: 64
Location: Brazil

PostPosted: Sat Apr 18, 2020 2:53 am    Post subject: Reply with quote

I was confused because the sane project documentation says that my MPF (G3110 or G3010 series) is compatible with pixma backends. However, installing the sane-backends from the official repository did not identify the scanner. The problem was with the version of the installed sane-backend. The project is in version 1.0.29, while the version of the gentoo repository is still 1.0.27 (I noticed that the package is missing a maintainer. If I had the necessary knowledge ... I hope you find it, because Gentoo is great. The tide is not for fish).

So I installed sane-beckands 1.0.29 from an overlay repository, but even so my scanner was not detected by network. Below the debug:
Code:
/$ 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).

So I compiled the Sane-Backends 1.0.29 overlay repository (https://data.gpo.zugaina.org/xwing/media-gfx/sane-backends/) with support for pixma backend, USB and zeroconf. But I still haven't been able to identify the scanner over the network. I have Avahi installed and configured and my firewall is disabled. In debugging (line 3), I had the impression that the pixma backend network used by the ebuild overlay is still 1.0.27. There is a patch between the 1.0.27 network-related ebuild files. I don't know if that's the problem, because I don't have much practice with that.

I managed to get the scanner to work over the network by installing scangearmp2 3.9 from the overlay repository, however I had to go back to the proprietary software :(
_________________
Workers of the world, unite!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum