Re: Fixing X220 Video The Right Way

From: Erich Dollansky <erich_at_alogt.com>
Date: Thu, 28 Feb 2013 08:39:22 +0700
Hi,

On Wed, 27 Feb 2013 15:27:36 -0500
John Baldwin <jhb_at_freebsd.org> wrote:

> 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
> 
> the X220 have a switchable GPU (e.g. it has built-in Intel graphics,

it has.

> but also has an Nvidia GPU or some such?).  If so, I imagine that

No, it does not.

> 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.
> 
Erich

PS

Here is the output:

hostb0_at_pci0:0:0:0:	class=0x060000 card=0x21da17aa
chip=0x01048086 rev=0x09 hdr=0x00 vendor     = 'Intel Corporation'
    device     = '2nd Generation Core Processor Family DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
    cap 09[e0] = vendor (length 12) Intel cap 0 version 1
vgapci0_at_pci0:0:2:0:	class=0x030000 card=0x21da17aa
chip=0x01268086 rev=0x09 hdr=0x00 vendor     = 'Intel Corporation'
    device     = '2nd Generation Core Processor Family Integrated
Graphics Controller' class      = display
    subclass   = VGA
    cap 05[90] = MSI supports 1 message enabled with 1 message
    cap 01[d0] = powerspec 2  supports D0 D3  current D0
    cap 13[a4] = PCI Advanced Features: FLR TP
none0_at_pci0:0:22:0:	class=0x078000 card=0x21da17aa
chip=0x1c3a8086 rev=0x04 hdr=0x00 vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family MEI Controller'
    class      = simple comms
    cap 01[50] = powerspec 3  supports D0 D3  current D0
    cap 05[8c] = MSI supports 1 message, 64 bit 
uart2_at_pci0:0:22:3:	class=0x070002 card=0x21da17aa
chip=0x1c3d8086 rev=0x04 hdr=0x00 vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family KT Controller'
    class      = simple comms
    subclass   = UART
    cap 01[c8] = powerspec 3  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit 
em0_at_pci0:0:25:0:	class=0x020000 card=0x21ce17aa chip=0x15028086
rev=0x04 hdr=0x00 vendor     = 'Intel Corporation'
    device     = '82579LM Gigabit Network Connection'
    class      = network
    subclass   = ethernet
    cap 01[c8] = powerspec 2  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
    cap 13[e0] = PCI Advanced Features: FLR TP
ehci0_at_pci0:0:26:0:	class=0x0c0320 card=0x21da17aa
chip=0x1c2d8086 rev=0x04 hdr=0x00 vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family USB Enhanced Host
Controller' class      = serial bus
    subclass   = USB
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14
    cap 13[98] = PCI Advanced Features: FLR TP
hdac0_at_pci0:0:27:0:	class=0x040300 card=0x21da17aa
chip=0x1c208086 rev=0x04 hdr=0x00 vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family High Definition
Audio Controller' class      = multimedia
    subclass   = HDA
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 05[60] = MSI supports 1 message, 64 bit enabled with 1 message
    cap 10[70] = PCI-Express 1 root endpoint max data 128(128) FLR link
x0(x0) ecap 0002[100] = VC 1 max VC1
    ecap 0005[130] = Root Complex Link Declaration 1
pcib1_at_pci0:0:28:0:	class=0x060400 card=0x21da17aa
chip=0x1c108086 rev=0xb4 hdr=0x01 vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root
Port 1' class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 2 root port slot max data 128(128) link
x0(x1) speed 0.0(5.0)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x21da17aa
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
pcib2_at_pci0:0:28:1:	class=0x060400 card=0x21da17aa
chip=0x1c128086 rev=0xb4 hdr=0x01 vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root
Port 2' class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 2 root port slot max data 128(128) link
x1(x1) speed 2.5(5.0)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x21da17aa
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
pcib3_at_pci0:0:28:3:	class=0x060400 card=0x21da17aa
chip=0x1c168086 rev=0xb4 hdr=0x01 vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root
Port 4' class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 2 root port slot max data 128(128) link
x0(x1) speed 0.0(5.0)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x21da17aa
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
pcib4_at_pci0:0:28:4:	class=0x060400 card=0x21da17aa
chip=0x1c188086 rev=0xb4 hdr=0x01 vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root
Port 5' class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 2 root port slot max data 128(128) link
x1(x1) speed 2.5(5.0)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x21da17aa
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
pcib5_at_pci0:0:28:6:	class=0x060400 card=0x21da17aa
chip=0x1c1c8086 rev=0xb4 hdr=0x01 vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root
Port 7' class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 2 root port slot max data 128(128) link
x1(x1) speed 5.0(5.0)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x21da17aa
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
ehci1_at_pci0:0:29:0:	class=0x0c0320 card=0x21da17aa
chip=0x1c268086 rev=0x04 hdr=0x00 vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family USB Enhanced Host
Controller' class      = serial bus
    subclass   = USB
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14
    cap 13[98] = PCI Advanced Features: FLR TP
isab0_at_pci0:0:31:0:	class=0x060100 card=0x21da17aa
chip=0x1c4f8086 rev=0x04 hdr=0x00 vendor     = 'Intel Corporation'
    device     = 'QM67 Express Chipset Family LPC Controller'
    class      = bridge
    subclass   = PCI-ISA
    cap 09[e0] = vendor (length 12) Intel cap 1 version 0
		 features: AMT, 4 PCI-e x1 slots
ahci0_at_pci0:0:31:2:	class=0x010601 card=0x21da17aa
chip=0x1c038086 rev=0x04 hdr=0x00 vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family 6 port SATA AHCI
Controller' class      = mass storage
    subclass   = SATA
    cap 05[80] = MSI supports 1 message enabled with 1 message
    cap 01[70] = powerspec 3  supports D0 D3  current D0
    cap 12[a8] = SATA Index-Data Pair
    cap 13[b0] = PCI Advanced Features: FLR TP
none1_at_pci0:0:31:3:	class=0x0c0500 card=0x21da17aa
chip=0x1c228086 rev=0x04 hdr=0x00 vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family SMBus Controller'
    class      = serial bus
    subclass   = SMBus
iwn0_at_pci0:3:0:0:	class=0x028000 card=0x13118086 chip=0x00858086
rev=0x34 hdr=0x00 vendor     = 'Intel Corporation'
    device     = 'Centrino Advanced-N 6205 [Taylor Peak]'
    class      = network
    cap 01[c8] = powerspec 3  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
    cap 10[e0] = PCI-Express 1 endpoint max data 128(128) FLR link
x1(x1) speed 2.5(2.5)
    ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
    ecap 0003[140] = Serial 1 100ba9ffffa36ef0
sdhci_pci0_at_pci0:13:0:0:	class=0x088001 card=0x21da17aa
chip=0xe8231180 rev=0x04 hdr=0x00 vendor     = 'Ricoh Co Ltd'
    device     = 'PCIe SDXC/MMC Host Controller'
    class      = base peripheral
    cap 05[50] = MSI supports 1 message, 64 bit 
    cap 01[78] = powerspec 3  supports D0 D1 D2 D3  current D0
    cap 10[80] = PCI-Express 1 endpoint max data 128(128) link x1(x1)
                 speed 2.5(2.5)
    ecap 0002[100] = VC 1 max VC0
    ecap 0001[800] = AER 1 0 fatal 0 non-fatal 4 corrected
xhci0_at_pci0:14:0:0:	class=0x0c0330 card=0x21da17aa
chip=0x01941033 rev=0x04 hdr=0x00 vendor     = 'NEC Corporation'
    device     = 'uPD720200 USB 3.0 Host Controller'
    class      = serial bus
    subclass   = USB
    cap 01[50] = powerspec 3  supports D0 D3  current D0
    cap 05[70] = MSI supports 8 messages, 64 bit 
    cap 11[90] = MSI-X supports 8 messages in map 0x10
    cap 10[a0] = PCI-Express 2 endpoint max data 128(128) link x1(x1)
                 speed 5.0(5.0)
    ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
    ecap 0003[140] = Serial 1 ffffffffffffffff
    ecap 0018[150] = LTR 1
Received on Thu Feb 28 2013 - 01:07:12 UTC

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