Re: xhci_hcd can't detect new devices after enabling runtime PM and disabling S3 wake (bug #85701)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 06, 2014 at 03:28:33PM -0400, Alan Stern wrote:
> On Mon, 6 Oct 2014, Dmitry Nezhevenko wrote:
> 
> > --- device plugged ---
> > 
> > [ 2116.861499] xhci_hcd 0000:00:14.0: power state changed by ACPI to D0
> > [ 2116.962998] xhci_hcd 0000:00:14.0: PME# disabled
> > [ 2116.963015] xhci_hcd 0000:00:14.0: enabling bus mastering
> > [ 2116.963094] xhci_hcd 0000:00:14.0: hcd_pci_runtime_resume: 0
> > [ 2116.963102] xhci_hcd 0000:00:14.0: hcd_pci_runtime_suspend: -16
> > [ 2116.963138] pci_pm_runtime_suspend(): hcd_pci_runtime_suspend+0x0/0x40 [usbcore] returns -16
> > [ 2116.963140] usb usb1: usb wakeup-resume
> > [ 2116.963152] usb usb1: usb auto-resume
> > [ 2116.963185] hub 1-0:1.0: hub_resume
> > [ 2116.963240] usb usb1-port5: status 0107 change 0000
> > [ 2116.963263] usb usb1-port7: status 0107 change 0000
> > [ 2116.963316] usb usb1-port12: status 0507 change 0000
> 
> But nothing on port 6?  That's strange.
> 
> > [ 2117.066893] hub 1-0:1.0: state 7 ports 15 chg 0000 evt 0000
> > [ 2117.066906] hub 1-0:1.0: hub_suspend
> > [ 2117.066927] usb usb1: bus auto-suspend, wakeup 1
> > [ 2117.066999] xhci_hcd 0000:00:14.0: hcd_pci_runtime_suspend: 0
> > [ 2117.067035] xhci_hcd 0000:00:14.0: PME# enabled
> > [ 2117.106879] xhci_hcd 0000:00:14.0: power state changed by ACPI to D3cold
> 
> What does the debugging log show if you don't disable wakeup?

$It looks like same, but later it resumes once again.

[ 2836.134277] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0000
[ 2836.134340] hub 2-0:1.0: hub_suspend
[ 2836.134346] usb usb2: bus auto-suspend, wakeup 1
[ 2838.797692] usb 1-12: usb auto-suspend, wakeup 0
[ 2839.237510] usb 1-5: usb auto-suspend, wakeup 0
[ 2839.405473] usb 1-7: usb auto-suspend, wakeup 0
[ 2839.421487] hub 1-0:1.0: hub_suspend
[ 2839.421497] usb usb1: bus auto-suspend, wakeup 1
[ 2839.421586] xhci_hcd 0000:00:14.0: hcd_pci_runtime_suspend: 0
[ 2839.421622] xhci_hcd 0000:00:14.0: PME# enabled
[ 2839.453479] xhci_hcd 0000:00:14.0: power state changed by ACPI to D3cold
[ 2854.647991] xhci_hcd 0000:00:14.0: power state changed by ACPI to D0
[ 2854.751914] xhci_hcd 0000:00:14.0: PME# disabled
[ 2854.751928] xhci_hcd 0000:00:14.0: enabling bus mastering
[ 2854.751989] xhci_hcd 0000:00:14.0: hcd_pci_runtime_resume: 0
[ 2854.751994] xhci_hcd 0000:00:14.0: hcd_pci_runtime_suspend: -16
[ 2854.752017] pci_pm_runtime_suspend(): hcd_pci_runtime_suspend+0x0/0x40 [usbcore] returns -16
[ 2854.752019] usb usb1: usb wakeup-resume
[ 2854.752026] usb usb1: usb auto-resume
[ 2854.752056] hub 1-0:1.0: hub_resume
[ 2854.752095] usb usb1-port5: status 0107 change 0000
[ 2854.752107] usb usb1-port7: status 0107 change 0000
[ 2854.752125] usb usb1-port12: status 0507 change 0000
[ 2854.855937] hub 1-0:1.0: state 7 ports 15 chg 0000 evt 0000
[ 2854.855951] hub 1-0:1.0: hub_suspend
[ 2854.855966] usb usb1: bus auto-suspend, wakeup 1
[ 2854.856002] usb usb1: suspend raced with wakeup event
[ 2854.856003] usb usb1: usb auto-resume
[ 2854.875324] hub 1-0:1.0: hub_resume
[ 2854.875368] usb usb1-port5: status 0107 change 0000
[ 2854.875386] usb usb1-port6: status 0101 change 0001
[ 2854.875409] usb usb1-port7: status 0107 change 0000
[ 2854.875461] usb usb1-port12: status 0507 change 0000
[ 2854.975854] hub 1-0:1.0: state 7 ports 15 chg 0040 evt 0000
[ 2854.975904] usb usb1-port6: status 0101, change 0000, 12 Mb/s
[ 2855.087783] usb 1-6: new high-speed USB device number 5 using xhci_hcd
[ 2855.220940] usb 1-6: skipped 1 descriptor after configuration
[ 2855.220943] usb 1-6: skipped 3 descriptors after interface
[ 2855.221201] usb 1-6: default language 0x0409
[ 2855.222070] usb 1-6: udev 5, busnum 1, minor = 4
[ 2855.222073] usb 1-6: New USB device found, idVendor=0fca, idProduct=8012
[ 2855.222075] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2855.222077] usb 1-6: Product: RIM Network Device
[ 2855.222078] usb 1-6: Manufacturer: Research In Motion, Ltd.
[ 2855.222080] usb 1-6: SerialNumber: EBD1BA7B6C5E4765D017A580236520AB97994D33
[ 2855.222252] usb 1-6: usb_probe_device
[ 2855.222255] usb 1-6: configuration #1 chosen from 1 choice
[ 2855.227119] usb 1-6: adding 1-6:1.0 (config #1, interface 0)
[ 2855.227160] rndis_host 1-6:1.0: usb_probe_interface
[ 2855.227161] rndis_host 1-6:1.0: usb_probe_interface - got id
[ 2855.240339] rndis_host 1-6:1.0: rndis media connect
[ 2855.266399] rndis_host 1-6:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-6, RNDIS device, 96:eb:cd:0d:5f:e9
[ 2855.266430] usb 1-6: adding 1-6:1.1 (config #1, interface 1)
[ 2855.266479] usb 1-6: adding 1-6:1.2 (config #1, interface 2)
[ 2855.277605] rndis_host 1-6:1.0 usb6: renamed from usb0
[ 2855.295753] systemd-udevd[22685]: renamed network interface usb0 to usb6
-- 
WBR, Dmitry
--
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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux