Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2013 15:27:36 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        matt <sendtomatt@gmail.com>
Cc:        Adrian Chadd <adrian@freebsd.org>, freebsd-current@freebsd.org, freebsd-acpi@freebsd.org
Subject:   Re: Fixing X220 Video The Right Way
Message-ID:  <201302271527.37079.jhb@freebsd.org>
In-Reply-To: <512E51FF.5010701@gmail.com>
References:  <512A6FFF.2060603@gmail.com> <201302271200.22976.jhb@freebsd.org> <512E51FF.5010701@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, February 27, 2013 1:35:43 pm matt wrote:
> On 02/27/13 09:00, John Baldwin wrote:
> > If that is true, it's because your BIOS is lying. Do you have a URL to
> > your ASL lying around already? 
> Too big for pastebin :( +500k
> 
> https://docs.google.com/file/d/0B6YlMzJxarGbVnotLUdNWWNTVG8/edit?usp=sharing

Here is where I find _DOD and _DOS methods:

        Device (PCI0)
            Device (VID)
                Name (_ADR, 0x00020000)  // _ADR: Address
                Method (_DOS, 1, NotSerialized)  // _DOS: Disable Output Switching
                Method (_DOD, 0, NotSerialized)  // _DOD: Display Output Devices
            Device (PEG)
                Name (_ADR, 0x00010000)  // _ADR: Address
                Device (VID)
                    Name (_ADR, 0x00)  // _ADR: Address
                    Method (_DOS, 1, NotSerialized)  // _DOS: Disable Output Switching
                    Method (_DOD, 0, NotSerialized)  // _DOD: Display Output Devices

PCI0.VID is a PCI device at pci0:0:2:0.
PCI0.PEG would be a PCI-PCI bridge at pci0:0:1:0.
It would have a child device at 0:0 that would be PCI0.PEG.VID.  Does the X220
have a switchable GPU (e.g. it has built-in Intel graphics, but also has an
Nvidia GPU or some such?).  If so, I imagine that PCI0.VID is the Intel graphics
and PEG is the non-Intel.  The output of 'pciconf -lcv' would be useful to determine
that.  If both PCI devices exist you shoudl have both acpi_video0 and acpi_video1.
However, it may be that the acpi_video driver doesn't cope well with having multiple
devices.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302271527.37079.jhb>