Witaj na Forum Linuxiarzy
Zanim zalogujesz się, by pisać na naszym forum, zapoznaj się z kilkoma zasadami savoir-vivre'u w dziale Administracja.
Wiadomości z problemami zamieszczone w wątku "Przywitaj się" oraz wszelkie reklamy na naszym forum będą usuwane.
Cytat: Tanker w Listopad 03, 2025, 11:05:44 PMThiocodin też można przedawkować.
A na poważnie tutaj na ten temat w wersji polskiej
https://rumble.com/v70zf7m-zainstaluj-sobie-linuxa-i-olej-cakowicie-windowsa-bo-to-jedno-wielkie-szpie.html?e9s=src_v1_cmd%2Csrc_v1_upp_v
Czyż szlachta z urodzenia nie powinna mieć wyboru? No dyć!
Cytat: John Doe w Listopad 02, 2025, 11:28:31 PM$ scanimage -L
device `hpljm1005:libusb:001:008' is a Hewlett-Packard LaserJet M1120 multi-function peripheral
device `hpaio:/usb/HP_LaserJet_M1120_MFP?serial=MF34RZB' is a Hewlett-Packard HP_LaserJet_M1120_MFP all-in-one
devuan@devuan:~$ scanimage > image.pnm
Output format is not set, using pnm as a default.
scanimage: open of device hpljm1005:libusb:001:008 failed: Device busy
devuan@devuan:~$ hp-doctor
HP Linux Imaging and Printing System (ver. 3.22.10)
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.22.10)
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.
warning: devuan distro is not found in AUTH_TYPES
Checking for Deprecated items....
No Deprecated items are found
Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility
Checking for Dependencies....
warning: unknown-6 version is not supported. Using unknown-0 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) GNU/Linux
Host: devuan
Proc: 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) GNU/Linux
Distribution: unknown 6
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.22.10
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for unknown distro 6 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.22.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=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=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.22.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
class-driver=no
Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.22.10
Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 11/03/25 16:52:52
version = 3.22.10
<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 10.05.1 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.2.1 OK -
error: dbus DBus - Message bus system REQUIRED - 1.16.2 MISSING 'DBUS may not be installed or not running'
policykit PolicyKit - Administrative policy framework OPTIONAL - - OK -
network network -wget OPTIONAL - 1.25.0 OK -
avahi-utils avahi-utils OPTIONAL - 0.8 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'
error: libpthread libpthread - POSIX threads library REQUIRED - b'2.41' MISSING 'libpthread needs to be installed'
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: libavahi-dev libavahi-dev REQUIRED - - MISSING 'libavahi-dev 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 - 3.5.1 MISSING 'libcrypto needs to be installed'
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.13.5 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.4.0 OK -
python3-xml Python XML libraries REQUIRED - 2.7.1 OK -
error: python3-devel Python devel - Python development files REQUIRED 2.2 3.13.5 MISSING 'python3-devel needs to be installed'
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 11.1.0 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 4.3.1 OK -
--------------
| COMPILEDEP |
--------------
error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
error: gcc gcc - GNU Project C and C++ Compiler REQUIRED - - MISSING 'gcc needs to be installed'
error: make make - GNU make utility to maintain groups of programs REQUIRED 3.0 - MISSING 'make needs to be installed'
---------------------
| Python Extentions |
---------------------
cupsext CUPS-Extension REQUIRED - 3.22.10 OK -
hpmudext IO-Extension REQUIRED - 3.22.10 OK -
----------------------
| Scan Configuration |
----------------------
'/etc/sane.d/dll.d/hpaio' not found.
hpaio HPLIP-SANE-Backend REQUIRED - 3.22.10 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.22.10 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
device `hpljm1005:libusb:001:008' is a Hewlett-Packard LaserJet M1120 multi-function peripheral
device `hpaio:/usb/HP_LaserJet_M1120_MFP?serial=MF34RZB' is a Hewlett-Packard HP_LaserJet_M1120_MFP all-in-one
device `hpljm1005:libusb:001:008' is a Hewlett-Packard LaserJet M1120 multi-function peripheral
device `hpaio:/usb/HP_LaserJet_M1120_MFP?serial=MF34RZB' is a Hewlett-Packard HP_LaserJet_M1120_MFP all-in-one
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
-------------------------------- ---------------------
hp:/usb/HP_LaserJet_M1120_MFP?se HP LaserJet M1120 MFP
rial=MF34RZB
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP_LaserJet_M1120_MFP
---------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_M1120_MFP?serial=MF34RZB
PPD: /etc/cups/ppd/HP_LaserJet_M1120_MFP.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_M1120_MFP.ppd ppd file
PPD Description:
Printer status: printer HP_LaserJet_M1120_MFP is idle. enabled since Mon 03 Nov 2025 04:42:36 PM UTC
Required plug-in status: Installed
Communication status: Good
--------------
| PERMISSION |
--------------
USB HP_LaserJet_M1120_MFP Required - - OK Node:'/dev/bus/usb/001/008' Perm:' root lp rw- rw- rw- rw- rw- r--'
Checking Permissions....
Checking for Configured Queues....
Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 328, in <module>
queues.main_function(dep.core.passwordObj, MODE,ui_toolkit, False, DEVICE_URI)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/hplip/base/queues.py", line 337, in main_function
mapofDevices,status = parseQueues(mode)
~~~~~~~~~~~^^^^^^
File "/usr/share/hplip/base/queues.py", line 114, in parseQueues
if device_uri.startswith("cups-pdf:/"):
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'startswith'
devuan@devuan:~$