did you notice that the PC speaker does not work on Fedora?

Florin Andrei florin at andrei.myip.org
Wed Mar 9 20:04:32 UTC 2005


On Wed, 2005-03-09 at 11:49 -0800, Florin Andrei wrote:

> There is a fairly simple workaround, just run this command once:
> "/sbin/modprobe pcspkr" then add the same command to the end
> of /etc/rc.d/rc.local to make the change permanent across reboots.

Actually, if you know for a fact that you don't have an /etc/rc.modules
and nothing ever will create that file on your system, it's probably
better to do this:

echo \#\!/bin/sh > /etc/rc.modules
echo "/sbin/modprobe pcspkr" >> /etc/rc.modules
chmod +x /etc/rc.modules

rc.modules, if exists, is called by rc.sysinit
It seems like a better idea to load up the module early in the boot
chain.

-- 
Florin Andrei

http://florin.myip.org/




More information about the fedora-list mailing list