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.
Make a directory to store the alsa source code in.
cd /usr/src
mkdir alsa
cd alsa
cp /downloads/alsa-* .
Now unzip and install the alsa-driver package
bunzip2 alsa-driver-xxx
tar -xf alsa-driver-xxx
cd alsa-driver-xxx
./configure --with-cards=via82xx --with-sequencer=yes;make;make install
./snddevices
The snddevices script sets the permissions for the devices it creates to root. You should
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi Now unzip and install the alsa-lib package
cd ..
bunzip2 alsa-lib-xxx
tar -xf alsa-lib-xxx
cd alsa-lib-xxx
./configure;make;make install
Now unzip and install the alsa-utils package
cd ..
bunzip2 alsa-utils-xxx
tar -xf alsa-utils-xxx
cd alsa-utils-xxx
./configure;make;make install
.......................................i have don this
Now insert the modules into the kernel space.<--- w00t
modules is he talking about and were in the kernel to putt them....
this a now how to do ---> modprobe snd-via82xx;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
check in /alsa-driver-0.9.1/utils directory and just run like root "alsaconf", it goint to detect your sound card and make all the modifications in your modules.conf file. good luck
If the analogy works here:
-what they mean with insert modules in kernel space is loading your souncard's alsa drivers with /sbin/insmod snd-via82xx, if the module name is wrong, check in the ALSA sound matrix website.
-you'll likely have dependency problems, "unresolved symbols" messages.
-with /sbin/insmod try to load the modules needed by the soundcard module, such as snd-pcm, snd-mixer and so on.
-if done correctly, try to load the sound module. (you can figure out what modules to load if you check after the "unresolved symbols" phrase)
-backup and edit /etc/modules.conf and change any entry that points to an old module to the name of the current module (which I guess is snd-via82xx). save.
I think that might do it, the sound is muted by default, I just can't remember the commands...sorry, but I'm sure I posted them some time ago. Hope it helped.
and this is w00t a get for tryning to insmod (snd-via82xx)
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_new
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ac97_set_rate
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ac97_tune_hardware
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_verbose_printk
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_malloc_pci_pages
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_lib_preallocate_sg_pages_for_all
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_lib_free_pages
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_kcalloc
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ctl_add
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_device_new
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_lib_malloc_pages
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_period_elapsed
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_mpu401_uart_interrupt
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_format_physical_width
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_set_ops
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ac97_mixer
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_hw_constraint_integer
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_lib_ioctl
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_card_register
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ctl_new1
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ac97_update_bits
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_sgbuf_ops_page
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_hw_constraint_list
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_card_free
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_free_pci_pages
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_card_new
/lib/modules/2.4.18-4GB/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_mpu401_uart_new
Oh, that's just what I expected, I'm really bad at explaining this kind of stuff...
See the phrase after ...unresolved symbols?
For expamle:
/lib/modules/2.4...snd-via82xx.0: unresolved symbol snd_pcm_new?
Well, all you have to do is try to load snd_pcm, and if you still get messages like the one above, just try to load the module(s) it depends on. Keep doing this until you don't receive any message, by then you should be able to load snd-via82xx.o.
OK, I hope it's clear enough...Bye
-------------------------------------------------------------------------------
Oh yeah, about those "invalid parameters"...let me check.
Originally posted by aigartua check in /alsa-driver-0.9.1/utils directory and just run like root "alsaconf", it goint to detect your sound card and make all the modifications in your modules.conf file. good luck
tnx but i hade already don that before i read your post .)) but tnx that was the salution to my problem...
alsa is a bit bad att explaning how to do it all....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.