Skip to contentSkip to conversation

Need to add a quirk to xserver-xorg-video-intel

DISCUSSION Gabriel M. Beddingfield 2 participants 4 messages Jul 21, 2010 – Jul 22, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

I'm needing to add a quirk to xf86-video-intel. It looks like I can get the first two columns from lspci (chipType, subsysVendor == [VEND:CHIP])...

But I can't figure out how to get the number for subsysCard. (But I gather that I need to interpret dmidecode for this part.)

Thanks in advance!

-gabriel

#1 lore raw

On Wed, Jul 21, 2010 at 1:26 PM, Gabriel M. Beddingfield >

Quoted 5 lines

I'm needing to add a quirk to xf86-video-intel.  It looks like I can get the first two columns from lspci (chipType, subsysVendor == [VEND:CHIP])...

But I can't figure out how to get the number for subsysCard. (But I gather that I need to interpret dmidecode for this part.)

Duh, I overlooked the answer here:

    $ lspci -vvnn | grep -A1 "VGA compat"
    00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile
4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
           Subsystem: Micro-Star International Co., Ltd. Device [1462:1021]

So, looks like my row will be:

    {PCI_CHIP_GM45_GM, 0x1462, 0x1021, quirk_ignore_tv}

Thanks,
Gabriel

#2 lore raw
In reply to Gabriel M. Beddingfield
Quoted 3 lines · Gabriel M. Beddingfield

I'm needing to add a quirk to xf86-video-intel. It looks like I can get the first two columns from lspci (chipType, subsysVendor == [VEND:CHIP])...

I have to ask: why do you need a quirk in the userspace code? Mode setting and output detection is now done in the kernel and it may just be that the TV detection code is inadequate for your setup. Please do file a bug with the details of the problem and the workaround you have found.

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
#3 lore raw

Hi Chris,

Quoted 9 lines · Chris Wilson
Quoted 3 lines · Gabriel M. Beddingfield

I'm needing to add a quirk to xf86-video-intel. It looks like I can get the first two columns from lspci (chipType, subsysVendor == [VEND:CHIP])...

I have to ask: why do you need a quirk in the userspace code? Mode setting and output detection is now done in the kernel and it may just be that the TV detection code is inadequate for your setup. Please do file a bug with the details of the problem and the workaround you have found.

I'm forced to use some older stuff:

    2.6.31 kernel
    2.9.1 xf86-video-intel

The newer KMS drivers break some things on my old system.

Meanwhile, I have a couple of machines that will always report "Output TV connected" when doing a soft reboot -- whether there's a cable connected or not. This messes up the desktop resolution.

Let me know if you have a better solution.

-gabriel