Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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' (?)
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 ?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.