public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
@ 2010-04-19  0:50 ubiquitous1980
  2010-04-20  8:59 ` Daniel Pielmeier
  0 siblings, 1 reply; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-19  0:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 261 bytes --]

Recompiled hplip for use with C5180 with new use flag: scanner.  Now
scanning works, printing does not.  Recompiled with new-hpcups use
flag.  Still not working.  Output from cups web interface:
"/usr/libexec/cups/backend/hp failed"

Any ideas?

ubiquitous1980

[-- Attachment #2: Type: text/html, Size: 583 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning  works, printing does not.
  2010-04-19  0:50 [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not ubiquitous1980
@ 2010-04-20  8:59 ` Daniel Pielmeier
  2010-04-20 10:58   ` ubiquitous1980
  0 siblings, 1 reply; 24+ messages in thread
From: Daniel Pielmeier @ 2010-04-20  8:59 UTC (permalink / raw
  To: gentoo-user

2010/4/19 ubiquitous1980 <nixuser1980@gmail.com>:
> Recompiled hplip for use with C5180 with new use flag: scanner.  Now
> scanning works, printing does not.  Recompiled with new-hpcups use flag.
> Still not working.  Output from cups web interface:
> "/usr/libexec/cups/backend/hp failed"

Is it connected via network or usb? Which hplip version? Which cups version?

-- 
Daniel Pielmeier



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-20  8:59 ` Daniel Pielmeier
@ 2010-04-20 10:58   ` ubiquitous1980
  2010-04-20 15:03     ` Paul Hartman
  0 siblings, 1 reply; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-20 10:58 UTC (permalink / raw
  To: gentoo-user

Hello Daniel

The all-in-one printer is connected via USB.  The following versions are
installed:

net-print/hplip-3.9.12-r1
net-print/cups-1.3.11-r1

Thanks

ubiquitous1980@gmail.com

On 20/04/10 16:59, Daniel Pielmeier wrote:
> 2010/4/19 ubiquitous1980 <nixuser1980@gmail.com>:
>   
>> Recompiled hplip for use with C5180 with new use flag: scanner.  Now
>> scanning works, printing does not.  Recompiled with new-hpcups use flag.
>> Still not working.  Output from cups web interface:
>> "/usr/libexec/cups/backend/hp failed"
>>     
> Is it connected via network or usb? Which hplip version? Which cups version?
>
>   




^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning  works, printing does not.
  2010-04-20 10:58   ` ubiquitous1980
@ 2010-04-20 15:03     ` Paul Hartman
  2010-04-20 17:26       ` Daniel Pielmeier
  0 siblings, 1 reply; 24+ messages in thread
From: Paul Hartman @ 2010-04-20 15:03 UTC (permalink / raw
  To: gentoo-user

On Tue, Apr 20, 2010 at 5:58 AM, ubiquitous1980 <nixuser1980@gmail.com> wrote:
> Hello Daniel
>
> The all-in-one printer is connected via USB.  The following versions are
> installed:
>
> net-print/hplip-3.9.12-r1
> net-print/cups-1.3.11-r1

Try to blacklist & rmmod the usblp module. I had to do that for my HP
USB printer to work. Whenever usblp module was loaded, printing
failed... I don't know if it applies to your printer as well, but it's
something easy to try. :)



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-20 15:03     ` Paul Hartman
@ 2010-04-20 17:26       ` Daniel Pielmeier
  2010-04-22 14:23         ` ubiquitous1980
  0 siblings, 1 reply; 24+ messages in thread
From: Daniel Pielmeier @ 2010-04-20 17:26 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1541 bytes --]

Paul Hartman schrieb am 20.04.2010 17:03:
> On Tue, Apr 20, 2010 at 5:58 AM, ubiquitous1980 <nixuser1980@gmail.com> wrote:
>> Hello Daniel
>>
>> The all-in-one printer is connected via USB.  The following versions are
>> installed:
>>
>> net-print/hplip-3.9.12-r1
>> net-print/cups-1.3.11-r1
> 
> Try to blacklist & rmmod the usblp module. I had to do that for my HP
> USB printer to work. Whenever usblp module was loaded, printing
> failed... I don't know if it applies to your printer as well, but it's
> something easy to try. :)
> 
> 

I do not own an all-in-one printer so I can not test, but if Paul's suggestions
do not work can you tell me the permissions of your device.

lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 03f0:1712 Hewlett-Packard Printing Support
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lsusb tells you to which bus the printer is attached. In my case it is Bus 001
and Device 002 so I have the following device /dev/bus/usb/001/002

ls -al /dev/bus/usb/001/002
crw-rw-r-- 1 root lp 189, 1 20. Apr 19:05 /dev/bus/usb/001/002

There should also be a /dev/usb/lp0

ls -al /dev/usb/lp0
crw-rw---- 1 root lp 180, 0 20. Apr 19:05 /dev/usb/lp0

Do you have the same permissions or do they differ?

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-20 17:26       ` Daniel Pielmeier
@ 2010-04-22 14:23         ` ubiquitous1980
  2010-04-22 17:21           ` Daniel Pielmeier
  0 siblings, 1 reply; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-22 14:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3005 bytes --]

On 21/04/10 01:26, Daniel Pielmeier wrote:
> Paul Hartman schrieb am 20.04.2010 17:03:
>   
>> On Tue, Apr 20, 2010 at 5:58 AM, ubiquitous1980 <nixuser1980@gmail.com> wrote:
>>     
>>> Hello Daniel
>>>
>>> The all-in-one printer is connected via USB.  The following versions are
>>> installed:
>>>
>>> net-print/hplip-3.9.12-r1
>>> net-print/cups-1.3.11-r1
>>>       
>> Try to blacklist & rmmod the usblp module. I had to do that for my HP
>> USB printer to work. Whenever usblp module was loaded, printing
>> failed... I don't know if it applies to your printer as well, but it's
>> something easy to try. :)
>>
>>
>>     
> I do not own an all-in-one printer so I can not test, but if Paul's suggestions
> do not work can you tell me the permissions of your device.
>
> lsusb
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 002: ID 03f0:1712 Hewlett-Packard Printing Support
> Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>
> lsusb tells you to which bus the printer is attached. In my case it is Bus 001
> and Device 002 so I have the following device /dev/bus/usb/001/002
>
> ls -al /dev/bus/usb/001/002
> crw-rw-r-- 1 root lp 189, 1 20. Apr 19:05 /dev/bus/usb/001/002
>
> There should also be a /dev/usb/lp0
>
> ls -al /dev/usb/lp0
> crw-rw---- 1 root lp 180, 0 20. Apr 19:05 /dev/usb/lp0
>
> Do you have the same permissions or do they differ?
>
>   

Paul,

I checked for lsusb and could not find it...therefore I checked my
kernel source, and found usb printer support, which I removed.  This has
not fixed the problem.

Daniel,

The results for lsusb:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 006: ID 12d1:1465 Huawei Technologies Co., Ltd.
Bus 002 Device 004: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 046d:c315 Logitech, Inc. Classic New Touch Keyboard
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 046d:c51a Logitech, Inc. MX Revolution/G7
Cordless Mouse
Bus 005 Device 004: ID 03f0:5811 Hewlett-Packard PhotoSmart C5100 series
Bus 005 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 0a5c:4502 Broadcom Corp.
Bus 003 Device 005: ID 0a5c:4503 Broadcom Corp.
Bus 003 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub
(part of BCM2046 Bluetooth)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Thanks for your response, and sorry for my delay.

Damien



[-- Attachment #2: Type: text/html, Size: 3674 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-22 14:23         ` ubiquitous1980
@ 2010-04-22 17:21           ` Daniel Pielmeier
  2010-04-23  3:25             ` ubiquitous1980
  2010-04-23  4:15             ` ubiquitous1980
  0 siblings, 2 replies; 24+ messages in thread
From: Daniel Pielmeier @ 2010-04-22 17:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2583 bytes --]

ubiquitous1980 schrieb am 22.04.2010 16:23:
> On 21/04/10 01:26, Daniel Pielmeier wrote:
>> I do not own an all-in-one printer so I can not test, but if Paul's suggestions
>> do not work can you tell me the permissions of your device.
>>
>> lsusb
>> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 001 Device 002: ID 03f0:1712 Hewlett-Packard Printing Support
>> Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>
>> lsusb tells you to which bus the printer is attached. In my case it is Bus 001
>> and Device 002 so I have the following device /dev/bus/usb/001/002
>>
>> ls -al /dev/bus/usb/001/002
>> crw-rw-r-- 1 root lp 189, 1 20. Apr 19:05 /dev/bus/usb/001/002
>>
>> There should also be a /dev/usb/lp0
>>
>> ls -al /dev/usb/lp0
>> crw-rw---- 1 root lp 180, 0 20. Apr 19:05 /dev/usb/lp0
>>
>> Do you have the same permissions or do they differ?
>>
> The results for lsusb:
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 006: ID 12d1:1465 Huawei Technologies Co., Ltd.
> Bus 002 Device 004: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 006 Device 002: ID 046d:c315 Logitech, Inc. Classic New Touch Keyboard
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 003: ID 046d:c51a Logitech, Inc. MX Revolution/G7
> Cordless Mouse
> Bus 005 Device 004: ID 03f0:5811 Hewlett-Packard PhotoSmart C5100 series
> Bus 005 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 004: ID 0a5c:4502 Broadcom Corp.
> Bus 003 Device 005: ID 0a5c:4503 Broadcom Corp.
> Bus 003 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
> Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub
> (part of BCM2046 Bluetooth)
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> 
> Thanks for your response, and sorry for my delay.

Please also provide the following output I already requested above and check if
the permissions are the same.

ls -al /dev/bus/usb/005/004

ls -al /dev/usb/lp0

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-22 17:21           ` Daniel Pielmeier
@ 2010-04-23  3:25             ` ubiquitous1980
  2010-04-23  4:15             ` ubiquitous1980
  1 sibling, 0 replies; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-23  3:25 UTC (permalink / raw
  To: gentoo-user

Hello Daniel,

Sorry for the omission in last email:

localhost ubiquitous1980 # ls -al /dev/bus/usb/005/004
crw-rw-r-- 1 root scanner 189, 515 2010-04-23 07:42 /dev/bus/usb/005/004
localhost ubiquitous1980 # ls -al /dev/usb/lp0
ls: cannot access /dev/usb/lp0: No such file or directory
localhost ubiquitous1980 #


Thanks

ubiquitous1980



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-22 17:21           ` Daniel Pielmeier
  2010-04-23  3:25             ` ubiquitous1980
@ 2010-04-23  4:15             ` ubiquitous1980
  2010-04-23 11:51               ` Daniel Pielmeier
  1 sibling, 1 reply; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-23  4:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 71 bytes --]

Daniel,

Some additional info in the log file:

Thanks

ubiquitous1980

[-- Attachment #2: hp-check.log --]
[-- Type: text/plain, Size: 12881 bytes --]

hp-check[29672]: info: :
Initializing. Please wait...
scheduler is running

1.3.11

Linux localhost.localdomain 2.6.31-gentoo-r10 #2 SMP Thu Apr 22 22:02:49 WST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz GenuineIntel GNU/Linux

hp-check[29672]: info: :
hp-check[29672]: info: :---------------
hp-check[29672]: info: :| SYSTEM INFO |
hp-check[29672]: info: :---------------
hp-check[29672]: info: :
hp-check[29672]: info: :[01mBasic system information:[0m
hp-check[29672]: info: :Linux localhost.localdomain 2.6.31-gentoo-r10 #2 SMP Thu Apr 22 22:02:49 WST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz GenuineIntel GNU/Linux
hp-check[29672]: info: :
hp-check[29672]: info: :[01mDistribution:[0m
hp-check[29672]: info: :gentoo 0.0
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking Python version...[0m
hp-check[29672]: info: :OK, version 2.6.4 installed
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking PyQt 4.x version...[0m
hp-check[29672]: info: :OK, version 4.7 installed.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for CUPS...[0m
hp-check[29672]: info: :Status: scheduler is running
hp-check[29672]: info: :Version: 1.3.11
hp-check[29672]: info: :error_log is set to level: info
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dbus/python-dbus...[0m
hp-check[29672]: info: :dbus daemon is running.
hp-check[29672]: info: :python-dbus version: 0.83.0
hp-check[29672]: info: :
hp-check[29672]: info: :
hp-check[29672]: info: :------------------------------------
hp-check[29672]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[29672]: info: :------------------------------------
hp-check[29672]: info: :
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: CUPS - Common Unix Printing System...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: CUPS devel- Common Unix Printing System development files...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: CUPS image - CUPS image development files...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: DBus - Message bus system...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: gcc - GNU Project C and C++ Compiler...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: libcrypto - OpenSSL cryptographic library...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: libjpeg - JPEG library...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: libnetsnmp-devel - SNMP networking library development files...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: libpthread - POSIX threads library...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: libtool - Library building support services...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: libusb - USB library...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: make - GNU make utility to maintain groups of programs...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: PolicyKit - Administrative policy framework...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: PyQt 4 DBus - DBus Support for PyQt4...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: Python DBus - Python bindings for DBus...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: Python devel - Python development files...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...[0m
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: Python XML libraries...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: Python 2.3 or greater - Required for fax functionality...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: Python 2.2 or greater - Python programming language...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: Reportlab - PDF library for Python...[0m
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: SANE - Scanning library...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: SANE - Scanning library development files...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: scanimage - Shell scanning program...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: xsane - Graphical scanner frontend for SANE...[0m
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[29672]: info: :
hp-check[29672]: info: :
hp-check[29672]: info: :----------------------
hp-check[29672]: info: :| HPLIP INSTALLATION |
hp-check[29672]: info: :----------------------
hp-check[29672]: info: :
hp-check[29672]: info: :
hp-check[29672]: info: :[01mCurrently installed HPLIP version...[0m
hp-check[29672]: info: :HPLIP 3.9.12 currently installed in '/usr/share/hplip'.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[29672]: info: :# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.9.12

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.9.12
html=/usr/share/doc/hplip-3.9.12/html
icon=/usr/share/applications
cupsbackend=/usr/libexec/cups/backend
cupsfilter=/usr/libexec/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=no
dbus-build=yes
cups11-build=no
doc-build=no
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.9.12.29
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-only-build=no
hpijs-only-build=no

hp-check[29672]: info: :
hp-check[29672]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check[29672]: info: :# hplip.state - HPLIP runtime persistent variables. 

[plugin]
installed=0
eula=0


hp-check[29672]: info: :
hp-check[29672]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[29672]: info: :[last_used]
printer_name = Photosmart_C5100
working_dir = .
device_uri = "hp:/usb/Photosmart_C5100_series?serial=MY65SB210504MK"

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[installation]
version = 3.9.12.29
date_time = 04/23/10 12:12:21

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address = 
voice_phone = 

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
device_list = 
interval = 5


hp-check[29672]: info: :
hp-check[29672]: info: :--------------------------
hp-check[29672]: info: :| DISCOVERED USB DEVICES |
hp-check[29672]: info: :--------------------------
hp-check[29672]: info: :
hp-check[29672]: info: :  Device URI                        Model                     
hp-check[29672]: info: :  --------------------------------  --------------------------
hp-check[29672]: info: :  hp:/usb/Photosmart_C5100_series?  HP Photosmart C5100 series
  serial=MY65SB210504MK                                       
hp-check[29672]: info: :
hp-check[29672]: info: :---------------------------------
hp-check[29672]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[29672]: info: :---------------------------------
hp-check[29672]: info: :
hp-check[29672]: info: :
hp-check[29672]: info: :[01mPhotosmart_C5100[0m
hp-check[29672]: info: :[01m----------------[0m
hp-check[29672]: info: :Type: Printer
hp-check[29672]: info: :Device URI: hp:/usb/Photosmart_C5100_series?serial=MY65SB210504MK
hp-check[29672]: info: :PPD: /etc/cups/ppd/Photosmart_C5100.ppd
hp-check[29672]: info: :PPD Description: HP Photosmart c5100 Series, hpcups 3.9.12
hp-check[29672]: info: :Printer status: printer Photosmart_C5100 disabled since Fri 23 Apr 2010 12:11:37 WST -\r	/usr/libexec/cups/backend/hp failed
hp-check[29672]: info: :Communication status: Good
hp-check[29672]: info: :
hp-check[29672]: info: :
hp-check[29672]: info: :----------------------
hp-check[29672]: info: :| SANE CONFIGURATION |
hp-check[29672]: info: :----------------------
hp-check[29672]: info: :
hp-check[29672]: info: :[01m'hpaio' in '/etc/sane.d/dll.conf'...[0m
hp-check[29672]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking output of 'scanimage -L'...[0m
hp-check[29672]: info: :device `hpaio:/usb/Photosmart_C5100_series?serial=MY65SB210504MK' is a Hewlett-Packard Photosmart_C5100_series all-in-one

hp-check[29672]: info: :
hp-check[29672]: info: :---------------------
hp-check[29672]: info: :| PYTHON EXTENSIONS |
hp-check[29672]: info: :---------------------
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking 'cupsext' CUPS extension...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking 'pcardext' Photocard extension...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking 'hpmudext' I/O extension...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking 'scanext' SANE scanning extension...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :
hp-check[29672]: info: :
hp-check[29672]: info: :-----------------
hp-check[29672]: info: :| USB I/O SETUP |
hp-check[29672]: info: :-----------------
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for permissions of USB attached printers...[0m
hp-check[29672]: info: :
HP Device 0x5811 at 005:004: 
hp-check[29672]: info: :    Device URI: hp:/usb/Photosmart_C5100_series?serial=MY65SB210504MK
hp-check[29672]: info: :    Device node: /dev/bus/usb/005/004
hp-check[29672]: info: :    Mode: 0664
hp-check[29672]: info: :getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/005/004
# owner: root
# group: scanner
user::rw-
group::rw-
other::r--


hp-check[29672]: info: :
hp-check[29672]: info: :---------------
hp-check[29672]: info: :| USER GROUPS |
hp-check[29672]: info: :---------------
hp-check[29672]: info: :
hp-check[29672]: info: :adm disk lp wheel uucp audio cdrom dialout video games cdrw usb users haldaemon plugdev gdm ubiquitous1980 polkituser scanner

hp-check[29672]: info: :
hp-check[29672]: info: :-----------
hp-check[29672]: info: :| SUMMARY |
hp-check[29672]: info: :-----------
hp-check[29672]: info: :
error: 3 errors and/or warnings.
hp-check[29672]: info: :
hp-check[29672]: info: :Please refer to the installation instructions at:
hp-check[29672]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[29672]: info: :
hp-check[29672]: info: :Done.

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning  works, printing does not.
  2010-04-23  4:15             ` ubiquitous1980
@ 2010-04-23 11:51               ` Daniel Pielmeier
  2010-04-23 12:30                 ` ubiquitous1980
  0 siblings, 1 reply; 24+ messages in thread
From: Daniel Pielmeier @ 2010-04-23 11:51 UTC (permalink / raw
  To: gentoo-user

2010/4/23 ubiquitous1980 <nixuser1980@gmail.com>:
> Daniel,
>
> Some additional info in the log file:

So your device uses the scanner group where mine uses the lp group.
From your log file I see you are in the scanner and the lp group, so
you should have the appropriate permissions to access the device.

Nevertheless can you post the the groups your user is in by entering
"groups" on the commandline

Also did you add your printer through the cups webinterface or hp-setup?

--
Daniel Pielmeier



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-23 11:51               ` Daniel Pielmeier
@ 2010-04-23 12:30                 ` ubiquitous1980
  2010-04-23 16:03                   ` Daniel Pielmeier
  2010-04-23 16:23                   ` Dale
  0 siblings, 2 replies; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-23 12:30 UTC (permalink / raw
  To: gentoo-user

Hello Daniel,

I have tried both cups webinterface and hp-setup with the same results. 
My groups are as follows:

adm disk lp wheel uucp audio cdrom dialout video games cdrw usb users
haldaemon plugdev gdm ubiquitous1980 polkituser scanner

Regards,

ubiquitous1980

On 23/04/10 19:51, Daniel Pielmeier wrote:
> 2010/4/23 ubiquitous1980 <nixuser1980@gmail.com>:
>   
>> Daniel,
>>
>> Some additional info in the log file:
>>     
> So your device uses the scanner group where mine uses the lp group.
> From your log file I see you are in the scanner and the lp group, so
> you should have the appropriate permissions to access the device.
>
> Nevertheless can you post the the groups your user is in by entering
> "groups" on the commandline
>
> Also did you add your printer through the cups webinterface or hp-setup?
>
> --
> Daniel Pielmeier
>
>   




^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning  works, printing does not.
  2010-04-23 12:30                 ` ubiquitous1980
@ 2010-04-23 16:03                   ` Daniel Pielmeier
  2010-04-23 23:39                     ` ubiquitous1980
  2010-04-23 16:23                   ` Dale
  1 sibling, 1 reply; 24+ messages in thread
From: Daniel Pielmeier @ 2010-04-23 16:03 UTC (permalink / raw
  To: gentoo-user

2010/4/23 ubiquitous1980 <nixuser1980@gmail.com>:
> Hello Daniel,
>
> I have tried both cups webinterface and hp-setup with the same results.
> My groups are as follows:
>
> adm disk lp wheel uucp audio cdrom dialout video games cdrw usb users
> haldaemon plugdev gdm ubiquitous1980 polkituser scanner

Hm I am out of ideas now. You can try a newer version of hplip maybe
this solves your issue.
There is also a forum post [1] where a user had a similar problem and
solved it by adding the lp user to the scanner group. See the last
comment of the thread.

[1] https://forums.gentoo.org/viewtopic-t-822795.html?sid=f4214ab346ef56e607623918801d5764

-- 
Daniel Pielmeier



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-23 12:30                 ` ubiquitous1980
  2010-04-23 16:03                   ` Daniel Pielmeier
@ 2010-04-23 16:23                   ` Dale
  2010-04-24  0:22                     ` Peter Humphrey
  1 sibling, 1 reply; 24+ messages in thread
From: Dale @ 2010-04-23 16:23 UTC (permalink / raw
  To: gentoo-user

ubiquitous1980 wrote:
> Hello Daniel,
>
> I have tried both cups webinterface and hp-setup with the same results.
> My groups are as follows:
>
> adm disk lp wheel uucp audio cdrom dialout video games cdrw usb users
> haldaemon plugdev gdm ubiquitous1980 polkituser scanner
>
> Regards,
>
> ubiquitous1980
>
>    

I have set up my HP printer with the cups interface before and it does 
not work as well as using the hp-setup command.  It either is slow to 
print or jobs just set in the que and never print at all.  I also always 
run hp-setup as root not a user.

May want to consider doing it this way and see if it helps.  It may, it 
may not.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-23 16:03                   ` Daniel Pielmeier
@ 2010-04-23 23:39                     ` ubiquitous1980
  2010-04-24  0:13                       ` Daniel Pielmeier
  0 siblings, 1 reply; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-23 23:39 UTC (permalink / raw
  To: gentoo-user

Some success!

By changing the permissions by:

chmod a=rw /dev/bus/usb/005/005 I get printing (Scanning still works
also).  However simply adding the groups and rebooting does not. 
Therefore, I am still completely at a loss.  Not pragmatic to have to
set permissions on a moving target each boot.  Any ideas how to proceed
from here?

Thanks

ubiquitous1980

On 24/04/10 00:03, Daniel Pielmeier wrote:
> 2010/4/23 ubiquitous1980 <nixuser1980@gmail.com>:
>   
>> Hello Daniel,
>>
>> I have tried both cups webinterface and hp-setup with the same results.
>> My groups are as follows:
>>
>> adm disk lp wheel uucp audio cdrom dialout video games cdrw usb users
>> haldaemon plugdev gdm ubiquitous1980 polkituser scanner
>>     
> Hm I am out of ideas now. You can try a newer version of hplip maybe
> this solves your issue.
> There is also a forum post [1] where a user had a similar problem and
> solved it by adding the lp user to the scanner group. See the last
> comment of the thread.
>
> [1] https://forums.gentoo.org/viewtopic-t-822795.html?sid=f4214ab346ef56e607623918801d5764
>
>   




^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-23 23:39                     ` ubiquitous1980
@ 2010-04-24  0:13                       ` Daniel Pielmeier
  0 siblings, 0 replies; 24+ messages in thread
From: Daniel Pielmeier @ 2010-04-24  0:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 616 bytes --]

ubiquitous1980 schrieb am 24.04.2010 01:39:
> Some success!
> 
> By changing the permissions by:
> 
> chmod a=rw /dev/bus/usb/005/005 I get printing (Scanning still works
> also).  However simply adding the groups and rebooting does not. 
> Therefore, I am still completely at a loss.  Not pragmatic to have to
> set permissions on a moving target each boot.  Any ideas how to proceed
> from here?

Solving a permission problem by giving the device world write permission seems
not like proper solution. Please try if this problem also occurs with
net-print/hplip-3.10.2-r4.

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-23 16:23                   ` Dale
@ 2010-04-24  0:22                     ` Peter Humphrey
  2010-04-24  1:45                       ` ubiquitous1980
  0 siblings, 1 reply; 24+ messages in thread
From: Peter Humphrey @ 2010-04-24  0:22 UTC (permalink / raw
  To: gentoo-user

On Friday 23 April 2010 17:23:31 Dale wrote:

> I have set up my HP printer with the cups interface before and it
> does not work as well as using the hp-setup command.  It either is
> slow to print or jobs just set in the que and never print at all.  I
> also always run hp-setup as root not a user.

You have to run hp-setup as root; nothing less will do.

Seems to me that hplip is a black art. I have an HP printer here which 
sometimes is entirely complaisant, other times its jobs just sit there 
until I find the right invocation, other times again nothing I do will 
coax it into action, short of killing the job and trying again.

Surely, printing can't be as hard as this in this new age?

-- 
Rgds
Peter.



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-24  0:22                     ` Peter Humphrey
@ 2010-04-24  1:45                       ` ubiquitous1980
  2010-04-24  2:08                         ` Daniel Pielmeier
  0 siblings, 1 reply; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-24  1:45 UTC (permalink / raw
  To: gentoo-user

Hello everyone who has replied so far,

I updated to net-print/hplip-3.10.2-r4 same fault occurs...ran hp-setup
as root.  Perhaps it is time to escalate this as a bug?  Any opinion?

Thanks

ubiquitous1980


On 24/04/10 08:22, Peter Humphrey wrote:
> On Friday 23 April 2010 17:23:31 Dale wrote:
>
>   
>> I have set up my HP printer with the cups interface before and it
>> does not work as well as using the hp-setup command.  It either is
>> slow to print or jobs just set in the que and never print at all.  I
>> also always run hp-setup as root not a user.
>>     
> You have to run hp-setup as root; nothing less will do.
>
> Seems to me that hplip is a black art. I have an HP printer here which 
> sometimes is entirely complaisant, other times its jobs just sit there 
> until I find the right invocation, other times again nothing I do will 
> coax it into action, short of killing the job and trying again.
>
> Surely, printing can't be as hard as this in this new age?
>
>   




^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-24  1:45                       ` ubiquitous1980
@ 2010-04-24  2:08                         ` Daniel Pielmeier
  2010-04-24  2:34                           ` ubiquitous1980
  2010-04-24  5:29                           ` ubiquitous1980
  0 siblings, 2 replies; 24+ messages in thread
From: Daniel Pielmeier @ 2010-04-24  2:08 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

ubiquitous1980 schrieb am 24.04.2010 03:45:
> Hello everyone who has replied so far,
> 
> I updated to net-print/hplip-3.10.2-r4 same fault occurs...ran hp-setup
> as root.  Perhaps it is time to escalate this as a bug?  Any opinion?

You already opened a bug here which I try to fix :)

What are the contents of /etc/udev/rules.d/. I guess among the files there are
70-libsane.rules and 40-hplip.rules or 55-hpmud.rules. If this is the case
rename 40-hplip.rules or 55-hpmud.rules by changing the number to 71. Restart
udev, "killall udevd && /sbin/udevd --daemon" should be sufficient. Afterwards
try if printing and scanning works.

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-24  2:08                         ` Daniel Pielmeier
@ 2010-04-24  2:34                           ` ubiquitous1980
  2010-04-24  5:29                           ` ubiquitous1980
  1 sibling, 0 replies; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-24  2:34 UTC (permalink / raw
  To: gentoo-user

Daniel,

Both printing and scanning work.  File group for /dev/bus/usb/005/005 is
lp.  Why did the change to the names change the group for the file.  How
can this be incorporated into the hplip package?  Btw it was
hpmud-support.rules which I changed as well.

Thanks

ubiquitous1980

On 24/04/10 10:08, Daniel Pielmeier wrote:
> ubiquitous1980 schrieb am 24.04.2010 03:45:
>   
>> Hello everyone who has replied so far,
>>
>> I updated to net-print/hplip-3.10.2-r4 same fault occurs...ran hp-setup
>> as root.  Perhaps it is time to escalate this as a bug?  Any opinion?
>>     
> You already opened a bug here which I try to fix :)
>
> What are the contents of /etc/udev/rules.d/. I guess among the files there are
> 70-libsane.rules and 40-hplip.rules or 55-hpmud.rules. If this is the case
> rename 40-hplip.rules or 55-hpmud.rules by changing the number to 71. Restart
> udev, "killall udevd && /sbin/udevd --daemon" should be sufficient. Afterwards
> try if printing and scanning works.
>
>   




^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-24  2:08                         ` Daniel Pielmeier
  2010-04-24  2:34                           ` ubiquitous1980
@ 2010-04-24  5:29                           ` ubiquitous1980
  2010-04-24  9:21                             ` Daniel Pielmeier
  1 sibling, 1 reply; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-24  5:29 UTC (permalink / raw
  To: gentoo-user

why has moving /etc/udev/rules.d/40-hplip.rules to
/etc/udev/rules.d/71-hplip.rules and
/etc/udev/rules.d/55-hpmud_support.rules to
/etc/udev/rules.d/71-hpmud_support.rules changed the group from scanner
to lp for file: /dev/bus/usb/005/005 and allowed my printer to work?


Thanks

ubiquitous1980


On 24/04/10 10:08, Daniel Pielmeier wrote:
> ubiquitous1980 schrieb am 24.04.2010 03:45:
>   
>> Hello everyone who has replied so far,
>>
>> I updated to net-print/hplip-3.10.2-r4 same fault occurs...ran hp-setup
>> as root.  Perhaps it is time to escalate this as a bug?  Any opinion?
>>     
> You already opened a bug here which I try to fix :)
>
> What are the contents of /etc/udev/rules.d/. I guess among the files there are
> 70-libsane.rules and 40-hplip.rules or 55-hpmud.rules. If this is the case
> rename 40-hplip.rules or 55-hpmud.rules by changing the number to 71. Restart
> udev, "killall udevd && /sbin/udevd --daemon" should be sufficient. Afterwards
> try if printing and scanning works.
>
>   




^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-24  5:29                           ` ubiquitous1980
@ 2010-04-24  9:21                             ` Daniel Pielmeier
  2010-04-24 11:28                               ` ubiquitous1980
                                                 ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Daniel Pielmeier @ 2010-04-24  9:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 957 bytes --]

ubiquitous1980 schrieb am 24.04.2010 07:29:
> why has moving /etc/udev/rules.d/40-hplip.rules to
> /etc/udev/rules.d/71-hplip.rules and
> /etc/udev/rules.d/55-hpmud_support.rules to
> /etc/udev/rules.d/71-hpmud_support.rules changed the group from scanner
> to lp for file: /dev/bus/usb/005/005 and allowed my printer to work?

Look at my previous post where I explained this.
Also there should be no need to move /etc/udev/rules.d/55-hpmud_support.rules.

Can you please tell me which application are you using for scanning.

hp-scan included in the hplip package,
xane,
scanimage included in sane-backends or
xscanimage included in sane-frontends.

I would appreciate it if you could try is scanning fails with all of the above
applications if the rules files are not moved. Especially if it just fails with
the hp-scan program or also with the other applications not shipped by hplip.

Thanks in advance.

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-24  9:21                             ` Daniel Pielmeier
@ 2010-04-24 11:28                               ` ubiquitous1980
  2010-04-25  0:01                               ` ubiquitous1980
  2010-04-25  0:30                               ` ubiquitous1980
  2 siblings, 0 replies; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-24 11:28 UTC (permalink / raw
  To: gentoo-user

Hello Daniel

Contents of /etc/udev/rules.d:

40-hplip.rules                          70-persistent-cd.rules
56-hpmud_support.rules          70-persistent-net.rules
64-device-mapper.rules              77-nm-probe-modem-capabilities.rules
70-libgphoto2.rules                     90-hal.rules
70-libsane.rules                            91-usb_modeswitch.rules

What was asked for:

hp-scan  [ok]
xsane [ok]
scanimage [ok]
xscanimage [ok]

Although not asked for, and it is obvious: printing [failed]

I did not see your *explanation* of how the udev rules mv changes
things.  I only know *what* happens, not *why*.  Regardless, I
appreciate your help and seek to learn why the udev rules were
preventing me from printing.

Thanks

ubiquitous1980


On 24/04/10 17:21, Daniel Pielmeier wrote:
> ubiquitous1980 schrieb am 24.04.2010 07:29:
>   
>> why has moving /etc/udev/rules.d/40-hplip.rules to
>> /etc/udev/rules.d/71-hplip.rules and
>> /etc/udev/rules.d/55-hpmud_support.rules to
>> /etc/udev/rules.d/71-hpmud_support.rules changed the group from scanner
>> to lp for file: /dev/bus/usb/005/005 and allowed my printer to work?
>>     
> Look at my previous post where I explained this.
> Also there should be no need to move /etc/udev/rules.d/55-hpmud_support.rules.
>
> Can you please tell me which application are you using for scanning.
>
> hp-scan included in the hplip package,
> xane,
> scanimage included in sane-backends or
> xscanimage included in sane-frontends.
>
> I would appreciate it if you could try is scanning fails with all of the above
> applications if the rules files are not moved. Especially if it just fails with
> the hp-scan program or also with the other applications not shipped by hplip.
>
> Thanks in advance.
>
>   




^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-24  9:21                             ` Daniel Pielmeier
  2010-04-24 11:28                               ` ubiquitous1980
@ 2010-04-25  0:01                               ` ubiquitous1980
  2010-04-25  0:30                               ` ubiquitous1980
  2 siblings, 0 replies; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-25  0:01 UTC (permalink / raw
  To: gentoo-user

Daniel,

I have found the line which is at fault in xx-libsane.rules.  Problem
is, what we are doing is a work around:

# Hewlett-Packard Photosmart C5100 series
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="5811", MODE="0664",
GROUP="lp", ENV$

I have changed the group to lp from scanner so that I could maintain the
file number.  Problem is, if we have MODE="0664", those in the scanner
group should be able to access the printer.  Do you think this suggests
a deeper bug?  I created a testfile in my home directory with stickybits
set to 0664.  I then set ownership to root:scanner.  Of course, I could
edit the file, as I am in the scanner group.  This makes me wonder why
the rules did not apply in /dev/bus/usb/005/005 when this file was set
to 0664 and group to scanner.  I know for sure that the group was
scanner, but I cannot be sure that the file was truly set to 0664.

For now I have the intra-config file workaround.  I will see if I can
mess with things a bit to get things working.

Thanks

ubiquitous1980



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
  2010-04-24  9:21                             ` Daniel Pielmeier
  2010-04-24 11:28                               ` ubiquitous1980
  2010-04-25  0:01                               ` ubiquitous1980
@ 2010-04-25  0:30                               ` ubiquitous1980
  2 siblings, 0 replies; 24+ messages in thread
From: ubiquitous1980 @ 2010-04-25  0:30 UTC (permalink / raw
  To: gentoo-user

Daniel,

After a bit of messing around I have the following:

In my home directory I can write to a 0664 file which is in the scanner
group
I can write to a file with the same permissions in /dev/bus/usb/005,
however it does not have the c prefix in the stickybits like the device
files do.
I am definitely in the scanner group
I am definitely in the lp group
I cannot print when /dev/bus/usb/005/005 is in the scanner group
I can print when /dev/bus/usb/005/005 is in the lp group.
I can print when /dev/bus/usb/005/005 is set to chmod a+rwx

Confounding I know...by me being in the scanner group, I would have
thought this would allow me to write to the device if its sticky bits
are set to 0664.  This is however not the case.  This makes me think
that any edit to /etc/udev/rules.d/xx-libsane.rules is simply a
workaround.  I am thinking the bug is in HPLIP.

Thanks

ubiquitous1980



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2010-04-25  0:30 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-19  0:50 [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not ubiquitous1980
2010-04-20  8:59 ` Daniel Pielmeier
2010-04-20 10:58   ` ubiquitous1980
2010-04-20 15:03     ` Paul Hartman
2010-04-20 17:26       ` Daniel Pielmeier
2010-04-22 14:23         ` ubiquitous1980
2010-04-22 17:21           ` Daniel Pielmeier
2010-04-23  3:25             ` ubiquitous1980
2010-04-23  4:15             ` ubiquitous1980
2010-04-23 11:51               ` Daniel Pielmeier
2010-04-23 12:30                 ` ubiquitous1980
2010-04-23 16:03                   ` Daniel Pielmeier
2010-04-23 23:39                     ` ubiquitous1980
2010-04-24  0:13                       ` Daniel Pielmeier
2010-04-23 16:23                   ` Dale
2010-04-24  0:22                     ` Peter Humphrey
2010-04-24  1:45                       ` ubiquitous1980
2010-04-24  2:08                         ` Daniel Pielmeier
2010-04-24  2:34                           ` ubiquitous1980
2010-04-24  5:29                           ` ubiquitous1980
2010-04-24  9:21                             ` Daniel Pielmeier
2010-04-24 11:28                               ` ubiquitous1980
2010-04-25  0:01                               ` ubiquitous1980
2010-04-25  0:30                               ` ubiquitous1980

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox