Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2013 08:39:22 +0700
From:      Erich Dollansky <erich@alogt.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Adrian Chadd <adrian@freebsd.org>, freebsd-current@freebsd.org, freebsd-acpi@freebsd.org
Subject:   Re: Fixing X220 Video The Right Way
Message-ID:  <20130228083922.31229fe0@X220.ovitrap.com>
In-Reply-To: <201302271527.37079.jhb@freebsd.org>
References:  <512A6FFF.2060603@gmail.com> <201302271200.22976.jhb@freebsd.org> <512E51FF.5010701@gmail.com> <201302271527.37079.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Wed, 27 Feb 2013 15:27:36 -0500
John Baldwin <jhb@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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



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