Bug 23192

Summary: need to disable USB LPM on new macbook air
Product: Drivers Reporter: Brian Tarricone (bjt23)
Component: USBAssignee: Greg Kroah-Hartman (greg)
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg output during failure
patch to disable LPM on nvidia MCP89

Description Brian Tarricone 2010-11-18 10:44:44 UTC
Created attachment 37412 [details]
dmesg output during failure

I'm getting USB protocol errors when attaching devices (in my case USB flash drives and CDC ethernet devices).  I found that kernel .34 was working, but .37-rc2 was not.  Bisected to find that the commit that added LPM support (48f24970144479c29b8cee6d2e1dbedf6dcf9cfb) was at fault, so I disabled LPM and that did the trick.  Not sure if there's a better way to fix this than to just disable LPM outright; if you have any ideas to try I'd be happy to give it a look.  I'll attach dmesg log and the patch.
Comment 1 Brian Tarricone 2010-11-18 10:45:23 UTC
Created attachment 37422 [details]
patch to disable LPM on nvidia MCP89
Comment 2 Brian Tarricone 2010-11-18 10:53:56 UTC
Argh, it looks like my bugzilla search skills failed; #21182 seems to have beaten me to the punch.  Though the patch there looks incorrect: it disables LPM for the OHCI controller's PCI id (0x0d9c) and not the EHCI controller (0x0d9d).
Comment 3 Brian Tarricone 2010-11-20 09:50:43 UTC

*** This bug has been marked as a duplicate of bug 21182 ***