Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

cant discover older HP OfficeJets at printer boot

Aperta
#75 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go, linux
Ambito
backend, devtools

Direzione di ricerca

Inizia riproducendo il problema all’avvio a freddo con una HP OfficeJet Pro 8710 o 8730 e confronta i log collegati di errore, successo e correzione. Poi esamina come ipp-usb gestisce il quirk init-reset = soft e l’errore IPP segnalato client-error-bad-request. Il lavoro è completato quando le stampanti interessate vengono rilevate dopo l’avvio senza richiedere un riavvio o una soluzione specifica per il modello.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

As ipp-usb got the Ubuntu default, we now utilise it instead of hplip. There quite some HP OfficeJet printers around with different series, where of the following I could reproduce the error:
HP OfficeJet Pro 8710
HP OfficeJet Pro 8730

There are no more models I can test but maybe there are more models poping up in the wild.
Newer models like the HP OfficeJet Pro 9010 are unaffected by this (at least I tested this model without the following problem).

The error occurs if the printer was powered off quite a time (think at least a day, tested it today after the weekend) and gets started after Linux is already up. After the printer successfully started, it wouldnt be detected by the system. After a printer restart, replugging of the usb cable or a simple restart the ipp-usb daemon, it will work. Trying the same scenario again, it works at the first printer start.

I could solve the problem by adding the following quirk:

[HP OfficeJet Pro 8710]
  init-reset = soft

Logs:

error was the first start, success the second which worked ...

03f0-7a12-HP-OfficeJet-Pro-8730_error.log
03f0-7a12-HP-OfficeJet-Pro-8730_success.log
03f0-7c12-HP-OfficeJet-Pro-8710_error.log
03f0-7c12-HP-OfficeJet-Pro-8710_success.log

tried it with the second printer of the same model we have to test with the quirk applied

03f0-7c12-HP-OfficeJet-Pro-8710_fixed.log

Looks like the problem is the following IPP response when the device is finally up:

12-02-2024 08:20:16: ! IPP: IPP: client-error-bad-request

Maybe the device isnt already initialised in this stage but dont know either.

I posted it as a ticket because it looks like a more generic problem with the HP OfficeJet series and maybe it could be solved better than the qurik I've used.

Lingua principale
Go
Stelle
210
Fork
35
Merge medio
5h 47m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenPrinting/ipp-usb

Tutte le issue di OpenPrinting/ipp-usb

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.