Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: J.C. Roberts (jcrdesigntools.org)
Date: Wed Aug 11 2010 - 17:26:01 CDT
On Thu, 12 Aug 2010 00:08:57 +0200 David Coppa <dcoppagmail.com> wrote:
> On Wed, 11 Aug 2010, Mark Kettenis wrote:
> > > Date: Tue, 10 Aug 2010 23:15:32 +0200
> > > From: Mike Belopuhov <mkbcrypt.org.ru>
> > >
> > > Hi,
> > >
> > > I have a Thinkpad X41 which doesn't do ACPI suspend properly
> > > (it immediately wakes up after 'zzz'). So I wonder if anyone
> > > can give me hints what to look at, or if someone is willing
> > > to take a closer look at acpidump? I won't mind doing some
> > > debugging myself, but at the moment I'm clueless what to start
> > > looking at. As I said it tries to suspend, blinks the "moon",
> > > then it comes back as if something woke it up. I wasn't
> > > running X while doing that test.
> > Might be worth trying the attached diff. Fixes a similar issue on
> > my old Dell laptop.
> Unfortunately, it shows the same behavior also with this patch
> applied: it immediately wakes up after zzz.
> OpenBSD 4.8 (GENERIC) #134: Mon Aug 9 11:58:12 MDT 2010
> cbb0 at pci2 dev 0
> function 0 "Ricoh 5C476 CardBus" rev 0x8d: apic 1 int 16 (irq 11)
David and Mike,
The immediate resume is potentially caused by the Ricoh cardbus slot. I
have a PCI card here with similar chip, and when the PCI card is
installed in the desktop, it resumes immediately. Without the PCI card,
suspend/resume works perfectly.
cbb0 at pci1 dev 12 function 0 "Ricoh 5C475 CardBus" rev 0x81: apic 1
int 20 (irq 11)
CardBus/PCMCIA is a known issue for suspend/resume. Since no one
provided ketennis with the needed ACPI/CardBus laptop he asked for, he
has no way to resolve this.
I am sending one of these PCI cards to kettenis, but an actual laptop
might still be helpful. Ask him.
Note: I doubt disabling cardbus/pcmcia/cbb in the kernel will fix the
suspend/resume issue. I haven't tried it and the card is now packaged
up for shipping.
The OpenBSD Journal - http://www.undeadly.org