[РЕШЕНО] как запустить СКАНЕР

Есть HP Color LaserJet CM1312 MFP, через hp-setup настроил печать, но сканер не запускается: xsane пишет ‘Невозможно открыть устройство hpaio:/usb/HP_Color_LaserJet_CM1312_MFP?serial=00CNF8BDL809. Ошибка во время ввода-вывода с устройством’
так-же в меню появился HP Device Manager, но он почему-то не запускается, консоль выдает:
$ hp-toolbox
HP Linux Imaging and Printing System (ver. 3.11.7)
HP Device Manager ver. 15.0
Copyright (c) 2001-9 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.
[b]warning: Qt/PyQt 4 initialization failed[/b].
error: hp-toolbox requires GUI support. Exiting.

hp-check.log
hp-check[3215]: info: :
Initializing. Please wait...
scheduler is running
1.5.0
Linux myhost 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 07:32:23 UTC 2011 i686 Intel(R) Pentium(R) CPU P6100 @ 2.00GHz GenuineIntel GNU/Linux
hp-check[3215]: info: :
hp-check[3215]: info: :---------------
hp-check[3215]: info: :| SYSTEM INFO |
hp-check[3215]: info: :---------------
hp-check[3215]: info: :
hp-check[3215]: info: :[01mBasic system information:[0m
hp-check[3215]: info: :Linux myhost 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 07:32:23 UTC 2011 i686 Intel(R) Pentium(R) CPU P6100 @ 2.00GHz GenuineIntel GNU/Linux
hp-check[3215]: info: :
hp-check[3215]: info: :[01mDistribution:[0m
hp-check[3215]: info: :unknown 0.0
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking Python version...[0m
hp-check[3215]: info: :OK, version 2.7.2 installed
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking PyQt 4.x version...[0m
error: NOT FOUND OR FAILED TO LOAD!
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for CUPS...[0m
hp-check[3215]: info: :Status: scheduler is running
hp-check[3215]: info: :Version: 1.5.0
hp-check[3215]: info: :error_log is set to level: warn
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dbus/python-dbus...[0m
hp-check[3215]: info: :dbus daemon is running.
hp-check[3215]: info: :python-dbus version: 0.84.0
hp-check[3215]: info: :
hp-check[3215]: info: :
hp-check[3215]: info: :------------------------------------
hp-check[3215]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[3215]: info: :------------------------------------
hp-check[3215]: 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[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: CUPS - Common Unix Printing System...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: CUPS devel- Common Unix Printing System development files...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: CUPS image - CUPS image development files...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: DBus - Message bus system...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: gcc - GNU Project C and C++ Compiler...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: libcrypto - OpenSSL cryptographic library...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: libjpeg - JPEG library...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: libnetsnmp-devel - SNMP networking library development files...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: libpthread - POSIX threads library...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: libtool - Library building support services...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: libusb - USB library...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: make - GNU make utility to maintain groups of programs...[0m
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: PolicyKit - Administrative policy framework...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: PyQt 4 DBus - DBus Support for PyQt4...[0m
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: Python DBus - Python bindings for DBus...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: Python devel - Python development files...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: 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[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: Python XML libraries...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: Python 2.3 or greater - Required for fax functionality...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: Python 2.2 or greater - Python programming language...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: 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[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: SANE - Scanning library...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: SANE - Scanning library development files...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: scanimage - Shell scanning program...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for dependency: xsane - Graphical scanner frontend for SANE...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :
hp-check[3215]: info: :----------------------
hp-check[3215]: info: :| HPLIP INSTALLATION |
hp-check[3215]: info: :----------------------
hp-check[3215]: info: :
hp-check[3215]: info: :
hp-check[3215]: info: :[01mCurrently installed HPLIP version...[0m
hp-check[3215]: info: :HPLIP 3.11.7 currently installed in '/usr/share/hplip'.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[3215]: info: :# hplip.conf.  Generated from hplip.conf.in by configure.
[hplip]
version=3.11.7
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.11.7
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/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=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=yes
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.11.7
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no
hp-check[3215]: info: :
hp-check[3215]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check[3215]: info: :# hplip.state - HPLIP runtime persistent variables. 
[plugin]
installed=0
eula=0
hp-check[3215]: info: :
hp-check[3215]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[3215]: info: :[last_used]
device_uri = hp:/usb/HP_Color_LaserJet_CM1312_MFP?serial=00CNF8BDL809
[installation]
date_time = 09/14/11 20:58:50
version = 3.11.7
hp-check[3215]: info: :
hp-check[3215]: info: :--------------------------
hp-check[3215]: info: :| DISCOVERED USB DEVICES |
hp-check[3215]: info: :--------------------------
hp-check[3215]: info: :
hp-check[3215]: info: :  Device URI                        Model                       
hp-check[3215]: info: :  --------------------------------  ----------------------------
hp-check[3215]: info: :  hp:/usb/HP_Color_LaserJet_CM1312  HP Color LaserJet CM1312 MFP
  _MFP?serial=00CNF8BDL809                                      
hp-check[3215]: info: :
hp-check[3215]: info: :---------------------------------
hp-check[3215]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[3215]: info: :---------------------------------
hp-check[3215]: info: :
hp-check[3215]: info: :
hp-check[3215]: info: :[01mHP_Color_LaserJet_CM1312_MFP[0m
hp-check[3215]: info: :[01m----------------------------[0m
hp-check[3215]: info: :Type: Unknown
hp-check[3215]: info: :Device URI: usb://HP/Color%20LaserJet%20CM1312%20MFP?serial=00CNF8BDL809&interface=1
hp-check[3215]: info: :PPD: /etc/cups/ppd/HP_Color_LaserJet_CM1312_MFP.ppd
hp-check[3215]: info: :PPD Description: HP Color LaserJet CM1312 MFP Series Postscript (recommended)
hp-check[3215]: info: :Printer status: printer HP_Color_LaserJet_CM1312_MFP is idle.  enabled since Вт. 13 сент. 2011 09:38:01
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[3215]: info: :
hp-check[3215]: info: :
hp-check[3215]: info: :----------------------
hp-check[3215]: info: :| SANE CONFIGURATION |
hp-check[3215]: info: :----------------------
hp-check[3215]: info: :
hp-check[3215]: info: :[01m'hpaio' in '/etc/sane.d/dll.conf'...[0m
hp-check[3215]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking output of 'scanimage -L'...[0m
hp-check[3215]: info: :device `hpaio:/usb/HP_Color_LaserJet_CM1312_MFP?serial=00CNF8BDL809' is a Hewlett-Packard HP_Color_LaserJet_CM1312_MFP all-in-one
device `v4l:/dev/video0' is a Noname Lenovo EasyCamera virtual device
hp-check[3215]: info: :
hp-check[3215]: info: :---------------------
hp-check[3215]: info: :| PYTHON EXTENSIONS |
hp-check[3215]: info: :---------------------
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking 'cupsext' CUPS extension...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking 'pcardext' Photocard extension...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking 'hpmudext' I/O extension...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking 'scanext' SANE scanning extension...[0m
hp-check[3215]: info: :OK, found.
hp-check[3215]: info: :
hp-check[3215]: info: :
hp-check[3215]: info: :
hp-check[3215]: info: :-----------------
hp-check[3215]: info: :| USB I/O SETUP |
hp-check[3215]: info: :-----------------
hp-check[3215]: info: :
hp-check[3215]: info: :[01mChecking for permissions of USB attached printers...[0m
hp-check[3215]: info: :
HP Device 0x4e17 at 001:005: 
hp-check[3215]: info: :    Device URI: hp:/usb/HP_Color_LaserJet_CM1312_MFP?serial=00CNF8BDL809
warning: Unable to connect to dbus. Is hp-systray running?
hp-check[3215]: info: :    Device node: /dev/bus/usb/001/005
hp-check[3215]: info: :    Mode: 0664
hp-check[3215]: info: :getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/005
# owner: root
# group: scanner
user::rw-
user:gdm:rw-
user:archie:rw-
group::rw-
mask::rw-
other::r--
hp-check[3215]: info: :
hp-check[3215]: info: :---------------
hp-check[3215]: info: :| USER GROUPS |
hp-check[3215]: info: :---------------
hp-check[3215]: info: :
hp-check[3215]: info: :sys lp wheel games video audio optical storage scanner power users
hp-check[3215]: info: :
hp-check[3215]: info: :-----------
hp-check[3215]: info: :| SUMMARY |
hp-check[3215]: info: :-----------
hp-check[3215]: info: :
error: 6 errors and/or warnings.
hp-check[3215]: info: :
hp-check[3215]: info: :Please refer to the installation instructions at:
hp-check[3215]: info: :http://hplip.sourceforge.net/install/index.html
hp-check[3215]: info: :
hp-check[3215]: info: :Done.
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
Доbaвьте сеbя в группу scanner

gpasswd -a archie scanner

где archie - имя пользователя.
Он изначально был добавлен в эту группу useradd -m -g users -G audio,lp,optical,storage,video,wheel,games,power,scanner -s /bin/bash archie, но на всякий случай попробовал, безрезультатно…
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
Из лога hp-check.log приведенного выше видно:
1. hp-check[3215]: info: :[01mChecking PyQt 4.x version...[0m error: NOT FOUND OR FAILED TO LOAD!
2. hp-check[3215]: info: :[01mChecking for dependency: make - GNU make utility to maintain groups of programs...[0m
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
3. hp-check[3215]: info: :[01mChecking for dependency: PyQt 4 DBus - DBus Support for PyQt4...[0m
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
4. hp-check[3215]: 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.
5. hp-check[3215]: 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.
6. hp-check[3215]: info: :Printer status: printer HP_Color_LaserJet_CM1312_MFP is idle.  enabled since Вт. 13 сент. 2011 09:38:01
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
7. hp-check[3215]: info: :    Device URI: hp:/usb/HP_Color_LaserJet_CM1312_MFP?serial=00CNF8BDL809
warning: Unable to connect to dbus. Is hp-systray running?
Итого: error: 6 errors and/or warnings.

Вопрос что всё это значит???
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
Попроbуйте установить PythonQt или что-то в этом роде.
У вас отсутствуют некоторые зависимости. Посмотрите их в пакмане.
daniel
Попроbуйте установить PythonQt или что-то в этом роде.
В каком роде???
daniel
У вас отсутствуют некоторые зависимости. Посмотрите их в пакмане.
Как это можно сделать???
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
PalPalych
daniel
У вас отсутствуют некоторые зависимости. Посмотрите их в пакмане.
Как это можно сделать???
https://wiki.archlinux.org/index.php/Pacman
Lupus pilum mutat, non mentem.
jim945
PalPalych
daniel
У вас отсутствуют некоторые зависимости. Посмотрите их в пакмане.
Как это можно сделать???
https://wiki.archlinux.org/index.php/Pacman

Я эти вики наизусть знаю, всё там с зависимостями ровно, ещё варианты есть!!!!
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
hp-toolbox запустил путем нехитрого поиска
[archie@myhost ~]$ pacman -Ss pyqt
extra/eric 5.1.5-1
    A full-featured Python 3.x and Ruby IDE in PyQt4
extra/eric4 4.4.17-1
    A full-featured Python 2.x and Ruby IDE in PyQt4
extra/pyqt 4.8.5-1 [установлен]
    A set of Python bindings for the Qt toolkit
extra/python2-pyqt 4.8.5-1
    PyQt: A set of Python2 bindings for the Qt toolkit
community/pyqt3 3.18.1-9
    A set of Python bindings for the Qt3 toolkit
[archie@myhost ~]$ sudo pacman -S pyqt3 python2-pyqt

Осталось error: 3 errors and/or warnings

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
Checking for dependency: Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
Printer status: printer HP_Color_LaserJet_CM1312_MFP is idle.  enabled since Вт. 13 сент. 2011 09:38:01
error: Required plug-in status: Not installed
Communication status: Good
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
 
Зарегистрироваться или войдите чтобы оставить сообщение.