You are not logged in.

#1 2011-01-31 03:44:16

twa022
Member
Registered: 2008-04-28
Posts: 10

Change audio/video to HDMI output on cable insert/remove?

Is it possible to create a udev rule to automatically change the audio and video outputs to HDMI when it registers that the cable has been plugged in and switch back to internal audio/video when the cable is removed?

Offline

#2 2011-01-31 04:09:58

SolarShado
Member
Registered: 2011-01-24
Posts: 14

Re: Change audio/video to HDMI output on cable insert/remove?

If you're using nvidia drivers, you can use the nvidia-xconfig tool to add/remove displays without having to restart X11... Not automatic though. No idea if other drivers have some thing similar.

I don't think udev can make changes to the X server config, but something might be possible using evdev...

Offline

Board footer

Powered by FluxBB