Suspend and resume on Dell E6520

Ian Smith smithi at nimnet.asn.au
Wed Nov 9 07:29:37 UTC 2011


On Thu, 3 Nov 2011, Gavin Atkinson wrote:
 > On Thu, 2011-11-03 at 15:54 +1100, Ian Smith wrote:
 > > On Tue, 1 Nov 2011, Sebastian Chmielewski wrote:
 > >  > On Tue, 01 Nov 2011 13:53:52 +0000
 > >  > Gavin Atkinson <gavin at FreeBSD.org> wrote:
 > >  > 
 > >  > > Can I confirm that you have tried suspend/resume without any of the USB
 > >  > > code loaded?
 > >  > > 
 > >  > > If you set sysctl debug.acpi.resume_beep=1 before suspend, do you hear a
 > >  > > beep on resume?
 > >  > >
 > >  > >
 > >  > I have 
 > >  > kldunload {uhci,ohci,ehci} in rc.suspend.
 > >  > kldload {uhci,ohci,ehci} in rc.resume.
 > > 
 > > Just checking: this is with a kernel built without uhci, ohci and ehci?
 > > 
 > >  > There is no beep on resume but beep maybe simulated through soudcard? (It's a
 > >  > laptop).
 > > 
 > > The beep is generated by programming the good old-fashioned timer chip; 
 > > if the laptop normally beeps on boot or error it should beep on resume. 
 > > With this, my Thinkpad T23 (piercingly) beeped for a full 60 seconds on 
 > > resume for months, until learning it was (here) uhci causing that hang.
 > > 
 > > (I've been vaguely hoping this might be fixed before 9.0-RELEASE ..)
 > 
 > Me too.  So far, it's not even clear what the right solution is.
 > 
 > I assume you've found my hack-fix for this at
 > http://markmail.org/thread/kqmwwbjsmf3ps7u4 ?

I looked at that, and was thinking of trying it when I started testing a 
Cardbus USB 2.0 card requiring ohci and ehci too, so I've just stuck 
with unloading/reloading those three modules in rc.{suspend,resume}, 
which works around it, though it's messy and you lose mounts of course.
 
I also saw somebody mention that this may apply to xhci (USB 3?) as 
well, so figured 'someone' might be working on the general solution, 
based on your discoveries.  Not so?

I've been away more than around lately, or I'd be more involved in 
testing 9.0 betas .. as is I've not yet found time to install RC1.

cheers, Ian


More information about the freebsd-acpi mailing list