Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[gentoo-user] hal greps my USB printer - help !

 
   Soft32 Home -> Linux -> User RSS
Next:  Can linux-any arch and friends be used?  
Author Message
Helmut Jarausch

External


Since: Mar 08, 2005
Posts: 77



(Msg. 1) Posted: Thu Oct 29, 2009 11:20 am
Post subject: [gentoo-user] hal greps my USB printer - help !
Archived from groups: linux>gentoo>user (more info?)

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
Back to top
Login to vote
walt

External


Since: Dec 20, 2006
Posts: 35



(Msg. 2) Posted: Thu Oct 29, 2009 3:20 pm
Post subject: [gentoo-user] Re: hal greps my USB printer - help ! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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?
Back to top
Login to vote
Helmut Jarausch

External


Since: Mar 08, 2005
Posts: 77



(Msg. 3) Posted: Fri Oct 30, 2009 7:20 am
Post subject: [gentoo-user] Whose bug is it? [was: hal greps my USB printer - help !] [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
Back to top
Login to vote
Helmut Jarausch

External


Since: Mar 08, 2005
Posts: 77



(Msg. 4) Posted: Fri Oct 30, 2009 7:20 am
Post subject: Re: [gentoo-user] Whose bug is it? [was: hal greps my USB printer - help !] [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[gentoo-user] printer puzzle - i just had a brief printing crisis, which i have now solved. when i couldn't even print a test page, i added 'debug' to...

[gentoo-user] Printer queue - I tried installing CUPS using the Gentoo Printing Guide. I followed the guide all the way through setup. I used the..

[gentoo-user] Brother Printer - Anyone here got a Brother printer? And if so what model? Email Disclaimer..

[gentoo-user] Can't delete printer! - I've tried everything I can think of. * When I use foomatic-gui to delete the printer, I get a message ....

[gentoo-user] Printer Setup - I am trying to get my locally attached printer to work, first time setup. Followed the instructions and so far nothing...

[gentoo-user] koffice printer error - Koffice 1.3.2 on kde 3.3.0_beta2 won´t print with kdeprinter and cups. Everything else on this box is fine. There was....
       Soft32 Home -> Linux -> User All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]