Re:BusKill – A USB kill cord for laptops
by ryanlol on Wednesday December 15, 2021 @09:44AM
(#29566575)
I’ve just been using a wristband made out of cheap headphones plugged into a 3.5mm jack, acpi event triggers the shutdown.
[ Parent
| on HN ]
Re:BusKill – A USB kill cord for laptops
by maltfield on Wednesday December 15, 2021 @12:36PM
(#29569068)
How does that work? Can you use udev to call a script on an acpi event? Is it cross-platform?
Would love to see a write-up with more info on how to do this :)
Re:BusKill – A USB kill cord for laptops
by ryanlol on Wednesday December 15, 2021 @04:08PM
(#29571664)
acpid is probably the easiest way to accomplish this https://wiki.archlinux.org/title/acpid