LinuxQuestions.org
Visit Jeremy's Blog.
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 01-19-2001, 02:13 AM   #1
wilsnyder
LQ Newbie
 
Registered: Jan 2001
Location: China
Posts: 8

Rep: Reputation: 0

I run win2000, and am dual booting between w2k and redhat.

After installing rh 7.0, I expand the alsa packages, then

cd alsa-driver-0.5.10
./configure --with-cards=ymfpci --with-isapnp=yes
make install
./snddevices

I then add the following lines to /etc/modules.conf

alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
alias snd-card-0 snd-card-ymfpci
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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

I then do
modprobe snd-card-ymfpci

Then, when I do

lsmod

I get:

Module Size Used by
nls_cp437 3876 2 (autoclean)
vfat 9404 1 (autoclean)
fat 30688 1 (autoclean) [vfat]
snd-card-ymfpci 4080 1 (initializing)
snd-ymfpci 34236 0 (autoclean) [snd-card-ymfpci]
snd-ac97-codec 23680 0 (autoclean) [snd-ymfpci]
snd-opl3 4264 0 (autoclean) [snd-card-ymfpci]
snd-hwdep 2956 0 (autoclean) [snd-opl3]
snd-mpu401-uart 2264 0 (autoclean) [snd-card-ymfpci]
snd-rawmidi 9432 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 3652 0 (autoclean) [snd-rawmidi]
ide-cd 23628 0 (autoclean)
snd-pcm-oss 16460 0 (autoclean) (unused)
snd-pcm-plugin 14248 0 (autoclean) [snd-pcm-oss]
snd-pcm 29464 0 (autoclean) [snd-ymfpci snd-pcm-oss snd-pcm-plugin]
snd-timer 8064 0 (autoclean) [snd-opl3 snd-pcm]
snd-mixer-oss 3924 0 (autoclean) [snd-pcm-oss]
snd-mixer 23356 0 (autoclean) [snd-ymfpci snd-ac97-codec snd-mixer-oss]
snd 35820 0 (autoclean) [snd-card-ymfpci snd-ymfpci snd-ac97-codec snd-opl3 snd-hwdep snd-mpu401-uart snd-rawmidi snd-seq-device snd-pcm-oss snd-pcm-plugin snd-pcm snd-timer snd-mixer-oss snd-mixer]
soundcore 2596 0 (autoclean) [snd]
ds 6280 2
i82365 21668 2
pcmcia_core 44160 0 [ds i82365]
lockd 31176 1 (autoclean)
sunrpc 52964 1 (autoclean) [lockd]
agpgart 18600 0 (unused)
usb-uhci 19052 0 (unused)
usbcore 42088 1 [usb-uhci]

Notice it says the sound card is initializing.(?)

Then

cat /proc/asound/devices
---------- no sound cards -----------

I've upgraded the kernel, compiled sound as modules with no sound
card selected, do the above routine, and got sound. I then

cp /alsa-driver-0.5.10/utils/alsasound /etc/rc.d/rc.alsasound
cp /alsa-driver-0.5.10/utils/alsasound /etc/rc.d/init.d
ln -s /etc/rc.d/init.d/alsasound /etc/rc.d/rc3.d
ln -s /etc/rc.d/init.d/alsasound /etc/rc.d/rc5.d

After rebooting, sound continues to work, but after I boot into win2k
then back into linux the sound is broken. I know one solution, don't
use win2k, but I have to for work stuff. After sound gets broken,
when I boot into Linux, I get the message:

Jan 18 11:38:39 satpro rc.sysinit: Remounting root filesystem in read-write mode: succeeded
Jan 18 11:38:40 satpro rc.sysinit: Finding module dependencies: succeeded
Jan 18 11:38:40 satpro modprobe: /lib/modules/2.2.16-22/misc/snd-card-ymfpci.o:
Jan 18 11:38:40 satpro modprobe: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
Jan 18 11:38:40 satpro rc.sysinit: Loading sound module (snd-card-0): failed
Jan 18 11:38:40 satpro modprobe: init_module: Device or resource busy
Jan 18 11:38:40 satpro modprobe: /lib/modules/2.2.16-22/misc/snd-card-ymfpci.o: insmod /lib/modules/2.2.16-22/misc/snd-card-ymfpci.o failed
Jan 18 11:38:40 satpro modprobe: /lib/modules/2.2.16-22/misc/snd-card-ymfpci.o: insmod snd-card-0 failed


So I've read thru the isapnptools docs, and realize at that point I'm
over my head, I don't understand linux well enough to thoroughly
check the resource usage and then configure my modules accordingly.
Any pointers about how to go about getting the sound problem fixed?
I'm well versed with windows, and do some c++ programming in
the windows environment for work, but in starting to learn linux
I've quickly gotten bogged down. I've downloaded what I can on linux,
and am reading it slowly, but I haven't gotten to anything that
really helps with system resource problems. Any good docs for a newbie regarding resource usage and configuring?

Thanks for whoever reads this and can help!

wil snyder
 
  


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
Help,how can I install alsa driver and make it work? LittlesnowLinux Debian 2 11-25-2004 09:36 AM
Alsa - cs46xx driver seems to work but no sound GruiX Linux - Hardware 5 01-16-2004 01:06 PM
ALSA-Driver wont work :/ AlbseN Linux - Software 15 10-12-2003 10:33 PM
getting alsa driver to work kudos Slackware 4 04-19-2003 12:34 PM
alsa driver did not work for als4000 wincrk Linux - Hardware 4 03-07-2003 01:40 AM


All times are GMT -5. The time now is 06:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration