-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello Alan, On Thu, 2016-08-25 at 19:04 +0530, Ritesh Raj Sarraf wrote: > > As you mentioned above, there's another aspect to power management > > besides runtime PM, namely Link Power Management. Perhaps the device > > can't handle LPM. > > > > You can test this by editing the usb_device_supports_lpm() routine in > > drivers/usb/core/hub.c. If you make it always return 0 immediately, > > that will disable LPM for all USB devices. If the spontaneous > > disconnects don't reappear, we'll have the answer. > > > > Alan Stern > > > > > I'll try this out on a new build and share my results again on this thread. I was able to reproduce the resets after disabling LPM too. [ 5026.849192] systemd[1]: apt-daily.timer: Adding 6h 13min 53.496331s random time. [ 5027.078155] systemd[1]: apt-daily.timer: Adding 5h 55min 19.813619s random time. [ 7375.350630] usb 1-4: USB disconnect, device number 11 [ 7375.670070] usb 1-4: new high-speed USB device number 12 using xhci_hcd [ 7375.843822] usb 1-4: New USB device found, idVendor=0bda, idProduct=0129 [ 7375.843831] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 7375.843835] usb 1-4: Product: USB2.0-CRW [ 7375.843839] usb 1-4: Manufacturer: Generic [ 7375.843842] usb 1-4: SerialNumber: 20100201396000000 [ 7379.920027] usb 1-4: USB disconnect, device number 12 [ 7381.127199] usb 1-4: new high-speed USB device number 13 using xhci_hcd [ 7381.300936] usb 1-4: New USB device found, idVendor=0bda, idProduct=0129 [ 7381.300945] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 7381.300950] usb 1-4: Product: USB2.0-CRW [ 7381.300953] usb 1-4: Manufacturer: Generic [ 7381.300956] usb 1-4: SerialNumber: 20100201396000000 [ 8596.938587] usb 1-8: USB disconnect, device number 6 [ 8597.328597] usb 1-8: new full-speed USB device number 15 using xhci_hcd [ 8597.513108] usb 1-8: New USB device found, idVendor=048d, idProduct=8350 [ 8597.513116] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 8597.513121] usb 1-8: Product: ITE Device(8350) [ 8597.513124] usb 1-8: Manufacturer: ITE Tech. Inc. [ 8758.487792] usb 1-4: USB disconnect, device number 13 [ 8759.711773] usb 1-4: new high-speed USB device number 16 using xhci_hcd [ 8759.885543] usb 1-4: New USB device found, idVendor=0bda, idProduct=0129 [ 8759.885552] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 8759.885557] usb 1-4: Product: USB2.0-CRW [ 8759.885560] usb 1-4: Manufacturer: Generic [ 8759.885563] usb 1-4: SerialNumber: 20100201396000000 2016-08-26 / 14:39:39 ♒♒♒ ☺ rrs@learner:~$ uptime 14:41:20 up 15:53, 1 user, load average: 0.54, 0.31, 0.38 2016-08-26 / 14:41:20 ♒♒♒ ☺ This time there's also another device resetting. Bus 001 Device 015: ID 048d:8350 Integrated Technology Express, Inc. - -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention." -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXwAi6AAoJEKY6WKPy4XVpcpoP/RxPvuy47nbXNRs3ffC3Z71l bFYbsnL/JtifWdNzEhO6Ff0aefLmqjBh/jXeTA3GicLObrA41EZ55VUz672UZmd3 i8s0GrCtrZcZi6DuNA5OulcSgmEj/PP2WXSWNsuivlhrdg8Xoi3WGqgyNWu/FJoe IRnht/o+injTxKNsXnpJbr/QGGK9Rt7lzQeIiJcUPHwis19ISNgVQqcS9pQhBTKF hAg4XHSIPi+83VOJbgsZTIzHfmQn8fKRKPUf3iUzDQS0ivfculhDaahPRCd/Apnb H157oEW3Is1fOxZEYIMwu21qWQLOJg0ScLb2Y+sanFiEbjgbkZl7J2bbZGCoQTkx P/FHFJWXDXwguUcPP6ygNUCI+YeTwmy1Ff/0uj9hsPj+NH1BXObWZKt4x5NXib2N IChDQXFvh6tFktVoLuoxyRv2sv2XZV6DrrmgdzxYC/PfGm5LAqlHbibdOpL8ZBNL KgJKprltrcxivdRT/kHoGgYu1dM0uNeUvmrCcCeWDeqVdC5AuZtfiWSjsCCJ6dMD oGIB1RR/0ouV2ABtCs3TL9spfJ1QXZPH+hU5Qq3/IFikCACkpmjQlGM0o0DUYHzT pmSIkByTYdp5ob5YSwUPR0u6IaxAFIFR18DGXADqPt5o4Hdwov2sgX26GqDHdIRm pYfd8+bFySNaR2AFxU6i =cD7h -----END PGP SIGNATURE----- -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html