You are not logged in.

#1 2020-11-29 20:36:20

notquiteradiant
Member
Registered: 2020-11-29
Posts: 3

Canon ImageClass MF212w Drivers Not Functioning, CUPS doesn't work

Hello, all.

I am trying to get my Canon ImageClass MF212w working on my system. I am on vanilla Arch, just to get that out of the way. I have installed multiple driver packages that claimed to have support, and only cnrdrvcups-lb has even had my printer model in it. Now, here's the annoying part. It didn't work even when I selected the correct printer model. For some reason there were three MF210 Series options, so I tried all three. However, none of them worked and it got hung up on "in use - rendering completed". When I made sure to do a full system update in case there were some updated packages that were conflicting for some reason(?), CUPS broke immediately after. Now, I cannot even configure my printer because it says "print service is unavailable - bad file descriptor". I attempted to update again, and now even restarting the process via systemctl does not work.

I know I kind of have two problems here, but your help would be greatly appreciated. I will answer any questions that you have.

Thanks in advance,
Notquiteradiant

Offline

#2 2020-11-30 12:48:16

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,387

Re: Canon ImageClass MF212w Drivers Not Functioning, CUPS doesn't work

The unit names used by cups changed recently requiring manual action.

Did you make those changes ?
If not, check your pacman log for the exact message (search it for  'Cups systemd socket and service files')


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2020-12-05 21:40:55

notquiteradiant
Member
Registered: 2020-11-29
Posts: 3

Re: Canon ImageClass MF212w Drivers Not Functioning, CUPS doesn't work

I have not heard of any of these changes. I am also not exactly aware how to search for those keywords. I assume that you are referring to the command "pacman -Ql  <pkgname>". I will try this, find the information, and give an update.

EDIT: I attempted "pacman -Ql cups" and I was returned a list of files. None of the keywords you sent were really able to be found. I can only assume that this isn't the right command to isolate the change in the cups program. I also looked a little online and could not find any source that showed the change in the structure of the program. Would it be possible to be directed in modifying my system so cups functions again?

Last edited by notquiteradiant (2020-12-05 21:47:28)

Offline

#4 2020-12-06 02:12:22

snakeroot
Member
Registered: 2012-10-06
Posts: 177

Re: Canon ImageClass MF212w Drivers Not Functioning, CUPS doesn't work

The names of the various cups-related units have been changed:

org.cups.cupsd.socket→cups.socket
org.cups.cupsd.service→cups.service
org.cups.cupsd.path→cups.path

You need to disable the old ones and enable the new ones.

Regards,

Offline

#5 2020-12-06 13:53:12

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,387

Re: Canon ImageClass MF212w Drivers Not Functioning, CUPS doesn't work

snakeroot is correct, though I would have prefered it if they had not given the solution directly.

I have not heard of any of these changes. I am also not exactly aware how to search for those keywords. I assume that you are referring to the command "pacman -Ql  <pkgname>". I will try this, find the information, and give an update.

That suggests you don't look at the output of pacman when updating, nor check pacman log files .

pacman log is at /var/log/pacman.log  .
You can open it in any text editor and use its search function , or use commandline tools like grep .

$ grep -n5 "Cups systemd socket and service files" /var/log/pacman.log
103802-[2020-11-20T19:42:04+0100] [ALPM] transaction started
103803-[2020-11-20T19:42:04+0100] [ALPM] upgraded cmake (3.18.5-1 -> 3.19.0-1)
103804-[2020-11-20T19:42:04+0100] [ALPM] upgraded libcups (2.3.3-3 -> 2.3.3+106+ga72b0140e-1)
103805-[2020-11-20T19:42:04+0100] [ALPM] upgraded cups-filters (1.28.5-1 -> 1.28.5-3)
103806-[2020-11-20T19:42:04+0100] [ALPM] upgraded cups (2.3.3-3 -> 2.3.3+106+ga72b0140e-1)
103807:[2020-11-20T19:42:04+0100] [ALPM-SCRIPTLET] >>> Cups systemd socket and service files have been
103808-[2020-11-20T19:42:04+0100] [ALPM-SCRIPTLET] >>> renamed by upstream decision. Please make sure
103809-[2020-11-20T19:42:04+0100] [ALPM-SCRIPTLET] >>> to disable/reenable the services to your need.
103810-[2020-11-20T19:42:04+0100] [ALPM-SCRIPTLET] >>> hint: "pacman -Ql cups | grep systemd" and
103811-[2020-11-20T19:42:04+0100] [ALPM-SCRIPTLET] >>> "ls -lR /etc/systemd/ | grep cups" 
103812-[2020-11-20T19:42:04+0100] [ALPM] upgraded xorg-server-common (1.20.9-3 -> 1.20.9.r21.g5c400cae1-2)
[panoramix@silverbolt ~]$ 

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2020-12-07 19:20:14

notquiteradiant
Member
Registered: 2020-11-29
Posts: 3

Re: Canon ImageClass MF212w Drivers Not Functioning, CUPS doesn't work

Thank you for the concise answer! that got CUPS functioning again. However, the printer is still doing what it was before. It gets stuck at "In Use - Rendering Completed". At the risk of being annoying by repeating myself, the only driver package that purportedly supports my printer "MF212w" is cnrdrvcups-lb, as far as I know. Looking in the print queue, it shows the test page as having zero pages. Any ideas what I'm doing wrong or what's bugging out?

Thanks again.

Edit: I know now where to check pacman logs in case anything else changes in a similar way in the future. Thank you, Lone_Wolf, for giving that explanation even if the "answer" to the first half of the problem was already given. I should be better equipped now for future problems of this nature.

Edit 2: "That suggests you don't look at the output of pacman when updating, nor check pacman log files." If I paid attention I could've caught that. Well, I will make sure to watch in the future so I don't have things like this happen to me again. I will also make sure to remember the location of the pacman log so I can check it if something goes wrong after an update and I miss it. I really appreciate your patience in dealing with me. I hope I'm not coming across as a "help vampire" (I think that's what it was called in the forum rules).

Last edited by notquiteradiant (2020-12-07 22:10:45)

Offline

Board footer

Powered by FluxBB