BertoldVdb / ms-tools

Program, library and reference designs to develop for MacroSilicon MS2106/MS2109/MS2130 chips.
MIT License
117 stars 10 forks source link

MS2109: Detecting input signal #18

Open carrotIndustries opened 4 months ago

carrotIndustries commented 4 months ago

First of all a huge thanks for this project. Without it, my project USBKVM wouldn't have been possible in its current form.

On my board, I have an LED next to HDMI connector that should light up if there's an input signal. I've connected both of the MS2109's GPIOs to my MCU which in turn controls the LED.

By default, GPIO0 is active (low) when the UVC device is open which isn't all that useful for my application. Is there a way to patch the configuration/firmware in the EEPROM to get it to be active if there's an input signal?

I've tried reading the address mentioned in https://github.com/BertoldVdb/ms-tools/issues/7#issuecomment-1431494947 but for me, it only reads 1 briefly when plugging in an HDMI source.