LinuxQuestions.org
Help answer threads with 0 replies.
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 03-28-2003, 01:37 PM   #1
Gordon
Member
 
Registered: Mar 2003
Location: sweden, norrkoping
Distribution: slackware 9.0,windows XP
Posts: 53

Rep: Reputation: 15
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

Last edited by Gordon; 03-28-2003 at 01:38 PM.
 
Old 03-28-2003, 04:11 PM   #2
aigartua
Member
 
Registered: Dec 2002
Location: Xalapa, Ver. México
Distribution: Red Hat
Posts: 108

Rep: Reputation: 15
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
 
Old 03-28-2003, 05:54 PM   #3
qulnxsh
Member
 
Registered: Mar 2003
Distribution: Debian Sid
Posts: 50

Rep: Reputation: 15
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.
 
Old 03-28-2003, 08:07 PM   #4
Gordon
Member
 
Registered: Mar 2003
Location: sweden, norrkoping
Distribution: slackware 9.0,windows XP
Posts: 53

Original Poster
Rep: Reputation: 15
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...
 
Old 03-28-2003, 08:18 PM   #5
Gordon
Member
 
Registered: Mar 2003
Location: sweden, norrkoping
Distribution: slackware 9.0,windows XP
Posts: 53

Original Poster
Rep: Reputation: 15
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
 
Old 03-31-2003, 04:23 PM   #6
qulnxsh
Member
 
Registered: Mar 2003
Distribution: Debian Sid
Posts: 50

Rep: Reputation: 15
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.
 
Old 04-06-2003, 04:28 PM   #7
Gordon
Member
 
Registered: Mar 2003
Location: sweden, norrkoping
Distribution: slackware 9.0,windows XP
Posts: 53

Original Poster
Rep: Reputation: 15
tnx that work.. :))

Quote:
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....
 
  


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
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
Alsa sound *jumpy*: alsa-space: xrun of at least 11.449 msecs. resetting stream qwijibow Linux - General 6 04-22-2006 07:35 PM
ALSA-oss compatability works, but not programs intended for alsa ? qwijibow Linux - Software 5 03-14-2004 07:28 AM
ALSA on Debian, Kernel Source is There Alsa dosent see it? pfizur Linux - Software 3 12-27-2003 08:46 AM
2.6.0 minus built-in ALSA drivers + ALSA 1.0.0rc2 Tino27 Slackware 3 12-19-2003 05:13 PM

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

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