Stephen Croll wrote:
I'd like to have it disabled globally, rather than figuring out the
specifics of how to disable it on multiple different user/desktop/vt
combinations.
Also, not that it really matters that much, but I imagine the pcspkr
kernel module consumes some amount of memory. No reason to have it
eat memory, particularly since I never intend to use it.
Good way to ensure a module isn't going to ruin your day: edit
/etc/modprobe.conf and add a line
install evilmodule /bin/true
where evilmodule is pcspkr in this case. Subsequently modprobe will be
unable to place it into the kernel, running /bin/true instead and
thinking that all went well.
-Andy