News for hackers. Stuff that matters.

byt3swap

Re:Why adults still dream about school on Friday September 23, 2022 @12:22AM (#32948032)
These are the dreams that I have all the time as well. Usually the set up is: I dropped a class but it didn't go through in the system, I go all semester not attending said class thinking that I had dropped it, but then the last week of the semester comes and I realize that I am failing the class from missed assignments and tests, and the only way out is to ace a final I know nothing about so I can scrape by with a C.
Re:HDMI Firewall on Thursday June 23, 2022 @02:15PM (#31853093)
I definitely will!
Re:HDMI Firewall on Tuesday June 21, 2022 @07:56PM (#31830502)
I wouldn't mind if there was a bit more there. There is only the beginnings of the library (headers w/ DDC register map, function prototypes, etc), and I was still in the process of figuring out the architecture of the thing when I ran out of time to work on it. That being said I would be more than happy to get back to you if I am indeed able to get some more of the groundwork done on it next month as my schedule frees up.

I maybe could have been clearer on this, but the DDC dongle I made isn't using this library, just hardcoded i2c calls for input switching. I started working on the library to eventually integrate with that dongle, but I'm still using the 'hacky' firmware on the dongles hooked to my monitors.

Re:HDMI Firewall on Tuesday June 21, 2022 @06:53PM (#31830027)
I have a repo for the switch firmware, which has some pics and other details. Keep in mind though that was pretty quick and dirty, and I think there is a fix for the secondary switch that I still need to push. I should hopefully have some free time to get back to it soon though.

The HDMI dongle repo is still private, and I really want to do some cleanup before making it public. But, as for parts, I just used a breakout off amazon, and some cheap perfboard to make a hat containing the ESP32.

USB Switch Repo: https://github.com/byt3swap/mqtt_usb_switch

HDMI Breakout: https://www.amazon.com/gp/product/B075Q83W5F

Re:HDMI Firewall on Tuesday June 21, 2022 @06:44PM (#31829952)
My own implementation. I actually started writing a more full featured DDC library with things like capability scanning on the roadmap. I should have some time next month to potentially get back to it.

A lot of what was available seemed to be Arduino based with Arduino specific calls in the libraries. I'm using standard ESP32 libs/build system and am trying to keep this one generic.

Re:HDMI Firewall on Tuesday June 21, 2022 @05:52PM (#31829521)
I also started working on something similar a while back, unfortunately got sidetracked with other things before I got many of the features (color adjustment, contrast, etc) implemented.

Both of the monitors on my desk have ESP32 based HDMI dongles plugged into a spare HDMI port. I have 2 USB 3.0 switches that have been retrofitted with ESP32s as well, one for my keyboard and mouse, and one for a hub on my desk. A short press of the button on the switch on my desk will switch my keyboard/mouse between my desktop and a thunderbolt 4 dock, which will then trigger both of the monitors to switch the the inputs that are also connected to the dock. A long press of the button will do the same, but will also switch the secondary hub over (speakers, mic, webcam, and a few free ports for flash drives and the like).

I was looking for an alternative option to an expensive KVM that would do the job I needed. As a 'poor man's KVM' it works pretty well, though I do hope to flesh out the rest of DDC/CI to get some of these other features implemented as well.