hplip funktioniert nicht auf Leap 15.5

Hinweis: In dem Thema hplip funktioniert nicht auf Leap 15.5 gibt es 22 Antworten auf 3 Seiten. Der letzte Beitrag () befindet sich auf der letzten Seite.
  • Hallo Zusammen

    Versuche mein Drucker-Scanner zum laufen zu bringen, was vor kurzem noch mit "hplip" problemlos zu bewältigen war. Auf Leap 15.5 aber nicht mehr geht.

    Zuerst mit dem normalen "hplip" von SuSE versucht und dann das "hplip" von HP versucht zu installieren mit

    # sh hplip-3.23.12.run

    Allerdings fehlen einige Pakete wobei ich nur 2 nicht auftreiben kann:

    pyqt5

    python-dbus
    Somit findet der "HP Devicemanager" auch meinen "HP Color Laserjet Pro MFP m177sw" nicht.


    Alles in allem fehlen aber alle diese:


    MISSING DEPENDENCIES

    --------------------

    Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features

    will not work if OPTIONAL dependencies are not installed.

    Package-Name Component Required/Optional

    pyqt5-dbus gui_qt5 OPTIONAL

    pil scan OPTIONAL

    python-dbus fax REQUIRED

    reportlab fax OPTIONAL

    pyqt5 gui_qt5 REQUIRED

    policykit gui_qt5 OPTIONAL

    python-notify gui_qt5 OPTIONAL


    Weiter steht da:

    INSTALL MISSING REQUIRED DEPENDENCIES

    -------------------------------------

    note: Installation of dependencies requires an active internet connection.

    warning: Missing REQUIRED dependency: pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))

    warning: Missing REQUIRED dependency: python-dbus (Python DBus - Python bindings for DBus)


    Bin für eine Hilfe dankbar


    Beste Grüsse







  • Versuch es mal mit den Paketen aus diesem Repo.


    Repo hinzufügen:


    Code
    zypper ar -f https://download.opensuse.org/repositories/home:/Sauerland:/sane/15.5/ Sauerland-hplip
    Code
    zypper dup --from https://download.opensuse.org/repositories/home:/Sauerland:/sane/15.5/

    Das sollte eigentlich alle Abhängigkeiten installieren.

    Einmal editiert, zuletzt von Sauerland ()

    Für den Inhalt des Beitrages 311767 haftet ausdrücklich der jeweilige Autor: Sauerland

  • Irgendwie ist die Fehlerbeschreibung ungenau. Hast Du die hplip-Dateien von OpenSUSE installieren können und gibt es die Abhängigkeitsprobleme nur mit den Paketen von HP?


    Wenn Du die hplip-Pakete von OpenSUSE installieren konntest, welche konkreten Probleme gab es bei dem Versuch, den Scanner zu aktivieren?

    Für den Inhalt des Beitrages 311768 haftet ausdrücklich der jeweilige Autor: matbhm

  • Übrigens brauchst du auch noch das plugin:

    Code
    HP Color LaserJet Pro Mpf m177fw Required 3.13.11 1.Scanning support. 2.Printing support.

    Wie du siehst, funktioniert fax anscheinend nicht.

    Quelle:

    HP Developers Portal | What is the HPLIP Binary Plug-In and How Do I Install It?


    Also nach der hplip Installation zuerst als User:

    Code
    hp-plugin

    und dann:

    Code
    hp-setup

    PS:

    Die hplip.run würde ich nicht nehmen, würde immer bei einem rpm bleiben..........

    Für den Inhalt des Beitrages 311769 haftet ausdrücklich der jeweilige Autor: Sauerland

  • Hallo Sauerland

    Erstmals vielen Dank. Leider findet er immer noch kein Device. Der Drucker ist über USB angesteckt. Der "HP Device Manager " zeigt an:


    error: policykit PolicyKit - Administrative policy framework OPTIONAL - 121 MISSING

    'policykit needs to be installed'


    und




    Checking for Configured Queues....

    No Queue added


    warning: No Queue(s) configured.



    Checking for HP Properitery Plugin's....

    No plug-in printers are configured.



    Die Plugins habe ich eigentlich installiert:


    hp-plugin


    HP Linux Imaging and Printing System (ver. 3.23.12)

    Plugin Download and Install Utility ver. 2.1


    Copyright (c) 2001-18 HP 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.



    HP Linux Imaging and Printing System (ver. 3.23.12)

    Plugin Download and Install Utility ver. 2.1


    Copyright (c) 2001-18 HP 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.


    Checking for network connection...

    Downloading plug-in from:

    Plugin is not accessible. Trying to download it from fallback location: [https://developers.hp.com/site…iles/hplip-3.23.12-plugin

    .run]

    Receiving digital keys: /usr/bin/gpg --homedir /home/yves/.hplip/.gnupg --no-permission-warning --keyserver pgp.surf.nl --recv-keys 0x4ABA2

    F66DBD5A95894910E0673D770CDA59047B9

    Creating directory plugin_tmp

    Verifying archive integrity... 100% All good.

    Uncompressing HPLIP 3.23.12 Plugin Self Extracting Archive 100%


    Gab beim ersten mal eine Fehlermeldung wegen eines fehlenden Schlüssel, hat sich aber trotzdem installiert und darum habe ich es nochmals wiederholt und beim zweiten mal gabs die Fehlermeldung nicht mehr.


    In Yast ist mir aufgefallen das es folgendes nicht installiert hat:


    "hplip-devel"


    deses Paket erfordert :


    "libopenssl-devel"


    und dieses steht im Konflikt mit:


    "libopenssl-3-devel"


    dieses müsste deinstalliert werden beziehungsweise würde dann mit "libopenssl-devel" ersetzt.


    Vielen Dank für die Hilfe

  • Dies ist die ganze Ausgabe:


    HP Linux Imaging and Printing System (ver. 3.23.12)

    Self Diagnse Utility and Healing Utility ver. 1.0


    Copyright (c) 2001-18 HP 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.



    HP Linux Imaging and Printing System (ver. 3.23.12)

    Self Diagnse Utility and Healing Utility ver. 1.0


    Copyright (c) 2001-18 HP 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.




    Checking for Deprecated items....

    No Deprecated items are found



    Checking for HPLIP updates....


    HP Linux Imaging and Printing System (ver. 3.23.12)

    HPLIP upgrade latest version ver. 1.0


    Copyright (c) 2001-18 HP 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.


    error: HPLIP upgrade is disabled by openSUSE for security reasons, see https://bugzilla.suse.com/show_bug.cgi?id=853405 - if you like to up

    grade HPLIP, use an openSUSE software package manager like YaST or zypper.


    Done.

    error: Failed to upgrade latest HPLIP. Is hp-upgrade already running (i.e. foreground or background)?



    Checking for Dependencies....


    ---------------

    | SYSTEM INFO |

    ---------------


    Kernel: 5.14.21-150500.55.44-default #1 SMP PREEMPT_DYNAMIC Mon Jan 15 10:03:40 UTC 2024 (cc7d8b6) GNU/Linux

    Host: localhost.localdomain

    Proc: 5.14.21-150500.55.44-default #1 SMP PREEMPT_DYNAMIC Mon Jan 15 10:03:40 UTC 2024 (cc7d8b6) GNU/Linux

    Distribution: 3 15.5

    Bitness: 64 bit



    -----------------------

    | HPLIP CONFIGURATION |

    -----------------------


    HPLIP-Version: HPLIP 3.23.12

    HPLIP-Home: /usr/share/hplip

    HPLIP-Installation: Auto installation is supported for suse distro 15.5 version


    Current contents of '/etc/hp/hplip.conf' file:

    # hplip.conf. Generated from hplip.conf.in by configure.


    [hplip]

    version=3.23.12


    [dirs]

    home=/usr/share/hplip

    run=/var/run

    ppd=/usr/share/cups/model/manufacturer-PPDs/hplip

    ppdbase=/usr/share/cups/model/manufacturer-PPDs

    doc=/usr/share/doc/packages/hplip

    html=/usr/share/doc/packages/hplip

    icon=/usr/share/applications

    cupsbackend=/usr/lib/cups/backend

    cupsfilter=/usr/lib/cups/filter

    drv=/usr/lib/cups/driver

    bin=/usr/bin

    apparmor=/etc/apparmor.d

    # Following values are determined at configure time and cannot be changed.

    [configure]

    network-build=yes

    libusb01-build=no

    pp-build=no

    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=no

    foomatic-ppd-install=yes

    foomatic-rip-hplip-install=no

    hpcups-install=yes

    cups-drv-install=no

    cups-ppd-install=yes

    internal-tag=3.23.12

    restricted-build=no

    ui-toolkit=qt5

    qt3=no

    qt4=no

    qt5=yes

    policy-kit=no

    lite-build=no

    udev_sysfs_rules=no

    hpcups-only-build=no

    hpijs-only-build=no

    apparmor_build=no

    class-driver=no



    Current contents of '/var/lib/hp/hplip.state' file:

    [plugin]

    installed = 1

    eula = 1

    version = 3.23.12




    Current contents of '~/.hplip/hplip.conf' file:

    [commands]

    scan = /usr/bin/xsane -V %SANE_URI%


    [fax]

    email_address =

    voice_phone =


    [installation]

    date_time = 02/19/24 07:20:15

    version = 3.23.12


    [last_used]

    device_uri = "hp:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6GC43BR"

    printer_name =

    working_dir = .


    [polling]

    device_list =

    enable = false

    interval = 5


    [refresh]

    enable = false

    rate = 30

    type = 1


    [settings]

    systray_messages = 0

    systray_visible = 1


    [upgrade]

    last_upgraded_time = 1708246995

    notify_upgrade = false

    pending_upgrade_time = 0



    <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>


    -------------------------

    | External Dependencies |

    -------------------------


    cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK

    'CUPS Scheduler is running'

    gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.52 O

    K -

    xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK

    -

    scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.1.1 OK

    -

    dbus DBus - Message bus system REQUIRED - 1.12.2 OK

    -

    error: policykit PolicyKit - Administrative policy framework OPTIONAL - 121 MISSING

    'policykit needs to be installed'

    network network -wget OPTIONAL - 1.20.3 OK

    -

    avahi-utils avahi-utils OPTIONAL - 0.8 OK

    -


    ------------------------

    | General Dependencies |

    ------------------------


    libjpeg libjpeg - JPEG library REQUIRED - - OK

    -

    cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK

    -

    cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK

    -

    libpthread libpthread - POSIX threads library REQUIRED - b'2.31' OK

    -

    libusb libusb - USB library REQUIRED - 1.0 OK

    -

    sane SANE - Scanning library REQUIRED - 1.1.1 OK

    -

    sane-devel SANE - Scanning library development files REQUIRED - 1.1.1 OK

    -

    libavahi-dev libavahi-dev REQUIRED - - OK

    -

    libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.9.4 OK

    -

    libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK

    -

    python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.6.15 OK

    -

    python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - -

    OK -

    python3-pyqt5-dbus PyQt 5 DBus - DBus Support for PyQt5 OPTIONAL 5.0 5.15.7 OK

    -

    python3-pyqt5 PyQt 5- Qt interface for Python (for Qt version 4.x) REQUIRED 5.0 5.15.7 OK

    -

    python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.16 OK

    -

    python3-xml Python XML libraries REQUIRED - 2.4.4 OK

    -

    python3-devel Python devel - Python development files REQUIRED 2.2 3.6.15 OK

    -

    python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 8.4.0

    OK -

    python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK

    -


    --------------

    | COMPILEDEP |

    --------------


    libtool libtool - Library building support services REQUIRED - 2.4.6 OK

    -

    gcc gcc - GNU Project C and C++ Compiler REQUIRED - 7.5.0 OK

    -

    make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.2.1 OK

    -


    ---------------------

    | Python Extentions |

    ---------------------


    cupsext CUPS-Extension REQUIRED - 3.23.12 OK

    -

    hpmudext IO-Extension REQUIRED - 3.23.12 OK

    -


    ----------------------

    | Scan Configuration |

    ----------------------


    hpaio HPLIP-SANE-Backend REQUIRED - 3.23.12 OK

    'hpaio found in /etc/sane.d/dll.conf'

    scanext Scan-SANE-Extension REQUIRED - 3.23.12 OK

    -


    ------------------------------

    | DISCOVERED SCANNER DEVICES |

    ------------------------------


    No Scanner found.


    --------------------------

    | DISCOVERED USB DEVICES |

    --------------------------


    No devices found.


    ---------------------------------

    | INSTALLED CUPS PRINTER QUEUES |

    ---------------------------------



    lpstat

    ------

    Type: Unknown

    Device URI: Keine Druckziele hinzugefügt.



    --------------

    | PERMISSION |

    --------------




    Checking Permissions....



    Checking for Configured Queues....

    No Queue added


    warning: No Queue(s) configured.



    Checking for HP Properitery Plugin's....

    No plug-in printers are configured.


    Diagnose completed...




    More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html



    Please close this terminal manually.

  • error: policykit PolicyKit - Administrative policy framework OPTIONAL - 121 MISSING

    'policykit needs to be installed'

    Wenn polkit installiert ist, sollte es reichen, ist ein anderer Name......

    Dies ist die ganze Ausgabe:

    Bitte immer:

    incl. der kompletten Eingabezeile sowie die Ausgabe in Code-Tags siehe:

    Für den Inhalt des Beitrages 311773 haftet ausdrücklich der jeweilige Autor: Sauerland

  • Hab den Drucker extra nochmals ausgesteckt und wieder eingesteckt..

    Code
    yves@localhost:~> lsusb
    Bus 002 Device 002: ID 0781:55ae SanDisk Corp. Extreme 55AE
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 003: ID 046a:00de Cherry GmbH CHERRY Keyboard
    Bus 001 Device 002: ID 17cc:1830 Native Instruments Komplete Audio 1
    Bus 001 Device 006: ID 1462:7c75 Micro Star International MYSTIC LIGHT 
    Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. Hub
    Bus 001 Device 004: ID 093a:2533 Pixart Imaging, Inc. SHARKFORCE OpticalMouse
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    yves@localhost:~> 

    Neu ist nun das nach dem Ruhemodus nur noch ein Bildschirm läuft von zwei, kann den zweiten dann ohne das System neu zu starten auch nicht mehr konfigurieren..!!

  • Mal anderen USB-Port versuchen, anderes USB-Drucker-Kabel? Ist der Drucker auch eingeschaltet? Jedenfalls taucht der Drucker bei lsusb nicht auf.

    Für den Inhalt des Beitrages 311788 haftet ausdrücklich der jeweilige Autor: matbhm