You are not logged in.

#1 2014-03-16 17:21:46

georgnix
Member
Registered: 2014-03-06
Posts: 9

cups usb printer, udev permissions, wiki

Hi,

I just had a problem with my usb printer not being recognized by cups. Probably this was due to a kernel update or something similar (can't say for sure). The problem was easily resolved by having udev set device permissions to group lp.
/etc/udev/rules.d/23-usb-printer.rules:

# Kyocera Mita FS-1020D
ATTR{idVendor}=="0482", ATTR{idProduct}=="000e", MODE:="0664", GROUP:="lp"

After re-plugging the printer CUPS detected it as expected.

This problem is already described here:
https://bbs.archlinux.org/viewtopic.php?id=82489

However, there is no mentioning of this in
https://wiki.archlinux.org/index.php/Cups#USB_printers

Shouldn't this be added to the wiki?

It took me a while to come up with the solution above. Google searches like
https://www.google.de/search?q=linux+cu … sb+printer
give misleading results, e.g. blacklisting usblp.
So, it seems like many other people could have a hard time finding a solution to this problem, which I presume to be pretty common.

Is the solution (to add a udev rule) the right thing to do [tm]? What are other distributions doing?

Offline

#2 2014-03-16 18:03:04

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: cups usb printer, udev permissions, wiki

If this is general, please edit the wiki with the steps.  After all, the wiki is user supported and maintained.

Offline

#3 2014-03-16 18:41:47

libernux
Member
From: Netherlands
Registered: 2009-09-29
Posts: 53

Re: cups usb printer, udev permissions, wiki

No this is not general.
The latest udev has the rules in the correct order for recognising printers.
I personaly have only 1 rule in /etc/udev/rules.d wich has to do with a bluetooth adapter.
I don't know where you got that rule from but in the current systemd(udev) there is no rule : 23-usb-printer.rules
My printer is correctly detected and my scanner works. (Brother MFC210C)
My advice would be to remove that rule from /etc/udev/rules, and check that you have the latest systemd.


I was born with nothing and I still got most of it

Offline

Board footer

Powered by FluxBB