LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-10-2015, 11:11 PM   #1
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Rep: Reputation: 0
Printer configuration system did not work.


Hi,

I posted this question to Arch Linux ML, but didn't solved.

I use Manjaro Linux (use Arch Linux repositories.)
Any printer didn't work.


I want to use multifaunctional printer Canon MP630 and HP Photosmart 5521.
But both didn't work.
I reinstalled system and whole package on this month. They worked before then.

I checked:
* Printers work on other system.
* cnijfilter-mp620 ( for MP630), hplip and hplip-plugin ( for 5521 ) are installed.
* CUPSd is installed and started.
* Printers work as scanner.

When connected a printer on KDE or Cinnamon, show notifification "New printer conncted." and nothing.
Lately, neither show anything at a printer conneced.

When add printer manually on cinnamon.
The printer found, forward , search driver and freeze.

When add printer manually on KDE.
The printer found, show "Pcik a Driver" and said
"Failed to search for recommended: driver: 'Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked tthe reply, the reply timeout expired, or the network connection was broken.'
So I try "Manually Provide a PPD File".
When I click "finish," printer name highlighted and disabled finish button.

One day, I tried to add printer manually on KDE, finish button worked, added, and test page printed.

But on a later day, I attempted to print pages, but not work printer because "the printer is disconnected or turned off."
I tried change cable and change port, but still "the printer is disconnected or turned off."
I click "Resume printer" on KDE. Printer status changed to "Idle."
I send print job, Printer status changed to "Printing," but soon changed to "Idle" without working.

When printer reconnected, DE says "Configurating new printer."
And return to the beginning but configured printer exists.
I remove configured printer, but nothing to change.


CUPS is running.
-----
$ sudo systemctl status org.cups.cupsd
● org.cups.cupsd.service - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/org.cups.cupsd.service; enabled; vendor preset: disabled)
Active: active (running) since 日 2015-02-08 22:54:12 JST; 22min ago
Docs: man:cupsd(8)
Main PID: 2021 (cupsd)
CGroup: /system.slice/org.cups.cupsd.service
├─2021 /usr/bin/cupsd -l
├─2150 /usr/lib/cups/daemon/cups-driverd list 1 0 requested-attrib...
└─2151 /usr/bin/perl /usr/lib/cups/driver/foomatic list
-----


I found that in dmesg
-----
[ 891.387948] usb-storage 11-5:1.2: USB Mass Storage device detected
[ 891.398873] scsi host12: usb-storage 11-5:1.2
[ 892.404576] scsi 12:0:0:0: Direct-Access Canon MP630 series 0105 PQ: 0 ANSI: 2
[ 892.429408] sd 12:0:0:0: [sdh] Attached SCSI removable disk
-----
Does this related this probrem? But I can use printers as scanner...

I wonder.
* Printers worked before reinstall system with connected time auto configuration.
* MP630 worked on this system at least once.
* This probrem happens any printer.
* Printers can be used as scanner.
* Printers found in printer configuration as Local Printers.


What should I do?

Thank you.
 
Old 02-11-2015, 12:36 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 8,182
Blog Entries: 13

Rep: Reputation: Disabled
Hi & Welcome to Linux Questions.

In order to get your HP Photosmart 5521 working on you distribution you'll have to install HPLIP.

http://hplipopensource.com/hplip-web/index.html

I don't have experience with Cannon printers; sorry.
Most likely you will need to install the driver for your printer.

https://us.driverscollection.com/?H=...Canon&SS=Linux
https://aur.archlinux.org/packages/cnijfilter-mp620/
https://wiki.archlinux.org/index.php/CUPS
https://lists.archlinux.org/pipermai...ne/014183.html

This is a good tutorial:
http://archive.gregk.me/2013/install...on-arch-linux/

Hope that helps.
 
Old 02-11-2015, 01:50 AM   #3
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
Thank you for greeting and your advice.

I already installed hplip ("hplip" and "hplip-plugin".)
Actually, hp 5521 and canon MP630 also work as scanner.

I think this problem don't come from driver.
"Driver not found" message is never shown.
Printer configuration will freeze or show strange behavior.
The result never change by which printer use.

Now, I perceive it's come from D-Bus.
KCM printer configuration's message is like that,
and some other application show message bus error.

But I don't know about D-Bus.
It's very hard...
 
Old 02-11-2015, 06:08 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 8,182
Blog Entries: 13

Rep: Reputation: Disabled
Your Welcome: yek.
Always glad to help.

With HPLIP installed I'm surprised that the printer isn't working.
Printers can be tricky to get working sometimes.

Maybe Google the message bus error and that may return some information or a Solved thread in one of the Linux Forums.
-::-If you have the exact 'error message' post it and I'll see what I can find.-::-

I would start by doing research on what should be in the configuration file and ensure that all the arguments in the file are correct. It could be that a line in the config file might just need to be uncommented. (in some cases)

Quote:
A message bus daemon has a configuration file that specializes it for a particular application. For example, one configuration file might set up the message bus to be a systemwide message bus, while another might set it up to be a per-user-login-session bus.
I've never worked with dbus error's but the man page for the dbus daemon might come in handy.
http://linux.die.net/man/1/dbus-daemon-1

Another thing that might help is when people have performance or hardware issues sometimes installing a higher version of the kernel fixes that.

Does lsusb see your printers?
Are they wireless or usb cable?

What we need is a member that is good with troubleshooting printers to chime in.-
 
Old 02-11-2015, 10:21 PM   #5
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
Thank you. I want to ask you for help.

I connected printer using USB.
lsusb see my printer.
Bus 008 Device 003: ID 04a9:172e Canon, Inc.
(HP printer was already returned in a box.)

KCM Printer Configuration says
"Failed to search for recommended: driver: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked tthe reply, the reply timeout expired, or the network connection was broken."

And "gwaei" application says:
** (gwaei:28346): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
** Message: Mecab had errors loading. You may need to install mecab-ipadic. Until then, libwaei will not try to conjugate words to their root form for Japanese.
** Message: Hunspell had errors loading. You may need to install some hunspell/myspell dictionaries. Until then, libwaei will not try to conjugate words to their root form for english or spellcheck.
id: e/English
id: e/Places
id: e/Names
id: kanji/Kanji
id: example/Examples
[1] 28346 segmentation fault (core dumped) gwaei

This message is shown gwaei invocation time.
gwaei ran few days ago, but now don't run. I didn't change anything about gwaei manually.

I think D-Bus or PolicyKit is doubtful.

Still, I cannot understand it.
When re-installation, I installed all installed packages with script and package list (pacman -Q).
I didn't see this problem before re-installation.
It's curious.
 
Old 02-12-2015, 12:05 AM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 8,182
Blog Entries: 13

Rep: Reputation: Disabled
Looking at the error message:

Code:
Failed to search for recommended: driver: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked tthe reply, the reply timeout expired, or the network connection was broken."
There is page after page of this error so I'm looking in this link to try to troubleshoot this error.
This might take a while.

https://duckduckgo.com/?q=Failed+to+...+reply%2C&t=lm

When my printer fails to print I generally go and check on the Cups Status at:
http://localhost:631/
I end up deleting the printer and all print jobs. Then re-add the printer and it works fine.

I wonder if cups has been disabled? What is the output of:
Code:
systemctl list-unit-files | grep cups
-::-If the cups.d and the rest of the output is "disabled" than you will have to enable it.-::-
To enable run:
Code:
systemctl enable cups-browsed.service
The only other thing I can think of while I'm looking through all those pages is look in the /var/log/cups/error_log and see if there are any other Warnings or errors to troubleshoot.

I agree this does make one curious. On the other hand this is very perplexing.
I've never seen this error before.
 
Old 02-12-2015, 02:20 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If dbus is complaining about permissions add printer todbus in /etc/groups

Last edited by EDDY1; 02-12-2015 at 04:39 PM.
 
Old 02-12-2015, 04:47 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
https://bbs.archlinux.org/viewtopic.php?id=136670
 
Old 02-12-2015, 05:52 PM   #9
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
Permissions:
Quote:
$ ls -l /dev/usb/lp2
crw-rw---- 1 root lp 180, 2 2月 13 07:26 /dev/usb/lp2
And add dbus user to lp group and reboot, but nothing to change.

Services:
Quote:
$ sudo systemctl list-unit-files | grep cups
[sudo] password for aki:
org.cups.cupsd.path disabled
cups-browsed.service disabled
org.cups.cups-lpd@.service static
org.cups.cupsd.service enabled
org.cups.cups-lpd.socket disabled
org.cups.cupsd.socket disabled
To enable cups-browsed - success.
Quote:
$ sudo systemctl start cups-browsed.service
$ LANG=C sudo systemctl status cups-browsed.service
* cups-browsed.service - Make remote CUPS printers available locally
Loaded: loaded (/usr/lib/systemd/system/cups-browsed.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2015-02-13 07:36:42 JST; 17s ago
Main PID: 5358 (cups-browsed)
CGroup: /system.slice/cups-browsed.service
`-5358 /usr/bin/cups-browsed
But don't work yet.
Start cupsd.socket and cupsd.path - success.

Quote:
$ sudo systemctl start org.cups.cupsd.socket
$ sudo systemctl start org.cups.cupsd.path
$ LANG=C sudo systemctl status org.cups.cupsd.socket
* org.cups.cupsd.socket - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/org.cups.cupsd.socket; disabled; vendor preset: disabled)
Active: active (running) since Fri 2015-02-13 07:24:58 JST; 16min ago
Listen: /run/cups/cups.sock (Stream)
$ LANG=C sudo systemctl status org.cups.cupsd.path
* org.cups.cupsd.path - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/org.cups.cupsd.path; disabled; vendor preset: disabled)
Active: active (running) since Fri 2015-02-13 07:39:54 JST; 1min 25s ago
But now work yet.

error_log:

Quote:
E [13/Feb/2015:07:03:30 +0900] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [13/Feb/2015:07:24:03 +0900] Unable to communicate with avahi-daemon: An unexpected D-Bus error occured
E [13/Feb/2015:07:25:00 +0900] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [13/Feb/2015:07:26:03 +0900] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [13/Feb/2015:07:27:03 +0900] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [13/Feb/2015:07:38:26 +0900] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [13/Feb/2015:07:42:26 +0900] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
Avahi darmon is enabled and running.
Quote:
$ LANG=C sudo systemctl status avahi-daemon
* avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2015-02-13 07:24:58 JST; 24min ago
Main PID: 2044 (avahi-daemon)
Status: "avahi-daemon 0.6.31 starting up."
CGroup: /system.slice/avahi-daemon.service
|-2044 avahi-daemon: running [hydrangea.local]
`-2045 avahi-daemon: chroot helper

Feb 13 07:24:58 hydrangea avahi-daemon[2044]: Server startup complete. Host ....
Feb 13 07:24:58 hydrangea avahi-daemon[2044]: Service "hydrangea" (/services....
Feb 13 07:24:58 hydrangea avahi-daemon[2044]: Service "hydrangea" (/services....
Feb 13 07:24:58 hydrangea avahi-daemon[2044]: Service "hydrangea" (/services....
Feb 13 07:24:59 hydrangea avahi-daemon[2044]: Joining mDNS multicast group o....
Feb 13 07:24:59 hydrangea avahi-daemon[2044]: New relevant interface enp4s0.....
Feb 13 07:24:59 hydrangea avahi-daemon[2044]: Registering new address record....
Feb 13 07:25:00 hydrangea avahi-daemon[2044]: Registering new address record....
Feb 13 07:25:10 hydrangea avahi-daemon[2044]: Registering new address record....
Feb 13 07:25:10 hydrangea avahi-daemon[2044]: Withdrawing address record for....
Hint: Some lines were ellipsized, use -l to show in full.
$ avahi-resolve -n hydrangea.local
hydrangea.local 2001:c90:8481:3759:be5f:f4ff:fefb:bb5
$ avahi-resolve -n hydrangea.local
hydrangea.local 192.168.1.32
 
Old 02-12-2015, 06:42 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 8,182
Blog Entries: 13

Rep: Reputation: Disabled
This is a weird Cups issue.

The cmd systemctl start cups-browsed.service should have enabled all that were disabled.
Not sure why that didn't work.

-::-Try the link that EDDY1 posted for you in post #8.-::-

This error:
Code:
 Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
Points to this thread at Manjaro:-
https://forum.manjaro.org/index.php?topic=11437.0

Sometimes systemd can prevent services from starting and stopping.
If nothing else works maybe try adding this argument to the kernel line in Grub and restart.
Code:
 acpi=force
 
Old 02-13-2015, 07:56 AM   #11
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
Please tell me if any mistake or forgetting.
  • To permit access /dev/usb/lp2 file dbus user.
  • Boot with acpi=force kernel option.
  • do /usr/bin/cups-genppdupdate
  • cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
  • check Avahi Daemon is running.
  • Check Cupsd is running

But nothing change...



Do these things relay this problem?

Lately, sometime my mouse was disabled on boot up.
Light was down.
If disconnect and connect, work it.

When

Code:
sudo systemctl enable cups-browsed.service
my system is going to halt immediately, and froze.
Ctrl + Alt + Delete was available, I was reset with it.
( I confirm cups-browsed is enabled. )
 
Old 02-13-2015, 12:41 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Have you checked to see what printer is set as "Default"?
Have you checked the printer queue to see if there are any unfinished processes?
 
1 members found this post helpful.
Old 02-13-2015, 05:31 PM   #13
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
There's no printer except CUPS-PDF
because I couldn't finish printer configuration.
  • (@Cinnamon) "Searching a driver" and froze.
  • (@KDE manually select PPD) Click Finish and printer name was selected (Finish button was disbled.)

Of course printer queue is empty.
 
Old 02-13-2015, 09:45 PM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 8,182
Blog Entries: 13

Rep: Reputation: Disabled
In the beginning of your thread you said that you have a Cannon and a HP printer. If your not using the HP printer make sure that the Cannon is set as the "Default Printer"

Are you certain that there aren't any "print-jobs" still pending?
Go to: http://localhost:631/ and make sure.

Quote:
Lately, sometime my mouse was disabled on boot up.
Light was down.
If disconnect and connect, work it.
Do you mean if you disconnect and then re-connect the mouse it than works?
If that continues it might be an Xorg issue. (maybe)

Quote:
To permit access /dev/usb/lp2 file dbus user.
Boot with acpi=force kernel option.
do /usr/bin/cups-genppdupdate
cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
check Avahi Daemon is running.
Check Cupsd is running
That's all correct.
If adding acpi=force to your kernel line (at the end) doesn't change anything you can edit Grub again and remove what you added.

Last edited by Ztcoracat; 02-13-2015 at 09:52 PM.
 
Old 02-13-2015, 10:59 PM   #15
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
I couldn't make printer because couldn't finish printer configuration.
So now printer control panes shows "No Printers."
If use cinnamon, froze.
If use KDE, system don't accept Finish button.
few weeks ago, KDE Accept configuration and Canon printer worked.
But after few days, Printer didn't work.
Quote:
Disconnected or turned off
I went http://localhost:631/ and open "Jobs".
Quote:
No jobs.

About mouse problem.
When mouse turn on, light goes out of the bottom of the mouse.
But sometime mouse turned off on booting up. Didn't work.
Then I disconnect mouse and re-connect, just then work.
Only once in a while.
Mouse is connected with wired USB.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] KDE 4.8.5 - System Settings - Printer Configuration - Error rrrssssss Gentoo 1 09-20-2012 06:33 AM
[SOLVED] Gnome printer configuration tool - what does the star by a printer icon signify??? taylorkh Ubuntu 3 02-05-2010 08:03 AM
My printer won't work in Linux. Can I install Windows in a VM to use my printer? Caboose79 Linux - Hardware 5 07-14-2008 12:05 PM
Printer configuration does not work dont_know_much Linux - Newbie 2 12-11-2004 12:46 PM
printer modules not loaded; parallel printer doesn't work blinux1 Linux - Newbie 7 06-24-2004 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration