help !! alsa
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. |
tnx but this is w00ts happens when im modprobe the files...
modprobe snd-via82xx /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o: invalid parameter parm_snd_major /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o failed /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o: insmod snd-via82xx failed cybertown:/home/dimendor # modprobe snd-pcm-oss /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o: invalid parameter parm_snd_major /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o failed /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o: insmod snd-pcm-oss failed cybertown:/home/dimendor # modprobe snd-mixer-oss /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o: invalid parameter parm_snd_major /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o failed /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o: insmod snd-mixer-oss failed cybertown:/home/dimendor # modprobe snd-seq-oss /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o: invalid parameter parm_snd_major /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o failed /lib/modules/2.4.18-4GB/kernel/sound/acore/snd.o: insmod snd-seq-oss failed i ant geting it... |
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. |
tnx that work.. :))
Quote:
alsa is a bit bad att explaning how to do it all.... |
All times are GMT -5. The time now is 12:08 AM. |