Ubuntu

Intel USB rate matching hub [8087:0020] prevents suspend / hibernate

Reported by Ákos Maróy on 2010-02-15
40
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned

Bug Description

my laptop won't suspend, and it seems this is caused by a USB device with the 8087:0020 failing to freeze. this is what I get in dmesg around suspension time:

[ 141.789394] Suspending console(s) (use no_console_suspend to debug)
[ 141.919956] pm_op(): usb_dev_freeze+0x0/0x10 returns -2
[ 141.919958] PM: Device usb2 failed to freeze: error -2
[ 142.176574] PM: restore of devices complete after 5.323 msecs
[ 142.176743] Restarting tasks ... done.
[ 142.177478] PM: Basic memory bitmaps freed

please see the complete dmesg attached

for lsusb:

$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f2:b16c Chicony Electronics Co., Ltd
Bus 001 Device 005: ID 03f0:231d Hewlett-Packard
Bus 001 Device 002: ID 8087:0020
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

usb2 seems to be an unrecognized devices. googling around for it suggests that its the following:

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

see here: http://osdir.com/ml/debian-bugs-dist/2010-02/msg01854.html

this is on an HP Envy 15 laptop, running 10.04 and kernel 2.6.33-r8, see additional files attached for more on the machine
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: maroy 1706 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd4200000 irq 22'
   Mixer name : 'IDT 92HD75B2X5'
   Components : 'HDA:111d7608,103c1522,00100202'
   Controls : 14
   Simple ctrls : 9
Card1.Amixer.info:
 Card hw:1 'Generic'/'HD-Audio Generic at 0xd4120000 irq 17'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=56703ec4-102c-4226-9c3c-3be75cd0402e
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
MachineType: Hewlett-Packard HP ENVY 15 Notebook PC
NonfreeKernelModules: fglrx
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=b5109d9b-01a7-4635-a9a5-1e4840b5d60c ro vga=798 quiet splash
ProcEnviron:
 LANGUAGE=en_GB:en
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
Tags: lucid suspend resume needs-upstream-testing
Uname: Linux 2.6.32-22-generic x86_64
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev sambashare tape video
dmi.bios.date: 12/27/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.17
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1522
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 36.2D
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.17:bd12/27/2009:svnHewlett-Packard:pnHPENVY15NotebookPC:pvr0491110000241910001430000:rvnHewlett-Packard:rn1522:rvr36.2D:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP ENVY 15 Notebook PC
dmi.product.version: 0491110000241910001430000
dmi.sys.vendor: Hewlett-Packard

Ákos Maróy (akos-maroy) wrote :
Ákos Maróy (akos-maroy) wrote :
Ákos Maróy (akos-maroy) wrote :
tags: added: suspend usb
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in linux.

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → linux (Ubuntu)
Ákos Maróy (akos-maroy) wrote :

I'm sorry about the improper reporting of the bug.

BTW, the same thing happens on the same hardware running 9.10, and kernel 2.6.32.8

tags: added: kernel-series-unknown
Pablo Vanwoerkom (guikubivan) wrote :

I was having this problem in Debian 64-bit due to my motherboard's support of usb 3.0 (module xhci). Suspend works when I remove the XHCI module (rmmod xhci). Hibernate I think also works ( I am having some issues but it's due to my swap setup I believe). I read somewhere to make the fix permanent, add the following to /etc/pm/config.d/00sleep_module (create the file if it doesn't exist):
SUSPEND_MODULES="xhci"

Works for me!

I think this bug is a duplicate or is related to #522998:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/522998

tags: added: kernel-suspend
tags: added: kernel-hibernate
tags: added: kj-triage
Jeremy Foshee (jeremyfoshee) wrote :

Hi Ákos,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 522263

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: New → Incomplete

apport information

tags: added: apport-collected
description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

According to the updated usb ids database, this device is a "integrated rate matching hub", whatever that means.

http://www.linux-usb.org/usb.ids

8087 Intel Corp.
 0020 Integrated Rate Matching Hub

I think it's part of the Intel 3400 chipset, which my T510 thinkpad has.

http://www.intel.com/products/server/chipsets/3400-3420/3400-3420-overview.htm

http://www.intel.com/Assets/PDF/datasheet/322169.pdf -- Section 5.19

"The hub operates like any USB 2.0 Discrete Hub and will consume one tier of hubs
allowed by the USB 2.0 Spec. section 4.1.1. A maximum of four additional non-root
hubs can be supported on any of the PCH USB Ports. The RMH will report the following
Vendor ID = 8087h and Product ID = 0020h."

This might be a dup of 522998. However, in my case, I don't have XHCI loaded and
see this bug in say 1 out of every 10 suspend cycles.

<03:38:11>~$ lspci -nn -k | grep -B1 hci_hcd
00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06)
        Kernel driver in use: ehci_hcd
--
00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06)
        Kernel driver in use: ehci_hcd

So this bug effects both xhci and ehci controllers, just to different degrees.

Since this is compiled into the kernel, the blacklist work around doesn't help here.

summary: - USB device 8087:0020 prevents suspend / hibernate
+ Intel USB rate limiting hub [8087:0020] prevents suspend / hibernate
summary: - Intel USB rate limiting hub [8087:0020] prevents suspend / hibernate
+ Intel USB rate matching hub [8087:0020] prevents suspend / hibernate
Joshua Fields (nothing0) wrote :

Upon kernel 2.6.32-24.38 I believe the suspend/resume problem has been cleared up. At least it has for my laptop (HP Envy 14). Can anyone else confirm this?

rbuick (robert-buick) wrote :

For kernel 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 05:14:15 UTC 2010 x86_64 GNU/Linux, suspend works but resume fails. Hibernate works fine. HP Envy 15 (early usb 2.0 model).

Ákos Maróy (akos-maroy) wrote :

rbuick, good for you. on my new HP Envy 15, with USB 3.0, suspend works, but hibernate doesn't. when sending to hibernate, I get a clear screen, with the _ cursor blinking in the top left for a while. then the screen is dimmed a little, and after that, nothing happens anymore.

the only thing that helps is a power cycle.

this is with 2.6.32-24-generic too..

rbuick (robert-buick) wrote :

after resume dmesg produces
[18446744072.741297] Synaptics Touchpad, model: 1, fw: 7.4, id: 0x1e0b1, caps: 0xd04771/0xe40000
[18446744072.741303] Synaptics: Clickpad mode enabled
[18446744072.814613] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input16
[ 0.950377] Synaptics Touchpad, model: 1, fw: 7.4, id: 0x1e0b1, caps: 0xd04771/0xe40000
[ 0.950383] Synaptics: Clickpad mode enabled
[ 1.026119] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input17
[ 3.348171] Xorg[3781]: segfault at 266000001d0 ip 00007fa4f23350f3 sp 00007fff3071b8b0 error 4 in synaptics_drv.so[7fa4f232f000+c000]

I reinstalled the xserver-xorg-input-synaptics, the touchpad then ceased to work.

suspend/resume worked once whereupon the touchpad started working again, but subsequent resumes produced similar dmesg output.

Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu development release http://cdimage.ubuntu.com/daily-live/current/ . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers