[Openchrome-devel] Fix modeline list generation for tv outputs

Harry de Boer harry at ijscoboer.nl
Sun Dec 23 19:39:23 PST 2012


On 21-12-12 10:41, Xavier Bachelot wrote:
> So I stopped hunting for the 10 meters svideo cable and instead moved
> the box near the TV. And as I was moving the box and pulling cables all
> over the living room, I thought testing for just Svideo was good but
> testing for composite and component too was better ;-)
>
> All of the outputs are properly detected. I tested Composite, SVideo and
> YCbCr.
> I had to force the TVMode to PAL (the bios is probably set to NTSC) and
> to force the standard 720x576 PAL mode rather than the default 1024x768
> to actually get something on the screen. I haven't tried any other mode.

Same here, I have some idea of what is going wrong but I don't know how 
to solve it yet. Also debugging xorg is giving me a hard time, what is 
the best way to get some help with that, irc?
> When started with all of the 3 outputs connected (composite, svideo,
> component, which is probably not a supported setup, the driver is
> detecting an RGB output.

I haven't touched VT1625DACSense (the function calling 
VT1625DACSenseI2C) yet, but irrc it never reports more than one 
connected output. On the S-variant you probably can't have component and 
s-video at the same time, on the normal vt1625 that setup shouldn't be a 
problem. Also the hardware can do some autocorrection, e.g. rewire dacs 
to different connectors when they change (on by default). Ideally the 
wiring bits should be read too, atm defaults are assumed.
> I'd say your patches are good to go, unless you have some revised
> version that needs to be tested. 2 minor things to fix, there is a white
> space at the end of the line 32 in 0001-Fix-VT1625-output-sensing.patch,
> and output->possible_crtcs should be set to 0x03 in
> 0003-There-is-a-possible-crtc-for-TV-1.patch.

Patches updated as you asked, they can be committed as far as I'm concerned.
> I also noticed a weird behaviour : if I start X with say Svideo
> connected, it's properly detected and I get a nice login screen. Now, if
> I disconnect svideo and instead plug in composite or component, I still
> get a picture. I guess the DACs that are not in use are never turned off.

Correct, all dacs are on, or all are off. Should also be easy to improve 
but I first want to get the basics to work before I do some polishing.
> Regards,
> Xavier
>
>
>
> _______________________________________________
> Openchrome-devel mailing list
> Openchrome-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/openchrome-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-VT1625-output-sensing.patch
Type: text/x-patch
Size: 2635 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/openchrome-devel/attachments/20121224/52520233/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-VT1625-register-count-is-0x82.patch
Type: text/x-patch
Size: 766 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/openchrome-devel/attachments/20121224/52520233/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Set-possible_crtcs-to-allow-tv-outputs-to-be-connect.patch
Type: text/x-patch
Size: 1497 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/openchrome-devel/attachments/20121224/52520233/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Return-valid-DisplayModePtr-list-for-tv-outputs.patch
Type: text/x-patch
Size: 8192 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/openchrome-devel/attachments/20121224/52520233/attachment-0003.bin>


More information about the Openchrome-devel mailing list