First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 197726
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dima Ryazanov <dima@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
70-hplip.rules 70-hplip.rules text/plain Matthias Schwarzott 2007-11-01 13:24 0000 912 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 197726 depends on: Show dependency tree
Bug 197726 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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

------- Comment #1 From Paul Bredbury 2007-11-01 06:38:49 0000 -------
Rename 55-hpmud.rules to e.g. 90-hpmud.rules, so that its assignments take
precedence.

------- Comment #2 From Matthias Schwarzott 2007-11-01 13:24:46 0000 -------
Created an attachment (id=134884) [edit]
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?

------- Comment #3 From Pacho Ramos 2007-11-18 18:58:51 0000 -------
I don't suffer this problem, Are you in "lp" and "usb" groups?

------- Comment #4 From Denis Dupeyron 2007-11-19 16:42:20 0000 -------
(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.

------- Comment #5 From Dima Ryazanov 2007-11-21 06:19:50 0000 -------
hplip-2.7.10 fixes everything, thanks.

Yes, I'm in the lp group, but not in usb.

First Last Prev Next    No search results available      Search page      Enter new bug