Re: Fixing X220 Video The Right Way

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 27 Feb 2013 15:27:36 -0500
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
Received on Wed Feb 27 2013 - 21:08:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:35 UTC