View previous topic :: View next topic |
Author |
Message |
Belliash Advocate
Joined: 24 Nov 2004 Posts: 2503 Location: Wroclaw, Poland
|
Posted: Fri Sep 14, 2007 6:05 am Post subject: Troubles with HPLIP... Udev? |
|
|
Hello,
I have bought new All-In-One device (printer,scanner,xero,card reader). It's connected to PC through USB port:
Code: | PECET rules.d # lsusb
Bus 002 Device 003: ID 03f0:5d11 Hewlett-Packard
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 046d:c01d Logitech, Inc.
Bus 001 Device 001: ID 0000:0000 |
Everytime i try to print i found that messages in /var/log/messages:
Code: | Sep 14 07:56:20 PECET Photosmart_C5200_series?serial=MY75FBC17F04XQ: io/hpmud/musb.c 549: invalid product id string: Operation not permitted
Sep 14 07:56:20 PECET Photosmart_C5200_series?serial=MY75FBC17F04XQ: io/hpmud/musb.c 1003: unable to open hp:/usb/Photosmart_C5200_series?serial=MY75FBC17F04XQ
Sep 14 07:56:20 PECET Photosmart_C5200_series?serial=MY75FBC17F04XQ: INFO: open device failed; will retry in 30 seconds...
Sep 14 07:56:45 PECET su[5837]: Successful su for root by morpheouss
Sep 14 07:56:45 PECET su[5837]: + pts/2 morpheouss:root
Sep 14 07:56:45 PECET su[5837]: pam_unix(su:session): session opened for user root by (uid=1000)
Sep 14 07:56:50 PECET Photosmart_C5200_series?serial=MY75FBC17F04XQ: io/hpmud/musb.c 549: invalid product id string: Operation not permitted
Sep 14 07:56:50 PECET Photosmart_C5200_series?serial=MY75FBC17F04XQ: io/hpmud/musb.c 1003: unable to open hp:/usb/Photosmart_C5200_series?serial=MY75FBC17F04XQ
Sep 14 07:56:50 PECET Photosmart_C5200_series?serial=MY75FBC17F04XQ: INFO: open device failed; will retry in 30 seconds... |
I was googling for it and i have found this: http://www.mail-archive.com/hplip-help@lists.sourceforge.net/msg03973.html
Code: | The idProduct below must match the actual USB product-id. Use lsusb to get
the actual product-id from device enumeration. |
I have edited /etc/udev/rules.d/55-hpmud.rules and actually it looks that:
Code: | # TODO: add PROGRAM rule for 7/xx/xx printer class interface
SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end"
ACTION!="add", GOTO="hpmud_rules_end"
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="5d11", PROGRAM="/bin/sh -c 'X=%k X=$${X#usbdev} B=$${X%%%%.*} D=$${X#*.}; printf /proc/bus/usb/%%03i/%%03i $$B $$D'", RUN+="/bin/chown lp: %c; /bin/chmod 666 %c"
LABEL="hpmud_rules_end" |
But i still have this error.
However KDE Conto lCenter detects Printer twice (2 protocols) - 1 on USB and 1 on hp:/
It prints when installed as USB not on hp:/ protocol.
But when i use it on USB protocol then HPLIP doesn't see any printer installed and i cannot control it (eg. ink level).
Can someone help me? _________________ Asio Software Technologies
Belliash IT Weblog |
|
Back to top |
|
|
AllenJB Veteran
Joined: 02 Sep 2005 Posts: 1285
|
Posted: Fri Sep 14, 2007 7:40 am Post subject: |
|
|
The format of the device addresses for hplip printers has changed. hp:// is the old format and is no longer used. You need to reconfigure your printer to use the usb:// format. |
|
Back to top |
|
|
Belliash Advocate
Joined: 24 Nov 2004 Posts: 2503 Location: Wroclaw, Poland
|
Posted: Fri Sep 14, 2007 9:56 am Post subject: |
|
|
AllenJB wrote: | The format of the device addresses for hplip printers has changed. hp:// is the old format and is no longer used. You need to reconfigure your printer to use the usb:// format. |
OK, I have written it prints on usb://
However when i launch HPLIP Device Manager then it does not find printer on usb:// but on hp://
When i add printer on hp:// then KDE Control Center detects it on usb:// no longer... _________________ Asio Software Technologies
Belliash IT Weblog |
|
Back to top |
|
|
LoSeR_5150 Guru
Joined: 20 Mar 2005 Posts: 455 Location: San Francisco, CA
|
Posted: Fri Sep 14, 2007 6:20 pm Post subject: |
|
|
I use Gnome not KDE, but I have found it much easier to use the cups web interface (localhost:631) then to add printers using gnome's cups manager. When I say much easier, I mean it detected my network printer, Installed it and works correctly. You may want to give that a try and see what it detects it as. Hope this helps. _________________ Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1
Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1 |
|
Back to top |
|
|
Belliash Advocate
Joined: 24 Nov 2004 Posts: 2503 Location: Wroclaw, Poland
|
Posted: Sat Sep 15, 2007 7:54 am Post subject: |
|
|
Heh...
I said it's working on usb://
However HPLIP Software can see printers only on hp://
So i can't control eg. ink level!
When i add it as hp:// then i can see ink level, however i cannot print... _________________ Asio Software Technologies
Belliash IT Weblog |
|
Back to top |
|
|
|