[SOLVED] Local printer not found

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] Local printer not found

Postby martinw » Mar 18th, '12, 14:49

I've installed beta 2 on my main computer. All went smoothly until I tried using the printer. The printer is being detected by the OS:
Code: Select all
[  232.073039] usb 2-1: new full-speed USB device number 4 using ohci_hcd
[  232.266044] usb 2-1: New USB device found, idVendor=0482, idProduct=000e
[  232.266049] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  232.266053] usb 2-1: Product: Kyocera Mita FS-1020D
[  232.266056] usb 2-1: Manufacturer: Kyocera Mita
[  232.266059] usb 2-1: SerialNumber: XHW5608369
[  232.275110] usblp1: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x0482 pid 0x000E

but when trying to set up the printer in MCC, the printer is not found. Any suggestions on how to debug this?

[Edit]
The above messages came from dmesg. Nothing appears in /var/log/messages when the printer is plugged in, but this
Code: Select all
Mar 18 12:53:02 wotan systemd[1]: Service printer.target is not needed anymore. Stopping.

appears when the printer is unplugged.
Last edited by martinw on Mar 18th, '12, 21:20, edited 1 time in total.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Local printer not found

Postby doktor5000 » Mar 18th, '12, 16:51

Have you made sure that cups is started before you tried this? As cups has been updated to use
systemd's socket-based activation, in theory it should get started when it is needed, but this doesn't appear to be the case.

After that, can you access http://127.0.0.1:631/ and can you search there for printers? Via Maintenance -> Add printer
Does it show your printer?

Also please show/attach your /var/log/cups/error_log
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: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Local printer not found

Postby martinw » Mar 18th, '12, 18:58

doktor5000 wrote:Have you made sure that cups is started before you tried this? As cups has been updated to use
systemd's socket-based activation, in theory it should get started when it is needed, but this doesn't appear to be the case.

Code: Select all
# cd /etc/init.d
# ./cups status
cupsd (pid  26440) is running...
# /etc/init.d/cups status
cups.service - CUPS Printing Service
     Loaded: loaded (/lib/systemd/system/cups.service; enabled)
     Active: inactive (dead) since Sun, 18 Mar 2012 16:36:48 +0000; 9min ago
    Process: 26276 ExecStart=/usr/sbin/cupsd -f (code=exited, status=0/SUCCESS)
     CGroup: name=systemd:/system/cups.service

After that, can you access http://127.0.0.1:631/ and can you search there for printers? Via Maintenance -> Add printer
Does it show your printer?

No printers shown
Also please show/attach your /var/log/cups/error_log

Code: Select all
E [18/Mar/2012:12:07:36 +0000] [cups-deviced] PID 10714 (cups2pegg) stopped with status 13!
E [18/Mar/2012:12:08:31 +0000] [cups-deviced] PID 10867 (cups2pegg) stopped with status 13!
E [18/Mar/2012:12:09:16 +0000] [cups-deviced] PID 10960 (cups2pegg) stopped with status 13!
E [18/Mar/2012:12:10:49 +0000] [cups-deviced] PID 11146 (cups2pegg) stopped with status 13!
E [18/Mar/2012:12:11:39 +0000] [cups-deviced] PID 11215 (cups2pegg) stopped with status 13!
W [18/Mar/2012:12:21:04 +0000] Avahi client failed: -26
E [18/Mar/2012:12:26:05 +0000] Unable to remove /var/run/cups/certs/0!
E [18/Mar/2012:12:26:05 +0000] [cups-deviced] PID 2980 (cups2pegg) stopped with status 13!
E [18/Mar/2012:12:26:39 +0000] [cups-deviced] PID 3049 (cups2pegg) stopped with status 13!
E [18/Mar/2012:12:46:23 +0000] [cups-deviced] PID 3979 (cups2pegg) stopped with status 13!
E [18/Mar/2012:12:46:43 +0000] [cups-deviced] PID 4043 (cups2pegg) stopped with status 13!
E [18/Mar/2012:13:27:44 +0000] Browsing=1
E [18/Mar/2012:13:27:44 +0000] BrowseLocalProtocols=9
E [18/Mar/2012:13:27:44 +0000] BrowseRemoteProtocols=1
E [18/Mar/2012:13:27:44 +0000] BROWSE_CUPS=1
E [18/Mar/2012:16:34:27 +0000] Browsing=1
E [18/Mar/2012:16:34:27 +0000] BrowseLocalProtocols=9
E [18/Mar/2012:16:34:27 +0000] BrowseRemoteProtocols=1
E [18/Mar/2012:16:34:27 +0000] BROWSE_CUPS=1
E [18/Mar/2012:16:35:22 +0000] [cups-deviced] PID 26148 (cups2pegg) stopped with status 13!
E [18/Mar/2012:16:35:34 +0000] Browsing=1
E [18/Mar/2012:16:35:34 +0000] BrowseLocalProtocols=9
E [18/Mar/2012:16:35:34 +0000] BrowseRemoteProtocols=1
E [18/Mar/2012:16:35:34 +0000] BROWSE_CUPS=1
E [18/Mar/2012:16:36:49 +0000] Unable to bind socket for address [v1.::]:631 - Address already in use.
E [18/Mar/2012:16:36:49 +0000] Unable to bind broadcast socket - Address already in use.

Hope this means something to you!
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Local printer not found

Postby doktor5000 » Mar 18th, '12, 20:12

Not really, unfortunately i can't test this with cauldron, as i've got no printer and no physical cauldron installation,
so i don't know what a known good configuration would look like, and how to fix it if it's not.
Only thing i can tell that the cups2pegg errors should be unrelated, cups2pegg is only meant for Casio USB label printers.

FWIW, can you please have a look if the portreserve service is started?
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: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Local printer not found

Postby martinw » Mar 18th, '12, 20:55

doktor5000 wrote:FWIW, can you please have a look if the portreserve service is started?

No, it's masked:
Code: Select all
# systemctl status portreserve.service
portreserve.service
     Loaded: masked (/lib/systemd/system/../../../dev/null)
     Active: inactive (dead)

(yes, I've now realised I shouldn't be using /etc/init.d any more!)
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Local printer not found

Postby martinw » Mar 18th, '12, 21:19

OK, Google was my friend. It turns out that for CUPS >= 1.4.1, you need to blacklist the usblp module.

Time to submit a bug report.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: [SOLVED] Local printer not found

Postby doktor5000 » Mar 18th, '12, 21:51

Please CC me if you write a report. FWIW, there was another occassion where this was reported: https://bugs.mageia.org/show_bug.cgi?id=4279#c6
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: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Local printer not found

Postby martinw » Mar 18th, '12, 22:22

doktor5000 wrote:Please CC me if you write a report. FWIW, there was another occassion where this was reported: https://bugs.mageia.org/show_bug.cgi?id=4279#c6

Yes, I've just found that one whilst checking that it wasn't an already known bug, so I've added my comment there. Hopefully we can get some attention on this, as I forsee it being a FAQ if not...
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: [SOLVED] Local printer not found

Postby doktor5000 » Mar 18th, '12, 22:50

Well, actually a bit of that is my fault, as the usblp kernel module is needed for usb-parallel converters and some proprietary printer drivers, notably canon, so i've suggested to enable this module again, and since i've seen it to be the cause for some printer troubles, so we definitely should blacklist it by default. Check maybe https://bugs.mageia.org/show_bug.cgi?id=2240 for more information.

Already CC'ed Thierry Vignaud for some comment on that matter, we should get that ironed out soon.
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: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Local printer not found

Postby martinw » Mar 18th, '12, 23:02

Not to worry - it's obviously one of those unfortunate cases where no single solution works for everyone.

Thanks for your assistance.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest

cron