web-dev-qa-db-ja.com

Xsane:デバイス `hpaio:/ net / Photosmart_C5100_series?zc = HP5180 'のオープンに失敗しました:デバイスI / O中のエラー

アプリケーションからの印刷は機能します。 hp-toolbox 時々は接続できません。 Xsaneは、タイトルのようにエラーメッセージをポップします。ネットワークを介して接続し、デバイスにpingを送信し、印刷することができます。

オールインワンは以前(少なくとも12.04より前)正常に動作していました。

hp-check -rtの出力は次のとおりです。

HP Linux Imaging and Printing System (ver. 3.12.2)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2011-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz 
or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.                    
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc)  
or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run.            
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases  
(both compile- and run-time dependencies).                                                                       

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux diablo 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Distribution:
ubuntu 12.04

Checking Python version...
OK, version 2.7.3 installed

Checking PyQt 4.x version...
OK, version 4.9.1 installed.

Checking for CUPS...
Status: scheduler is running
warning: Version: (cups-config) Not available. Unable to determine installed version of CUPS.)
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 1.0.0


------------------------
| RUNTIME DEPENDENCIES |
------------------------


Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.


----------------------
| HPLIP INSTALLATION |
----------------------


Currently installed HPLIP version...
HPLIP 3.12.2 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.12.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

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


Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables. 

[plugin]
installed=0
eula=0



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = "hp:/net/Photosmart_C5100_series?zc=HP5180"
printer_name = 
working_dir = .

[settings]
systray_visible = 0
systray_messages = 0

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

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

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[installation]
date_time = 06/20/2012 19:48:12
version = 3.12.2



--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------


Photosmart_C5100
----------------
Type: Printer
Device URI: hp:/net/Photosmart_C5100_series?zc=HP5180
PPD: /etc/cups/ppd/Photosmart_C5100.ppd
PPD Description: HP Photosmart c5100 Series, hpcups 3.11.7
Printer status: printer Photosmart_C5100 is idle.  enabled since Wed 20 Jun 2012 06:13:00 PM CEST
    Processing page 1...
error: Unable to communicate with device (code=12): hp:/net/Photosmart_C5100_series?zc=HP5180
error: unable to open channel
error: Communication status: Failed

printer
-------
Type: Unknown
Device URI: socket://printer:9100
PPD: /etc/cups/ppd/printer.ppd
PPD Description: HP Photosmart c5100 Series, hpcups 3.11.7
Printer status: printer printer is idle.  enabled since Wed 20 Jun 2012 06:21:34 PM CEST
    Ready to print.
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.


----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/net/Photosmart_C5100_series?zc=HP5180' is a Hewlett-Packard Photosmart_C5100_series all-in-one


---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.



-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0x324 at 002:006: 
warning:     Device URI: (Makeuri FAILED)

---------------
| USER GROUPS |
---------------

jhendrix adm dialout cdrom plugdev lpadmin admin sambashare

error: User needs to be member of group 'lp' to enable print, scan & fax.
User member of group 'lpadmin'.

-----------
| SUMMARY |
-----------

error: 3 errors and/or warnings.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html


Done.

私のsyslogはxsaneを開始した後にこれらの行を表示します:

Jun 20 19:53:38 diablo xsane: io/hpmud/jd.c 800: mdns lookup HP5180.local retry 19...
Jun 20 19:53:38 diablo xsane: io/hpmud/jd.c 800: mdns lookup HP5180.local retry 20...
Jun 20 19:53:39 diablo xsane: io/hpmud/jd.c 796: error timeout mdns lookup HP5180.local
Jun 20 19:53:42 diablo xsane: io/hpmud/jd.c 89: unable to read device-id
Jun 20 19:53:53 diablo dbus[1704]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out

スキャナーを再び動作させるためのヒント/ヒントはありますか?

5
jippie

私がしたように、この問題を解決するためにこのページにアクセスする人のために。結局、私にとってはとても簡単なものを試してみました。

私のシステムはUbuntu 12.10です。 HP MFP CM1312ネットワークプリンターを使用しています。

  1. Ubuntuソフトウェアセンターから「HPLIP Toolbox」をインストールしました(HPLIPは既にインストールされています)。
  2. ターミナルから「Sudo hp-plugin」を実行し、デフォルトで「Next」をクリックしました。

ネットワークスキャンは問題なく機能しました。

15
Nelson Garcia

「デバイスのオープンに失敗しました」hpaio:/ usb/HP_LaserJet_Professional_M1136_MFP?serial = 0000000000H77VXNPR1a ':デバイスI/O中のエラー'

Ubuntu 14.04を14.10にアップグレードすると、上記のエラーが発生しました。そして、私は以下のような解決策を見つけました。

  1. ターミナルを開きます

  2. タイプSudo hp-plugin

  3. HPのインストールを完了する
  4. そして、あなたはエラーメッセージを受け取りません
8
zeewagon
  • 「hplip」でプリンターをインストールします
  • ソフトウェアセンターから「hplip toolbox」をインストールします
  • DashからHPLip Toolboxを開きます。
  • [アクション]タブで、[必要なプラグインのインストール]をクリックします
  • クリックしてインストールします。

次に、ダッシュボードから「シンプルスキャン」を使用してスキャナーにアクセスしてみます。完璧に動作します。

@Nelson Garciaに感謝します。私の方法は少し異なりますが、あなたの投稿で解決してくれました。

2
Charl le Roux

私は同じ問題を抱えています。 Avahiは私のために走っています。 3.12.6の一般的なバグのように見えます:

https://bugs.launchpad.net/hplip/+bug/1015319

3.12.4へのダウングレードは機能しました。ランチパッドからパッケージを入手しました:

https://launchpad.net/debian/+source/hplip/3.12.4-1/

パッケージをビルドするには(メモリからですが、うまくいけばそれが役立ちます):

  • Tar.gzファイルを/usr/local/srcにコピーします
  • Sudo aptitude build-dep hplip
  • Sudo aptitude install devscripts
  • tar -xzf hplip_3.12.4.orig.tar.gz
  • tar -xzf hplip_3.12.4-1.debian.tar.gz
  • mv debian hplip-3.12.4
  • cd hplip-3.12.4
  • debuild -us -uc
  • cd ..
  • dpkg -i *.deb

同じ問題を抱えている人々への他の参照はここにあります:

http://www.linuxquestions.org/questions/slackware-14/xsane-failed-to-open-device-4175414927/

http://h30434.www3.hp.com/t5/Scanning-Faxing-and-Copying/Problem-with-scanning-Debian-HP-L7590/td-p/1755055

2
Richard Esplin