Bardzo proszę o pomoc w rozwiązaniu nierozwiązywalnego dla mnie problemu z drukarką HP LaserJet 1018.
Pracuję co prawda na Ubuntu 9.10, ale według mnie to legendarne wsparcie społecznościowe tej dystrybucji ma więcej wspólnego z legendą niż z rzeczywistością, więc swe kroki skierowałem tutaj.
Orłem w Linuksie nie jestem, więc nie będzie mi przeszkadzało, kiedy ktoś będzie się śmiał ze mnie, że siedzę nad tym już ładnych kilka dni i nic, a problem jest zapewne banalny.
Początkowo moje rozumowanie szło w kierunku sterowników, plików PPD i adresów URI. Próbowałem tego
i
tego (w trzech wariantach: 3.9.8, 3.9.12 i 3.10.2)
Przejrzałem masę stron internetowych, porobiłem kilkanaście kartek notatek, próbowałem ręcznie kompilować jądro do najnowszej stabilnej wersji (niestety bez powodzenia), dwa razy przeinstalowałem system, przy okazji wykryłem i usunąłem problem zupełnie nie związany ze sprawą.
Działałem w miarę metodycznie, a w końcowej fazie na zasadzie strzałów na ślepo. Kategorycznie wykluczyłem awarię sprzętową.
Drukarka nie drukuje. Otrzymuję komunikaty, że zadanie drukowania rozpoczęło się a następnie, że zostało ukończone; niestety drukarka ani drgnie.
Ludzie jednak piszą, że ta drukarka dosyć dobrze współgra z Linuksem, więc moja też powinna.
Niestety, sam tego nie zrobię. Ustaliłem sobie zatem punkt odniesienia, czyli hplip-3.10.2 i swoje rozumowanie skierowałem na problemy z uprawnieniami do plików/katalogów lub ewentualne śmieci, które pozostały po poprzednio odinstalowywanych pakietach i źródłach.
Czy ktoś byłby mi skłonny pomóc na podstawie tego co wklejam poniżej?
Lista urządzeń USB:
Kod: Zaznacz cały
gregor@gregor-desktop:~$ lsusb
Bus 001 Device 004: ID 03f0:4117 Hewlett-Packard Printing Support
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 15ca:00c3 Textech International Ltd. Mini Optical Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Kod: Zaznacz cały
gregor@gregor-desktop:~$ hp-check
HP Linux Imaging and Printing System (ver. 3.10.2)
Dependency/Version Check Utility ver. 14.3
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.
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 gregor-desktop 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux
Distribution:
ubuntu 9.10
Checking Python version...
OK, version 2.6.4 installed
Checking PyQt 4.x version...
OK, version 4.6 installed.
Checking for CUPS...
Status: planista jest uruchomiony
Version: 1.4.1
error_log is set to level: warn
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0
------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------
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).
Checking for dependency: CUPS - Common Unix Printing System...
OK, found.
Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.
Checking for dependency: CUPS image - CUPS image development files...
OK, found.
Checking for dependency: DBus - Message bus system...
OK, found.
Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.
Checking for dependency: libjpeg - JPEG library...
OK, found.
Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.
Checking for dependency: libpthread - POSIX threads library...
OK, found.
Checking for dependency: libtool - Library building support services...
OK, found.
Checking for dependency: libusb - USB library...
OK, found.
Checking for dependency: make - GNU make utility to maintain groups of programs...
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 devel - Python development files...
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: Python 2.2 or greater - Python programming language...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
OK, found.
Checking for dependency: SANE - Scanning library...
OK, found.
Checking for dependency: SANE - Scanning library development files...
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.10.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.10.2
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.10.2
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=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.2rc1.9
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:
[plugin]
eula = 1
installed = 1
Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name =
working_dir = /home/gregor/Pulpit/hplip-3.10.2/plugin.py
device_uri = hp:/usb/HP_LaserJet_1018?serial=KP3BEH5
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[installation]
version = 3.10.2rc1.9
date_time = 26.02.2010 17:18:21
[settings]
systray_messages = 0
systray_visible = 0
[fax]
email_address =
voice_phone =
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
device_list =
interval = 5
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
-------------------------------- ----------------
hp:/usb/HP_LaserJet_1018?serial= HP LaserJet 1018
KP3BEH5
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP_LaserJet_1018
----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_1018?serial=KP3BEH5
PPD: /etc/cups/ppd/HP_LaserJet_1018.ppd
PPD Description: HP LaserJet 1018, hpcups 3.10.2, requires proprietary plugin
Printer status: drukarka HP_LaserJet_1018 jest bezczynna. włączona od pią, 26 lut 2010, ready to print
HP Linux Imaging and Printing System (ver. 3.10.2)
System Tray Status Service ver. 2.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.
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
set_interactive(1)
Required plug-in status: Installed
Communication status: Good
----------------------
| SANE CONFIGURATION |
----------------------
'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
---------------------
| 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 0x4117 at 001:004:
Device URI: hp:/usb/HP_LaserJet_1018?serial=KP3BEH5
Device node: /dev/bus/usb/001/004
Mode: 0660
---------------
| USER GROUPS |
---------------
gregor root daemon bin sys adm tty disk lp mail news uucp man dialout cdrom tape sudo audio dip www-data backup operator list irc src utmp video plugdev users libuuid fuse lpadmin ssl-cert netdev admin saned pulse gdm sambashare polkituser
-----------
| SUMMARY |
-----------
No errors or warnings.
Done.
Kod: Zaznacz cały
gregor@gregor-desktop:~$ lsmod
Module Size Used by
isofs 31620 0
udf 80900 0
crc_itu_t 1852 1 udf
binfmt_misc 8356 1
vboxnetadp 7296 0
vboxnetflt 14344 0
vboxdrv 176360 2 vboxnetadp,vboxnetflt
snd_wavefront 37332 0
snd_intel8x0 30168 2
snd_cs4236 29620 0
snd_ac97_codec 101216 1 snd_intel8x0
snd_wss_lib 26012 2 snd_wavefront,snd_cs4236
snd_opl3_lib 10396 2 snd_wavefront,snd_cs4236
ac97_bus 1532 1 snd_ac97_codec
snd_hwdep 7200 2 snd_wavefront,snd_opl3_lib
snd_pcm_oss 37920 0
snd_mixer_oss 16028 1 snd_pcm_oss
snd_pcm 75296 5 snd_intel8x0,snd_cs4236,snd_ac97_codec,snd_wss_lib,snd_pcm_oss
snd_mpu401 7016 0
snd_seq_dummy 2656 0
snd_mpu401_uart 6940 3 snd_wavefront,snd_cs4236,snd_mpu401
iptable_filter 3100 0
ip_tables 11692 1 iptable_filter
snd_seq_oss 28576 0
snd_seq_midi 6432 0
x_tables 16544 1 ip_tables
snd_rawmidi 22208 3 snd_wavefront,snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 6940 2 snd_seq_oss,snd_seq_midi
snd_seq 50224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
usbserial 36264 0
snd_timer 22276 4 snd_wss_lib,snd_opl3_lib,snd_pcm,snd_seq
snd_seq_device 6920 6 snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 59204 21 snd_wavefront,snd_intel8x0,snd_cs4236,snd_ac97_codec,snd_wss_lib,
snd_opl3_lib,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401,
snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
usblp 12636 0
soundcore 7264 1 snd
snd_page_alloc 9156 3 snd_intel8x0,snd_wss_lib,snd_pcm
nvidia 4704212 22
i2c_sis96x 3904 0
ppdev 6688 0
shpchp 32272 0
parport_pc 31940 1
ns558 5404 0
gameport 11368 2 ns558
lp 8964 0
parport 35340 3 ppdev,parport_pc,lp
usbhid 38208 0
sis900 19932 0
mii 5212 1 sis900
ohci1394 29900 0
ieee1394 86596 1 ohci1394
floppy 54916 0
sis_agp 6972 1
agpgart 34988 2 nvidia,sis_agp
Kod: Zaznacz cały
system > administracja > drukowanie > serwer > ustawienia > problemy
Kod: Zaznacz cały
cupsdAuthorize: No authentication data provided
Rozumiem ten komunikat, ale nie wiem o dostarczenie jakich danych i gdzie chodzi?
Będę wdzięczny za pomoc. Jak trzeba będzie wkleić wynik jeszcze jakiegoś polecenia, to zrobię to raz dwa. Piszę też o tym tutaj http://forum.ubuntu.pl/showthread.php?t=120103.