Resolving kernel panics in my new KVM with M3 Pro
When I moved a year ago I wanted to set my office to be more usable, and finally pulled the trigger on a two monitor setup. They're designed to work with my personal desktop and my work computer, so I wanted a KVM switch to make it easy to swap. My previous KVM switch only supported one monitor, so I had to upgrade.
Unfortunately I found that some combination of the new KVM, my Macbook M3 Pro, and the monitors (two BenQ MA270UPs) were causing my Mac to kernel panic when I closed the laptop and triggered the monitors. I ended up resolving this with four changes, which I'm noting here for posterity:
sudo pmset -a hibernatemode 0which disabled deep sleep- Battery Options
- Lock Screen
- Turn display off on power adapter when inactive -> Changed from "10 minutes" to "Never"
I'm not sure if all of these were necessary, but combined the problem stopped happening.

