HP LaserJet m605: printer malfunction after connecting to the system with ipp-usb installed
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- go
- Área
- operating-systems, tooling
Línea de trabajo
Comience reproduciendo el fallo de HP LaserJet M605 con ipp-usb 0.9.27, utilizando la configuración de impresoras de Web CUPS o KDE y el /etc/ipp-usb.conf predeterminado. Lea /var/log/ipp-usb/main.log y el registro específico del dispositivo en busca del tiempo de espera de inicialización y las lecturas de tamaño cero; se considera terminado cuando la impresión de prueba, los informes del panel de la impresora y los trabajos posteriores funcionan sin reiniciar la impresora.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
- OS: ALT Workstation K 10.4
- Printer: HP LaserJet Enterprise M605
- Version: ipp-usb-0.9.27
Steps to reproduce:
# apt-get install -y ipp-usb(preinstalled);- Connect the printer via USB to the system with
ipp-usbinstalled. - Add a printer using WEB Cups (
http://localhost:631) or KDE tools ("Settings - Printers"), using the suggested USB driver from the list. Connection string must be something like this:usb://HP/LaserJet%20M605?serial=CNDVJCY16N - Start printing the test page;
- Try to print the printer configuration using the panel on the printer itself ("Main Menu - Administration - Reports");
- Try to perform any other action using the panel on the printer itself.
The actual result:
- After sending a test print job, either nothing happens, or the printer goes into some kind of "waiting mode";
- Printing the printer configuration using the panel on the printer itself ("Main Menu - Administration - Reports") does not work - instead, the panel interface stops responding to user actions until it is restarted;
- The printer does not respond to print jobs until it is restarted;
Expected result:
- The test page is being printed successfully;
- The printer configuration is being printed successfully by using the panel on the printer itself, the panel interface does not freeze;
- The printer responds to print jobs without having to restart.
/etc/ipp-usb.conf is default:
[network]
http-min-port = 60000
http-max-port = 65535
[auth uid]
all = *
[logging]
device-log = all
main-log = debug
console-log = debug
max-file-size = 256K
max-backup-files = 5
/var/log/ipp-usb/main.log:
06-11-2024 17:33:28: ===============================
06-11-2024 17:33:28: ipp-usb started in "udev" mode, pid=12569
06-11-2024 17:33:28: ctrlsock: listening at "/var/ipp-usb/ctrl"
06-11-2024 17:33:28: + PNP Bus 002 Device 002: added
06-11-2024 17:33:29: ! Can't load existing ports allocation
06-11-2024 17:33:29: ! open /var/ipp-usb/dev: no such file or directory
06-11-2024 17:33:35: ! PNP Bus 002 Device 002: Device initialization timed out
06-11-2024 17:33:37: + PNP Bus 002 Device 002: retry
06-11-2024 17:33:44: ! PNP Bus 002 Device 002: Device initialization timed out
06-11-2024 17:33:46: + PNP Bus 002 Device 002: retry
06-11-2024 17:33:53: ! PNP Bus 002 Device 002: Device initialization timed out
06-11-2024 17:33:53: terminated signal received, exiting
06-11-2024 17:33:53: ctrlsock: shutdown
06-11-2024 17:33:53: ipp-usb finished
/var/log/ipp-usb/03f0-3e2a-CNDVJCY16N-Hewlett-Packard-HP-LaserJet-M605.log:
06-11-2024 17:33:28:
06-11-2024 17:33:28: ===============================
06-11-2024 17:33:28: + Bus 002 Device 002: added HP LaserJet M605
06-11-2024 17:33:28: Device info:
06-11-2024 17:33:28: USB Port: 4
06-11-2024 17:33:28: Ident: 03f0-3e2a-CNDVJCY16N-Hewlett-Packard-HP-LaserJet-M605
06-11-2024 17:33:28: Manufacturer: Hewlett-Packard
06-11-2024 17:33:28: Product: HP LaserJet M605
06-11-2024 17:33:28: SerialNumber: CNDVJCY16N
06-11-2024 17:33:28: MfgAndProduct: Hewlett-Packard HP LaserJet M605
06-11-2024 17:33:28: BasicCaps: print
06-11-2024 17:33:28:
06-11-2024 17:33:28: Device quirks:
06-11-2024 17:33:28: from [*] (/usr/share/ipp-usb/quirks/default.conf:3):
06-11-2024 17:33:28: http-connection = ""
06-11-2024 17:33:28:
06-11-2024 17:33:28: USB stack parameters
06-11-2024 17:33:28: authorized_default: -1
06-11-2024 17:33:28: autosuspend: 2
06-11-2024 17:33:28: blinkenlights: N
06-11-2024 17:33:28: initial_descriptor_timeout: 5000
06-11-2024 17:33:28: nousb: N
06-11-2024 17:33:28: old_scheme_first: N
06-11-2024 17:33:28: quirks:
06-11-2024 17:33:28: usbfs_memory_mb: 16
06-11-2024 17:33:28: usbfs_snoop: N
06-11-2024 17:33:28: usbfs_snoop_max: 65536
06-11-2024 17:33:28: use_both_schemes: Y
06-11-2024 17:33:28:
06-11-2024 17:33:28: USB interfaces:
06-11-2024 17:33:28: Config Interface Alt Class SubClass Proto
06-11-2024 17:33:28: 1 0 0 7 1 2
06-11-2024 17:33:28: * 1 0 1 7 1 4
06-11-2024 17:33:28: 1 1 0 255 5 1
06-11-2024 17:33:28: * 1 1 1 7 1 4
06-11-2024 17:33:28: 1 2 0 255 5 1
06-11-2024 17:33:28: * 1 2 1 7 1 4
06-11-2024 17:33:28: 1 3 0 255 5 1
06-11-2024 17:33:28: * 1 3 1 7 1 4
06-11-2024 17:33:28:
06-11-2024 17:33:29: USB[0]: open: Bus 002 Device 002 Interface 0 Alt 1
06-11-2024 17:33:29: USB[1]: open: Bus 002 Device 002 Interface 1 Alt 1
06-11-2024 17:33:29: USB[2]: open: Bus 002 Device 002 Interface 2 Alt 1
06-11-2024 17:33:29: USB[3]: open: Bus 002 Device 002 Interface 3 Alt 1
06-11-2024 17:33:29: > IPP request:
06-11-2024 17:33:29: > {
06-11-2024 17:33:29: > VERSION 2.0
06-11-2024 17:33:29: > OPERATION Get-Printer-Attributes
06-11-2024 17:33:29: >
06-11-2024 17:33:29: > GROUP operation-attributes-tag
06-11-2024 17:33:29: > ATTR "attributes-charset" charset: utf-8
06-11-2024 17:33:29: > ATTR "attributes-natural-language" naturalLanguage: en-US
06-11-2024 17:33:29: > ATTR "printer-uri" uri: http://localhost:60000/ipp/print
06-11-2024 17:33:29: > ATTR "requested-attributes" keyword: color-supported document-format-supported media-size-supported mopria-certified printer-device-id printer-dns-sd-name printer-icons printer-info printer-kind printer-location printer-make-and-model printer-more-info printer-uuid sides-supported urf-supported
06-11-2024 17:33:29: > }
06-11-2024 17:33:29:
06-11-2024 17:33:29: > HTTP[000]: POST http://localhost:60000/ipp/print
06-11-2024 17:33:29: > HTTP[000]: request body: got 462 bytes; closed
06-11-2024 17:33:29: > HTTP[000]: body is small (462 bytes), prefetched before sending
06-11-2024 17:33:29: > HTTP[000]: HTTP request header:
06-11-2024 17:33:29: > POST /ipp/print HTTP/1.1
06-11-2024 17:33:29: > Host: localhost:60000
06-11-2024 17:33:29: > User-Agent: ipp-usb
06-11-2024 17:33:29: > Content-Length: 462
06-11-2024 17:33:29: > Content-Type: application/ipp
06-11-2024 17:33:29: >
06-11-2024 17:33:29: USB[0]: connection allocated, 1 in use: a-- --- --- ---
06-11-2024 17:33:29: HTTP[000]: connection 0 allocated
06-11-2024 17:33:29: > USB[0]: write: wanted 586 sent 586 total 586
06-11-2024 17:33:29: < USB[0]: read: wanted 4096 got 0 total 0
06-11-2024 17:33:29: ! USB[0]: zero-size read
06-11-2024 17:33:29: < USB[0]: read: wanted 4096 got 0 total 0
06-11-2024 17:33:29: ! USB[0]: zero-size read
06-11-2024 17:33:29: < USB[0]: read: wanted 4096 got 0 total 0
06-11-2024 17:33:29: ! USB[0]: zero-size read
06-11-2024 17:33:30: < USB[0]: read: wanted 4096 got 0 total 0
06-11-2024 17:33:30: ! USB[0]: zero-size read
06-11-2024 17:33:30: < USB[0]: read: wanted 4096 got 0 total 0
06-11-2024 17:33:30: ! USB[0]: zero-size read
06-11-2024 17:33:31: < USB[0]: read: wanted 4096 got 0 total 0
06-11-2024 17:33:31: ! USB[0]: zero-size read
06-11-2024 17:33:32: < USB[0]: read: wanted 4096 got 0 total 0
06-11-2024 17:33:32: ! USB[0]: zero-size read
06-11-2024 17:33:33: < USB[0]: read: wanted 4096 got 0 total 0
06-11-2024 17:33:33: ! USB[0]: zero-size read
06-11-2024 17:33:34: ! HTTP[000]: Device initialization timed out
06-11-2024 17:33:34: USB[0]: connection released, 0 in use: --- --- --- ---
06-11-2024 17:33:34: ! IPP: HTTP: Post "http://localhost:60000/ipp/print": Device initialization timed out
06-11-2024 17:33:34: - Bus 002 Device 002: resetting HP LaserJet M605
06-11-2024 17:33:35: USB[0]: closed
06-11-2024 17:33:35: USB[1]: closed
06-11-2024 17:33:35: USB[2]: closed
06-11-2024 17:33:35: USB[3]: closed
06-11-2024 17:33:35: - Bus 002 Device 002: removed HP LaserJet M605
06-11-2024 17:33:37:
Attached:
Found ways to solve the problem:
- Removing the
ipp-usbpackage from the OS before connecting the printer:# apt-get remove ipp-usb; - Masking
ipp-usbunit before connecting the printer:# systemctl mask ipp-usb.
- Lenguaje dominante
- Go
- Estrellas
- 211
- Forks
- 35
- Merge medio
- 5 h 47 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de OpenPrinting/ipp-usb
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
OpenPrinting/ipp-usb#142 · 2 comentarios ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
OpenPrinting/ipp-usb#136 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
OpenPrinting/ipp-usb#124 · 5 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 32/100
OpenPrinting/ipp-usb#123 · 10 comentarios ·
-
arm64 and arm v7 OCI buildsAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
OpenPrinting/ipp-usb#122 · 1 comentario ·
Todos los issues de OpenPrinting/ipp-usb
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nebari-dev/nebi#630 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
router-for-me/CLIProxyAPI#7084 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
speakeasy-api/openapi#284 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
yetone/magpie#4095 · 1 comentario ·
Los mantenedores suelen responder en 1 día