Bug 1166672

Summary: HP 1020 printer no longer accessible via USB at Toshiba Tecra Z40-B after several last updates
Product: [openSUSE] openSUSE Tumbleweed Reporter: Igor Kuznetsov <virex>
Component: KernelAssignee: openSUSE Kernel Bugs <kernel-bugs>
Status: RESOLVED NORESPONSE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jsmeix, mbenes, nsaenzjulienne, oneukum, tiwai, virex
Version: CurrentFlags: oneukum: needinfo? (virex)
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Igor Kuznetsov 2020-03-14 12:37:46 UTC
But it work under Windows 7 fine. 
I turned off usb3.0 in bios, So usb working in usb 2.0 state. Logs of journalctl -f when i plug in the printer in usb port.  

мар 14 16:31:39 lnxvrxtosh kernel: usb 1-1.5: new high-speed USB device number 7 using ehci-pci
мар 14 16:31:39 lnxvrxtosh kernel: usb 1-1.5: New USB device found, idVendor=03f0, idProduct=2b17, bcdDevice= 1.00
мар 14 16:31:39 lnxvrxtosh kernel: usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
мар 14 16:31:39 lnxvrxtosh kernel: usb 1-1.5: Product: HP LaserJet 1020
мар 14 16:31:39 lnxvrxtosh kernel: usb 1-1.5: Manufacturer: Hewlett-Packard
мар 14 16:31:39 lnxvrxtosh kernel: usb 1-1.5: SerialNumber: FN27X5A
мар 14 16:31:39 lnxvrxtosh root[4210]: udev hpmud.rules runs hp-firmware to test if HP device with USB vendor ID 03f0 and USB product ID 2b17 at USB bus ID 001 and USB device ID 007 needs firmware and if yes to upload it
мар 14 16:31:39 lnxvrxtosh python3[4211]: io/hpmud/musb.c 2185: [4211] hpmud_make_usb_uri() bus=001 dev=007
мар 14 16:31:39 lnxvrxtosh python3[4211]: io/hpmud/musb.c 2282: hpmud_make_usb_uri() uri=hp:/usb/HP_LaserJet_1020?serial=FN27X5A bytes_read=39
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 427: Found interface conf=0, iface=0, altset=0, index=1
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 535: claimed 7/1/2 interface
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 780: read actual device_id successfully fd=1 len=82
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 561: released 7/1/2 interface
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 427: Found interface conf=0, iface=0, altset=0, index=1
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 535: claimed 7/1/2 interface
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 780: read actual device_id successfully fd=1 len=82
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 561: released 7/1/2 interface
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 427: Found interface conf=0, iface=0, altset=0, index=1
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 535: claimed 7/1/2 interface
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 780: read actual device_id successfully fd=1 len=82
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 561: released 7/1/2 interface
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 427: Found interface conf=0, iface=0, altset=0, index=1
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 535: claimed 7/1/2 interface
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 780: read actual device_id successfully fd=1 len=82
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 561: released 7/1/2 interface
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 960: new PRINT channel=2 clientCnt=1 channelCnt=1
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 427: Found interface conf=0, iface=0, altset=0, index=1
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 535: claimed 7/1/2 interface
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 561: released 7/1/2 interface
мар 14 16:31:40 lnxvrxtosh python3[4211]: io/hpmud/musb.c 975: removed PRINT channel=2 clientCnt=0 channelCnt=0
мар 14 16:31:41 lnxvrxtosh kernel: WARNING! power/level is deprecated; use power/control instead
мар 14 16:31:41 lnxvrxtosh systemd[1]: Created slice system-configure\x2dprinter.slice.
мар 14 16:31:41 lnxvrxtosh systemd[1]: Reached target Printer.
мар 14 16:31:41 lnxvrxtosh systemd[1]: Started Configure Plugged-In Printer.
мар 14 16:31:41 lnxvrxtosh systemd[2505]: Reached target Printer.
мар 14 16:31:42 lnxvrxtosh udev-configure-printer[4319]: add usb-001-007
мар 14 16:31:42 lnxvrxtosh udev-configure-printer[4319]: device devpath is /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.5
мар 14 16:31:46 lnxvrxtosh kernel: usblp 1-1.5:1.0: usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
мар 14 16:31:46 lnxvrxtosh kernel: usbcore: registered new interface driver usblp
мар 14 16:31:46 lnxvrxtosh systemd[1]: configure-printer@usb-001-007.service: Main process exited, code=exited, status=1/FAILURE
мар 14 16:31:46 lnxvrxtosh systemd[1]: configure-printer@usb-001-007.service: Failed with result 'exit-code'.
мар 14 16:31:46 lnxvrxtosh mtp-probe[4389]: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.5"
мар 14 16:31:46 lnxvrxtosh mtp-probe[4389]: bus: 1, device: 7 was not an MTP device
мар 14 16:32:06 lnxvrxtosh kernel: usb 1-1.5: USB disconnect, device number 7
мар 14 16:32:06 lnxvrxtosh kernel: usblp0: removed
мар 14 16:32:09 lnxvrxtosh kernel: usb 1-1.2: new high-speed USB device number 8 using ehci-pci
мар 14 16:32:15 lnxvrxtosh kernel: usb 1-1.2: device descriptor read/8, error -110
мар 14 16:32:20 lnxvrxtosh kernel: usb 1-1.2: device descriptor read/8, error -110
мар 14 16:32:20 lnxvrxtosh kernel: usb 1-1.2: new high-speed USB device number 9 using ehci-pci
мар 14 16:32:24 lnxvrxtosh kernel: usb 1-1.2: device descriptor read/8, error -71
мар 14 16:32:24 lnxvrxtosh kernel: usb 1-1.2: device descriptor read/8, error -71
мар 14 16:32:24 lnxvrxtosh kernel: usb 1-1-port2: attempt power cycle
мар 14 16:32:26 lnxvrxtosh kernel: usb 1-1.5: new high-speed USB device number 11 using ehci-pci
мар 14 16:32:32 lnxvrxtosh kernel: usb 1-1.5: device descriptor read/8, error -110
мар 14 16:32:37 lnxvrxtosh kernel: usb 1-1.5: device descriptor read/8, error -110
мар 14 16:32:37 lnxvrxtosh kernel: usb 1-1.5: new high-speed USB device number 12 using ehci-pci
мар 14 16:32:42 lnxvrxtosh kernel: usb 1-1.5: device descriptor read/8, error -110
Comment 1 Igor Kuznetsov 2020-03-14 13:05:23 UTC
Adding info. Same printer work fine on Fujitsu old laptop it have only USB 2.0 ports. 

And one more thing. After trying connect printer to Toshiba Tecra Z40-B under Thumbleweed it do not work under windows. To work under windows need to reboot printer.
Comment 2 Igor Kuznetsov 2020-03-14 13:06:12 UTC
inxi -Mxxx
Machine:   Type: Laptop System: TOSHIBA product: TECRA Z40-B v: PT45FA-01300L serial: ******* Chassis: type: 10 
           v: Version 1.0 serial: ******* 
           Mobo: TOSHIBA model: TECRA Z40-B v: Version A0 serial: C0393321A0F7D04V BIOS: TOSHIBA v: Version 6.50 
           date: 03/06/2018
Comment 3 Johannes Meixner 2020-03-16 08:28:10 UTC
In general see
https://en.opensuse.org/SDB:How_to_Report_a_Printing_Issue

In general regarding USB 3 versus USB 2 issues have a look at
https://en.opensuse.org/SDB:Configuring_Scanners#USB
i.e. what actually matters is which USB kernel driver is used.
Comment 4 Igor Kuznetsov 2020-03-16 13:25:26 UTC
This is not seen in system like a printer. 
Bacause of usb error: device descriptor read/8, error -110
Comment 5 Johannes Meixner 2020-03-16 13:46:04 UTC
I am not at all a USB expert so I cannot debug lower level USB issues.
I think lower level USB issues belong to the Bugzilla component "kernel".

There is nothing what I can do when a printer is not accessible
cf. https://en.opensuse.org/SDB:Installing_a_Printer
Therein see in particular the parts about the
"so called 'quirks' for particular USB printers".
Perhaps your printer may also need such 'quirks'?
Comment 6 Takashi Iwai 2020-03-16 13:53:47 UTC
error -110 = ETIMEDOUT, and error -71 = EPROTO.
Latter is typically a USB bandwidth problem.

Adding Oliver and Nicolas, as it looks like a USB problem.
Comment 7 Igor Kuznetsov 2020-03-17 01:39:57 UTC
Now i think maybe this is the same problem https://bugzilla.suse.com/show_bug.cgi?id=1159941
Comment 8 Igor Kuznetsov 2020-03-17 01:50:07 UTC
And i have the same problem on this laptop https://bugzilla.suse.com/show_bug.cgi?id=1164616
Comment 9 Igor Kuznetsov 2020-04-19 06:59:47 UTC
same problem at new kernel

апр 19 10:52:13 lnxvrxtosh udev-configure-printer[7447]: add usb-001-009
апр 19 10:52:13 lnxvrxtosh mtp-probe[7450]: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2"
апр 19 10:52:13 lnxvrxtosh mtp-probe[7450]: bus: 1, device: 9 was not an MTP device
апр 19 10:52:13 lnxvrxtosh udev-configure-printer[7447]: device devpath is /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2
апр 19 10:52:13 lnxvrxtosh udev-configure-printer[7447]: Device vendor/product is 03F0:2B17
апр 19 10:52:13 lnxvrxtosh chronyd[1686]: Selected source 80.240.216.155
апр 19 10:52:19 lnxvrxtosh udev-configure-printer[7447]: Failed to fetch Device ID
апр 19 10:52:19 lnxvrxtosh systemd[1]: configure-printer@usb-001-009.service: Main process exited, code=exited, status=1/FAILURE
апр 19 10:52:19 lnxvrxtosh systemd[1]: configure-printer@usb-001-009.service: Failed with result 'exit-code'.
Comment 10 Igor Kuznetsov 2020-04-23 02:39:53 UTC
and a add new comment. On Windows 7 on same laptopt and same printer/cabel all work fine. If need, i can make a video. And all work fine on old laptops with usb 2.0. But on Toshiba laptop it did not work on linux.
Comment 11 Oliver Neukum 2020-05-13 10:14:39 UTC
(In reply to Igor Kuznetsov from comment #10)
> and a add new comment. On Windows 7 on same laptopt and same printer/cabel
> all work fine. If need, i can make a video. And all work fine on old laptops
> with usb 2.0. But on Toshiba laptop it did not work on linux.

Can you check which kernel was the last one that worked?
Comment 12 Miroslav Beneš 2020-09-02 11:51:03 UTC
No response, closing. Feel free to reopen if the issue persists even with the latest kernel in TW and in that case please provide information Oliver asked for.