* [gentoo-user] hal greps my USB printer - help !
@ 2009-10-29 15:11 Helmut Jarausch
2009-10-29 19:57 ` [gentoo-user] " walt
0 siblings, 1 reply; 5+ messages in thread
From: Helmut Jarausch @ 2009-10-29 15:11 UTC (permalink / raw
To: gentoo-user
Hi,
on one of my identical (believed) machines,
hal greps the USB printer and disables CUPS.
I.e. on one machine hal-device | grep -i kyocera
shows that hal has grepped it.
On an identical machine (with a HP printer)
hal_device shows nothing relevant to that printer
and CUPS is working on that machine when printing to
that printer.
How can I stop hal grepping the printer or how can I
make hal cooperative with cups (1.4.1)
Many thanks,
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: hal greps my USB printer - help !
2009-10-29 15:11 [gentoo-user] hal greps my USB printer - help ! Helmut Jarausch
@ 2009-10-29 19:57 ` walt
2009-10-30 12:16 ` [gentoo-user] Whose bug is it? [was: hal greps my USB printer - help !] Helmut Jarausch
0 siblings, 1 reply; 5+ messages in thread
From: walt @ 2009-10-29 19:57 UTC (permalink / raw
To: gentoo-user
On 10/29/2009 08:11 AM, Helmut Jarausch wrote:
> Hi,
>
> on one of my identical (believed) machines,
> hal greps the USB printer and disables CUPS...
Could you be more specific about 'disables'? I use an HP
USB printer on a machine running cupsd and hal, and it works
perfectly:
printer.originating_device = '/org/freedesktop/Hal/devices/usb_device_3f0_1617_00CNBM369103_if0' (string)
printer.vendor = 'Hewlett-Packard' (string)
printer.product = 'hp LaserJet 3015' (string)
I think the problem must be something besides hal, but what?
Is cups really running on the problem machine? Can you talk
to cupsd using your web browser at http://localhost:631? If
yes, does the printer show up in the list of known printers?
If not, can you add it to the list of known printers?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Whose bug is it? [was: hal greps my USB printer - help !]
2009-10-29 19:57 ` [gentoo-user] " walt
@ 2009-10-30 12:16 ` Helmut Jarausch
2009-10-30 12:17 ` Helmut Jarausch
2009-10-30 17:50 ` James Ausmus
0 siblings, 2 replies; 5+ messages in thread
From: Helmut Jarausch @ 2009-10-30 12:16 UTC (permalink / raw
To: gentoo-user
After a long search on the net I've found out
that the permissions of the usb device are set wrong
(root.usb)
It looks like an UDEV rule installed by sane-backends
sets the user to root and the group to usb.
With these settings CUPS won't recognize/use the printer.
I had to add the following rule to /etc/udev/rules.d/10-local.rules
(e.g.)
ATTR{idVendor}=="0482", ATTR{idProduct}=="0015", MODE:="0777",
GROUP:="lp", USER:="lp", ENV{libsane_matched}:="yes"
where one has to vary the idVendor and idProduct, of course.
Even for a casual Gentoo user that's neither trivial nor comfortable.
If the printer breaks sometime one has to remember to change that rule.
And it wasn't easy to find that advice.
Where should I report a bug to ?
To
net-print/cups
or
media-gfx/sane-backends
or where else?
Thanks for your help,
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Whose bug is it? [was: hal greps my USB printer - help !]
2009-10-30 12:16 ` [gentoo-user] Whose bug is it? [was: hal greps my USB printer - help !] Helmut Jarausch
@ 2009-10-30 12:17 ` Helmut Jarausch
2009-10-30 17:50 ` James Ausmus
1 sibling, 0 replies; 5+ messages in thread
From: Helmut Jarausch @ 2009-10-30 12:17 UTC (permalink / raw
To: gentoo-user
On 30 Oct, Helmut Jarausch wrote:
> After a long search on the net I've found out
> that the permissions of the usb device are set wrong
> (root.usb)
> It looks like an UDEV rule installed by sane-backends
> sets the user to root and the group to usb.
> With these settings CUPS won't recognize/use the printer.
>
> I had to add the following rule to /etc/udev/rules.d/10-local.rules
> (e.g.)
>
> ATTR{idVendor}=="0482", ATTR{idProduct}=="0015", MODE:="0777",
> GROUP:="lp", USER:="lp", ENV{libsane_matched}:="yes"
this must be OWNER:="lp"
of course.
>
> where one has to vary the idVendor and idProduct, of course.
>
> Even for a casual Gentoo user that's neither trivial nor comfortable.
> If the printer breaks sometime one has to remember to change that rule.
> And it wasn't easy to find that advice.
>
> Where should I report a bug to ?
> To
> net-print/cups
> or
> media-gfx/sane-backends
> or where else?
>
> Thanks for your help,
> Helmut.
>
>
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Whose bug is it? [was: hal greps my USB printer - help !]
2009-10-30 12:16 ` [gentoo-user] Whose bug is it? [was: hal greps my USB printer - help !] Helmut Jarausch
2009-10-30 12:17 ` Helmut Jarausch
@ 2009-10-30 17:50 ` James Ausmus
1 sibling, 0 replies; 5+ messages in thread
From: James Ausmus @ 2009-10-30 17:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]
On Fri, Oct 30, 2009 at 5:16 AM, Helmut Jarausch <
jarausch@igpm.rwth-aachen.de> wrote:
> After a long search on the net I've found out
> that the permissions of the usb device are set wrong
> (root.usb)
> It looks like an UDEV rule installed by sane-backends
> sets the user to root and the group to usb.
> With these settings CUPS won't recognize/use the printer.
>
> I had to add the following rule to /etc/udev/rules.d/10-local.rules
> (e.g.)
>
> ATTR{idVendor}=="0482", ATTR{idProduct}=="0015", MODE:="0777",
> GROUP:="lp", USER:="lp", ENV{libsane_matched}:="yes"
>
> where one has to vary the idVendor and idProduct, of course.
>
> Even for a casual Gentoo user that's neither trivial nor comfortable.
> If the printer breaks sometime one has to remember to change that rule.
> And it wasn't easy to find that advice.
>
> Where should I report a bug to ?
> To
> net-print/cups
> or
> media-gfx/sane-backends
> or where else?
>
Hmm, I'm not entirely convinced there is a bug here... I don't have your
particular situation, but on my system, cupsd runs as root, which means that
it should be able to access the device just fine, whether it's set up as lp
or usb. Is it possible that the user that you are logged in as isn't a
member of the "usb" group?
-James
>
> Thanks for your help,
> Helmut.
>
>
> --
> Helmut Jarausch
>
> Lehrstuhl fuer Numerische Mathematik
> RWTH - Aachen University
> D 52056 Aachen, Germany
>
>
[-- Attachment #2: Type: text/html, Size: 2114 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-10-30 17:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29 15:11 [gentoo-user] hal greps my USB printer - help ! Helmut Jarausch
2009-10-29 19:57 ` [gentoo-user] " walt
2009-10-30 12:16 ` [gentoo-user] Whose bug is it? [was: hal greps my USB printer - help !] Helmut Jarausch
2009-10-30 12:17 ` Helmut Jarausch
2009-10-30 17:50 ` James Ausmus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox