[ltp] Re: Video switching on the text console (X200s)

Elias Oltmanns linux-thinkpad@linux-thinkpad.org
Thu, 21 Jan 2010 22:34:24 +0100


Yves-Alexis Perez <corsac@debian.org> wrote:
> On 21/01/2010 17:12, Elias Oltmanns wrote:
[...]
>> Still, here is what I can tell you:
>> 
>> root@denkblock:~# grep KMS /boot/config-2.6.31.9
>> CONFIG_DRM_I915_KMS=y
>> root@denkblock:~# cat /sys/module/i915/parameters/modeset
>> -1
>> root@denkblock:~#
>> 
>> Do I have to recompile with CONFIG_DRM_I915_KMSCONFIG_DRM_I915_KMS
>> disabled? If you think it is relevant and if you have one or two links
>> start from, I can do some reading up on KMS.
>
> I think you don't use it. Could you paste your /proc/fb?
>
> Here (with KMS on) it returns:
> cat /proc/fb
> 0 inteldrmfb

Same here.

Now, the thing that keeps bothering me is that there is only one entry
in /sys/class/video_output. So, I went back to check dmesg for some
hints and found this:

[    3.415405] i915 0000:00:02.0: power state changed by ACPI to D0
[    3.415465] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    3.415519] i915 0000:00:02.0: setting latency timer to 64
[    3.418908]   alloc irq_desc for 29 on node -1
[    3.418912]   alloc kstat_irqs on node -1
[    3.418921] i915 0000:00:02.0: irq 29 for MSI/MSI-X
[    3.689023] [drm:intel_dp_i2c_init] *ERROR* i2c_init DPDDC-B
[    3.862948] [drm:intel_dp_i2c_init] *ERROR* i2c_init DPDDC-C
[    3.868044] [drm:intel_dp_i2c_init] *ERROR* i2c_init DPDDC-D
[    4.136107] i2c-adapter i2c-2: unable to read EDID block.
[    4.136173] i915 0000:00:02.0: DVI-D-1: no EDID data
[    4.143134] i2c-adapter i2c-4: unable to read EDID block.
[    4.143183] i915 0000:00:02.0: DVI-D-2: no EDID data
[    4.153269] [drm] fb0: inteldrmfb frame buffer device
[    4.162245] acpi device:03: registered as cooling_device2
[    4.162504] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/input/input4
[    4.162596] ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
[    4.162691] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[    4.505794] [drm] LVDS-8: set mode 1280x800 c
[    4.738123] Console: switching to colour frame buffer device 160x50

Those i2c related errors strike me as rather odd. What you by any chance
know something about them?

Regards,

Elias