LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Alsa Problem! (https://www.linuxquestions.org/questions/linux-hardware-18/alsa-problem-209277/)

bluedude2288 07-24-2004 07:57 PM

Alsa Problem!
 
I am running gentoo-dev-sources kernel 2.6.7-r11 when i try using alsa i keep getting message saying it can't find dsp or device doesn't exist, i have tried so many things and the device does exist, like it give me /dev/dsp doesn't exist but i browse there and its there, I have been trying for so long to fix it, also when i run amixer or alsmixer they say no mixer elms found, i have configured all the files, followed the gentoo alsa install guide, no luck, and the alsa driver is built into my kernel, oss works, but i get skipping, or hangs, like it will be playing and then i'll hear some static and it will play the same part again, and when using mplayer the video and audio don't match and i also get the problem with the sound, i use xmms for audio and mplayer for video

PS-my card is built in to the mobo, its uses the driver via82xx

zajelo3 07-25-2004 12:46 AM

Sounds like there's alot of problems with alsa and the 2.6.7 kernel. Please post the output of "lsmod" and what your /etc/modules.conf file has in it.

Rick B

bluedude2288 07-25-2004 01:57 AM

ok heres lsmod
Module Size Used by
snd_seq_midi_event 6052 -
snd_seq 51248 -
snd_seq_device 6412 -
snd_pcm_oss 48456 -
snd_mixer_oss 17124 -
snd_via82xx 23780 -
snd_ac97_codec 64744 -
snd_pcm 86692 -
snd_page_alloc 8588 -

heres alsa in modules.conf

### modules-update: start processing /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.2 2004/07/18 03:40:55 dragonheart E
xp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-via82xx
## alias snd-card-1 snd-ens1371
## OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

enable init array (min = 1, max = 8)

# OSS/Free portion - card #1
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
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1

### modules-update: end processing /etc/modules.d/alsa

zajelo3 07-25-2004 05:36 AM

The main reason I wanted to see the output of lsmod and your /etc/modules.conf files is to make sure that your "soundcore" module was loading and also to see if there weren't some of the old OSS modules loading. If some of the old OSS modules are loading they will attach to the soundcard and not allow alsa to work. You do however want the alsa oss emulation modules to load. You know, the ones that are like "snd_pcm_oss" and such. All the alsa modules start with "snd" if you have any modules pertaining to sound loading that don't start with "snd" except for "soundcore" that's probably your problem. Although, you mentioned that sometimes there was intermitent sound, and I don't know what to think of that, as usually it either works all the time or just doesn't. I know that at least 2 or 3 other people on the list are complaining about the same problem with alsa and the 2.6.7 kernel.

Rick B


All times are GMT -5. The time now is 10:42 AM.