[ltp] A20p (r128 mobility 3M) XF86 4.1 S/Video -> SCART TV success

Vivek linux-thinkpad@linux-thinkpad.org
Tue, 4 Feb 2003 19:34:30 +0000 (GMT)


On Tue, 4 Feb 2003, Tino Keitel wrote:

[snip]
> I had a similar problem with the Trident chip in my 765L. I patched the
> driver source to make it believe that the LCD is not active, because it
> will use fixed timings if it detects an active LCD and ignore all
> timing settings in the XF86Config file.

It's actually not too bad - it's almost all the way to the rather
nice result of the driver being able to autoconfigure itself on LCD:
The two minor problems being that a) it silently overwrites your mode,
leading to much headscratching and screaming in frustration and b)
the BIOS appears to _always_ say the clock should be 108MHz, which
gives a 60Hz pseudorefresh at 1400x1050, but generates ludicrously
high refresh rates for some of the lower res modes.

The way I've patched it notices you're on LCD and dumps out a list
of registered modes (with dotclocks massaged for 60Hz), which I reckon
is nice, because who wants to hack the timing parameters by hand anyway.

In fact, there's no reason why the ati family of drivers couldn't be
tweaked to provide automagic modeline self configuration on laptops,
triggered by a new device section option ( say "biosautoconf", for
example ). That would be very cool.