LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-15-2004, 08:41 AM   #1
gm4jjj
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora
Posts: 3

Rep: Reputation: 0
Question Making modprobe pcspkr stick with modprobe.preload?


I recently installed Fedora Core 2 and to get system beeps to work I have to use

modprobe pcspkr

I read that to make this module automatically load when the system is booted I should add pcspkr to the /etc/modprobe.preload file.

I created the file but the module does not appear to load at startup, if I do lsmod then pcspkr is not listed.

What trick am I missing?

Many thanks
 
Old 06-16-2004, 02:43 AM   #2
gm4jjj
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: 0
Hmm, am I the only one?
 
Old 06-16-2004, 02:51 AM   #3
jrittvo
Member
 
Registered: Apr 2004
Location: NJ, USA
Distribution: Fedora
Posts: 82

Rep: Reputation: 15
David,

Until someone gives you a better answer, you can add a line to this file:

/etc/rc.d/rc.local

I guess you'd add: /sbin/modprobe pcspkr

The rc.local file is for commands that get run after all the commands, etc. are done for whatever runlevel you are booting into. This is where I add modprobe items. It works. I was hoping someone else would answer you with maybe a better suggestion.
 
Old 06-16-2004, 03:27 AM   #4
gm4jjj
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jrittvo
David,

Until someone gives you a better answer, you can add a line to this file:

/etc/rc.d/rc.local

I guess you'd add: /sbin/modprobe pcspkr

The rc.local file is for commands that get run after all the commands, etc. are done for whatever runlevel you are booting into. This is where I add modprobe items. It works. I was hoping someone else would answer you with maybe a better suggestion.
jrittvo - many thanks for that, I'll give it a try now.

I very much appreciate you taking the time to answer my question
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work! Benjamin Linux - Wireless Networking 30 05-25-2008 07:04 AM
Made stupid mistake with modprobe.preload Dillius Linux - Laptop and Netbook 2 01-30-2005 09:00 PM
Nvidia fx5500 mandrake 10.1 problem:Nvidia in /etc/modprobe.preload doesn't work eikeland Linux - Hardware 5 01-17-2005 02:09 PM
modprobe: modprobe: Couldn't locate module nvnet.o/nvaudio.o xiojqwnko Linux - Newbie 2 12-08-2003 05:41 PM
modprobe: modprobe can't locate module ppp0 in redhat 7.1 while shutting down. cyberdude3k Linux - Networking 1 09-08-2003 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration