2

I am using a Debian machine, ARK-3360F, and I need to make it beep like it does when it starts-up. Unfortunately, there is not any other speaker than this on the machine, so the below methods do not work even if I use modprobe pcspkr:

echo -e "\a"
echo ^G
echo -e "\07"

-and the beep program

Rui F Ribeiro
  • 56,709
  • 26
  • 150
  • 232
Alex
  • 41

1 Answers1

4

As root echo to /dev/console:

 echo -e '\a' > /dev/console

or as normal user:

sudo bash -c "echo -e '\a' > /dev/console"

as indicated you may have to run sudo modprobe pcspkr first.

Timo
  • 6,332
  • this works on my laptop which has normal speakers but not on the Debian machine. Unfortunately, the sound doesn't come from the motherboard speaker but from the normal speakers. – Alex Jan 13 '14 at 08:50