ARM-Support

Bug #1152219 reported by merlin
118
This bug affects 23 people
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Wishlist
Suma Byrappa
hplipsetupdebian
New
Undecided
Unassigned

Bug Description

HPLIP-Plugin needs an ARM-build to make most printers work on ARM Linux Systems. HPLIP is available, you only need to provide a plugin.

Affects devices such as:

ARMv6: RaspberryPi

and many more.

tags: added: plugin wishlist
removed: withlist
Changed in hplip:
importance: Undecided → Wishlist
assignee: nobody → Suma Byrappa (suma-byrappa)
Revision history for this message
Nordheimer Michael (nordheimerm) wrote :

Same problem affects MF devices as well: no scanning capabilities available without libs:
bb_marvell-x86_32.so
bb_marvell-x86_64.so
bb_soap-x86_32.so
bb_soap-x86_64.so
bb_soapht-x86_32.so
bb_soapht-x86_64.so

szajsiwo (rycerstwo)
no longer affects: print-manager
mron (majinjoko)
no longer affects: archlinux
Revision history for this message
Rafael (rafael-suguiura) wrote :

this problem seems to affect the latest plugin, but I can't confirm: http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.13.8-plugin.run

Revision history for this message
Rafael (rafael-suguiura) wrote :

As an alternative to some printers, it's possible to use the foo2zjs driver: http://foo2zjs.rkkda.com/

Revision history for this message
Antonio Trujillo Carmona (antonio-trujillo-sspa) wrote :

I try to install hplip in debian over android, in order to uso libre office and print direct from it, but fail due to the lack of pligin with arm.
I must to print to PDF and send the PDF file form android to the printer (a new HP 100 MFT 175nw).
Is posible got a plugin compile for arm?

Revision history for this message
Neill Laney (neill-laney) wrote :

I'm attempting to use Ubuntu on a Samsung ARM Chromebook. Everything works except the plugin!

The newest Chromebooks from Samsung are ARM processors, as are many Android devices and Raspberry Pi. At least Google Cloud Printing seems to be working on the p1102w from ChromeOS and Nexus devices with a firmware update.

I found out about this incompatibility while researching setting up a print server using Raspberry Pi, and decided to see how hard it could be using my Chromebook Ubuntu. I still want to print from my distro, but there's no amount of additional effort that is going to make that happen without a plugin binary which supports ARM.

After days of learning experience, I'm going to put my printing efforts on hold until support comes. The latest status was wait a couple of releases, for release level support, which was one year ago.

I've voted for and subscribed to this bug. ARM processors aren't going away, and neither are HP laser printers. Let's marry the best of both worlds, even if it takes another year!

Revision history for this message
Alicein1derland (misslanesbrain) wrote :

Please?? Pretty please? with sugar, ice cream, brownies, cookies and peppermints on top???? and all the sweet things in the world????

 I'm using this ARM Ubuntu Crouton Chromebook thing for school, and I need to be able to print my homework assignments. I can't afford to go out and get a different computer/printer/etc.

Help??? Please?? I'm sure there are other people who have this problem.

Revision history for this message
Filip Procházka (jacktech24) wrote :

Do we have to wait like 5 years to get done such a simple thing as compiling libraries for ARM is? I also really need this and this really persuades me not to buy HP printer anymore.

Revision history for this message
freecode (ocrates-deactivatedaccount) wrote :

I would like to be able to use my HP p1102W with my Raspberry Pi, but the PPD requires the plugin and ARM is not included. it would be nice to have this included so that I don't have an old laptop eating electricity, just to print.

Revision history for this message
mikolajsochacki (mikolajsochacki) wrote :

Im trying to install LaserJet M1132 on bananapi with ARM and Lubuntu. Im get plugin, and manager notice that this is already installed, but when I try print a get message the plugin not found.

Revision history for this message
G4JC (gaming4jc2) wrote :

Even now, at the dawn of a new century... this bug still exists.

Anyway add me to the list, need to get a printer working on ARMv6 ASAP.

Changed in hplip:
status: New → In Progress
Revision history for this message
Juan Villar (juan-villar) wrote :

As Rafael points out you should compile the driver http://foo2zjs.rkkda.com using the Raspberry Pi. It's open source so it doesn't require the proprietary driver. The result would be a driver for CUPS and ARM architecture.

The Raspberry Pi prints well with my HP M1132 MFP. I provided a short guide in other thread:
https://answers.launchpad.net/hplip/+question/215851

I hope it helps

Revision history for this message
goutam kodu (goutam-hplip) wrote :

Plugin files for ARM are now supported in hplip 3.15.4

Changed in hplip:
status: In Progress → Fix Released
Revision history for this message
denixx baykin (denixx-baykin) wrote :

Have downloaded 3.15.4, trying to install on Raspberry Pi model B (512 MB RAM) fails because of not enough memory.
I can see that process with commandline "python ./install.py -i" slowly eats all memory while doing "make" phase.
I've made 10 times bigger swap file (was 100MB, trying with 1024MB), trying to install it third time.

Revision history for this message
denixx baykin (denixx-baykin) wrote :

Running 'make'
Please wait, this may take several minutes...
Traceback (most recent call last):
  File "./install.py", line 241, in <module>
    text_install.start(language, auto, test_depends, test_unknown, assume_network, max_retries, enable, disable)
  File "/home/pi/hplip-setup/hplip-3.15.4/installer/text_install.py", line 801, in start
    status, output = utils.run(cmd , core.passwordObj)
  File "/home/pi/hplip-setup/hplip-3.15.4/base/utils.py", line 1316, in run
    return child.exitstatus, output.getvalue()
MemoryError

with 1024 MB swapfile :(

Revision history for this message
Caysho (caysho) wrote :

I get the MemoryError on a BananaPi (has 1GB RAM).

Revision history for this message
goutam (goutamkk) wrote :

@denixx

Can you try directly running 'make' command inside the directory hplip-3.15.4 and let us know if the compilation goes fine and run su -c'make install' to install it.

@Caysho
Can you try installing hplip-3.15.4 from source instead of auto-installer script and let us know if you are able to compile the source code and install.

Revision history for this message
denixx baykin (denixx-baykin) wrote :

@goutam
Hi!
Tried this way today.
./configure
make
su -c 'make install'

It looks like all was done without errors.
But there is a problem:

pi@denixx-pi ~ $ hp-setup -i
Traceback (most recent call last):
  File "/usr/local/bin/hp-setup", line 45, in <module>
    from base import device, utils, tui, models, module, services, os_utils
  File "/usr/local/share/hplip/base/device.py", line 42, in <module>
    from . import status
  File "/usr/local/share/hplip/base/status.py", line 33, in <module>
    import cupsext
ImportError: libhpipp.so.0: cannot open shared object file: No such file or directory

pi@denixx-pi ~ $ hp-doctor
Traceback (most recent call last):
  File "/usr/local/bin/hp-doctor", line 37, in <module>
    from base import utils, tui, module,queues, os_utils, services, smart_install
  File "/usr/local/share/hplip/base/module.py", line 30, in <module>
    from . import tui, utils, device
  File "/usr/local/share/hplip/base/device.py", line 42, in <module>
    from . import status
  File "/usr/local/share/hplip/base/status.py", line 33, in <module>
    import cupsext
ImportError: libhpipp.so.0: cannot open shared object file: No such file or directory

Any suggestions?

Revision history for this message
denixx baykin (denixx-baykin) wrote :

ADDITION:
su -c 'make uninstall'
make clean
./configure
make
su -c 'make install'

Same thing,
pi@denixx-pi ~ $ hp-doctor
Traceback (most recent call last):
  File "/usr/local/bin/hp-doctor", line 37, in <module>
    from base import utils, tui, module,queues, os_utils, services, smart_install
  File "/usr/local/share/hplip/base/module.py", line 30, in <module>
    from . import tui, utils, device
  File "/usr/local/share/hplip/base/device.py", line 42, in <module>
    from . import status
  File "/usr/local/share/hplip/base/status.py", line 33, in <module>
    import cupsext
ImportError: libhpipp.so.0: cannot open shared object file: No such file or directory

Revision history for this message
goutam (goutamkk) wrote :

@denixx
You need to give option - -prefix = /usr to configure script so that libraries will get copied to /usr/lib directory instead of /usr/local/lib

So, please follow the below commands again
su -c"make uninstall"
make clean
./configure --prefix=/usr
make
su -c"make install"

This should correct the above problem. Let us know on the same.
Regards,
goutam

Revision history for this message
denixx baykin (denixx-baykin) wrote :

Hi!
goutam, thanks for assistance!
It was a problem to connect to printer via USB, but after I have downloaded http://prdownloads.sourceforge.net/hplip/hplip-3.15.6.run and made all those things with 3.15.6 - all went good.
Now I am holding hot printed test page (Raspberry Pi model B, HP LaserJet P1005, HPLIP 3.15.6), thanks :)
-=-=-
in 3.15.4 i made su -c 'make uninstall'
run hplip-3.15.6.run, it unpacked and I have choosed "quit".
cd to unpacked dir 3.15.6
./configure --prefix=/usr
make
su -c 'make install'

After that hplip even could install plugin.

Minor problems:

xsane is installed, but hp-doctor complains that it's not. Maybe because there is no X-server loaded, because I haven't configured it to start X-session after boot.
Just a SSH.

lines in hp-doctor output:

"---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP_LaserJet_P1005
-----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_P1005?serial=BB0677V
PPD: /etc/cups/ppd/HP_LaserJet_P1005.ppd
PPD Description: HP LaserJet p1005, hpcups 3.15.6, requires proprietary plugin
Printer ready to printr HP_LaserJet_P1005 is idle. enabled since Thu 11 Jun 2015 02:13:56 PM EEST
Required plug-in status: Installed
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1005?serial=BB0677V
error: Device not found
error: Communication status: Failed"

and another ones:

"Checking for HP Properitery Plugin's....
Plugin's already installed

Checking for Printer Status....
error: 'HP_LaserJet_P1005' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor

Diagnose completed..."

Thanks again!

Revision history for this message
Caysho (caysho) wrote :

@goutam
I started from scratch with a new system and configured a 1 GB swap partition.
The compilation completes now and the installer works.

I now can do a test print and also print a more complicated page (the http://www.officeworks.com.au/ home page).
Printing via the network also works with a basic Postscript driver used on the client.
The printer is a P1102.

The HP Device Manager complained that it could not communicate with the printer, even though printing works.
Since then I have rebooted it and the HP Device Manager now connects, printing still works.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.