View previous topic :: View next topic |
Author |
Message |
jesso Guru
Joined: 27 Oct 2004 Posts: 397 Location: Canada
|
Posted: Wed Apr 16, 2008 5:43 pm Post subject: hplip cannot access printer without being root |
|
|
I cannot access my hp printer through /usr/bin/hp-toolbox. I cannot print either. I get access denied. It works as root.
My userId belongs to lp group.
The udev stuff is:
Code: | cat /etc/udev/rules.d/70-hpmud.rules
# Udev rules file for HP printer products.
ACTION!="add", GOTO="hpmud_rules_end"
SUBSYSTEM!="usb|usb_device", GOTO="hpmud_rules_end"
SUBSYSTEM=="usb", ENV{DEVTYPE}!="usb_device" ,GOTO="hpmud_rules_end"
# Check for AiO products (0x03f0xx11).
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??11", MODE="0666", GROUP="lp"
# Check for Photosmart products (0x03f0xx02).
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??02", MODE="0666", GROUP="lp"
# Check for Business Inkjet products (0x03f0xx12).
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??12", MODE="0666", GROUP="lp"
# Check for Deskjet products (0x03f0xx04).
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??04", MODE="0666", GROUP="lp"
# Check for LaserJet products (0x03f0xx17).
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17", MODE="0666", GROUP="lp"
LABEL="hpmud_rules_end"
|
My printer is recoginzed:
Code: | dmesg | grep -i photo
scsi 0:0:0:0: Direct-Access HP Photosmart C3180 1.00 PQ: 0 ANSI: 2
jason@dory ~ $ lsusb
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 045e:008c Microsoft Corp. Wireless Intellimouse Explorer 2.0
Bus 001 Device 002: ID 03f0:5611 Hewlett-Packard PhotoSmart C3180
Bus 001 Device 004: ID 0bda:0111 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 0000:0000
|
What could be the problem? This just came up on me. Worked all along. I downgraded, but it is the same. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Apr 16, 2008 5:48 pm Post subject: |
|
|
Check the permissions of the printer "device" in /dev/ - e.g. I have:
Code: | $ ls -l /dev/usb/lp0
crw-rw---- 1 root lp 180, 0 2008-04-16 01:21 /dev/usb/lp0 |
|
|
Back to top |
|
|
jesso Guru
Joined: 27 Oct 2004 Posts: 397 Location: Canada
|
Posted: Wed Apr 16, 2008 5:59 pm Post subject: |
|
|
PaulBredbury wrote: | Check the permissions of the printer "device" in /dev/ - e.g. I have:
Code: | $ ls -l /dev/usb/lp0
crw-rw---- 1 root lp 180, 0 2008-04-16 01:21 /dev/usb/lp0 |
|
This does not exist. It never did. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot 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
|
|