xhci_hcd usb 3.0 suspend problem

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

 



Hey kernel folks,

I'm running Debian Wheezy 7.2 on Asus U36JC. Debian runs fine and all my USB
2.0/3.0 ports work correctly. However, there is a big issue when my
computers wakes up from suspend. The USB 3.0 port does not wake up and
xhci_hcd throws some errors into dmesg. I tried to remove xhci_hcd kernel
module and attach it again but it resulted in similar errors.
I keep my external HDD connected via USB 3.0 port at all times. There is
always power on USB 3.0 (except from time when the computer is suspended
ofcourse) because I can see LEDs switched on in the HDD case.
HDD/case is not faulty because it works flawlessly before I suspend the
Debian. Works on Windows too.

uname -a
Linux epi 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

lspci -k
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev
18)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root
Port (rev 18)
00:02.0 VGA compatible controller: Intel Corporation Core Processor
Integrated Graphics Controller (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series
Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2
Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High
Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 2 (rev 06)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 3 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 4 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 6 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2
Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface
Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4
port SATA AHCI Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series
Chipset Thermal Subsystem (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 310M]
(rev a2)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
[Condor Peak]
07:00.0 USB controller: Fresco Logic FL1000G USB 3.0 Host Controller (rev
ff)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B
PCI Express Gigabit Ethernet controller (rev 06)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture
Generic Non-core Registers (rev 05)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture
System Address Decoder (rev 05)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev
05)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)

lsusb 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
<3.0 ROOT HUB DISAPPEARED AFTER modprobe -r xhci_hcd, modprobe xhci_hcd >
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 04f2:b1b9 Chicony Electronics Co., Ltd Asus
Integrated Webcam
Bus 001 Device 004: ID 0b05:1788 ASUSTek Computer, Inc. 
Bus 001 Device 005: ID 08ff:1680 AuthenTec, Inc. AES1660 Fingerprint Sensor
Bus 003 Device 005: ID 046d:c05b Logitech, Inc. M-U0004 810-001317 [B110
Optical USB Mouse]

lsmod | grep -i xhci
xhci_hcd               73434  0 
usbcore               128741  7
ehci_hcd,xhci_hcd,btusb,uvcvideo,usbhid,usb_storage

dmesg
? computer wakes up ?
[ 2354.821883] wlan0: deauthenticating from 7c:4c:a5:81:ca:61 by local
choice (reason=3)
[ 2354.888556] cfg80211: Calling CRDA to update world regulatory domain
[ 2354.902242] cfg80211: World regulatory domain updated:
[ 2354.902248] cfg80211:     (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[ 2354.902253] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300
mBi, 2000 mBm)
[ 2354.902258] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300
mBi, 2000 mBm)
[ 2354.902262] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300
mBi, 2000 mBm)
[ 2354.902267] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300
mBi, 2000 mBm)
[ 2354.902271] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300
mBi, 2000 mBm)
[ 2355.948796] PM: Syncing filesystems ... done.
[ 2355.950514] PM: Preparing system for mem sleep
[ 2356.263099] Freezing user space processes ... (elapsed 0.01 seconds)
done.
[ 2356.278853] Freezing remaining freezable tasks ... (elapsed 0.01 seconds)
done.
[ 2356.294815] PM: Entering mem sleep
[ 2356.294887] Suspending console(s) (use no_console_suspend to debug)
[ 2356.295401] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 2356.296798] sd 0:0:0:0: [sda] Stopping disk
[ 2356.331139] pciehp 0000:00:1c.5:pcie04: pciehp_suspend ENTRY
[ 2356.331151] pciehp 0000:00:1c.3:pcie04: pciehp_suspend ENTRY
[ 2356.331153] pciehp 0000:00:1c.2:pcie04: pciehp_suspend ENTRY
[ 2356.331165] pciehp 0000:00:1c.1:pcie04: pciehp_suspend ENTRY
[ 2356.331167] pciehp 0000:00:1c.0:pcie04: pciehp_suspend ENTRY
[ 2356.582118] PM: suspend of devices complete after 287.799 msecs
[ 2356.582316] r8169 0000:08:00.0: wake-up capability enabled by ACPI
[ 2356.598100] xhci_hcd 0000:07:00.0: wake-up capability enabled by ACPI
[ 2356.630185] ehci_hcd 0000:00:1d.0: wake-up capability enabled by ACPI
[ 2356.646014] ehci_hcd 0000:00:1a.0: wake-up capability enabled by ACPI
[ 2356.661920] PM: late suspend of devices complete after 79.952 msecs
[ 2356.662082] ACPI: Preparing to enter system sleep state S3
[ 2357.112763] intel ips 0000:00:1f.6: MCP limit exceeded: Avg power 52845,
limit 35000
[ 2357.328440] PM: Saving platform NVS memory
[ 2357.329186] Disabling non-boot CPUs ...
[ 2357.431956] CPU 1 is now offline
[ 2357.535665] CPU 2 is now offline
[ 2357.639400] CPU 3 is now offline
[ 2357.639976] Extended CMOS year: 2000
[ 2357.640211] ACPI: Low-level resume complete
[ 2357.640275] PM: Restoring platform NVS memory
[ 2357.640734] Extended CMOS year: 2000
[ 2357.640781] Enabling non-boot CPUs ...
[ 2357.640938] Booting Node 0 Processor 1 APIC 0x4
[ 2357.640939] smpboot cpu 1: start_ip = 96000
[ 2357.651945] Calibrating delay loop (skipped) already calibrated this CPU
[ 2357.672244] NMI watchdog enabled, takes one hw-pmu counter.
[ 2357.751979] CPU1 is up
[ 2357.752677] Booting Node 0 Processor 2 APIC 0x1
[ 2357.752680] smpboot cpu 2: start_ip = 96000
[ 2357.763686] Calibrating delay loop (skipped) already calibrated this CPU
[ 2357.784130] NMI watchdog enabled, takes one hw-pmu counter.
[ 2357.855792] CPU2 is up
[ 2357.856366] Booting Node 0 Processor 3 APIC 0x5
[ 2357.856369] smpboot cpu 3: start_ip = 96000
[ 2357.867375] Calibrating delay loop (skipped) already calibrated this CPU
[ 2357.887893] NMI watchdog enabled, takes one hw-pmu counter.
[ 2357.959540] CPU3 is up
[ 2357.961967] ACPI: Waking up from system sleep state S3
[ 2358.550527] ehci_hcd 0000:00:1a.0: wake-up capability disabled by ACPI
[ 2358.551005] ehci_hcd 0000:00:1d.0: wake-up capability disabled by ACPI
[ 2358.565846] xhci_hcd 0000:07:00.0: Refused to change power state,
currently in D3
[ 2358.565927] xhci_hcd 0000:07:00.0: wake-up capability disabled by ACPI
[ 2358.581805] xhci_hcd 0000:07:00.0: Refused to change power state,
currently in D3
[ 2358.582039] PM: early resume of devices complete after 31.803 msecs
[ 2358.582128] i915 0000:00:02.0: setting latency timer to 64
[ 2358.582137] ehci_hcd 0000:00:1a.0: setting latency timer to 64
[ 2358.582169] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[ 2358.582217] snd_hda_intel 0000:00:1b.0: irq 50 for MSI/MSI-X
[ 2358.582227] pciehp 0000:00:1c.0:pcie04: pciehp_resume ENTRY
[ 2358.582242] pciehp 0000:00:1c.1:pcie04: pciehp_resume ENTRY
[ 2358.582252] pciehp 0000:00:1c.2:pcie04: pciehp_resume ENTRY
[ 2358.582265] pciehp 0000:00:1c.3:pcie04: pciehp_resume ENTRY
[ 2358.582274] pciehp 0000:00:1c.5:pcie04: pciehp_resume ENTRY
[ 2358.582287] ehci_hcd 0000:00:1d.0: setting latency timer to 64
[ 2358.582313] pci 0000:00:1e.0: setting latency timer to 64
[ 2358.582327] ahci 0000:00:1f.2: setting latency timer to 64
[ 2358.582457] r8169 0000:08:00.0: wake-up capability disabled by ACPI
[ 2358.583324] sd 0:0:0:0: [sda] Starting disk
[ 2358.599841] Extended CMOS year: 2000
[ 2358.599893] xhci_hcd 0000:07:00.0: Refused to change power state,
currently in D3
[ 2358.599913] xhci_hcd 0000:07:00.0: WARN: xHC restore state timeout
[ 2358.599915] xhci_hcd 0000:07:00.0: PCI post-resume error -110!
[ 2358.599918] xhci_hcd 0000:07:00.0: HC died; cleaning up
[ 2358.599921] xhci_hcd 0000:07:00.0: HC died; cleaning up
[ 2358.599928] pm_op(): pci_pm_resume+0x0/0x94 returns -110
[ 2358.599933] PM: Device 0000:07:00.0 failed to resume async: error -110
[ 2358.901019] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2358.901962] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK)
filtered out
[ 2358.902053] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES)
succeeded
[ 2358.902154] ata1.00: ACPI cmd ef/90:03:00:00:00:a0 (SET FEATURES)
succeeded
[ 2358.903054] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK)
filtered out
[ 2358.903121] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES)
succeeded
[ 2358.903184] ata1.00: ACPI cmd ef/90:03:00:00:00:a0 (SET FEATURES)
succeeded
[ 2358.903448] ata1.00: configured for UDMA/133
[ 2358.909010] ata6: SATA link down (SStatus 0 SControl 300)
[ 2359.156116] PM: resume of devices complete after 575.468 msecs
[ 2359.156359] PM: Finishing wakeup.
[ 2359.156361] Restarting tasks ... done.
[ 2359.161385] video LNXVIDEO:00: Restoring backlight state
[ 2359.161389] video LNXVIDEO:02: Restoring backlight state
[ 2359.865872] iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
[ 2359.929918] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2360.068110] r8169 0000:08:00.0: eth0: link down
[ 2360.068874] ADDRCONF(NETDEV_UP): eth0: link is not ready
? end of wake up?

what happened when I used modprobe -r xhci_hcd, modprobe xhci_hcd:
?
[ 7919.666602] xhci_hcd 0000:07:00.0: remove, state 4
[ 7919.666615] usb usb4: USB disconnect, device number 1
[ 7919.666726] xHCI xhci_drop_endpoint called for root hub
[ 7919.666730] xHCI xhci_check_bandwidth called for root hub
[ 7919.666914] xhci_hcd 0000:07:00.0: Host not halted after 16000
microseconds.
[ 7919.666924] xhci_hcd 0000:07:00.0: USB bus 4 deregistered
[ 7919.666938] xhci_hcd 0000:07:00.0: remove, state 4
[ 7919.666949] usb usb2: USB disconnect, device number 1
[ 7919.667049] xHCI xhci_drop_endpoint called for root hub
[ 7919.667054] xHCI xhci_check_bandwidth called for root hub
[ 7919.667286] xhci_hcd 0000:07:00.0: Host not halted after 16000
microseconds.
[ 7919.667332] xhci_hcd 0000:07:00.0: USB bus 2 deregistered
[ 7923.062028] xhci_hcd 0000:07:00.0: Refused to change power state,
currently in D3
[ 7923.062124] xhci_hcd 0000:07:00.0: xHCI Host Controller
[ 7923.062150] xhci_hcd 0000:07:00.0: new USB bus registered, assigned bus
number 2
[ 7923.062188] xhci_hcd 0000:07:00.0: Host not halted after 16000
microseconds.
[ 7923.062192] xhci_hcd 0000:07:00.0: can't setup
[ 7923.062199] xhci_hcd 0000:07:00.0: USB bus 2 deregistered
[ 7923.062264] xhci_hcd 0000:07:00.0: init 0000:07:00.0 fail, -19
?

Can you help me out?

Regards,
Tomasz Ciborski.

--
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