detection of unplugged cable

Oguz Yarimtepe comp.ogz at gmail.com
Thu Jul 3 00:58:59 EDT 2008


On Thu, Jul 3, 2008 at 7:33 AM, Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:
> On Wed, 2 Jul 2008 13:32:59 +0300, "Oguz Yarimtepe" <comp.ogz at gmail.com>
> declaimed the following in comp.lang.python:

>        I'd be willing to bet that S-video outputs do NOT have feed-back to
> the video driver as they only carry chroma and luminance signals. And
> what is DMI? a low-resolution HDMI or a typo for DVI?
>

It is a DVI output. sorry for the typo.

>        For those connectors that do carry feedback, it is no doubt
> something buried deep in the guts of the OS and video card drivers.
>
>        Also, consider that, for example, my monitor has four inputs: VGA,
> DVI, S-Video, and I believe plain old composite. I can have four devices
> (two computers, a dvd-player, and a VCR, say) and switch between them.
> What would your program do if the detected cable is not the one that is
> displayed at the time?
> --

It is a display switcher working in a simple way. I couldn't manage to
clone my dvi output, i had to switch of lvds and set the output to
dvi. When the cable is unplugged i planned to switch the lvds output
on.


-- 
Oğuz Yarımtepe


More information about the Python-list mailing list