sane-backends-1.0.32: udev rule causes conflict with cups preventing printing
Hello,
This is an old issue that is still happening and I am unsure about how to fix it finally and for all the people. The main issue is that the device assigned to the USB printer gets wrong permissions. In my case, it's being assigned to scanner group (because it is a printer+scanner device): $ ls -l /dev/bus/usb/001/004 crw-rw-r--+ 1 root scanner 189, 3 dic 24 12:37 /dev/bus/usb/001/004
The consequence is that printing jobs get stuck with "Waiting for printer to become available" error forever.
Workarounds are posted in internet for many different distributions, in summary, the solution is to manually create a udev rule to fix the permissions, as explained at: https://wiki.gentoo.org/wiki/Printing#USB_Printer_is_not_detected https://www.linuxquestions.org/questions/slackware-14/waiting-for-printer-to-become-available-4175652261/ https://www.reddit.com/r/linuxquestions/comments/riqf4n/cant_print_waiting_for_printer_to_become_available/ https://wiki.archlinux.org/title/CUPS/Troubleshooting#Bad_permissions https://forums.gentoo.org/viewtopic-t-1095586-highlight-.html https://bugs.gentoo.org/644636
But, ideally, we shouldn't rely on users needed to do this on their own and it should just work Also, the suggested workarounds are reverting at the end what saned udev rules do :/
I reported it to cups side too: https://github.com/OpenPrinting/cups/issues/314
But I am unsure about how to make both coexist together. That is needed since this kind of devices are printer+scanner... even if it's true that it seems that scanner still runs fine even with the device being assigned to lp group
Thanks a lot for your help