Canon mf237w, scanner not recognized

Hi all,

I have a Canon MF237w, it is recognized as printer but not as scanner. When I’m trying to install it, there is no mention in the Yast list.
The driver coming from Canon website doesn’t mention OpenSuse.

Do you have any idea on how to install/configure it? Thanks.

Post

lsusb

with Scanner on USB

Many Canon MF devices are supported by the ‘sane-pixma’ backend. From ‘man sane-pixma’…

DESCRIPTION
The sane-pixma library implements a SANE (Scanner Access Now Easy) backend that provides access to Canon PIXMA / i-SENSYS / imageCLASS / imageRUNNER multi-function devices (All-in-one printers) and the Canon CanoScan Flatbed/TPU scanners. The backend implements both the USB interface and network interface (using Canon’s BJNP and MFNP protocols). The network interface supports scanners over IPv4 as well as IPv6 (MFNP over IPv6 is untested).

For a network printer, discovery may be blocked by an active firewall perhaps. The man page mentions

Port 8610 is the standard port for mfnp, 8612 for bjnp.

http://tcp-udp-ports.com/port-8610.htm
http://tcp-udp-ports.com/port-8612.htm

Is the scanner device found using the following command?

scanimage -L

If the firewall is active, try stopping it temporarily and repeat the above. As sauerland suggested check it via USB connectivity as well.

After connecting it via USB, these are the results:


lsusb
Canon, Inc. MF230 Series UFRII LT

scanimage -L
device `pixma:04A927D1_01A3JA231F78' is a CANON Canon i-SENSYS MF230 Series multi-function peripheral

I’m going to check the firewall.

After connecting it via USB, these are the results:

I do not think:

lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 0c46:64ab WaveRider Communications, Inc. USB Live camera 
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 009: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
Bus 001 Device 007: ID 8086:0808 Intel Corp. USB PnP Sound Device
Bus 001 Device 006: ID 1ea7:0064 SHARKOON Technologies GmbH 2.4GHz Wireless rechargeable vertical mouse [More&Better]
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 0c4b:0500 Reiner SCT Kartensysteme GmbH cyberJack RFID standard dual interface smartcard reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

You can see the bus and the important thing, the ID

Ok, that looks promising.

I thought only the appearance of the Canon string was enough.

This is the result of the command:


lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 05ac:828d Apple, Inc. Bluetooth USB Host Controller
Bus 001 Device 005: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 004: ID 05ac:8511 Apple, Inc. FaceTime HD Camera (Built-in)
Bus 001 Device 009: ID 04a9:27d1 Canon, Inc. MF230 Series UFRII LT
Bus 001 Device 003: ID 1a2c:2094 China Resource Semico Co., Ltd USB Keyboard
Bus 001 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The ‘scanimage -L’ command reported your scanner when attached via USB. Can you scan using something like

scanimage > test.png

Run ‘scanimage -L’ again when network-attached. Is you scanner still discovered? Did you check firewall yet?

Using network, this is the result.


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).

No firewall used.

I would expect a (pixma) supported Canon scanner to be using the MFNP or BJNP protocol. Try running an nmap scan (you may need to install nmap first). You will need to know the IP address of the device, or at least your LAN subnet (if prepared to scan the entire subnet). For example…

sudo nmap -sU -p 8610-8612 192.168.1.100
sudo nmap -sU -p 8610-8612 192.168.1.0/24
sudo nmap -sU -p 8610-8612 --script bjnp-discover 10.10.0.5

Were you able to make a successful scan when the device was USB-connected as described in post #8?


Starting Nmap 7.92 ( https://nmap.org ) at 2022-01-10 09:59 CET
Nmap scan report for Galaxy-A30s-di-Xa.lan (192.168.1.149)
Host is up (0.13s latency).

PORT     STATE  SERVICE
8610/udp closed canon-mfnp
8611/udp closed canon-bjnp1
8612/udp closed canon-bjnp2
MAC Address: 1A:21:69:74:B7:16 (Unknown)

Nmap scan report for Canonc31f78.lan (192.168.1.246)
Host is up (0.41s latency).

PORT     STATE         SERVICE
8610/udp open|filtered canon-mfnp
8611/udp open|filtered canon-bjnp1
8612/udp open|filtered canon-bjnp2
MAC Address: 70:66:55:20:23:62 (AzureWave Technology)

Nmap scan report for myfastgate.lan (192.168.1.254)
Host is up (0.0044s latency).

PORT     STATE  SERVICE
8610/udp closed canon-mfnp
8611/udp closed canon-bjnp1
8612/udp closed canon-bjnp2
MAC Address: 20:B0:01:EF:D2:94 (Technicolor Delivery Technologies Belgium NV)

Nmap scan report for 192.168.1.212
Host is up (0.00012s latency).

PORT     STATE  SERVICE
8610/udp closed canon-mfnp
8611/udp closed canon-bjnp1
8612/udp closed canon-bjnp2

This is the result.

In YAST, there is written:

net–> No scanner recognized by this driver
pixma–> No scanner recognized by this driver

I assume you know the IP address of your printer?
Does this pertain to your Canon multi-function device?


Nmap scan report for Canonc31f78.lan (192.168.1.246)
Host is up (0.41s latency).

PORT     STATE         SERVICE
8610/udp open|filtered canon-mfnp
8611/udp open|filtered canon-bjnp1
8612/udp open|filtered canon-bjnp2
MAC Address: 70:66:55:20:23:62 (AzureWave Technology)

In YAST, there is written:

net–> No scanner recognized by this driver
pixma–> No scanner recognized by this driver

The net backend is not relevant here. The pixma may or may not support the device in question.

Please answer the question in post #8 (and followed up in post #11) regarding the ‘scanimage > test.png’ command when USB connected.

Ordinarily, I would expect a compatible Canon device to be discovered by broadcasting it’s presence, however the ‘sane-pixma’ backend can be explicitly configured for a given (compatible) scanner by editing /etc/sane.d/pixma.conf with the inclusion of a suitable URL…

If supporting MFNP…

mfnp://<IP address of printer/scanner device>

or if supporting BJNP…

bjnp://<IP address of printer/scanner device>

as outlined in

man sane-pixma

If one of the above URLs does not work, then it is likely that it is not supported at all. That is why I wanted you to test first via the USB-connected device.

scanimage > test.png

This command works fine when the scanner is connected via USB.
I know what is the scanner IP, so I’m going to configure manually as you suggested.

Finally…that is good to know.

I know what is the scanner IP, so I’m going to configure manually as you suggested.

It’s worth a shot but I’m not hopeful. Let us know how you get on.

Here’s a similar thread I helped with where a user found specifying the IP address of the scanner explicitly in the /etc/sane.d/pixma.conf worked with a Canon Maxify multifunction device…

https://forums.opensuse.org/showthread.php/545323-Printer-Installation-Canon-Maxify-MB5450?p=2971189#post2971189

Now it works! I waited a little bit for writing this because I would like to be very sure on it.
Thanks to Sauerland and deano_ferrari for the support.

The link provided for LEAP 15.2 is exactly the same problem, but of course I had to tag my post for tumbleweed because I’m using it.

Well done! Glad to have been of guidance.

Hi,

I have the same issue with MF445dw laser printer/scanner. Sometimes the printer is recognized but never the scanner even with firewall in OFF. When the printer is recognized, it works fine, but it is lost at every reboot and not a way to recognize it again. Yes, I checked the firewall, and it is OFF. The only form to use the scanner is to configure it by hand with its IP. I tried others distros (fedora & Ubuntu) and they recognized the printer and the scanner without any manual IP setting. Is it something that is missing in my opensuse to detect the network devices automatically?

thanks,