Quote:
Originally Posted by TonyFullerMalv
Do you mean:
Code:
# lsmod | grep spkr
pcspkr 10624 0
Confirms module is loaded.
Code:
# modprobe -r pcspkr
removes it.
from someone who thinks modprobe might be a command available in BSD Unix?
|
I think rmmod is the "old way" in Linux and "modprobe -r" is the new way?
FreeBSD does not have lsmod
The rough equivalent is kldstat
And kldunload for rmmod/modprobe -r
But kldstat does not show anything that looks like the PC speaker
I've been using
Code:
kbdcontrol -b off
This is virtual console specific.
Update:
I was fiddling with loader.conf and thinking the only way to get rid of the PC speaker is to compile the kernel without some module.
Then I found a 2005 post by Kevin Kinsey on the org.freebsd.freebsd-questions mailing list.
Code:
mixer speaker 0:0
And another blog post from recently linked to it and reminded us that we can always open up the computer and disconnect the cable. That's great if you own the computer, but...