[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ALSA Problem



On Wed, 2003-09-17 at 23:20, Frank Murphy wrote:
> I have been able to get also modules complied for the internal port but
> a major thing that is very annoying is that the sound fluxuates up and
> down constantly when listening not matter what app I use.. esp xmms.
> This happens with GNOME and KDE cd players.   I am gathering that it has
> some thing to do with the sound modules.  I can listen to the same in OS
> X and have constant cpu time...

I assume that you mean that you got ALSA compiled for the internal sound chip. 
What sound chip is it? Were you able to get OSS running properly with this 
chip? How about running xmms while using ALSA's OSS emulation?

This is my alsa/modules/0.9 config file
internal sound:  powermac  (for the G4)


### DEBCONF MAGIC
# This file was automatically generated by alsa-base's debconf stuff

alias char-major-116 snd
alias char-major-14 soundcore

options snd major=116 cards_limit=4

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

alias snd-card-0 snd-powermac
alias snd-card-1 snd-sbawe
alias snd-card-2 snd-sb16

alias snd-slot-0 snd-card-0
alias sound-slot-0 snd-slot-0
alias snd-slot-1 snd-card-1
alias sound-slot-1 snd-slot-1
alias snd-slot-2 snd-card-2
alias sound-slot-2 snd-slot-2


I also complied the kernel with just sound yes for the first question and left all others no.  I don't have any sound till I

$ /etc/init.d/alsa start

Then I can get my internal dmasound to work but really using oss.  In any app I try to use alsa.. it gives me:


i.e.
xmms a dialog box

Please check that:
1.  You have the correct output plug-in selected
2.  Nor other programs is blocking the sound card
3.  Your soundcard is configured properly



$ lsmod

Module                  Size  Used by    Not tainted
sheep                   5568   1
mol                    47700   1
snd-pcm-oss            44180   0  (autoclean)
snd-mixer-oss          13920   1  (autoclean) [snd-pcm-oss]
snd-powermac           35200   1  (autoclean)
snd-pcm                64564   0  (autoclean) [snd-pcm-oss snd-powermac]
snd-timer              16500   0  (autoclean) [snd-pcm]
snd-page-alloc          6212   0  (autoclean) [snd-pcm]
snd                    33928   0  (autoclean) [snd-pcm-oss snd-mixer-oss snd-powermac snd-pcm snd-timer]



$ l /lib/modules/[current-kernel]

drwxr-xr-x    2 root     root         4.0K Sep 16 13:15 ./
drwxr-xr-x    7 root     root         4.0K Sep 16 13:15 ../
-rw-r--r--    1 root     root         3.5K Sep 16 12:54 snd-ainstr-fm.o
-rw-r--r--    1 root     root          19K Sep 16 12:54 snd-emu8000-synth.o
-rw-r--r--    1 root     root          43K Sep 16 12:54 snd-emux-synth.o
-rw-r--r--    1 root     root         9.6K Sep 16 12:54 snd-hwdep.o
-rw-r--r--    1 root     root          22K Sep 16 12:54 snd-mixer-oss.o
-rw-r--r--    1 root     root         8.7K Sep 16 12:54 snd-mpu401-uart.o
-rw-r--r--    1 root     root          14K Sep 16 12:54 snd-opl3-lib.o
-rw-r--r--    1 root     root          18K Sep 16 12:54 snd-opl3-synth.o
-rw-r--r--    1 root     root          13K Sep 16 12:54 snd-page-alloc.o
-rw-r--r--    1 root     root          65K Sep 16 12:54 snd-pcm-oss.o
-rw-r--r--    1 root     root         106K Sep 16 12:54 snd-pcm.o
-rw-r--r--    1 root     root         6.7K Sep 16 12:54 snd-pnp.o
-rw-r--r--    1 root     root          59K Sep 16 12:54 snd-powermac.o
-rw-r--r--    1 root     root          26K Sep 16 12:54 snd-rawmidi.o
-rw-r--r--    1 root     root          20K Sep 16 12:54 snd-sb-common.o
-rw-r--r--    1 root     root          23K Sep 16 12:54 snd-sb16-csp.o
-rw-r--r--    1 root     root          14K Sep 16 12:54 snd-sb16-dsp.o
-rw-r--r--    1 root     root          17K Sep 16 12:54 snd-sb16.o
-rw-r--r--    1 root     root          39K Sep 16 12:54 snd-sbawe.o
-rw-r--r--    1 root     root         9.8K Sep 16 12:54 snd-seq-device.o
-rw-r--r--    1 root     root         4.6K Sep 16 12:54 snd-seq-dummy.o
-rw-r--r--    1 root     root         9.5K Sep 16 12:54 snd-seq-instr.o
-rw-r--r--    1 root     root          12K Sep 16 12:54 snd-seq-midi-emul.o
-rw-r--r--    1 root     root         8.0K Sep 16 12:54 snd-seq-midi-event.o
-rw-r--r--    1 root     root         8.5K Sep 16 12:54 snd-seq-midi.o
-rw-r--r--    1 root     root          50K Sep 16 12:54 snd-seq-oss.o
-rw-r--r--    1 root     root         7.5K Sep 16 12:54 snd-seq-virmidi.o
-rw-r--r--    1 root     root          68K Sep 16 12:54 snd-seq.o
-rw-r--r--    1 root     root          28K Sep 16 12:54 snd-timer.o
-rw-r--r--    1 root     root         4.2K Sep 16 12:54 snd-util-mem.o
-rw-r--r--    1 root     root          60K Sep 16 12:54 snd.o



So I take it Alsa is not actually working.. but when I use OSS.. to play music or other sound.. the sound keeps fluctuating up and down and it gives me a head ache..   I wonder if I  have 2 issues here.




> Also has anyone figured out how to get sound blaster cards to work under
> alsa or oss.  In the alsa modules i have sb16 and awe but they fail to
> load when starting alsa.

Is this a SounbBlaster under PPC?
Yes, it is the SoundBlaser Live for the ppc (I believe it is at lease it was with the computer when I got it lol ) with the sbawe driver.  When I had compiled it directly under the kernel and all I got was total static when anything is played through the soundblaster card.

This is what happens when i start alsa

Starting ALSA (version 0.9.6): powermac sbawe-failed sb16-failed.
Restoring ALSA mixer settings ... done.


and the syslog shows:

Sep 17 23:48:37 asterix insmod: /lib/modules/2.4.22-ben2/alsa/snd-sb16-dsp.o: insmod snd-card-1 failed
Sep 17 23:49:03 asterix last message repeated 11 times
Sep 18 00:00:30 asterix insmod: /lib/modules/2.4.22-ben2/alsa/snd-sb16-dsp.o: insmod snd-card-1 failed
Sep 18 00:00:31 asterix insmod: /lib/modules/2.4.22-ben2/alsa/snd-sb16-dsp.o: insmod snd-card-1 failed
Sep 18 00:00:31 asterix insmod: /lib/modules/2.4.22-ben2/alsa/snd-sb16-dsp.o: insmod snd-card-2 failed
Sep 18 00:00:31 asterix insmod: /lib/modules/2.4.22-ben2/alsa/snd-sb16-dsp.o: insmod snd-card-2 failed
Sep 18 00:00:31 asterix modprobe: modprobe: Can't locate module snd-card-3
Sep 18 00:00:31 asterix modprobe: modprobe: Can't locate module snd-card-3
Sep 18 00:01:16 asterix insmod: /lib/modules/2.4.22-ben2/alsa/snd-sb16-dsp.o: insmod snd-card-1 failed
Sep 18 00:01:16 asterix insmod: /lib/modules/2.4.22-ben2/alsa/snd-sb16-dsp.o: insmod snd-card-2 failed
Sep 18 00:01:16 asterix modprobe: modprobe: Can't locate module snd-card-3
Sep 18 00:01:16 asterix insmod: /lib/modules/2.4.22-ben2/alsa/snd-sb16-dsp.o: insmod snd-card-1 failed
Sep 18 00:01:16 asterix insmod: /lib/modules/2.4.22-ben2/alsa/snd-sb16-dsp.o: insmod snd-card-1 failed
Sep 18 00:01:16 asterix insmod: /lib/modules/2.4.22-ben2/alsa/snd-sb16-dsp.o: insmod snd-card-2 failed
Sep 18 00:01:16 asterix insmod: /lib/modules/2.4.22-ben2/alsa/snd-sb16-dsp.o: insmod snd-card-2 failed
Sep 18 00:01:17 asterix modprobe: modprobe: Can't locate module snd-card-3



> Thanks for all the help.  I have been getting it together slowly but
> surly.

I know it's just a typo, but I like it:  "Slowly but surly." :)
LOL.. yes very much so.. a typo.. I am good at those. :)


I hope this was not to much in an email... or to long to read... I am totally baffled  on this dilemma.

-Adam
Reply to: