FS#12990 - [hplip-2.8.10-2] wrong usb device permission disable any printing

Attached to Project: Arch Linux
Opened by solsTiCe (zebul666) - Monday, 26 January 2009, 20:49 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 03 March 2009, 18:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
i can't print with my HP Photsmart C3180 since some updates with pacman. (one in hplip-2.8.10-2 , udev-135-2, kernel-2.6.28-{1,2}, ... ?)

as reported in the forum thread http://bbs.archlinux.org/viewtopic.php?id=63899
i got message in /var/log/messages.log like that
Jan 26 21:15:29 soho load-modules.sh: 'usb:v03F0p5611d0100dc00dsc00dp00icFFiscCCip00' is not a valid module or alias name
Jan 26 21:15:29 soho load-modules.sh: 'usb:v03F0p5611d0100dc00dsc00dp00icFFiscFFipFF' is not a valid module or alias name

and trying one of the hp tools like hp-levels or hp-toolbox gives an error like that
error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C3100_series?serial=MY716D32F804P9
error: Error opening device (Device not found). Exiting.

but the job is queued in cups (i can see it in cups web interface)

it seems it is only a problem of permission AGAIN ! see  FS#8240  or  FS#9935 

look at what i got after i power up my printer:
# lsusb|grep PhotoSmart
Bus 001 Device 006: ID 03f0:5611 Hewlett-Packard PhotoSmart C3180
# ls -l /dev/usb/lp0
crw-rw---- 1 root lp 180, 0 janv. 26 21:27 /dev/usb/lp0
# ls -l /dev/bus/usb/001/006
crw-rw-r-- 1 root root 189, 5 janv. 26 21:27 /dev/bus/usb/001/006

the bug is that /dev/bus/usb/001/006 should be of the group lp to be able to print
it works if i do
chgrp lp /dev/bus/usb/001/006

Additional info:
cups 1.3.9-4
hplip 2.8.10-2
This task depends upon

Closed by  Aaron Griffin (phrakture)
Tuesday, 03 March 2009, 18:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  Seems to work in 3.9.2
Comment by solsTiCe (zebul666) - Monday, 26 January 2009, 21:05 GMT
as reported in thread of bug  FS#9935 ,
i have changed the udev rules of 55-hpmud.rules
using GROUP:= instead of GROUP=
and it's working with only that changes [and SYSFS to ATTRS but i don't think this one change anything]

i don't know the reason why it works that way. i don't know the syntax of udev rules. = and := seems to be both allowed...
if someone could investigate this
Comment by solsTiCe (zebul666) - Saturday, 14 February 2009, 09:10 GMT
please change severity to high
Comment by Greg (dolby) - Monday, 02 March 2009, 08:02 GMT
Does this also happen with hplip 3.9,2?
Comment by solsTiCe (zebul666) - Monday, 02 March 2009, 11:39 GMT
it seems to work now with hplip 3.9.2

why ?
Comment by Greg (dolby) - Monday, 02 March 2009, 11:59 GMT
I dont know, tpowa fixed it. But since this wasnt assigned yet, thought id ask.
Please request closure if you think its appropriate.

Loading...