Hi, I have a problem configuring my sound in Gentoo Linux.

I'm currently using kernel 2.6.5 and i emerged alsa-lib, alsa-tools,
alsa-oss and i didn't emerge alsa-driver because they are compiled into
the kernel.

My /etc/modules.d/alsa configuration file is this:

Alsa 0.9.X kernel modules' configuration file.
# $Header:
/home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v
1.1 2003/08/05 21:07:55 johnm Exp $

# 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-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

## and then run `modules-update' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
##alias snd-card-0 snd-emu10k1
  alias snd-card-0 snd-intel8x0
## alias snd-card-2 snd-ens1370
##  OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
## alias sound-slot-2 snd-card-2
##

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

I think there is no problem with this configuration file.

The problem begins when i execute "amixer" because the output that it
gives me is:

bash-2.05b$ amixer
amixer: Mixer attach default error: No such device
bash-2.05b$ alsamixer

alsamixer: function snd_ctl_open failed for default: No such device

the first thing i did when i saw this, was to check if the devices
existed and if I had the right permissions, and everything was correct.

The other problem is when I run alsaconf, because it gives me an error:

bash-2.05b# alsaconf
/usr/sbin/alsaconf: line 33: [: too many arguments
/usr/sbin/alsaconf: line 35: [: too many arguments
which: no dialog in (/sbin:/bin:/usr/sbin:/usr/bin)
which: no whiptail in (/sbin:/bin:/usr/sbin:/usr/bin)
Error, dialog or whiptail not found.


Also, when i restart the alsasound "etc/init.d/alsasound restart" i got this message:

bash-2.05b# /etc/init.d/alsasound restart
* WARNING:  you are stopping a boot service.
* Unloading ALSA...
* Storing ALSA Mixer Levels
/usr/sbin/alsactl: save_state:1061: No soundcards found...
* Unloading
modules                                                      [ ok ]
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: snd-seq-oss
* Loading: snd-mixer-oss
* Loading: snd-pcm-oss
* Running card-dependent scripts
* Restoring Mixer Levels

Apperently my system doesn't detect any cards in it.

Finally, i did

cat file.wav > /dev/dsp And i heared the sound, so i think the devices
files are correct.

Please, if anyone have anything to commenct, please reply.

Many thanks in advance.

Guillem

_________________________________________________________________
Protege tu correo contra los virus con MSN Premium. Pruébalo gratis dos meses. http://join.msn.com/?pgmarket=es-es&page=features/firewall&XAPID=1684&DI=1055&HL=TAG2OPENINGTEXT_MSNPREMIUM_VIRUS




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to