Problem still exists if pc-spkr is not on /dev/input/event0. Workaround is to run command: beep -e /dev/input/by-path/platform-pcspkr-event-spkr
Problem still exists if pc-spkr is not on /dev/input/event0. by-path/ platform- pcspkr- event-spkr
Workaround is to run command: beep -e /dev/input/