Ville Syrj�l� wrote:
>Are you sure it's actually reading the config file on the first run?
>

Well, now that you ask that, I'm not. But why shouldn't it read the
config file?

Does it run as the same user every time? If you're using /etc/directfbrc then the user shouldn't matter.

Yes, it runs as root. The first time, freevo is started by it's boot script (kind of service). Then, I ssh to that machine as root, stop the freevo service, and when starting it again from the ssh console, and /etc/directfbrc says "scart-rgb", I get switched RGB on my TV, and an stopping it again it also switches off. I think if I don't change the config setting, it behaves right every time I start/stop freevo this way. If I change the setting to something else, then the first run is not OK (i.e. if there was RGB before and now only composite, it still switches the first time, and the others subsequent runs are ok (no more switching).



You need to use the register dump program under Windows. Unfortunately it only works under Win9x. http://platan.vc.cvut.cz/~vana/maven/index.html


Note that I did some dumping myself at some point and those are the values used by DirectFB. I'm pretty sure that the values are correct so I'm not sure why the RGB_EN misbehaves. Maybe we're writing the registers in the wrong order...

I also think the values themselves are ok. Unfortunately I don't remember to still have left a usable Win9x partition on that htpc machine (just winxp), I'll have to check. But I'd rather not install a w9x if it's avoidable, I trust you ;-).



Do you know if there's some real the difference between composite and scart-composite?



I presume there is no difference on pin 4 of the HD-15 (http://dzeus.student.utwente.nl/g400/win2kfaq.html#scart_rgb), and I think on the original Matrox cable adaptor for composite and S-video, it's the same pin that is wired to the yellow composite plug. So there might be a difference on the other pins when setting "Composite or S-video" (I think this is the windows Powerdesk setting that actually corresponds to the the directfb matrox-cable=composite setting), to get S-video signal, but I can't test this as I don't have a S-video capable TV (no S-video mini-DIN, no S-video capable SCART wiring), but anyway, even so, the yellow composite plug from the original Matrox adapter always carries composite signal. It even might be that the sync signal in the RGB configuration actually carries composite, too, and the TV only uses sync out of that signal, when properly set into RGB mode.


Regards,
Lucian




Reply via email to