[SOLVED] Can't find printer

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

[SOLVED] Can't find printer

Postby borsa » Nov 30th, '11, 22:36

Mageia2 alfa1 can't find my printer (HP Color LaserJet CP1215). I had no problem install the printer in Mageia1 and earlier Cauldron. Looks like some thing's missing in alfa1.
Anyone else seen this?
borsa
 
Posts: 32
Joined: Apr 4th, '11, 19:34

Re: Can't find printer

Postby doktor5000 » Nov 30th, '11, 22:59

How have you tried to add it?
Please show the output of
Code: Select all
rpm -qa | grep -e hplip -e cups -e system-config-printer -e task-print | sort
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't find printer

Postby borsa » Dec 1st, '11, 15:31

I tried to install via MCC and I tried to install via cups (localhost:631). Then I tried "hp-setup" , that did download a driver and installed, but when I tried to print a test page nothing happened.

Code: Select all
root@localhost ~]# rpm -qa | grep -e hplip -e cups -e system-config-printer -e task-print | sort
cups-1.4.6-3.1.mga1
cups-common-1.4.6-3.1.mga1
cups-drivers-foo2zjs-0.0-0.20101208.1.mga1
gutenprint-cups-5.2.6-1.mga1
hplip-3.11.7-1.2.mga1
hplip-gui-3.11.7-1.2.mga1
hplip-hpijs-3.11.7-1.2.mga1
hplip-hpijs-ppds-3.11.7-1.2.mga1
hplip-model-data-3.11.7-1.2.mga1
lib64cups2-1.4.6-3.1.mga1
lib64cups2-devel-1.4.6-3.1.mga1
libcups2-1.4.6-3.1.mga1
python-cups-1.9.55-1.mga1
system-config-printer-1.3.1-4.1.mga1
system-config-printer-libs-1.3.1-4.1.mga1
system-config-printer-udev-1.3.1-4.1.mga1
task-printing-hp-2010-4.mga1
task-printing-server-2010-4.mga1
borsa
 
Posts: 32
Joined: Apr 4th, '11, 19:34

Re: Can't find printer

Postby doktor5000 » Dec 1st, '11, 15:41

Please attach your /etc/cups/printers.conf and /var/log/cups/errors_log.
How is that printer connected to your PC?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't find printer

Postby borsa » Dec 1st, '11, 16:05

Code: Select all
/etc/cups/printer.conf
# Printer configuration file for CUPS v1.4.6
# Written by cupsd on 2011-11-30 21:09
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HP_Color_LaserJet_CP1215>
Info HP Color LaserJet CP1215
MakeModel HP Color LaserJet CP1215 Foomatic/foo2hp (recommended)
DeviceURI hp:/usb/HP_Color_LaserJet_CP1215?serial=LJ08VWH
State Stopped
StateMessage Unplugged or turned off
StateTime 1322683747
Reason paused
Type 8425500
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 0 foomatic-rip
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>


Code: Select all
/var/log/cups/erro_log
E [27/Nov/2011:12:58:38 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [27/Nov/2011:12:58:38 +0100] [cups-driverd] Skipping "/usr/local/share/ppd": loop detected!
E [27/Nov/2011:12:58:38 +0100] [cups-driverd] Skipping "/usr/share/ppd": loop detected!
E [27/Nov/2011:12:58:38 +0100] [cups-driverd] Skipping "/opt/share/ppd": loop detected!
borsa
 
Posts: 32
Joined: Apr 4th, '11, 19:34

Re: Can't find printer

Postby dekay » Dec 1st, '11, 18:16

I have the same problem with my HP b109a-m all-in-one deskjet. No problems with Mageia1KDE (either installed or liveCD), but all I can get with Mageia2KDE liveCd is a message that the printer isn't connected.

Used Control Centre ->Hardware ->Setup Printer and installed the packages it said (as usual). Tried unplugging the USB cable and replugging.

So I will be very interested in reading this thread.

Let me know if you need any information from me.

Keith
dekay
 
Posts: 20
Joined: Apr 3rd, '11, 11:42

Re: Can't find printer

Postby doktor5000 » Dec 1st, '11, 22:15

Please, as root show the output of
Code: Select all
service cups status
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't find printer

Postby borsa » Dec 2nd, '11, 00:04

Code: Select all
[root@localhost ~]# service cups status
cupsd (pid  3314) is running...
[root@localhost ~]#
borsa
 
Posts: 32
Joined: Apr 4th, '11, 19:34

Re: Can't find printer

Postby doktor5000 » Dec 2nd, '11, 02:21

@borsa:
Looking at your package list again, these are all Mageia 1 packages, no Mageia 2 alpha 1 or cauldron packages.
How did you do the upgrade to Cauldron? Also please show your repositories with
Code: Select all
urpmq --list-url active

and please show your
Code: Select all
/etc/product.id
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't find printer

Postby borsa » Dec 2nd, '11, 10:41

I have to apologize when I answered you I was running Mageia1. I run Mageia2-alfa1 in VirtualBox and forget to start that. So the answers is wrong.
Very sorry. Must have been a huge brain disaster. :oops:

Here is the result from Mageia2-alfa1 in VirtualBox:

Code: Select all
[root@localhost ~]# rpm -qa | grep -e hplip -e cups -e system-config-printer -e task-print | sort
cups-1.4.8-3.mga2
cups-common-1.4.8-3.mga2
cups-drivers-foo2zjs-0.0-0.20110909.1.mga2
gutenprint-cups-5.2.6-1.mga1
hplip-3.11.10-1.mga2
hplip-gui-3.11.10-1.mga2
hplip-hpijs-3.11.10-1.mga2
hplip-hpijs-ppds-3.11.10-1.mga2
hplip-model-data-3.11.10-1.mga2
lib64cups2-1.4.8-3.mga2
python-cups-1.9.60-1.mga2
system-config-printer-1.3.6-1.mga2
system-config-printer-libs-1.3.6-1.mga2
system-config-printer-udev-1.3.6-1.mga2
task-printing-hp-2011-1.mga2
task-printing-server-2011-1.mga2
[root@localhost ~]#


There is no /etc/cups/printer.conf

Code: Select all
/var/log/cups/error_log
E [01/Dec/2011:22:28:44 +0100] [cups-deviced] PID 8298 (mga_backend) stopped with status 1!
E [01/Dec/2011:22:29:41 +0100] [cups-deviced] PID 8548 (mga_backend) stopped with status 1!


Code: Select all
[root@localhost ~]# service cups status
cups.service - LSB: CUPS printing server daemon
          Loaded: loaded (/etc/rc.d/init.d/cups)
          Active: active (running) since Fri, 02 Dec 2011 09:01:50 +0100; 35min ago
         Process: 1886 ExecStart=/etc/rc.d/init.d/cups start (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/cups.service
                  └ 1984 cupsd -C /etc/cups/cupsd.conf
[root@localhost ~]#
borsa
 
Posts: 32
Joined: Apr 4th, '11, 19:34

Re: Can't find printer

Postby doktor5000 » Dec 2nd, '11, 13:01

borsa wrote:There is no /etc/cups/printer.conf

Code: Select all
/var/log/cups/error_log
E [01/Dec/2011:22:28:44 +0100] [cups-deviced] PID 8298 (mga_backend) stopped with status 1!
E [01/Dec/2011:22:29:41 +0100] [cups-deviced] PID 8548 (mga_backend) stopped with status 1!


Humm, there should be a /etc/cups/printers.conf are you sure that was not an oversight?
Otherwise it looks like the important part of cups is not running. Will investigate.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't find printer

Postby borsa » Dec 2nd, '11, 16:38

Yes I'm sure. I have double checked.
borsa
 
Posts: 32
Joined: Apr 4th, '11, 19:34

Re: Can't find printer

Postby doktor5000 » Dec 2nd, '11, 17:35

Then the contents of your cups package are broken, this is a file contained in cups.
Please show the output of
Code: Select all
rpm -V cups
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't find printer

Postby borsa » Dec 2nd, '11, 20:13

I get nothing

Code: Select all
[root@localhost ~]# rpm -V cups
[root@localhost ~]#
borsa
 
Posts: 32
Joined: Apr 4th, '11, 19:34

Re: Can't find printer

Postby borsa » Dec 2nd, '11, 20:22

Code: Select all
[root@localhost ~]# rpm -qa | grep cups
lib64cups2-1.4.8-3.mga2
cups-common-1.4.8-3.mga2
cups-drivers-foo2zjs-0.0-0.20110909.1.mga2
cups-1.4.8-3.mga2
gutenprint-cups-5.2.6-1.mga1
python-cups-1.9.60-1.mga2
[root@localhost ~]#
borsa
 
Posts: 32
Joined: Apr 4th, '11, 19:34

Re: Can't find printer

Postby borsa » Dec 6th, '11, 14:18

Don't know if this is any help
From /var/log/cups/error_log
Code: Select all
E [01/Dec/2011:22:28:44 +0100] [cups-deviced] PID 8298 (mga_backend) stopped with status 1!
E [01/Dec/2011:22:29:41 +0100] [cups-deviced] PID 8548 (mga_backend) stopped with status 1!
E [02/Dec/2011:12:13:02 +0100] [cups-deviced] PID 4955 (mga_backend) stopped with status 1!
E [02/Dec/2011:12:13:05 +0100] [cups-deviced] PID 4979 (mga_backend) stopped with status 1!
E [05/Dec/2011:20:30:57 +0100] [cups-deviced] PID 3175 (mga_backend) stopped with status 1!
E [05/Dec/2011:20:51:50 +0100] Unable to remove /var/run/cups/certs/0!
E [05/Dec/2011:20:51:58 +0100] [cups-deviced] PID 4811 (mga_backend) stopped with status 1!
E [05/Dec/2011:20:52:38 +0100] [CGI] Unable to connect to cupsd: No such file or directory
E [05/Dec/2011:20:53:04 +0100] [CGI] Unable to connect to cupsd: No such file or directory
E [05/Dec/2011:20:53:35 +0100] [CGI] Unable to connect to cupsd: No such file or directory
borsa
 
Posts: 32
Joined: Apr 4th, '11, 19:34

Re: Can't find printer

Postby doktor5000 » Dec 6th, '11, 14:31

Haven't found time to debug this yet, as i lack a printer and without it's next-to-impossible to reproduce.
If you run system-config-printer as root, and click on Add Printer, does it also only give you the options
"Enter URI"
and the category "Network printer" ?
Or does it also show a locally connected printer?

Can you also please open up a terminal, unplug the printer in question, and run the following command as root:
Code: Select all
tailf /var/log/messages

leave this open, then wait a few seconds and plugin the printer, wait again like 5-10 seconds, and post all that output here, please?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't find printer

Postby borsa » Dec 6th, '11, 16:54

It shows Enter URI and NetworkPrinter

Code: Select all
[root@localhost ~]# tailf /var/log/messages
Dec  6 15:48:15 localhost hp[12213]: io/hpmud/musb.c 2035: Invalid usb_open: Permission denied
Dec  6 15:48:15 localhost udev-configure-printer: Failed to get parent
Dec  6 15:48:15 localhost python: io/hpmud/musb.c 2035: Invalid usb_open: Permission denied
Dec  6 15:48:16 localhost dbus[5035]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
Dec  6 15:48:16 localhost dbus-daemon[5035]: dbus[5035]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
Dec  6 15:48:16 localhost dbus[5035]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.Avahi.service' for details.
Dec  6 15:48:16 localhost dbus-daemon[5035]: dbus[5035]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.Avahi.service' for details.
Dec  6 15:48:45 localhost kernel: usb 2-1: USB disconnect, device number 4
Dec  6 15:48:45 localhost kernel: usblp0: removed
Dec  6 15:48:46 localhost systemd[1]: Service printer.target is not needed anymore. Stopping.
Dec  6 15:50:32 localhost kernel: usb 2-1: new high speed USB device number 5 using ehci_hcd
Dec  6 15:50:32 localhost kernel: usb 2-1: New USB device found, idVendor=03f0, idProduct=4717
Dec  6 15:50:32 localhost kernel: usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec  6 15:50:32 localhost kernel: usb 2-1: Product: HP Color LaserJet CP1215
Dec  6 15:50:32 localhost kernel: usb 2-1: Manufacturer: Hewlett-Packard
Dec  6 15:50:32 localhost kernel: usb 2-1: SerialNumber: LJ08VWH
Dec  6 15:50:32 localhost kernel: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4717
Dec  6 15:50:32 localhost mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:0b.0/usb2/2-1"
Dec  6 15:50:32 localhost mtp-probe: bus: 2, device: 5 was not an MTP device
Dec  6 15:50:32 localhost hp-mkuri: io/hpmud/hp-mkuri.c 375: HP Color LaserJet CP1215 requires a proprietary plugin
Dec  6 15:50:32 localhost udevd[12618]: failed to execute '/usr/bin/setfacl' '/usr/bin/setfacl -m user:lp:rw /dev/bus/usb/002/005': No such file or directory
Dec  6 15:50:32 localhost hp-mkuri: io/hpmud/hp-mkuri.c 270: failed to open libnotify: No such file or directory
Dec  6 15:50:33 localhost udevd[12645]: failed to execute '/usr/bin/setfacl' '/usr/bin/setfacl -m user:lp:rw /dev/usb/lp0': No such file or directory

borsa
 
Posts: 32
Joined: Apr 4th, '11, 19:34

Re: Can't find printer

Postby wilcal » Dec 7th, '11, 21:12

Today I tried my HP 5500 all-in-one Deskjet printer
on Mageia 2 Alpha 1. This device works wonderfully
well on Mageia 1 as a color printer and scanner.

When plugging in the printer to the USB port
the system does not respond. Do note that
Mandriva in the past did and presented the
user with the option to install. I'm not
sure if this process is needed.

MCC -> Hardware -> Configure printing and scanning

start that and 42 packages are installed.
The HP Device Manager is now available in Tools.
Open the HP Device Manager and it recognizes the
5500 Fax and Printer. But, both devices have little
red x's on them and at the bottom of the screen
I keep getting the following popup message:

HPLIP Device Status
officejet_5500
Device communication error: tmpiUBreA
(wilcal/1)

If I try to print a test page it does not print.
If I try and print from Gedit it does not print.

The results from the scanner are as follows.
I have Xsane and Xsane-gimp installed. Xsane
recognizes the 5500 scanner. Setting
off an "Acquire preview" actually works just
fine. Executing a "scan" works just fine.
I did this process twice but the first time I got
the following error message but the scan and
export to jpg worked just fine. Here's the msg:

The "mgaapplet" program has segfaulted with the following error:

SEGV
Glibc's trace:
0: /usr/lib/libDrakX/auto/c/stuff/stuff.so(XS_c__stuff_C_backtrace+0xcf) [0xb72be924]
1: /usr/lib/perl5/5.14.2/i386-linux-thread-multi/CORE/libperl.so(Perl_pp_entersub+0x56d) [0xb77d567d]

Perl's trace:
standalone::bug_handler() called from /usr/lib/libDrakX/standalone.pm:224
standalone::__ANON__() called from /usr/bin/mgaapplet:924
(eval)() called from /usr/bin/mgaapplet:924
main::setState() called from /usr/bin/mgaapplet:881
main::go2State() called from /usr/bin/mgaapplet:722
main::silentCheck() called from /usr/bin/mgaapplet:875
main::checkUpdates() called from /usr/bin/mgaapplet:284
main::__ANON__() called from /usr/bin/mgaapplet:297
(eval)() called from /usr/bin/mgaapplet:297

Used theme: Adwaita

To submit a bug report, click on the report button.
This will open a web browser window on Bugzilla where you'll find a form to fill in. The information displayed above will be transferred to that server
It would be very useful to attach to your report the output of the following command: 'lspcidrake -v'.

--- end message ---

So it seems that after the first fault message
the scanner is communicating just fine and working.
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

Re: Can't find printer

Postby doktor5000 » Dec 9th, '11, 12:31

borsa wrote:
Code: Select all
[root@localhost ~]# tailf /var/log/messages
Dec  6 15:50:32 localhost udevd[12618]: failed to execute '/usr/bin/setfacl' '/usr/bin/setfacl -m user:lp:rw /dev/bus/usb/002/005': No such file or directory
Dec  6 15:50:33 localhost udevd[12645]: failed to execute '/usr/bin/setfacl' '/usr/bin/setfacl -m user:lp:rw /dev/usb/lp0': No such file or directory



Sounds like https://bugs.mageia.org/show_bug.cgi?id=3580
Can you try if it gets better if you just install the acl package?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't find printer

Postby borsa » Dec 9th, '11, 13:38

The acl package did it. Found my printer and test page OK. :)
borsa
 
Posts: 32
Joined: Apr 4th, '11, 19:34


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest