Ubuntu: PC speaker not working?

Very likely the speaker “driver” is not running:

sudo modprobe pcspkr

and then:

beep -f 500
beep -f 440 -l 1000
beep -f 300 -l 1000 -r 4
beep -f 200 -l 500 -r 5 -d 1000

and to make it permanent through a reboot:

sudo sh -c "echo pcspkr >> /etc/modules"

~ by nambabwe on 2014/12/09.

%d bloggers like this: