LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2004, 08:23 PM   #1
rundarm
LQ Newbie
 
Registered: Jun 2004
Location: La Crosse, WI
Distribution: Red Hat Fedora Core 5 & 6
Posts: 22

Rep: Reputation: 15
Question Proper way to add modules gameport.o and cmpci.o


Hello
I know how to get my sound to work but wanted to know the proper way to have the kernel load these modules.
I dont know how to set up the modules configuration files

If I do this
insmod /lib/modules/``uname -r`/kernel/drivers/char/joystick/gameport.o
insmod /lib/modules/`uname -r`/kernel/drivers/sound/cmpci.o
it will work but how do I do it without that script.
Thanks In advance
Greg
 
Old 06-16-2004, 08:24 PM   #2
rundarm
LQ Newbie
 
Registered: Jun 2004
Location: La Crosse, WI
Distribution: Red Hat Fedora Core 5 & 6
Posts: 22

Original Poster
Rep: Reputation: 15
By the way I am using kernel 2.4.26
Thanks
 
Old 07-16-2004, 10:32 PM   #3
rundarm
LQ Newbie
 
Registered: Jun 2004
Location: La Crosse, WI
Distribution: Red Hat Fedora Core 5 & 6
Posts: 22

Original Poster
Rep: Reputation: 15
Proper way re-discovered.

I had to add a /etc/modules.conf of the following

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-cmipci
# module options should go here
options snd-cmipci enable_midi=1 mpu_port=0x330 fm_port=0x388
#options snd-cmipci id="first" enable_midi="1"
# COMMENT Above two options did nothing for me since I do not have an external midi device and could not get the synth #to be recognized.
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How To add Modules DigitalBlue Linux - Newbie 3 10-11-2005 06:19 AM
Proper way to add in hardware not auto detected Bluesuperman Red Hat 4 04-30-2005 10:35 PM
depmod doesnt insert proper lines in modules.pcimap for Marvell Network Interface jimmytango829 Linux - Hardware 1 09-30-2004 01:08 AM
What to add to etc/file/host for proper boot? Cliff Fussell Linux - Newbie 3 01-21-2004 09:22 PM
Proper location for created modules? vrillusions Mandriva 1 09-09-2003 10:54 AM


All times are GMT -5. The time now is 11:47 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration