Gentoo Archives: gentoo-user

From: ubiquitous1980 <nixuser1980@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
Date: Sun, 25 Apr 2010 00:02:03
Message-Id: 4BD3865A.1060203@gmail.com
In Reply to: Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not. by Daniel Pielmeier
1 Daniel,
2
3 I have found the line which is at fault in xx-libsane.rules. Problem
4 is, what we are doing is a work around:
5
6 # Hewlett-Packard Photosmart C5100 series
7 ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="5811", MODE="0664",
8 GROUP="lp", ENV$
9
10 I have changed the group to lp from scanner so that I could maintain the
11 file number. Problem is, if we have MODE="0664", those in the scanner
12 group should be able to access the printer. Do you think this suggests
13 a deeper bug? I created a testfile in my home directory with stickybits
14 set to 0664. I then set ownership to root:scanner. Of course, I could
15 edit the file, as I am in the scanner group. This makes me wonder why
16 the rules did not apply in /dev/bus/usb/005/005 when this file was set
17 to 0664 and group to scanner. I know for sure that the group was
18 scanner, but I cannot be sure that the file was truly set to 0664.
19
20 For now I have the intra-config file workaround. I will see if I can
21 mess with things a bit to get things working.
22
23 Thanks
24
25 ubiquitous1980