Click to See Complete Forum and Search --> : Alsa problems with other apps


bjb123
02-04-2003, 11:47 PM
I'm running RH8 on an Asus P4PE and had to install the latest Alsa drivers to get the onboard sound to work.

Problem now is that only the Alsaplayer works - none of the othe media applications produce any sound at all...

Any ideas?

My lsmod is as follows:

Module Size Used by Not tainted
sr_mod 18136 0 (autoclean)
snd-pcm-oss 44452 0 (autoclean)
snd-mixer-oss 15512 0 (autoclean) [snd-pcm
-oss]
snd-intel8x0 23648 1 (autoclean)
snd-pcm 83328 1 (autoclean) [snd-pcm
-oss snd-intel8x0]
snd-timer 15304 0 (autoclean) [snd-pcm
]
snd-ac97-codec 36100 0 (autoclean) [snd-int
el8x0]
snd-mpu401-uart 4796 0 (autoclean) [snd-int
el8x0]
snd-rawmidi 18400 0 (autoclean) [snd-mpu
401-uart]
snd-seq-device 6176 0 (autoclean) [snd-raw
midi]
snd 39404 3 (autoclean) [snd-pcm
-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd
-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-devic
e]
soundcore 6532 4 (autoclean) [snd]
binfmt_misc 7524 1
autofs 13348 0 (autoclean) (unused)
tg3 46760 1
ipt_REJECT 3736 6 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 14936 2 [ipt_REJECT iptable_
filter]
microcode 4668 0 (autoclean)
printer 8992 0
ide-scsi 10512 0
scsi_mod 107176 2 [sr_mod ide-scsi]
ide-cd 33608 1
cdrom 33696 0 [sr_mod ide-cd]
ohci1394 20108 0 (unused)
ieee1394 46892 0 [ohci1394]
mousedev 5524 1
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5888 0 [mousedev keybdev hi d]
usb-uhci 26188 0 (unused)
ehci-hcd 17480 0 (unused)
usbcore 77024 1 [printer hid usb-uhc i ehci-hcd]
ext3 70368 2
jbd 52212 2 [ext3]

thx.

i_like_peanut_butter
02-05-2003, 12:07 PM
What programs are you trying to use? What kind of files are you trying to play? Since you are using red hat 8 you won't be able to play mp3's out of the box.

Maybe you media programs need to be recompiled w/ ALSA support? I currently don't use ALSA, but I'm looking into so I'm curious as to what the solution will be.

red_over_blue
02-05-2003, 12:28 PM
Do you have a file like

/etc/modules.d/alsa

or something like that? You might want to check that all your aliases are set up properly. Gentoo has an excellent alsa howto. Here is the link:

http://www.gentoo.org/doc/en/alsa-guide.xml

bdl
02-08-2003, 02:22 PM
Glad to see you got it working thus far at least. I've got audio across the board on my system, should be no special trick to getting everything to work. Are you using alsamixer to unmute all the channels and control the volume? What user do you login as? Did you give yourself permission to use the audio devices? Anything you could post would be helpful in troubleshooting.

bjb123
02-11-2003, 11:34 PM
Well I've made some progress now - I can play mp3s - both from alsaplayer and XMMS (when I figured out I had to download an mp3 plug-in).

However, my Gnome CD player still produces nothing.

I log in as a normal user (ie not root)

I do use alsamixer to unmute all the channels and set volumes to 100

As for devices, I ran a

chmod a+rw on

/dev/dsp /dev/mixer /dev/sequencer /dev/midi

as per the instructions.

and my modules.conf file looks like this:

alias parport_lowlevel parport_pc
alias eth0 tg3
alias usb-controller ehci-hcd
#alias sound-slot-0 i810_audio
#post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
#pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller1 usb-uhci
alias ieee1394-controller ohci1394
#Alsa Drivers Section
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
#OSS/Free portion
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-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

does this help?

thx

red_over_blue
02-12-2003, 01:04 AM
I'm not too experienced with onboard sound, but at least there are alsa aliases in your modules.conf.

The only things you can't get working is playing CDs right off the CD drive?

Silly question, but is the audio cable from the CD drive to the soundcard hooked up?

bjb123
02-13-2003, 11:22 PM
As I have onboard sound, there's nowhere to plug the CD player into. Doesn't seem to cause problems under Windows - it works just fine.