From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1O4xxy-0006ge-TD for garchives@archives.gentoo.org; Thu, 22 Apr 2010 15:05:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08575E0A96 for ; Thu, 22 Apr 2010 15:05:22 +0000 (UTC) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by pigeon.gentoo.org (Postfix) with ESMTP id 02864E07FA for ; Thu, 22 Apr 2010 14:24:55 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so329123fgg.10 for ; Thu, 22 Apr 2010 07:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type; bh=HlCIn85HMLLMSr/sPG8yLYgoJ1VqMEriY6CbNh9nu8I=; b=O1UYUrnqNRq1UVkDcNhijVGJT4giWTg6qyuViyUTx16PGWzrHRC0if7O30+J5EiBJD W0t4nPojlsrhoifNz3NIelyOfT5PWtUvif+dtWG1jK/sk7x18rb837C7qoBUUCn0bSWf 1KxRvBbfSmHX4MvZ9CgqNqDMeIF7KxuCRNDEw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=ds8FEemjVMfvq0+B6TBd0Ih8Ex3syw4KZq0jD0srTSbSRIEOTEjvP0/9kvujZnSe8X zSXJNz0JGHpnvuYs+SN/jgNLZTVBYHXrjVehMzPwv6Ah69Ebt7uBf96VdcfhqIZ41A0F +MDIZON8CRShKSXOyNFLKMRNHASaaXY7a6hd8= Received: by 10.223.24.85 with SMTP id u21mr167863fab.8.1271946157112; Thu, 22 Apr 2010 07:22:37 -0700 (PDT) Received: from localhost.localdomain ([120.21.139.182]) by mx.google.com with ESMTPS id 21sm7302716fkx.10.2010.04.22.07.22.32 (version=SSLv3 cipher=RC4-MD5); Thu, 22 Apr 2010 07:22:35 -0700 (PDT) Message-ID: <4BD05BD0.50004@gmail.com> Date: Thu, 22 Apr 2010 22:23:12 +0800 From: ubiquitous1980 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100409 Thunderbird/3.0.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not. References: <4BCBA8EF.2070007@gmail.com> <4BCD88C9.9050708@gmail.com> <4BCDE3DE.4020605@gentoo.org> In-Reply-To: <4BCDE3DE.4020605@gentoo.org> Content-Type: multipart/alternative; boundary="------------040504020804030005080900" X-Archives-Salt: af2f99bd-6741-465d-b0e2-9c20bf20fce0 X-Archives-Hash: a9f8bfcc20abf8a830685088c29bfa88 This is a multi-part message in MIME format. --------------040504020804030005080900 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 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 --------------040504020804030005080900 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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


--------------040504020804030005080900--