ubuntuusers.de

HP Laser Jet 1320 druckt nicht

Status: Gelöst | Ubuntu-Version: Ubuntu 18.04 (Bionic Beaver)
Antworten |

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19613

Wohnort: Schleswig-Holstein

Ganz ehrlich –- ich bin am Ende mit meinem Latein 😢

UlfZibis

(Themenstarter)

Anmeldungsdatum:
13. Juli 2011

Beiträge: 3121

Wohnort: Köln

Der pcl3 hpijs geht wieder überhaupt nicht, und der oberste von den Postscript (recommended) bringt immerhin die Testseite ... sonst alles beim alten.

Wo könnte denn die Schraube sein, wo man die Gruppenberechtigung von saned aud lp umstellt? Die URI mit hp:... kann ich ja manuell ändern.

Kellerkind_2009 schrieb:

Ganz ehrlich –- ich bin am Ende mit meinem Latein 😢

Jau, Zeit ins Bettchen zu hüpfen ... 😇

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19613

Wohnort: Schleswig-Holstein

UlfZibis schrieb:

Jau, Zeit ins Bettchen zu hüpfen ... 😇

😬 einer geht noch ....

nochmal zeigen

id

.......

UlfZibis

(Themenstarter)

Anmeldungsdatum:
13. Juli 2011

Beiträge: 3121

Wohnort: Köln

Kellerkind_2009 schrieb:

😬 einer geht noch ....

$ id
uid=1000(ich) gid=1000(ich) Gruppen=1000(ich),4(adm),7(lp),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),116(lpadmin),126(sambashare)

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19613

Wohnort: Schleswig-Holstein

Nun zeige mal

grep printer /lib/udev/rules.d/*

grep saned /lib/udev/rules.d/*

grep sane /lib/udev/rules.d/*

UlfZibis

(Themenstarter)

Anmeldungsdatum:
13. Juli 2011

Beiträge: 3121

Wohnort: Köln

$ grep printer /lib/udev/rules.d/*
/lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="printer", KERNEL=="lp*", GROUP="lp"
/lib/udev/rules.d/56-hpmud.rules:# This rule will check the smart install feature, plugin status and firmware download for the required printers.
/lib/udev/rules.d/56-hpmud.rules:ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/nohup /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM}'"
/lib/udev/rules.d/69-cd-sensors.rules:ATTRS{idVendor}=="0765", ATTRS{idProduct}=="d020", ENV{COLORD_SENSOR_KIND}="dtp20", ENV{COLORD_SENSOR_CAPS}="printer spot"
/lib/udev/rules.d/69-cd-sensors.rules:ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2000", ENV{COLORD_SENSOR_KIND}="i1-pro", ENV{COLORD_SENSOR_CAPS}="lcd crt projector printer ambient"
/lib/udev/rules.d/69-cd-sensors.rules:ATTRS{idVendor}=="0971", ATTRS{idProduct}=="2007", ENV{COLORD_SENSOR_KIND}="color-munki-photo", ENV{COLORD_SENSOR_CAPS}="lcd crt projector printer spot ambient"
/lib/udev/rules.d/69-cd-sensors.rules:ATTRS{idVendor}=="2457", ATTRS{idProduct}=="4200", ENV{COLORD_SENSOR_KIND}="spark", ENV{COLORD_SENSOR_CAPS}="lcd crt projector printer spot ambient"
/lib/udev/rules.d/70-printers.rules:ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="systemd", ENV{SYSTEMD_WANTS}="configure-printer@usb-$env{BUSNUM}-$env{DEVNUM}.service"
/lib/udev/rules.d/70-printers.rules:ACTION=="remove", SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="*:0701*:*", RUN+="udev-configure-printer remove %p"
/lib/udev/rules.d/70-uaccess.rules:# 3D printers, CNC machines, laser cutters, 3D scanners, etc.
/lib/udev/rules.d/99-systemd.rules:SUBSYSTEM=="printer", TAG+="systemd", ENV{SYSTEMD_WANTS}+="printer.target"
/lib/udev/rules.d/99-systemd.rules:SUBSYSTEM=="usb", KERNEL=="lp*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="printer.target"
/lib/udev/rules.d/99-systemd.rules:SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="printer.target"

$ grep saned /lib/udev/rules.d/*
/lib/udev/rules.d/99-saned.rules:# $Id: 99-saned.rules 218 2016-02-19 18:48:21Z wimalopaan $
/lib/udev/rules.d/99-saned.rules:# change group to saned for sane devices
/lib/udev/rules.d/99-saned.rules:# needed for saned to get scanner access
/lib/udev/rules.d/99-saned.rules:ENV{libsane_matched}=="yes", GROUP="saned"

$ grep sane /lib/udev/rules.d/*
/lib/udev/rules.d/56-hpmud.rules:ATTR{idVendor}=="03f0", ENV{ID_USB_INTERFACES}=="*:0701??:*|*:ffcc00:", OWNER="root", GROUP="lp", MODE="0664", ENV{libsane_matched}="yes", ENV{hp_test}="yes", ENV{ID_HPLIP}="1"
/lib/udev/rules.d/60-libsane1.rules:# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb
/lib/udev/rules.d/60-libsane1.rules:# If the scanner is supported by sane-backends, please mail the entry to
/lib/udev/rules.d/60-libsane1.rules:# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).
/lib/udev/rules.d/60-libsane1.rules:ACTION!="add", GOTO="libsane_rules_end"
/lib/udev/rules.d/60-libsane1.rules:ENV{DEVTYPE}=="usb_device", ENV{libsane_matched}=="yes", TEST=="power/control", ATTR{power/control}="on"
/lib/udev/rules.d/60-libsane1.rules:SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
/lib/udev/rules.d/60-libsane1.rules:GOTO="libsane_rules_end"
/lib/udev/rules.d/60-libsane1.rules:LABEL="libsane_scsi_rules_begin"
/lib/udev/rules.d/60-libsane1.rules:KERNEL!="sg[0-9]*", GOTO="libsane_rules_end"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="6", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER*", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Expression800", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9700", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9800", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-X900", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1200", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection636", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1130A", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1750A", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1790A", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2500A", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2520A", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C5110A", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C6270A", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C7670A", ENV{libsane_matched}="yes"
/lib/udev/rules.d/60-libsane1.rules:LABEL="libsane_rules_end"
/lib/udev/rules.d/69-libmtp.rules:ENV{ID_MTP_DEVICE}!="1", ENV{MTP_NO_PROBE}!="1", ENV{COLOR_MEASUREMENT_DEVICE}!="1", ENV{libsane_matched}!="yes", ATTR{bDeviceClass}=="00|02|06|ef|ff", PROGRAM="mtp-probe /sys$env{DEVPATH} $attr{busnum} $attr{devnum}", RESULT=="1", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
/lib/udev/rules.d/70-uaccess.rules:ENV{libsane_matched}=="yes", TAG+="uaccess"
/lib/udev/rules.d/99-saned.rules:# $Id: 99-saned.rules 218 2016-02-19 18:48:21Z wimalopaan $
/lib/udev/rules.d/99-saned.rules:# change group to saned for sane devices
/lib/udev/rules.d/99-saned.rules:# needed for saned to get scanner access
/lib/udev/rules.d/99-saned.rules:ENV{libsane_matched}=="yes", GROUP="saned"

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19613

Wohnort: Schleswig-Holstein

Hmm,die rules habe ich auf keinen Rechner,zeige sie mal

cat /lib/udev/rules.d/99-saned.rules

UlfZibis

(Themenstarter)

Anmeldungsdatum:
13. Juli 2011

Beiträge: 3121

Wohnort: Köln

$ cat /lib/udev/rules.d/99-saned.rules
# $Id: 99-saned.rules 218 2016-02-19 18:48:21Z wimalopaan $
#
#  scanbd - KMUX scanner button daemon
#
#  Copyright (C) 2008 - 2016  Wilhelm Meier (wilhelm.meier@fh-kl.de)
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#

# change group to saned for sane devices
# needed for saned to get scanner access

ENV{libsane_matched}=="yes", GROUP="saned"

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19613

Wohnort: Schleswig-Holstein

Hab ich schon erwähnt das ich mit meinem Latein ..... ☺

Mal versuchsweise umbenennen

sudo mv /lib/udev/rules.d/99-saned.rules /lib/udev/rules.d/99-saned.rules.bak

Neustart.Drucker noch nicht einschalten.Terminal

udevadm monitor --udev

Dann den HP einschalten. Zeige auch noch

ls -la /dev/bus/usb/*

UlfZibis

(Themenstarter)

Anmeldungsdatum:
13. Juli 2011

Beiträge: 3121

Wohnort: Köln

Vielleicht hilft das ja weiter. Um meinen Epson-Scanner an's Laufen zu kriegen, hatte ich folgende Anleitung ausgeführt: https://help.ubuntu.com/community/sane_Troubleshooting#Epson

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19613

Wohnort: Schleswig-Holstein

Nein,das hilft nicht weiter.Sollte keinen Einfluss auf den HP haben.HP hat sogar ein eigenes "Nutzer Konto"

grep hplip /var/lib/dpkg/statoverride

udevadm monitor --udev

ls -la /dev/bus/usb/*

UlfZibis

(Themenstarter)

Anmeldungsdatum:
13. Juli 2011

Beiträge: 3121

Wohnort: Köln

Kellerkind_2009 schrieb:

Dann den HP einschalten.

$ udevadm monitor --udev
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing

######### Hier habe ich den Drucker eingeschaltet ##########

UDEV  [259.076238] remove   /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:046D:C06D.0001/input/input7/mouse0 (input)
UDEV  [259.086386] remove   /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:046D:C06D.0001/input/input7/event5 (input)
UDEV  [259.114273] remove   /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:046D:C06D.0001/hidraw/hidraw0 (hidraw)
UDEV  [259.117881] remove   /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:046D:C06D.0001/input/input7 (input)
UDEV  [259.120718] unbind   /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:046D:C06D.0001 (hid)
UDEV  [259.122477] remove   /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:046D:C06D.0001 (hid)
UDEV  [259.123793] unbind   /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0 (usb)
UDEV  [259.125821] remove   /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0 (usb)
UDEV  [259.673711] unbind   /devices/pci0000:00/0000:00:1d.0/usb6/6-2 (usb)
UDEV  [259.684931] remove   /devices/pci0000:00/0000:00:1d.0/usb6/6-2 (usb)
UDEV  [259.696861] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2 (usb)
UDEV  [259.709687] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0 (usb)
UDEV  [259.712558] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:046D:C06D.0002 (hid)
UDEV  [259.715610] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:046D:C06D.0002/input/input15 (input)
UDEV  [259.717241] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:046D:C06D.0002/hidraw/hidraw0 (hidraw)
UDEV  [259.720928] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:046D:C06D.0002/input/input15/mouse0 (input)
UDEV  [259.763176] add      /devices/parport0/ppdev0.0 (parport)
UDEV  [259.764144] bind     /devices/parport0/ppdev0.0 (parport)
UDEV  [259.764940] unbind   /devices/parport0/ppdev0.0 (parport)
UDEV  [259.769679] remove   /devices/parport0/ppdev0.0 (parport)
UDEV  [259.789399] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:046D:C06D.0002/input/input15/event5 (input)
UDEV  [259.793629] bind     /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:046D:C06D.0002 (hid)
UDEV  [259.797994] bind     /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0 (usb)
UDEV  [259.801537] bind     /devices/pci0000:00/0000:00:1d.0/usb6/6-2 (usb)
UDEV  [260.604992] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-1 (usb)
UDEV  [260.630034] add      /module/usblp (module)
UDEV  [260.632469] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0 (usb)
UDEV  [260.635749] add      /class/usbmisc (class)
UDEV  [260.648067] add      /bus/usb/drivers/usblp (drivers)
UDEV  [260.651546] bind     /devices/pci0000:00/0000:00:1d.0/usb6/6-1 (usb)
UDEV  [260.656610] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/usbmisc/lp0 (usbmisc)
UDEV  [260.663387] bind     /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0 (usb)
UDEV  [264.306250] add      /devices/parport0/ppdev0.0 (parport)
UDEV  [264.307154] bind     /devices/parport0/ppdev0.0 (parport)
UDEV  [264.350212] unbind   /devices/parport0/ppdev0.0 (parport)
UDEV  [264.351626] remove   /devices/parport0/ppdev0.0 (parport)
UDEV  [265.819845] add      /devices/parport0/ppdev0.0 (parport)
UDEV  [265.820827] bind     /devices/parport0/ppdev0.0 (parport)
UDEV  [265.870719] unbind   /devices/parport0/ppdev0.0 (parport)
UDEV  [265.871593] remove   /devices/parport0/ppdev0.0 (parport)
UDEV  [265.902226] remove   /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/usbmisc/lp0 (usbmisc)
UDEV  [265.905523] remove   /usbmisc (class)
UDEV  [265.918759] unbind   /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0 (usb)
UDEV  [265.921918] bind     /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0 (usb)
UDEV  [265.928981] unbind   /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0 (usb)
UDEV  [265.932519] add      /class/usbmisc (class)
UDEV  [265.934351] add      /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/usbmisc/lp0 (usbmisc)
UDEV  [265.943259] bind     /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0 (usb)
UDEV  [266.097022] add      /devices/parport0/ppdev0.0 (parport)
UDEV  [266.097709] bind     /devices/parport0/ppdev0.0 (parport)
UDEV  [266.146661] unbind   /devices/parport0/ppdev0.0 (parport)
UDEV  [266.148147] remove   /devices/parport0/ppdev0.0 (parport)

Zeige auch noch

$ ls -la /dev/bus/usb/*
/dev/bus/usb/001:
insgesamt 0
drwxr-xr-x  2 root root    120 Okt 26 12:18 .
drwxr-xr-x 10 root root    200 Okt 26 12:18 ..
crw-rw-r--  1 root root 189, 0 Okt 26 12:19 001
crw-rw-r--  1 root root 189, 1 Okt 26 12:19 002
crw-rw-r--  1 root root 189, 2 Okt 26 12:19 003
crw-rw-r--  1 root root 189, 3 Okt 26 12:19 004

/dev/bus/usb/002:
insgesamt 0
drwxr-xr-x  2 root root       60 Okt 26 12:18 .
drwxr-xr-x 10 root root      200 Okt 26 12:18 ..
crw-rw-r--  1 root root 189, 128 Okt 26 12:19 001

/dev/bus/usb/003:
insgesamt 0
drwxr-xr-x  2 root root       60 Okt 26 12:18 .
drwxr-xr-x 10 root root      200 Okt 26 12:18 ..
crw-rw-r--  1 root root 189, 256 Okt 26 12:19 001

/dev/bus/usb/004:
insgesamt 0
drwxr-xr-x  2 root root       60 Okt 26 12:18 .
drwxr-xr-x 10 root root      200 Okt 26 12:18 ..
crw-rw-r--  1 root root 189, 384 Okt 26 12:19 001

/dev/bus/usb/005:
insgesamt 0
drwxr-xr-x  2 root root       60 Okt 26 12:18 .
drwxr-xr-x 10 root root      200 Okt 26 12:18 ..
crw-rw-r--  1 root root 189, 512 Okt 26 12:19 001

/dev/bus/usb/006:
insgesamt 0
drwxr-xr-x   2 root root      100 Okt 26 12:23 .
drwxr-xr-x  10 root root      200 Okt 26 12:18 ..
crw-rw-r--   1 root root 189, 640 Okt 26 12:19 001
crw-rw-r--   1 root root 189, 642 Okt 26 12:23 003
crw-rw-r--+  1 root lp   189, 643 Okt 26 12:23 004

/dev/bus/usb/007:
insgesamt 0
drwxr-xr-x  2 root root       60 Okt 26 12:18 .
drwxr-xr-x 10 root root      200 Okt 26 12:18 ..
crw-rw-r--  1 root root 189, 768 Okt 26 12:19 001

/dev/bus/usb/008:
insgesamt 0
drwxr-xr-x  2 root root       60 Okt 26 12:18 .
drwxr-xr-x 10 root root      200 Okt 26 12:18 ..
crw-rw-r--  1 root root 189, 896 Okt 26 12:19 001

$ grep hplip /var/lib/dpkg/statoverride
hplip root 755 /var/run/hplip

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19613

Wohnort: Schleswig-Holstein

Hmmm

/dev/bus/usb/006:
insgesamt 0
drwxr-xr-x   2 root root      100 Okt 26 12:23 .
drwxr-xr-x  10 root root      200 Okt 26 12:18 ..
crw-rw-r--   1 root root 189, 640 Okt 26 12:19 001
crw-rw-r--   1 root root 189, 642 Okt 26 12:23 003
crw-rw-r--+  1 root lp   189, 643 Okt 26 12:23 004

zeige mal

udevadm info -a -n /dev/bus/usb/006/004

UlfZibis

(Themenstarter)

Anmeldungsdatum:
13. Juli 2011

Beiträge: 3121

Wohnort: Köln

Es zeigt sich nun eine Veränderung (siehe Markierung weit unten):

$ sudo hp-check -r
[sudo] Passwort für ich:         
Saving output in log file: /home/ich/hp-check.log

HP Linux Imaging and Printing System (ver. 3.17.10)
Dependency/Version Check Utility ver. 15.1

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

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).   

Check types:                                                                    
a. EXTERNALDEP - External Dependencies                                          
b. GENERALDEP - General Dependencies (required both at compile and run time)    
c. COMPILEDEP - Compile time Dependencies                                       
d. [All are run-time checks]                                                    
PYEXT SCANCONF QUEUES PERMISSION                                                

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

warning: 12-18.04 version is not supported. Using 12-17.04 versions dependencies to verify and install...

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

 Kernel: 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 GNU/Linux
 Host: T500
 Proc: 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 GNU/Linux
 Distribution: 12 18.04
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.17.10
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 12 distro  18.04 version 

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

[hplip]
version=3.17.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
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=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.17.10
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

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

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

-------------------------
| External Dependencies |
-------------------------

 error: cups          CUPS - Common Unix Printing System                           REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.26            OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.12.2          OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 network              network -wget                                                OPTIONAL        -               1.19.4          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -

------------------------
| General Dependencies |
------------------------

 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.27'         OK         -
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           MISSING    'libcrypto needs to be installed'
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.6.8           OK         -
 python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.6           OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.5           OK         -
 error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.6.8           MISSING    'python3-devel needs to be installed'
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.4.0           OK         -

--------------
| COMPILEDEP |
--------------

 error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               7.4.0           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.1             OK         -

---------------------
| Python Extentions |
---------------------

 cupsext              CUPS-Extension                                               REQUIRED        -               3.17.10         OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.17.10         OK         -

----------------------
| Scan Configuration |
----------------------

'/etc/sane.d/dll.d/hpaio' not found.
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.17.10         OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.17.10         OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

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

  Device URI                        Model                  
  --------------------------------  -----------------------
  hp:/usb/hp_LaserJet_1320_series?  HP LaserJet 1320 series
  serial=00CNHW55TGZ5                                      

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

 
Canon-MX880-3.50-1_FRITZ!Box
----------------------------
Type: Unknown
Device URI: socket://fritz.box:9100
PPD: /etc/cups/ppd/Canon-MX880-3.50-1_FRITZ!Box.ppd
PPD Description: Canon MX880 series Ver.3.50
Printer status: Drucker Canon-MX880-3.50-1_FRITZ!Box ist im Leerlauf.  Aktiviert seit So 23 Sep 2018 04:08:10 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Canon-MX880-3.50-1_USB
----------------------
Type: Unknown
Device URI: cnijusb:/dev/usb/lp0
PPD: /etc/cups/ppd/Canon-MX880-3.50-1_USB.ppd
PPD Description: Canon MX880 series Ver.3.50
Printer status: Drucker Canon-MX880-3.50-1_USB ist im Leerlauf.  Aktiviert seit So 23 Sep 2018 04:00:16 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Canon-MX880-3.90_FRITZ!Box
--------------------------
Type: Unknown
Device URI: socket://fritz.box:9100
PPD: /etc/cups/ppd/Canon-MX880-3.90_FRITZ!Box.ppd
PPD Description: Canon MX880 series Ver.3.90
Printer status: Drucker Canon-MX880-3.90_FRITZ!Box ist im Leerlauf.  Aktiviert seit Do 08 Nov 2018 14:55:34 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Canon-MX880-3.90_USB
--------------------
Type: Unknown
Device URI: usb://Canon/MX880%20series?serial=10283A&interface=1
PPD: /etc/cups/ppd/Canon-MX880-3.90_USB.ppd
PPD Description: Canon MX880 series Ver.3.90
Printer status: Drucker Canon-MX880-3.90_USB ist im Leerlauf.  Aktiviert seit So 23 Sep 2018 02:49:32 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Epson-WF-2630_USB
-----------------
Type: Unknown
Device URI: usb://EPSON/WF-2630%20Series?serial=554D43593237333652&interface=1
PPD: /etc/cups/ppd/Epson-WF-2630_USB.ppd
PPD Description: Epson WF-2530 Series - epson-inkjet-printer-escpr 1.6.33-1lsb3.2 (Seiko Epson Corporation LSB 3.2)
Printer status: Drucker Epson-WF-2630_USB ist im Leerlauf.  Aktiviert seit Do 13 Jun 2019 23:44:31 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

HP-LaserJet-1320_pxlmono
------------------------
Type: Unknown
Device URI: usb://HP/LaserJet%201320%20series?serial=00CNHW55TGZ5
PPD: /etc/cups/ppd/HP-LaserJet-1320_pxlmono.ppd
PPD Description: HP LaserJet 1320 Foomatic/pxlmono (recommended)
Printer status: Drucker HP-LaserJet-1320_pxlmono ist im Leerlauf.  Aktiviert seit Sa 26 Okt 2019 11:49:38 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

MX880-series_FRITZ!Box
----------------------
Type: Unknown
Device URI: socket://fritz.box:9100
PPD: /etc/cups/ppd/MX880-series_FRITZ!Box.ppd
PPD Description: Canon MX880 series - CUPS+Gutenprint v5.2.13
Printer status: Drucker MX880-series_FRITZ!Box ist im Leerlauf.  Aktiviert seit So 23 Sep 2018 04:10:31 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

MX880-series_USB
----------------
Type: Unknown
Device URI: usb://Canon/MX880%20series?serial=10283A&interface=1
PPD: /etc/cups/ppd/MX880-series_USB.ppd
PPD Description: Canon MX880 series - CUPS+Gutenprint v5.2.13
Printer status: Drucker MX880-series_USB ist im Leerlauf.  Aktiviert seit So 23 Sep 2018 02:06:02 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


--------------
| PERMISSION |
--------------

USB             None                           Required        -        -        OK       Node:'/dev/bus/usb/006/004' Perm:'  root  lp rw- rw- rw- rw- r--'
 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible 
error: 'libjpeg-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp-mibs-downloader' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'python3-dev' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 

Total Errors: 12
Total Warnings: 8


Done.

Der Monitor ergänzte dazu:

UDEV  [690.023748] add      /devices/parport0/ppdev0.0 (parport)
UDEV  [690.026299] bind     /devices/parport0/ppdev0.0 (parport)
UDEV  [690.029922] unbind   /devices/parport0/ppdev0.0 (parport)
UDEV  [690.032784] remove   /devices/parport0/ppdev0.0 (parport)
UDEV  [700.014750] add      /devices/parport0/ppdev0.0 (parport)
UDEV  [700.016147] bind     /devices/parport0/ppdev0.0 (parport)
UDEV  [700.063138] unbind   /devices/parport0/ppdev0.0 (parport)
UDEV  [700.064894] remove   /devices/parport0/ppdev0.0 (parport)

UlfZibis

(Themenstarter)

Anmeldungsdatum:
13. Juli 2011

Beiträge: 3121

Wohnort: Köln

$ udevadm info -a -n /dev/bus/usb/006/004

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device '/devices/pci0000:00/0000:00:1d.0/usb6/6-1':
    KERNEL=="6-1"
    SUBSYSTEM=="usb"
    DRIVER=="usb"
    ATTR{authorized}=="1"
    ATTR{avoid_reset_quirk}=="0"
    ATTR{bConfigurationValue}=="1"
    ATTR{bDeviceClass}=="00"
    ATTR{bDeviceProtocol}=="00"
    ATTR{bDeviceSubClass}=="00"
    ATTR{bMaxPacketSize0}=="8"
    ATTR{bMaxPower}=="2mA"
    ATTR{bNumConfigurations}=="1"
    ATTR{bNumInterfaces}==" 1"
    ATTR{bcdDevice}=="0100"
    ATTR{bmAttributes}=="c0"
    ATTR{busnum}=="6"
    ATTR{configuration}==""
    ATTR{devnum}=="4"
    ATTR{devpath}=="1"
    ATTR{idProduct}=="1d17"
    ATTR{idVendor}=="03f0"
    ATTR{ltm_capable}=="no"
    ATTR{manufacturer}=="Hewlett-Packard"
    ATTR{maxchild}=="0"
    ATTR{product}=="hp LaserJet 1320 series"
    ATTR{quirks}=="0x0"
    ATTR{removable}=="removable"
    ATTR{serial}=="00CNHW55TGZ5"
    ATTR{speed}=="12"
    ATTR{urbnum}=="50"
    ATTR{version}==" 1.10"

  looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb6':
    KERNELS=="usb6"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{authorized}=="1"
    ATTRS{authorized_default}=="1"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{bMaxPower}=="0mA"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bcdDevice}=="0415"
    ATTRS{bmAttributes}=="e0"
    ATTRS{busnum}=="6"
    ATTRS{configuration}==""
    ATTRS{devnum}=="1"
    ATTRS{devpath}=="0"
    ATTRS{idProduct}=="0001"
    ATTRS{idVendor}=="1d6b"
    ATTRS{interface_authorized_default}=="1"
    ATTRS{ltm_capable}=="no"
    ATTRS{manufacturer}=="Linux 4.15.0-66-generic uhci_hcd"
    ATTRS{maxchild}=="2"
    ATTRS{product}=="UHCI Host Controller"
    ATTRS{quirks}=="0x0"
    ATTRS{removable}=="unknown"
    ATTRS{serial}=="0000:00:1d.0"
    ATTRS{speed}=="12"
    ATTRS{urbnum}=="123"
    ATTRS{version}==" 1.10"

  looking at parent device '/devices/pci0000:00/0000:00:1d.0':
    KERNELS=="0000:00:1d.0"
    SUBSYSTEMS=="pci"
    DRIVERS=="uhci_hcd"
    ATTRS{broken_parity_status}=="0"
    ATTRS{class}=="0x0c0300"
    ATTRS{consistent_dma_mask_bits}=="32"
    ATTRS{d3cold_allowed}=="0"
    ATTRS{device}=="0x2934"
    ATTRS{dma_mask_bits}=="32"
    ATTRS{driver_override}=="(null)"
    ATTRS{enable}=="1"
    ATTRS{irq}=="16"
    ATTRS{local_cpulist}=="0-1"
    ATTRS{local_cpus}=="3"
    ATTRS{msi_bus}=="1"
    ATTRS{numa_node}=="-1"
    ATTRS{revision}=="0x03"
    ATTRS{subsystem_device}=="0x20f0"
    ATTRS{subsystem_vendor}=="0x17aa"
    ATTRS{vendor}=="0x8086"

  looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""