You are not logged in.

#1 2011-04-12 17:48:30

4e6
Member
From: Russia, Moscow
Registered: 2011-01-25
Posts: 4
Website

[SOLVED] 2.6.38 broke retaining usb power on suspend

I used an acpitool to avoid powering down usb ports of my ThinkPad laptop on suspend. I was discovered it from ubuntuforums thread and it worked fine until recent kernel upgrade to 2.6.38.
acpitool -w output doesn't changed.

$ acpitool -w
   Device    S-state      Status   Sysfs node
  ---------------------------------------
  1. LID       S3        *enabled   
  2. SLPB      S3        *enabled   
  3. IGBE      S4        *enabled   pci:0000:00:19.0
  4. EXP0      S4        *disabled  pci:0000:00:1c.0
  5. EXP1      S4        *disabled  pci:0000:00:1c.1
  6. EXP2      S4        *disabled  
  7. EXP3      S4        *disabled  pci:0000:00:1c.3
  8. EXP4      S4        *disabled  pci:0000:00:1c.4
  9. PCI1      S4        *disabled  pci:0000:00:1e.0
  10. USB0     S3        *enabled   pci:0000:00:1d.0
  11. USB3     S3        *enabled   pci:0000:00:1a.0
  12. USB5     S3        *enabled   pci:0000:00:1a.2
  13. EHC0     S3        *disabled  pci:0000:00:1d.7
  14. EHC1     S3        *disabled  pci:0000:00:1a.7
  15. HDEF     S4        *disabled  pci:0000:00:1b.0

How can I fix it?

Last edited by 4e6 (2011-07-04 10:38:12)

Offline

#2 2011-04-22 22:32:38

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [SOLVED] 2.6.38 broke retaining usb power on suspend

Sounds like a kernel bug. I would search for bugs upstream. If you can't find anything you could open a new bug (upstream). However, I would highly recommend doing a git bisect to figure out what commit broke this functionality.

This is a good guide on how to use git bisect to determine the bad commit: http://www.reactivated.net/weblog/archi … l-patches/


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2011-05-04 12:23:09

4e6
Member
From: Russia, Moscow
Registered: 2011-01-25
Posts: 4
Website

Re: [SOLVED] 2.6.38 broke retaining usb power on suspend

pyther, thanks for suggestion. I've build 2.6.37 kernel from git sources but nothing changed, so i think problem is not in kernel. Also I've played a bit with acpitool and found that usb stayes powered with EHC0 enabled but laptop wakes up when usb device connects/disconnects (but it is right behaviour, I think) and with EHC1 enabed it wakes up immediatly after suspend.

Offline

#4 2011-07-04 10:37:01

4e6
Member
From: Russia, Moscow
Registered: 2011-01-25
Posts: 4
Website

Re: [SOLVED] 2.6.38 broke retaining usb power on suspend

The problem is solved. Recently I've bought ssd and installed new system on it. From now everything works fine again.

Offline

Board footer

Powered by FluxBB