[SOLVED] HP communication issues - "Device communication error"
SlackwareThis Forum is for the discussion of Slackware 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 used to build new versions of hplip but now I wait for the -current upgrade.
I think hplip has a dependency on avahi for network.
Respectfully that is not the issue, as I would have gotten an error with avahi, and since this version requires it, I went ahead and compiled and installed avahi.
Quote:
Originally Posted by Paulo2
Yes it shows all printers.
Maybe the "filter failed" message is because of the new cups version.
Try rebuild the stock 14.2 hplip to get the new cups version.
If you run as root
Code:
cupsenable HP_Color_LaserJet_M553-39
does the printer get enabled/started?
I recall getting a filter error message with the stock version of CUPS though, but yes now it does show started:
Code:
root@slackmachine:/home/slackuser# cupsenable HP_Color_LaserJet_M553
root@slackmachine:/home/slackuser# lpstat -t
scheduler is running
system default destination: HP_Color_LaserJet_M553
device for HP_Color_LaserJet_M553: hp:/net/HP_Color_LaserJet_M553?ip=192.168.1.3
HP_Color_LaserJet_M553 accepting requests since Sat 16 Oct 2021 11:56:36 AM CDT
printer HP_Color_LaserJet_M553 is idle. enabled since Sat 16 Oct 2021 11:56:36 AM CDT
root@slackmachine:/home/slackuser#
The question now is, for how long until it reports an issue with the filter? Whatever that means.
HPLIP 3.20.5 CLI and GUI has been a bit flaky here ever since the Python 3.10 upgrade, and I can no longer scan (even with the binary blob plugin). hp-toolbox (and hp-systray keeps crashing) used to show a few handy items like 'scan' and 'print test page' - no longer. Also, the supplies tab is "not available". Your HPLIP issues may have less to do with HPLIP or drivers, but with Python. Here, most of /usr/bin/hp-* tool fail to run due to various Python and PyQT4 errors https://www.linuxquestions.org/quest...ng-4175700768/
I really do despise Python and whoever maintains it should burn in Hades for all eternity - but that's another story..
You don't need Avahi. Since HPLIP installs all the printer drivers, and you can skip HPLIP and setup via CUPS as socket://, ipp:// usb:// etc. directly.
Also I just notices that there may be bug in the hplip.Slackbuild...checking...
You don't need Avahi. Since HPLIP installs all the printer drivers, and you can skip HPLIP and setup via CUPS as socket://, ipp:// usb:// etc. directly.
lpstat still shows that the printer is active, and CUPS 2.3.3 shows my printer as idle - but HPLIP still shows no information (but again it is stock what was included in 14.2).
I was able to get most functionality back with a patch from Fedora. See: https://www.linuxquestions.org/quest...es-4175702147/
A bit trickier since my HP Laserjet M1212nf needs the proprietary blob plugin. At least now printing and scanning now works again - Don't know about fax (haven't tested, heck a phone line isn't even plugged in). Ah, the adrenaline rush of tracking Slackware-Current!
I was able to get most functionality back with a patch from Fedora. See: https://www.linuxquestions.org/quest...es-4175702147/
A bit trickier since my HP Laserjet M1212nf needs the proprietary blob plugin. At least now printing and scanning now works again - Don't know about fax (haven't tested, heck a phone line isn't even plugged in). Ah, the adrenaline rush of tracking Slackware-Current!
You might want to give that a try.
My printer is not multifunction, given that I always had bad luck with those - I specifically chose a printer only device, well other than networking capabilities (ethernet); and overall I am satisfied with it. I don't know if that blob is going to work with my printer, and so far lpstat still shows the printer is idle; but I don't know if that will be the case after I print in Linux, but I will test that out when I have more time. Again in Windows, no issue of course, but thats Windows.
. I don't know if that blob is going to work with my printer, and so far lpstat still shows the printer is idle; but I don't know if that will be the case after I print in Linux, but I will test that out when I have more time.
Not all HP printers need the plugin blob. I just mentioned it since mine does. You can check yours at the HPLIP web page. Either way, the patch I mentioned to fix some of the Python 3.10 glitches is now Slackware-current. You should upgrade to that package to get the that fix and others. The 14.2 HPLIP will never work properly on Current - too old, wrong Python and built for pyQT4.
So after a few print jobs and waiting, lp stat still reports active:
Code:
system default destination: HP_Color_LaserJet_M553
device for HP_Color_LaserJet_M553: hp:/net/HP_Color_LaserJet_M553?ip=192.168.1.3
HP_Color_LaserJet_M553 accepting requests since Fri 22 Oct 2021 05:11:05 PM CDT
printer HP_Color_LaserJet_M553 is idle. enabled since Fri 22 Oct 2021 05:11:05 PM CDT
I don't know if perhaps updating cups or if the command
Code:
cupsenable HP_Color_LaserJet_M553-39
did the trick, but technically this issue is resolved. I would still like to get the later version of HPLIP running, but I keep running into the hpjis error...
And well it appears the issue is coming back, I just tried to print something right now:
Code:
slackuser@slackmachine:~$ lpstat -t
scheduler is running
system default destination: HP_Color_LaserJet_M553
device for HP_Color_LaserJet_M553: hp:/net/HP_Color_LaserJet_M553?ip=192.168.1.3
HP_Color_LaserJet_M553 accepting requests since Fri 05 Nov 2021 11:20:37 AM CDT
printer HP_Color_LaserJet_M553 disabled since Fri 05 Nov 2021 11:20:37 AM CDT -
Filter failed
HP_Color_LaserJet_M553-49 slackuser 247808 Fri 05 Nov 2021 11:20:33 AM CDT
slackuser@slackmachine:~$
So fsck it, I have no idea anymore if it is hplip , or what - but this is really getting annoying now.
-edit
I also tried to "start" the printer in hplip, but it never worked for me - the only solution is to remove and reinstall the printer in hplip so... yea wtf is with this shit?
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 933
Rep:
Try reverting hplip and cups to the stock 14.2 packages, maybe this fix the filter problem.
My experience with the enable/disable printer issue is that when there is some error with my printer
(HP F4280 deskjet, they say it is a F4200 series), paper jam or some problem with the cartridges,
ink levels or other problem, the printer stops printing and becomes disabled.
One way to get it enabled again is by clicking on the hplip gui button, but this always freezes hplip.
So I enable it running "cupsenable <printer>" as root, which always works.
edit- There is the cups-filters package too,
maybe uninstalling and installing it with stock hplip and cups would fix it.
Try reverting hplip and cups to the stock 14.2 packages, maybe this fix the filter problem.
My experience with the enable/disable printer issue is that when there is some error with my printer
(HP F4280 deskjet, they say it is a F4200 series), paper jam or some problem with the cartridges,
ink levels or other problem, the printer stops printing and becomes disabled.
One way to get it enabled again is by clicking on the hplip gui button, but this always freezes hplip.
So I enable it running "cupsenable <printer>" as root, which always works.
edit- There is the cups-filters package too,
maybe uninstalling and installing it with stock hplip and cups would fix it.
Regretfully before I upgraded CUPS, I was having the same problem, and I am running stock HPLIP for 14.2 anyways, since I wanted to jump to the latest HPLIP, but even after installing avahi - I kept getting a hpjis error when attempting to compile HPLIP.
-Edit
So reverting back to stock CUPS for 14.2 I still don't see how that will resolve this issue...
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 933
Rep:
Quote:
Originally Posted by Jeebizz
Regretfully before I upgraded CUPS, I was having the same problem, and I am running stock HPLIP for 14.2 anyways, since I wanted to jump to the latest HPLIP, but even after installing avahi - I kept getting a hpjis error when attempting to compile HPLIP.
-Edit
So reverting back to stock CUPS for 14.2 I still don't see how that will resolve this issue...
hum sorry that was your original problem.
hplip and cups work OK in a notebook with Slackware 14.2.
I can't say the same about hplip in -current in my desktop, it practically doesn't work anymore.
I do all my printing jobs in cups, like add the printer or print a test page.
The only thing I miss in hplip is the clean cartridges routine.
hplip and cups work OK in a notebook with Slackware 14.2.
I can't say the same about hplip in -current in my desktop, it practically doesn't work anymore.
I do all my printing jobs in cups, like add the printer or print a test page.
The only thing I miss in hplip is the clean cartridges routine.
No worries about that. Also to recap, the only thing I can think of that started this mess was the last firmware update - which again; puts me in a difficult position perhaps, because the firmware updates by HP are specifically marked as security only, nothing that would make any major changes to the way the firmware works on the laserjet printer itself. Also in a Windows VM, it doesn't care or have any issues - and yes I am running the HP driver for Windows. So something about CUPS and or HPLIP just does not play nice with these firmware updates.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.