Thanks for the feedback about CentOS 4.5. Your log file does look like a
udev permissions issue. We don't normally test CentOS, but we will look
into it.

> On a side note I manually chmod'd /dev/usb/lp0 to 0666 but 
> that doesn't seem to help the communication error I get when 
> running hp-toolbox.

The chmod is a valid temporary fix, but HPLIP does not use /dev/usb/lp0.
HPLIP uses /dev/bus/usb/bbb/ddd instead. Use lsusb to determine bbb/ddd
(ie: bus:device).

-dave  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Mike LaPlante
> Sent: Wednesday, October 31, 2007 10:03 AM
> To: hplip-help@lists.sourceforge.net
> Subject: [Hplip-help] HP-Toolbox as non-root on CentOS 4.5
> 
> I do help desk support for several retail stores that run CentOS 4.5. 
> The current printer I'm working on is a Photosmart C4200, but 
> each store has a different printer and I run into this same 
> issue with all locations.
> 
> Basically I have been install hplip-2.7.10 via the tarball 
> then running hp-setup as root and setting up the new printer. 
> This all works and the users can print to the printers just 
> fine. However, if I try to run hp-toolbox as a standard user I get
> 
> "Unable to communicate with device (code=12): 
> hp:/usb/Photosmart_C4200_series?serial=MY71RCQ06B04VP".
> 
> Everything works if I run as root but nothing works as user 
> (aside from basic printing).
> 
> I enabled logging in the udev.conf and I see this in 
> /var/log/messages when I plug the USB cable:
> ------------------------
> Oct 31 11:03:08 cs24 kernel: usb 1-3: new high speed USB 
> device using address 2 Oct 31 11:03:09 cs24 udev[8595]: parse 
> error /etc/udev/rules.d/55-hpmud.rules, line 3:13, rule 
> skipped Oct 31 11:03:09 cs24 udev[8595]: parse error 
> /etc/udev/rules.d/55-hpmud.rules, line 4:0, rule skipped Oct 
> 31 11:03:09 cs24 udev[8595]: parse error 
> /etc/udev/rules.d/55-hpmud.rules, line 5:0, rule skipped Oct 
> 31 11:03:09 cs24 udev[8595]: parse error 
> /etc/udev/rules.d/55-hpmud.rules, line 6:23, rule skipped Oct 
> 31 11:03:09 cs24 udev[8595]: parse error 
> /etc/udev/rules.d/55-hpmud.rules, line 8:16, rule skipped Oct 
> 31 11:03:09 cs24 udev[8595]: parse error 
> /etc/udev/rules.d/55-hpmud.rules, line 11:0, rule skipped Oct 
> 31 11:03:09 cs24 udev[8595]: parse error 
> /etc/udev/rules.d/55-hpmud.rules, line 13:0, rule skipped Oct 
> 31 11:03:09 cs24 udev[8595]: parse error 
> /etc/udev/rules.d/55-hpmud.rules, line 15:0, rule skipped Oct 
> 31 11:03:09 cs24 udev[8595]: parse error 
> /etc/udev/rules.d/55-hpmud.rules, line 17:0, rule skipped Oct 
> 31 11:03:09 cs24 udev[8595]: parse error 
> /etc/udev/rules.d/55-hpmud.rules, line 19:0, rule skipped Oct 
> 31 11:03:09 cs24 udev[8595]: parse error 
> /etc/udev/rules.d/55-hpmud.rules, line 21:23, rule skipped 
> Oct 31 11:03:09 cs24 udev[8595]: configured rule in 
> '/etc/udev/rules.d/50-udev.rules' at line 31 applied, added 
> symlink 'par%n'
> Oct 31 11:03:10 cs24 kernel: drivers/usb/class/usblp.c: 
> usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 
> vid 0x03F0 pid 0x5C11 Oct 31 11:03:10 cs24 udev[8595]: 
> configured rule in '/etc/udev/rules.d/50-udev.rules' at line 
> 32 applied, 'lp0' becomes 'usb/%k'
> Oct 31 11:03:11 cs24 kernel: usbcore: registered new driver 
> usblp Oct 31 11:03:11 cs24 udev[8595]: creating device node 
> '/dev/usb/lp0'
> --------------------------
> So it looks to me like CentOS is not liking the hplip 
> supplied udev rules and pretty much ignoring them. And it 
> seems to be a simple syntax parsing error, but I've been 
> tinkering for hours and can't get it working.
> 
> On a side note I manually chmod'd /dev/usb/lp0 to 0666 but 
> that doesn't seem to help the communication error I get when 
> running hp-toolbox.
> 
> Looking for suggestions, please CC me since I'm not 
> subscribed directly to the list.
> 
> Thanks
> Mike
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and 
> a browser.
> Download your FREE copy of Splunk now >> 
> http://get.splunk.com/ _______________________________________________
> HPLIP-Help mailing list
> HPLIP-Help@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hplip-help
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to