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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 9 Mar 2005, Florin Andrei wrote:

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.

Actually, if /etc/rc.modules does exist, just add the modprobe command to it. Also, if any package replaces an existing /etc/rc.modules instead of appending lines to it, that package is broken.


--
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux