View previous topic :: View next topic |
Author |
Message |
angela Apprentice


Joined: 16 Feb 2005 Posts: 150
|
Posted: Fri Feb 18, 2005 11:44 am Post subject: [Alsa] Pas de son, des erreurs... :( |
|
|
Coucou,
ce matin j'ai essayé de configurer ma carte son en suivant le howto officiel. J'ai activé le sound card support dans le noyau (en dur) et j'ai évité de mettre le OSS.
Puis:
Quote: | lspci | grep -i audio
0000:00:14.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 20)
|
Par chance, c'est le même que dans le tuto, donc je suis ce qui est écrit.
Je rajoute ALSA_CARDS="via82xx" dans make.conf comme indiqué,
Quote: |
# emerge alsa-driver -av
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] media-sound/alsa-driver-1.0.8_rc1 -debug -doc +oss 0 kB
Total size of downloads: 0 kB
Do you want me to merge these packages? [Yes/No] yes
>>> emerge (1 of 1) media-sound/alsa-driver-1.0.8_rc1 to /
>>> md5 src_uri alsa-driver-1.0.8rc1.tar.bz2
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.10-gentoo-r6
* Checking for suitable kernel configuration options
* ALSA is already compiled into the kernel.
* Please check to make sure these options are set correctly.
* Once you have satisfied these options, please try merging
* this package again.
!!! ERROR: media-sound/alsa-driver-1.0.8_rc1 failed.
!!! Function check_extra_config, Line 439, Exitcode 0
!!! Incorrect kernel configuration options
!!! If you need support, post the topmost build error, NOT this status message. |
Bon, ca ne resoud pas le problème en faisant un emerge unmerge alsa-driver (il ne trouve rien), mais je crois qu'avec le kernell 2.6 on a plus besoin des drivers alsa.
passe nickel
C'est là que ça coince:
Quote: |
# rc-update add alsasound boot
* alsasound added to runlevel boot
* Caching service dependencies...
* rc-update complete.
# /etc/init.d/alsasound start
* Loading ALSA modules...
* Could not detect custom ALSA settings. Loading all detected alsa drivers.
* Loading: snd_intel8x0... [ ok ]
* Loading: snd_sonicvibes... [ ok ]
* Loading: snd_ymfpci... [ ok ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels...
* No mixer config in /etc/asound.state, you have to unmute your card! [ ok ]
|
En gros, ça me fait des erreurs. J'ai pu lire que le mixer était dans /dev/sound, alors voila son contenu:
Quote: | ls -l /dev/sound/
crw-rw---- 1 root audio 14, 1 Jan 1 1970 sequencer
crw-rw---- 1 root audio 14, 8 Jan 1 1970 sequencer2
|
Voila... j'aurais besoin d'aide svp
Pour info:
Quote: | # dmesg | grep -i sound
Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC).
No soundcards found. |
|
|
Back to top |
|
 |
cylgalad Veteran

Joined: 18 Apr 2003 Posts: 1327 Location: France
|
Posted: Fri Feb 18, 2005 11:50 am Post subject: |
|
|
Déjà au lieu d'utiliser "quote", utilise plutôt "code"
As-tu bien édité /etc/modules.d/alsasound avant de lancer /etc/init.d/alsasound ?
Code: | alias snd-card-0 snd-via82xx |
|
|
Back to top |
|
 |
angela Apprentice


Joined: 16 Feb 2005 Posts: 150
|
Posted: Fri Feb 18, 2005 12:16 pm Post subject: |
|
|
hum... alors j'ai ça:
Code: | # /etc/init.d/alsasound start
* Loading ALSA modules...
* Loading: snd-card-0...
FATAL: Module snd_via82xx not found. [ !! ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels...
* No mixer config in /etc/asound.state, you have to unmute your card! [ ok ]
|
 |
|
Back to top |
|
 |
Tony Clifton l33t


Joined: 07 Jul 2004 Posts: 686 Location: Rennes
|
Posted: Fri Feb 18, 2005 2:00 pm Post subject: |
|
|
Faut enlever alsa du noyau |
|
Back to top |
|
 |
kernelsensei Bodhisattva


Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Fri Feb 18, 2005 2:24 pm Post subject: |
|
|
enfin moi j'utilise les modules alsa du kernel ...
En fait t'as 2 choix :
1) Tu utilises les modules du kernel, et dans ce cas, tu n'emerge pas les alsa-drivers
2) Tu utilises alsa-drivers, dans ce cas il faut desactiver alsa dans le kernel (il me semble) _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
 |
Tony Clifton l33t


Joined: 07 Jul 2004 Posts: 686 Location: Rennes
|
Posted: Fri Feb 18, 2005 2:28 pm Post subject: |
|
|
kernel_sensei wrote: | enfin moi j'utilise les modules alsa du kernel ... |
+1, c'est moins chiant, t'es pas obligé de recompiler les drivers alsa à chaque fois que tu bidouilles ton noyau |
|
Back to top |
|
 |
manu.acl Guru


Joined: 29 Jan 2005 Posts: 426 Location: Paris
|
Posted: Fri Feb 18, 2005 2:37 pm Post subject: |
|
|
C'est marrant tout ça, moi avec ma SB Live! Player 5.1 j'ai jamais eu à configurer quoi que ce soit...
Je compile mon module ALSA dans le kernel, un coup de modprobe, un coup de amixer pour unmuter (verbe très courrament utilisé dans le monde des ingénieurs sonores suraquatiques diplomés de l'école de l'Atlantide) le tout et ça marche... |
|
Back to top |
|
 |
kernelsensei Bodhisattva


Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Fri Feb 18, 2005 2:43 pm Post subject: |
|
|
ouais moi aussi, ca me parrait bizarre tous ces gens qui ont des problemes avec les SBLive! , franchement, chez moi ca a toujours fonctionne ! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
 |
Gaug Guru


Joined: 30 Oct 2003 Posts: 378 Location: Longueuil,Québec,Canada
|
Posted: Fri Feb 18, 2005 10:20 pm Post subject: |
|
|
Moi je mes tout en dure pour Alsa dans le noyaux et tout marche sans aucune manipulation sauf unmuter dans alsamixer. |
|
Back to top |
|
 |
angela Apprentice


Joined: 16 Feb 2005 Posts: 150
|
Posted: Sat Feb 19, 2005 12:47 pm Post subject: |
|
|
Dans le noyau ? hum, il me semble que c'est activé dans le noyau. Maintenant quand je fais un
Code: | alsamixer
alsamixer: function snd_ctl_open failed for default: No such device
|
En fait y'a rien qui va et je sais pas d'ou ça vient |
|
Back to top |
|
 |
Gaug Guru


Joined: 30 Oct 2003 Posts: 378 Location: Longueuil,Québec,Canada
|
Posted: Sat Feb 19, 2005 4:35 pm Post subject: |
|
|
veux tu nous envoyer se que donne
cat /usr/src/linux/.config |grep -i CONFIG_SND |
|
Back to top |
|
 |
angela Apprentice


Joined: 16 Feb 2005 Posts: 150
|
Posted: Tue Feb 22, 2005 11:13 am Post subject: |
|
|
je m'excuse, je n'ai pas bcp de temps pour répondre.
Voila:
Code: | # cat /usr/src/linux/.config |grep -i CONFIG_SND
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
CONFIG_SND_YMFPCI=m
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
# CONFIG_SND_INTEL8X0M is not set
CONFIG_SND_SONICVIBES=m
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
|
C'est gentil de m'aider |
|
Back to top |
|
 |
angela Apprentice


Joined: 16 Feb 2005 Posts: 150
|
Posted: Tue Feb 22, 2005 11:14 am Post subject: |
|
|
Oulala je crois que c'est ça qui pose problème:
Code: | # CONFIG_SND_VIA82XX is not set |
non ? |
|
Back to top |
|
 |
kopp Advocate


Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Tue Feb 22, 2005 11:19 am Post subject: |
|
|
Oui surement, si c'est ton controlleur son, il faut que tu actives cette option, recompile ton noyau, ou alors juste les modules si tu le met en modules, et ça devrait aller mieux |
|
Back to top |
|
 |
|