O cabo USB estava com defeito. Eu troquei o cabo USB e ele simplesmente funcionou. Eu tive que instalar o HPLIP depois que a impressora foi detectada e nada mais.
Saída de dmesg
:
[ 5898.551540] usb 3-4: new high-speed USB device number 17 using xhci_hcd
[ 5898.680036] usb 3-4: New USB device found, idVendor=03f0, idProduct=c111
[ 5898.680046] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5898.680051] usb 3-4: Product: Deskjet 1510 series
[ 5898.680055] usb 3-4: Manufacturer: HP
[ 5898.680058] usb 3-4: SerialNumber: XXXXXXXXXXXXXX
[ 5898.681435] usblp 3-4:1.1: usblp0: USB Bidirectional printer dev 17 if 1 alt 0 proto 2 vid 0x03F0 pid 0xC111
[ 5899.897408] usblp0: removed
[ 5899.898097] usblp 3-4:1.1: usblp0: USB Bidirectional printer dev 17 if 1 alt 0 proto 2 vid 0x03F0 pid 0xC111
[ 5940.759735] usblp0: removed
Saída de lsusb
:
$ lsusb | grep -i hewl
Bus 003 Device 017: ID 03f0:c111 Hewlett-Packard