[SOLVED] Printer configuration system did not work.
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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 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.
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.
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.
$ 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
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.