LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-04-2003, 03:18 PM   #1
bibilit
Member
 
Registered: Nov 2002
Location: Montrouge / FRANCE
Distribution: MANDRAKE 9.2/ DSL / smalllinux / Ubuntu 5.1
Posts: 202

Rep: Reputation: 30
edited modules/no sound


Hi everybody !

I have compiled alsa to get some sound from an MSI mainboard

The above is using VT8233A chipset, the sound is using ALC650 chip and i have found in the user's guide , that direct sound is AC97.

My modules are :

alias usb-controller usb-uhci
alias sound-slot-o via82cxxx-audio

alias char-major=116 snd_cards_limit=1
options snd snd_major=116 snd_cards_limit=1

alias snd-card-0 snd-via8233
options snd-via8233 snd_index=0 snd_id="via8233"

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-0ss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


iIf i try " lsmod " this is what i get

snd 34272 0 (autoclean )

via82cxxx_audio 18144 1 (via82cxxx_audio)
uart 401 6356 0 ( " " )
ac97-codec 9568 0 ( " _audio uart 401 )
soundcore 4068 4 ( " _ audio sound )

Any idea of how can i get some sound ?

Cheers
 
Old 06-04-2003, 04:06 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
use any mixer to unmute the sound channels.
after installation all is muted :)
 
Old 06-05-2003, 03:30 PM   #3
bibilit
Member
 
Registered: Nov 2002
Location: Montrouge / FRANCE
Distribution: MANDRAKE 9.2/ DSL / smalllinux / Ubuntu 5.1
Posts: 202

Original Poster
Rep: Reputation: 30
Hello dorian , Aumix was used just after compilation and sound channels were unmuted as required ... but i don't get any sound !!

Can you see by the above data that everything is as it should be?

Are my edited modules right !! ( i mean how can i be sure )

Cheers.
 
Old 06-05-2003, 04:40 PM   #4
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Sorry, I am not mandrake familiar. In fact I am finding a troubles in reading your modules.conf.

See at my config:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# module options should go here

# 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

My modules (located in /lib/modules/2.4.20/sound) :
snd-ac97-codec.o
snd.o
snd-via82xx.o
soundcore.o

So the relations between aliases and module names are clear for me. Hope it helps.
 
Old 06-07-2003, 07:32 AM   #5
bibilit
Member
 
Registered: Nov 2002
Location: Montrouge / FRANCE
Distribution: MANDRAKE 9.2/ DSL / smalllinux / Ubuntu 5.1
Posts: 202

Original Poster
Rep: Reputation: 30
Hello Dorian, i really appreciate your replies...it helps, whatever the results in the end ;-)

Just a question : should i leave a blank betweens lines?

You says above " modules options should go there " what if i edit

alias snd-card-0 snd-via8233... just below
alias snd-slot-o snd snd-via82cxxx-audio
without any blank in between ?
 
Old 06-07-2003, 08:49 AM   #6
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
The blank lines and line starting with '#' makes the file more readable, you can cut them if you wish.
 
Old 06-08-2003, 03:10 AM   #7
bibilit
Member
 
Registered: Nov 2002
Location: Montrouge / FRANCE
Distribution: MANDRAKE 9.2/ DSL / smalllinux / Ubuntu 5.1
Posts: 202

Original Poster
Rep: Reputation: 30
Hi dorian,

Did not noticed before but have the following message at boot:

/lib/modules/2.4.18-6mdk/kernel/sound/acore/snd.o invalid parameter

Any idea?
 
Old 06-08-2003, 04:47 AM   #8
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Look, I do not know how currently your your modules.conf looks like and which is the name of all the important modules in /lib/modules/... dir.

WIth the message you have got you should look at the modules.conf file and find the lines with relations to 'snd'. I mean the lines not only with the phrase 'snd' placed directly in them but all which are chained with alias names.
I believe you'll find the extra parameter which is invalid.

For example line " alias snd-slot-o snd snd-via82cxxx-audio" is strange for me
1. snd-slot-o: 'o' or '0' (zero) ?
2. why there are so many tokens? the known for me 'alias' syntax 'alias xxxx yyy' consists only 3 tokens.
It looks like you created the alias for 'snd-slot-o' with 'snd snd-via82cxxx-audio' so the phrase 'snd-via82cxxx-audio' is this invalid parameter for 'snd' (?)

Sorry. I can't help you much more.
 
Old 06-09-2003, 11:27 AM   #9
bibilit
Member
 
Registered: Nov 2002
Location: Montrouge / FRANCE
Distribution: MANDRAKE 9.2/ DSL / smalllinux / Ubuntu 5.1
Posts: 202

Original Poster
Rep: Reputation: 30
Hello dorian

sorry, part of my reply was misleading.

Was 0 (zero) not o and snd should only have appeared once.

Sorry again.

I have checked modules once again, and as those came with Alsa readme files, i don't see any mystake.

There is another message at boot , that says

invalid parameter parm_snd_major

But once again modules came from Alsa.

How can i be sure, i am editing the right modules ?

I tried command" lspci -v " and only found ac97 audio controller, no trace of via8233 as per the user's guide.

When i try to modprobe via8233 the message is it cannot be found, when i try to modprobe ac97, i can find it in the list when command " lsmod " is launch, but doesn't make much difference in the end.

Also as you can see above soundcore is related with number 4 in lsmod ... what does it mean ?
 
Old 06-09-2003, 12:06 PM   #10
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
You probably have got the same mobo as mine.
Use 'cat /proc/pci | grep audio' to obtain the info about audio.
If you make sure that there is 8233 check you have the same modules as I have got. Next use my setting in modules.conf.
BTW:
1. AFAIR using ALSA you need the kernel to be compiled with soundcore only without the other settings.
2. When you compile the ALSA you can use './configure --with-cards=via82xx'. This way your directory with sound modules will be reduced to the interesting ones.
 
  


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
edited logrotation cyberpunx Linux - Software 0 09-06-2005 01:55 PM
no sound card but loaded sound modules mdkelly069 Linux - Software 3 03-26-2004 10:13 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM
Edited times CragStar LQ Suggestions & Feedback 1 03-08-2001 10:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:12 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
Open Source Consulting | Domain Registration