Dynamic USB passthrough using virsh
Dynamic USB passthrough using virsh USB passthrough can be a pain sometimes while using virt-manager. If the previously connected device isn’t connected at the time of starting the VM, it will refuse to boot at all complaining about a missing USB device. But manually adding & removing the USB device each time isn’t ideal, so let’s automate it! Components: Linux Host Windows VM USB device to pass from the host to the vm Python pyudev subprocess json virsh SystemD The idea Use udev to listen to usb events and pass that to the vm using virsh
Brightness Thinkpad W530
Lenovo thinkpad W530 custom brightness Running Linux on my W530 is awesome, but some issues exists. For example I can’t figure out how to change the display brightness hardware-wise. While it’s okay that the display brightness is stuck at 100%, sometimes it becomes a bit annoying so I decided to make my own implementation using xrandr No, this soution is not the best but does the job decent enough for me to continue using it.
Exploring the reMarkable pen input
This blog post describes input handling from the reMarkable 2 on a remote PC using Python and SSH. Everything you do with your reMarkable tablet outside of its intended use is at your own risk, neither reMarkable nor I can be held liable if you brick your device. Happy hacking :) About reMarkable “Replace your notebooks and printed documents with the only tablet that feels like paper. reMarkable bridges the gap between pen and paper, and your digital devices.