Re: Thinkpad T410: resume broken

John Baldwin <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On Thursday, February 18, 2016 10:56:29 PM Alexey Dokuchaev wrote:
> On Thu, Feb 18, 2016 at 06:55:03AM -0800, John Baldwin wrote:
> > On Thursday, February 18, 2016 08:37:38 PM Alexey Dokuchaev wrote:
> > > I've started to observe similar lines in the logs after updating to
> > > fresh -CURRENT, upon resume (on a different laptop though, not T410):
> > > 
> > >   pcib0: failed to set ACPI power state D2 on \_SB_.PCI0: AE_BAD_PARAMETER
> > >   acpi0: cleared fixed power button status
> > > 
> > > If these messages are legit, I'm wondering why I didn't see them on 8.4,
> > > and if it might affect suspend/resume sequence (broken right now)?
> > 
> > [...] Your BIOS said "please put this device in D2 during suspend" and your
> > device's capabilities said "I don't support D2".  You can confirm this by
> > looking up the _S3 method of your _SB_.PCIO device to find out what state is
> > requested during suspend and then looking at 'pciconf -lc pci0:0:0' to see
> > what D states are listed as supported.
> 
> This?:
> 
>     Scope (\_SB)
>     {
>         Name (ECOK, 0x00)
>         Device (PCI0)
>         {
>             Method (_S3D, 0, NotSerialized)  // _S3D: S3 Device State
>             {
>                 Return (0x02)
>             }
>     ...

Yes, this says "please use D2 when going to S3".

> # pciconf -lc pci0:0:0
> hostb0@pci0:0:0:0:      class=0x060000 card=0x83191033 chip=0x25908086 rev=0x04 hdr=0x00
>     cap 09[e0] = vendor (length 9) Intel cap 2 version 1

Humm, perhaps PCI0 is not at 0:0.  Can you find the _ADR method for _SB_.PCI0?
That contains the "slot" and "function" as two words, e.g. 0x10002 would
correspond to the 'pci0:1:2' device (or possibly pci0:2:1, don't recall the
order off the top of my head).

-- 
John Baldwin
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.