Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > ted_chou12
User Name


Rate this Entry

Cups reports "/usr/lib/cups/backend/hp failed"

Posted 05-26-2013 at 07:28 AM by ted_chou12

Hello ,
today I just set up an HP_LaserJet_M1005 ,
which was a USB multi-function printer and scanner.
It was unable to print anything , and says ,
"usr/lib/cups/backend/hp failed"
I turned the cups log level to "debug" and saw:
Feb 16 22:24:46 hp[6227]: io/hpmud/musb.c 1108: unable to open hp:/usb/HP_LaserJet_M1005?serial=KJ242KT
Feb 16 22:24:46 hp[6227]: prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/usb/HP_LaserJet_M1005?serial=KJ242KT
I checked the device permissions,
$stat /dev/bus/usb/004/002
Access: (0664/crw-rw-r--) Uid: ( 0/ root) Gid: ( 118/ scanner)
After changing to the a=rw mode I succesfully made it print .
Alternately , changing it to group "lp" may also work , if anyone want a try .
As the device is both printer and scanner ,
assigning it to either group will forbit the other to function .
Should we impletement an ACL that both lp and scanner group own it ?
Thanks .
Posted in Uncategorized
Views 3779 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 06:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration