reform-poweroff can send xPWR0 to the wrong HID device, causing the laptop to stay on after shutdown
File:
/lib/systemd/system-shutdown/reform-poweroff
This is part of the reform-tools
debian package.
Potential fix to test:
#!/bin/bash
#
# MNT Reform: Send poweroff command to the system controller via the keyboard
#
sync
if [[ "$1" == "halt" ]] || [[ "$1" == "poweroff" ]]
then
for f in /dev/hidraw*
do echo 'xPWR0' > $f
done
fi