Hi valued community,
I have successfully installed Raspbmc onto the pi. Everything is fine beside one really annoying issue:
I have two hdmi devices that I want to provide with a video output form xbmc. A DVI computer monitor with a resulution of 1680x1050. And a full hd beamer 1920x1080.
When I attach either ot the devices and boot up, it is recognized correctly. The problem is when I try to switch while xbmc is running to the other device. Pi is not recognizing the new device and leaves the output unchanged. To come around that issue I did the following:
I created two scripts to set the resolution:
set1050.sh:
#!/bin/sh
if tvservice -m DMT |grep -q "mode 57"; then
sudo tvservice -e "DMT 57"
sudo initctl restart xbmc
fi
set1080.sh:
#!/bin/sh
if tvservice -m CAE |grep -q "mode 16"; then
sudo tvservice -e "CEA 16"
sudo initctl restart xbmc
fi
Those scripts do "work" but it is not very user friendly.
My question is whether there is a way to initiate a fresh autonegotiation and then restarte xbmc?
Can someone please have a look at that?
Kind Regards,
Marco