Canon MG2100 - not recognized, cnijfilter-mg2100 build fails

Hello,

on latest Manjaro XFCE, the apps not offered me any usb printer despite it was recognized in “dmesg” output.

i was checking the Printing - Manjaro and it appeared my cups service was already running:

$ systemctl -l|egrep -i "print|cups"
  org.cups.cupsd.path loaded active     running   CUPS Scheduler                                                                    
  org.cups.cupsd.service loaded active     running   CUPS Scheduler                                                                    
  org.cups.cupsd.socket loaded active     running   CUPS Scheduler                                                                    
  printer.target loaded active     active    Printer                                                                           

but i installed mentioned package: sudo pacman -S manjaro-printer

When i click Manjaro “start” menu and type “print” open the printing wizard and add printer wizard, it does not recognize any printer.

I was trying to build AUR (en) - cnijfilter-mg2100 (i do not know if i need this package), but it failed to build with error (at the end of the output). @oberon

Please what do you suggest to try?

On the official support/drivers page, they have debian and redhat packages apparently, but not sure if i can use anything on Arch/Manjaro.

Please unflag the cnijfilter-mg2100 AUR package, that’s only for when the package needs an update when there’s a new release. If the build fails, leave a comment.

16 days passed, anyone please suggest how to proceed?
When i click to reboot the system i usually see the black screen with several messages that the CUPS service was unable to start for maybe a minute. And after i boot i see in dmesg:

[ 28.078340] audit: type=1130 audit(1605951055.938:101): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg=‘unit=org.cups.cupsd comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed’

Then i grep the logs: sudo grep -Ri cups /var/log
and see these errors.

based on that errors i have found likely erroneous file /etc/cups/cupsd.conf content here.

So i have removed all that HTML and left only line: LogLevel debug

Discovering cups service name: systemctl -l|grep -i cups

$ systemctl start org.cups.cupsd.service

Job for org.cups.cupsd.service failed because the service did not take the steps required by its unit configuration.
See “systemctl status org.cups.cupsd.service” and “journalctl -xe” for details.

$ systemctl status org.cups.cupsd.service

org.cups.cupsd.service - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/org.cups.cupsd.service; enabled; vendor preset: disabled)
Active: failed (Result: protocol) since Sat 2020-11-21 11:24:05 CET; 11s ago
TriggeredBy: org.cups.cupsd.path
org.cups.cupsd.socket
Docs: man:cupsd(8)
Process: 120848 ExecStart=/usr/bin/cupsd -l (code=killed, signal=TERM)
Main PID: 120848 (code=killed, signal=TERM)
lis 21 11:24:05 lnot systemd[1]: org.cups.cupsd.service: Scheduled restart job, restart counter is at 5.
lis 21 11:24:05 lnot systemd[1]: Stopped CUPS Scheduler.
lis 21 11:24:05 lnot systemd[1]: org.cups.cupsd.service: Start request repeated too quickly.
lis 21 11:24:05 lnot systemd[1]: org.cups.cupsd.service: Failed with result ‘protocol’.
lis 21 11:24:05 lnot systemd[1]: Failed to start CUPS Scheduler.

Then on the internet i have found that there is some default config file so i copied it over the main config:
locate cupsd.conf.default
sudo cp -p /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
Now the service started.

So i have turned on the printer, connected it to the USB hub. In launcher menu typed “print” launched HP device manager, clicked to add device, autodetection, via USB, it found nothing. Dmesg shows:

[ 3692.953467] audit: type=1006 audit(1605954721.299:669): pid=140406 uid=0 subj==unconfined old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=65 res=1
[ 3706.863026] kauditd_printk_skb: 2 callbacks suppressed
[ 3752.999486] audit: type=1006 audit(1605954781.346:684): pid=143072 uid=0 subj==unconfined old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=66 res=1
[ 3813.042269] audit: type=1006 audit(1605954841.390:691): pid=145871 uid=0 subj==unconfined old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=67 res=1
[ 3873.087323] audit: type=1006 audit(1605954901.434:708): pid=148602 uid=0 subj==unconfined old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=68 res=1
[ 3933.134226] audit: type=1006 audit(1605954961.481:715): pid=151175 uid=0 subj==unconfined old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=69 res=1
[ 3993.177977] audit: type=1006 audit(1605955021.525:722): pid=153755 uid=0 subj==unconfined old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=70 res=1
[ 4053.225444] audit: type=1006 audit(1605955081.572:729): pid=156573 uid=0 subj==unconfined old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=71 res=1
[ 4103.412212] usb 2-1.4: new high-speed USB device number 10 using xhci_hcd
[ 4103.523958] usb 2-1.4: New USB device found, idVendor=04a9, idProduct=1751, bcdDevice= 1.09
[ 4103.523967] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4103.523968] usb 2-1.4: Product: MG2100 series
[ 4103.523970] usb 2-1.4: Manufacturer: Canon
[ 4103.523971] usb 2-1.4: SerialNumber: anonymized?
[ 4103.611576] usblp 2-1.4:1.1: usblp0: USB Bidirectional printer dev 10 if 1 alt 0 proto 2 vid 0x04A9 pid 0x1751
[ 4103.611614] usbcore: registered new interface driver usblp
[ 4113.270531] audit: type=1006 audit(1605955141.619:736): pid=159231 uid=0 subj==unconfined old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=72 res=1
[ 4173.316276] audit: type=1006 audit(1605955201.666:743): pid=161454 uid=0 subj==unconfined old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=73 res=1

lpinfo -v


direct usb://Canon/MG2100%20series?serial=snhereanonymized&interface=1

please how to proceed now? I remind that as mentioned in first post, cnijfilter-mg2100 build failed(i do not know whether it is necessary package). Thank you in advance.