Joe, thanks for the report.

-Don


On 9/13/07, Joe Morris (NTM) <[EMAIL PROTECTED]> wrote:
>
> On 09/13/2007 10:34 PM, Johannes Meixner wrote:
> > Hello,
> >
> > it seems there is by default no device status via hp-toolbox
> > for normal users which do not have write access to a USB printer
> > even if hpssd runs as root.
> >
> It works here in 10.2
> > Details:
> >
> > I have HPLIP 2.7.7 running on a AMD 64-bit (X86-64) machine
> > using openSUSE 10.3 (beta2) with a HP DeskJet 3320c USB printer.
> >
> I am running 2.7.7 (from your home repository) on an AMD x86_64 with
> openSUSE 10.2 with a PSC2175.
> > By default it is
> >
> > [EMAIL PROTECTED] lsusb
> > Bus 002 Device 003: ID 03f0:7004 Hewlett-Packard DeskJet 3320c
> >
> [EMAIL PROTECTED]:~> lsusb
> Bus 004 Device 002: ID 03f0:2b11 Hewlett-Packard
>
> > [EMAIL PROTECTED] ls -l /dev/bus/usb/002/003
> > crw-rw-r-- 1 root lp 189, 130 2007-09-13 15:55 /dev/bus/usb/002/003
> >
> [EMAIL PROTECTED]:~> ls -l /dev/bus/usb/004/002
> crw-rw-r--+ 1 root lp 189, 385 2007-09-14 06:27 /dev/bus/usb/004/002
>
> > [EMAIL PROTECTED] lpstat -v
> > device for deskjet_3320: hp:/usb/deskjet_3320?serial=TH27T2H35B35
> >
> [EMAIL PROTECTED]:~> lpstat -v
> device for HP_PSC2175: hp:/usb/PSC_2170_Series?serial=MY3AEF74PF73
>
> > [EMAIL PROTECTED] ps auxw | grep hp
> > root ... hpssd /usr/share/hplip/hpssd.py
> >
> [EMAIL PROTECTED]:~> ps auxw | grep hp
> root      ... hpssd /usr/share/hplip/hpssd.py
>
> >
> > When I run hp-toolbox as normal user I get:
> > --------------------------------------------------------------------
> > [EMAIL PROTECTED] hp-toolbox
> >
> > HP Linux Imaging and Printing System (ver. 2.7.7)
> > HP Device Manager ver. 10.0
> >
> > Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
> > This software comes with ABSOLUTELY NO WARRANTY.
> > This is free software, and you are welcome to distribute it
> > under certain conditions. See COPYING file for more details.
> >
> Here it works fine.
> [EMAIL PROTECTED]:~> /usr/sbin/hal-resmgr --list
> UDI /org/freedesktop/Hal/devices/usb_device_3f0_2b11_MY3AEF74PF73_usbraw
> Device /dev/bus/usb/004/002
> Class scanner
>
> [EMAIL PROTECTED]:~> getfacl /dev/bus/usb/004/002
> getfacl: Removing leading '/' from absolute path names
> # file: dev/bus/usb/004/002
> # owner: root
> # group: lp
> user::rw-
> user:joe:rw-
> group::rw-
> mask::rw-
> other::r--
>
> [EMAIL PROTECTED]:~> hp-toolbox
>
> HP Linux Imaging and Printing System (ver. 2.7.7)
> HP Device Manager ver. 10.0
>
> Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
> This software comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to distribute it
> under certain conditions. See COPYING file for more details.
>
> and it opens and is usable, though for a short instance there is an
> error at first (I assume connection attempt.  There is no info related
> in /var/log/messages.
> > But when I do
> >
> > [EMAIL PROTECTED] chmod o+w /dev/bus/usb/002/003
> >
> > [EMAIL PROTECTED] ls -l /dev/bus/usb/002/003
> > crw-rw-rw- 1 root lp 189, 130 2007-09-13 15:55 /dev/bus/usb/002/003
> >
> > and re-start hp-toolbox as normal user, I get the device status.
> >
> >
> I thought that was the importance of hal-resmgr in this mix, so that a
> normal user does have rw access.  Maybe I am not understanding
> something, but I can report it does work as a normal user here with
> openSUSE 10.2
>
> --
> Joe Morris
> Registered Linux user 231871 running openSUSE 10.2 x86_64
>
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> HPLIP-Help mailing list
> HPLIP-Help@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hplip-help
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to