Bug 197726 - net-print/hplip-2.7.9-r1: usb printer's group gets overridden by udev's default rules
|
Bug#:
197726
|
Product: Gentoo Linux
|
Version: 2006.0
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: printing@gentoo.org
|
Reported By: dima@gmail.com
|
|
Component: Printing
|
|
|
URL:
|
|
Summary: net-print/hplip-2.7.9-r1: usb printer's group gets overridden by udev's default rules
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-11-01 06:15 0000
|
My printer stopped working yet again, because of the device's permissions.
55-hpmud.rules sets the group to "lp":
# Check for AiO products (0x03f0xx11).
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??11", OWNER="lp", GROUP="lp",
MODE="0666"
...
But then, 65-permissions.rules sets the group to "usb":
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb", MODE="664"
Reproducible: Always
Steps to Reproduce:
1. Try to print
Actual Results:
Nothing happens
Expected Results:
It should print
Rename 55-hpmud.rules to e.g. 90-hpmud.rules, so that its assignments take
precedence.
Created an attachment (id=134884) [details]
70-hplip.rules
I suggest to move the rules to 70-*.rules like libgphoto2 and other rules that
change stuff set in our rules (like libusb permissions).
The attached file is as I would change the rules.
As MODE=0666 is bad for printers. Is this really needed?
I don't suffer this problem, Are you in "lp" and "usb" groups?
(In reply to comment #3)
> I don't suffer this problem, Are you in "lp" and "usb" groups?
I'm suspecting his user is in lp but not in usb, and to me that seems like a
legitimate setup. And since what Matthias suggested seemed to make sense (BTW
Matthias, thanks for the crash course on udev) I went ahead and replaced the
udev rules.
The fix is in hplip-2.7.10 only, so try it. If it didn't work please reopen and
provide the result of hp-check plus whatever would seem relevant.
Denis.
hplip-2.7.10 fixes everything, thanks.
Yes, I'm in the lp group, but not in usb.