FS#50668 - [linux-lts] USB device not recognized periodically (after reboot)

Attached to Project: Arch Linux
Opened by V.I.S. (BytEvil) - Monday, 05 September 2016, 17:31 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 18 February 2017, 20:46 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
USB device not recognized periodically (after reboot)

Additional info:
[ 0.008782] usb 1-8: device descriptor read/64, error -71
[ 0.664999] usb 1-8: new full-speed USB device number 3 using xhci_hcd

Bus 001 Device 008: ID 1934:5168 Feature Integration Technology Inc. (Fintek) F71610A or F71612A Consumer Infrared Receiver/Transceiver

Steps to reproduce:
Same problem described here https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1565292
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 18 February 2017, 20:46 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Such patching is against Arch packaging rules, especially when it comes to LTS kernels. Use abs for local patching. Maybe it will be solved when we change to 4.9.x LTS branch.
Comment by V.I.S. (BytEvil) - Tuesday, 06 September 2016, 17:31 GMT
Solved by patching kernel sources. This patch reworked for kernel 4.4.19-1-lts from here: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/patch/include/linux/usb.h?id=feb26ac31a2a5cb88d86680d9a94916a6343e9e6
Comment by Andreas Radke (AndyRTR) - Thursday, 08 September 2016, 05:30 GMT
We are now at 4.4.20 - please give it a try.

Is this issue new and so a regression or a long standing bug? Look rather like an old bug.

I won't a apply a patch from the linux-next patch. It's related to a single driver but to the whole usb subsystem. I will wait until this one
gets merged into the stable releases. If you are affected feel free to apply it locally using abs.
Comment by V.I.S. (BytEvil) - Thursday, 08 September 2016, 06:00 GMT
This bug persist since 4.0.x kernel and patched long time ago on non lts kernels.

Please compare my patch with source, e.g. hdc.c file from here https://github.com/torvalds/linux/blob/master/drivers/usb/core/hcd.c


P.S. Problem not solved by installing linux-lts 4.4.20-1 from testing repo...
Comment by Andreas Radke (AndyRTR) - Thursday, 08 September 2016, 14:31 GMT
This looks like a rather huge change and may have unwanted side effects or could depend on other commits that I don't know of. Nothing to be applied untested by the distribution.

Feel free to request that commit applied to the longterm supported kernels upstream at the linux-stable list.

Loading...