PCI Express USB controller ASMedia Technology Inc. ASM1042 SuperSpeed USB makes my laptop freeze when suspending

Bug #1002697 reported by Ray-Ven
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Ming Lei

Bug Description

The device doesn't let me go into standby.
Neither modprobe acpiphp or modprobe pciehp pciehp_force=1 help

Maybe this is related to 913865

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xorg 1:7.6+12ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Tue May 22 09:18:45 2012
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
ProcEnviron:
 LANGUAGE=de_DE
 TERM=xterm
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ray-ven 2479 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf2520000 irq 50'
   Mixer name : 'Intel CougarPoint HDMI'
   Components : 'HDA:14f1506e,17aa21db,00100002 HDA:80862805,80860101,00100000'
   Controls : 27
   Simple ctrls : 9
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw unknown'
   Mixer name : 'ThinkPad EC (unknown)'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [off]
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=76417551-e2ed-4ba6-a5df-26af274acadb
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
MachineType: LENOVO 4298PQ1
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=de_DE
 TERM=xterm
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-24-generic root=/dev/mapper/vgubuntu-root ro kopt=root=/dev/mapper/vgubuntu-root
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-24-generic N/A
 linux-backports-modules-3.2.0-24-generic N/A
 linux-firmware 1.79
SourcePackage: linux
StagingDrivers: mei
Tags: precise staging precise staging
Uname: Linux 3.2.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
dmi.bios.date: 02/14/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET58WW (1.28 )
dmi.board.asset.tag: Not Available
dmi.board.name: 4298PQ1
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr8DET58WW(1.28):bd02/14/2012:svnLENOVO:pn4298PQ1:pvrThinkPadX220Tablet:rvnLENOVO:rn4298PQ1:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4298PQ1
dmi.product.version: ThinkPad X220 Tablet
dmi.sys.vendor: LENOVO
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ray-ven 2479 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf2520000 irq 50'
   Mixer name : 'Intel CougarPoint HDMI'
   Components : 'HDA:14f1506e,17aa21db,00100002 HDA:80862805,80860101,00100000'
   Controls : 27
   Simple ctrls : 9
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw unknown'
   Mixer name : 'ThinkPad EC (unknown)'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [off]
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=76417551-e2ed-4ba6-a5df-26af274acadb
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
MachineType: LENOVO 4298PQ1
Package: linux 3.2.0.24.26
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=de_DE
 TERM=xterm
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-24-generic root=/dev/mapper/vgubuntu-root ro kopt=root=/dev/mapper/vgubuntu-root
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-24-generic N/A
 linux-backports-modules-3.2.0-24-generic N/A
 linux-firmware 1.79
StagingDrivers: mei
Tags: precise staging
Uname: Linux 3.2.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
dmi.bios.date: 02/14/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET58WW (1.28 )
dmi.board.asset.tag: Not Available
dmi.board.name: 4298PQ1
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr8DET58WW(1.28):bd02/14/2012:svnLENOVO:pn4298PQ1:pvrThinkPadX220Tablet:rvnLENOVO:rn4298PQ1:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4298PQ1
dmi.product.version: ThinkPad X220 Tablet
dmi.sys.vendor: LENOVO

Revision history for this message
Ray-Ven (ray-ven) wrote :
Revision history for this message
Ray-Ven (ray-ven) wrote :

with modprobe acpiphp
the system doesn't freeze but won't go into suspend. Further Info attatched

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1002697

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Ming Lei (tom-leiming) wrote : Re: [Bug 1002697] Re: PCI Express USB controller ASMedia Technology Inc. ASM1042 SuperSpeed USB makes my laptop freeze when suspending

On Tue, May 22, 2012 at 3:26 PM, Ray-Ven <email address hidden> wrote:
> with modprobe acpiphp
> the system doesn't freeze but won't go into suspend. Further Info attatched
>
> ** Attachment added: "resume.log"
>   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1002697/+attachment/3157247/+files/resume.log

Could you try the upstream kernel in the below link to see if it can
fix your problem?

                http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-precise/

Thanks,
--
Ming Lei

Revision history for this message
Ray-Ven (ray-ven) wrote : AcpiTables.txt

apport information

tags: added: apport-collected staging
description: updated
Revision history for this message
Ray-Ven (ray-ven) wrote : AlsaDevices.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : AplayDevices.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : BootDmesg.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : CRDA.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : IwConfig.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : Lspci.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : Lsusb.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : PciMultimedia.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : ProcModules.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : PulseList.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : RfKill.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : UdevDb.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : UdevLog.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : WifiSyslog.txt

apport information

affects: linux (Ubuntu) → linux-meta (Ubuntu)
Revision history for this message
Ray-Ven (ray-ven) wrote :

had to change package - because otherwise apport complains about missing package

Revision history for this message
Ray-Ven (ray-ven) wrote :

changed again, because apport can't find package

affects: linux-meta (Ubuntu) → linux (Ubuntu)
affects: linux (Ubuntu) → linux-meta (Ubuntu)
affects: linux-meta (Ubuntu) → linux (Ubuntu)
description: updated
Revision history for this message
Ray-Ven (ray-ven) wrote : AcpiTables.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : AlsaDevices.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : AplayDevices.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : BootDmesg.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : CRDA.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : Dependencies.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : IwConfig.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : Lspci.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : Lsusb.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : PciMultimedia.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : ProcModules.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : PulseList.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : RfKill.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : UdevDb.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : UdevLog.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote : WifiSyslog.txt

apport information

Revision history for this message
Ray-Ven (ray-ven) wrote :

Problem persists with upstream/mainline kernel

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This issue appears to be an upstream bug, since you tested the latest upstream kernel. Would it be possible for you to open an upstream bug report at bugzilla.kernel.org [1]? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug.

If you are comfortable with opening a bug upstream, It would be great if you can report back the upstream bug number in this bug report. That will allow us to link this bug to the upstream report.

[1] https://wiki.ubuntu.com/Bugs/Upstream/kernel

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Ming Lei (tom-leiming) wrote : Re: [Bug 1002697] Re: PCI Express USB controller ASMedia Technology Inc. ASM1042 SuperSpeed USB makes my laptop freeze when suspending

Ray-ven,

Could you please test the 3.2.0-25 kernel image in the below link?

   http://kernel.ubuntu.com/~ming/bugs/1002697/

You also can see the applied patch suggested by upstream kernel guys.

Thanks,

Revision history for this message
Ray-Ven (ray-ven) wrote :

Great, 3.2.0-25 kernel image works!

What are the changes in this kernel?

Thanks for helping!
Ray

Revision history for this message
Ray-Ven (ray-ven) wrote :

3.2.0-25 kernel image

Changed in linux (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Ming Lei (tom-leiming) wrote :

Hi Ray,

On Mon, Jun 4, 2012 at 2:11 AM, Ray-Ven <email address hidden> wrote:
> Great, 3.2.0-25 kernel image works!

Ray, where is your 3.2.0-25 kernel image from? Is it from the link below?

     http://kernel.ubuntu.com/~ming/bugs/1002697/

Or you just run 'apt-get update&& apt-get upgrade' to upgrade to
the official 3.2.0-25?

>
> What are the changes in this kernel?

If you are using the image from the above link, you can find the
change in the below link:

http://kernel.ubuntu.com/~ming/bugs/1002697/CMD_CSS.patch

Thanks,

Changed in linux (Ubuntu):
status: Fix Committed → In Progress
Revision history for this message
Ray-Ven (ray-ven) wrote :

Sorry for being so unclear, I took the Image from http://kernel.ubuntu.com/~ming/bugs/1002697/
can't find 3.2.0-25 kernel in any repository I activated anyway.

What did the trick?

Revision history for this message
Ming Lei (tom-leiming) wrote :

On Mon, Jun 4, 2012 at 2:32 PM, Ray-Ven <email address hidden> wrote:
> Sorry for being so unclear, I took the Image from http://kernel.ubuntu.com/~ming/bugs/1002697/
> can't find 3.2.0-25 kernel in any repository I activated anyway.
>
> What did the trick?

Just applied the patch below from Andiry Xu.

http://kernel.ubuntu.com/~ming/bugs/1002697/CMD_CSS.patch

Thanks,

Revision history for this message
Ray-Ven (ray-ven) wrote :

thank you very very much!
Do you have any Idea when this patch will arrive in the official PPAs?

Revision history for this message
Ming Lei (tom-leiming) wrote :

On Mon, Jun 4, 2012 at 3:31 PM, Ray-Ven <email address hidden> wrote:
> thank you very very much!
> Do you have any Idea when this patch will arrive in the official PPAs?

The upstream kernel developer Adiry has submit a patch on usb mail list.

So I think it will reach upstream kernel soon, then I will submit it onto ubuntu
upstream kernel as SRU.

Thanks,

Changed in linux (Ubuntu):
assignee: nobody → Ming Lei (tom-leiming)
Ming Lei (tom-leiming)
Changed in linux (Ubuntu):
status: In Progress → Confirmed
Revision history for this message
Ray-Ven (ray-ven) wrote :

There's one thing I have to add:
I can go into standby or resume as often as I want - no problems with freezes, but the device only works after a restart - too bad. The device is shown via lspci though. Is a new bug necessary for that?

Thanks,
Ray

Revision history for this message
Ming Lei (tom-leiming) wrote :

On Fri, Jun 8, 2012 at 3:10 AM, Ray-Ven <email address hidden> wrote:
> There's one thing I have to add:
> I can go into standby or resume as often as I want - no problems with freezes, but the device only works after a restart - too bad. The device is shown via lspci though. Is a new bug necessary for that?

Looks it is a new one, but may be related, so could you post the 'dmesg' info
when you think it doesn't work?

Thanks,

Revision history for this message
Ray-Ven (ray-ven) wrote :

sure, here you go

Revision history for this message
Ray-Ven (ray-ven) wrote :
Revision history for this message
Ming Lei (tom-leiming) wrote :

Ray-Ven,

Thanks for your test and report.

There is still timeout failure during resume path, and I will build
kernel images
for your test later.

Thanks,

Revision history for this message
Ming Lei (tom-leiming) wrote :

Ray-ven,

Could you please test the kernel image in the below link which includes
patch to address the suspend and resume problem?

  http://kernel.ubuntu.com/~ming/bugs/1002697/v1

You also can see the applied patch below suggested by upstream kernel guys.

   http://kernel.ubuntu.com/~ming/bugs/1002697/v1/xhci_asm_pm_timeout.patch

Thanks,

Revision history for this message
Ray-Ven (ray-ven) wrote :

Hello Ming Lei,

just installed the new kernel (#65) - works like a charm!
Suspend works, pcie usb3 works after suspend!

Thank you for helping!!!!
I really appreciate it

Revision history for this message
Ming Lei (tom-leiming) wrote :

The patch has reach 3.5-rc3 and been marked as -stable.

Ming Lei (tom-leiming)
Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

Ray-Ven,
please try the latest kernel from precise-updates (3.2.0-27.43).

Ming Lei (tom-leiming)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Ray-Ven (ray-ven) wrote :

works with 3.2.0-27.43)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.