How to install HPLIP using opkg on Toradex Collibri iMX7


We want to have USB printer support in our application.
We are using HP LaserJet P1106 USB printer.
We would like to know How to install HPLIP on Collibri iMX7 board.
We have installed CUPS on board but there is one issue (Shown in attached image).
alt text
We are using Embedded linux open embedded layer.

Please help!

Pradeep Pol

Hi @eklavya19

Could you provide the version of the hardware (including carrier board) and software ( uname -a ) of your module?

Could you share the dmesg log in a text file and the output of lsusb when the printer is connected?

Best regards,

Hi Jaski,

Thanks for the reply!

Software & Hardware version

We are using collibri iMX7 256 mb som (v1.1C) with VIOLA Plus (v1.2B)

root@colibri-imx7:~# uname -a

Linux colibri-imx7 4.9.166-2.8.6+gd899927 #1 SMP Sat Jun 1 15:31:52 UTC 2019 armv7l GNU/Linux

lsusb output when printer is connected

root@colibri-imx7:~# lsusb

Bus 001 Device 003: ID 03f0:002a Hewlett-Packard LaserJet P1102

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg when printer connected

[ 2623.864591] usb 1-1: new high-speed USB device number 3 using ci_hdrc

Pradeep Pol

Dear @eklavya19 ,

Thank you for contacting Toradex Community!

Could you please verify if your CONFIG_USB_PRINTER in your .config file is enabled?
If not, could you please ENABLE this setting and re-compile your colibri_imx7_defconfig by using make colibri_imx7_defconfig. Here is the link for Kernel re-compilation reference.

As you are using CUPS, you might also want to install the CUPS package using opkg update && opkg install cups

Thanks and Regards,