View previous topic :: View next topic |
Author |
Message |
MetaLyck n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Jun 2004 Posts: 34
|
Posted: Sat Jun 26, 2004 11:07 am Post subject: [ALSA] Problème d'installation (resolu) |
|
|
Bonjour,
J'ai suivi le guide d'installation proposé par ce site (http://www.gentoo.org/doc/fr/alsa-guide.xml) pour installer ALSA.
J'utilise le noyau 2.6.
L'installation des outils fonctionne parfaitement. Tout à l'air de bien fonctionner jusqu'au moment où je tape "amixer" dans la console et il me renvoit une erreur identique à celle-ci :
amixer: Mixer attach default error: No such device
J'ai tapé ensuite "/etc/init.d/alsasound stop" pour lequel il me renvoit :
* WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels
/usr/sbin/alsactl: save_state:1061: No soundcards found...
* Unloading modules [ ok ]
Pour info, ma carte son est intégrée à ma carte mère. Modèle Intel Corp.
La commande grep -i audio /proc/pci me renvoit ceci : Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 2).
Merci de bien vouloir m'aider. J'ai lu de nombreux messages sur le forum à propos de l'installation ALSA. Aucun ne m'a apporté une réponse.
Merci à vous,
Meta Lyck
Last edited by MetaLyck on Wed Jul 07, 2004 6:54 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dyurne Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/165219513040e30d58820d3.gif)
Joined: 19 Aug 2003 Posts: 475 Location: Lille, France
|
Posted: Sat Jun 26, 2004 12:01 pm Post subject: |
|
|
es tu sûr d'avoir activer alsa dans le noyau et le support pour ta carte ? _________________ - Ah bah nan...
- Si ! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Prodigy44 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 19 Sep 2003 Posts: 231 Location: Nantes, France
|
Posted: Sat Jun 26, 2004 12:18 pm Post subject: |
|
|
As-tu bien compilé les drivers alsa avec le nom de carte son ?
Code: | env ALSA_CARDS="nom_carte" emerge alsa-driver |
chez moi c'est env ALSA_CARDS="emu10k1" emerge alsa-driver
(je te conseille d'ailleur de mettre export ALSA_CARDS="ma_carte_son" dans /etc/profile pour pas que ca t'embete a chaque maj du systeme)
sinon si tu as recompiler ton noyau dernièrement il faudra que tu recompiles aussi alsa-driver (et nvidia-kernel si tu utilises l'accélération graphique) _________________ Apporter votre contribution au libre : http://fr.wikipedia.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dyurne Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/165219513040e30d58820d3.gif)
Joined: 19 Aug 2003 Posts: 475 Location: Lille, France
|
Posted: Sat Jun 26, 2004 12:29 pm Post subject: |
|
|
Prodigy44 wrote: | As-tu bien compilé les drivers alsa avec le nom de carte son ?
chez moi c'est env ALSA_CARDS="emu10k1" emerge alsa-driver |
non, il utilise un noyau 2.6
http://www.gentoo.org/doc/fr/alsa-guide.xml wrote: |
Si vous utilisez un noyau 2.6, vous pouvez sauter le reste de cette section et continuer avec l'installation des outils ALSA, car le noyau 2.6 intègre déjà les pilotes ALSA. Bien sûr, n'oubliez pas d'activer le support pour votre carte son lorsque vous configurerez votre noyau. |
_________________ - Ah bah nan...
- Si ! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MetaLyck n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Jun 2004 Posts: 34
|
Posted: Sat Jun 26, 2004 2:22 pm Post subject: |
|
|
J'ai bien activé alsa dans le noyau, ainsi que le support pour ma carte... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neysx Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/17295657453e350b33c0b78.jpg)
Joined: 27 Jan 2003 Posts: 795
|
Posted: Sat Jun 26, 2004 3:10 pm Post subject: |
|
|
MetaLyck wrote: | J'ai bien activé alsa dans le noyau, ainsi que le support pour ma carte... | En supposant que tu aies bien sélectionné alsa et le bon pilote en module dans ton noyau, regarde si tu n'as pas un problème de droits d'accès avec ls -l /dev/s{ound,nd}. Par exemple, avec grep -i audio /proc/pci qui donne Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 80)., j'ai Code: | # ls -l /dev/s{ound,nd}
/dev/snd:
total 0
crw-rw---- 1 root audio 116, 0 Jan 1 1970 controlC0
crw-rw---- 1 root audio 116, 24 Jan 1 1970 pcmC0D0c
crw-rw---- 1 root audio 116, 16 Jan 1 1970 pcmC0D0p
crw-rw---- 1 root audio 116, 25 Jan 1 1970 pcmC0D1c
crw-rw---- 1 root audio 116, 17 Jan 1 1970 pcmC0D1p
crw-rw---- 1 root audio 116, 1 Jan 1 1970 seq
crw-rw---- 1 root audio 116, 33 Jan 1 1970 timer
/dev/sound:
total 0
crw-rw---- 1 root audio 14, 12 Jan 1 1970 adsp
crw-rw---- 1 root audio 14, 4 Jan 1 1970 audio
crw-rw---- 1 root audio 14, 3 Jan 1 1970 dsp
crw-rw---- 1 root audio 14, 0 Jan 1 1970 mixer
crw-rw---- 1 root audio 14, 1 Jan 1 1970 sequencer
crw-rw---- 1 root audio 14, 8 Jan 1 1970 sequencer2
| Tu dois évidemment faire partie du groupe audio |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MetaLyck n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Jun 2004 Posts: 34
|
Posted: Sat Jun 26, 2004 5:34 pm Post subject: |
|
|
quand je tape ls -l /dev/s{ound,nd}, voici ce que j'ai :
/dev/snd:
total 0
crw------- 1 metalyck audio 116, 0 jan 1 1970 controlC0
crw------- 1 metalyck audio 116, 1 jan 1 1970 seq
crw------- 1 metalyck audio 116, 33 jan 1 1970 timer
/dev/sound:
total 0
crw------- 1 metalyck audio 14, 3 jan 1 1970 dsp
crw------- 1 metalyck audio 14, 0 jan 1 1970 mixer
crw------- 1 metalyck audio 14, 1 jan 1 1970 sequencer
crw------- 1 metalyck audio 14, 8 jan 1 1970 sequencer2 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MetaLyck n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Jun 2004 Posts: 34
|
Posted: Sat Jun 26, 2004 6:46 pm Post subject: |
|
|
Chez moi il manque des trucs visiblement.
Tu as certaines lignes en plus des miennes.
Notamment pcm... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neysx Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/17295657453e350b33c0b78.jpg)
Joined: 27 Jan 2003 Posts: 795
|
Posted: Sat Jun 26, 2004 7:16 pm Post subject: |
|
|
Et tu utilises amixer sous le même utilisateur metalyk ? Pour info, ton /etc/security/console.perms fait changer les droits attribués à /dev/sound/* et /dev/snd/*
Voilà ce que j'ai avec make menuconfig Code: | <M> Sound card support
Advanced Linux Sound Architecture --->
Open Sound System ---> | Rien dans OSS et sous ALSA Code: | <M> Advanced Linux Sound Architecture
<M> Sequencer support
< > Sequencer dummy client
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
[*] OSS Sequencer API
<M> RTC Timer support
[ ] Verbose printk
[ ] Debug
Generic devices --->
PCI devices --->
ALSA USB devices ---> | Et ensuite uniquement le pilote de ma carte aussi en <M> sous PCI devices.
Le message d'erreur que tu reçois de amixer n'étant vraiment pas très explicite, difficile de savoir si le fait que tu n'as pas pcm l'embête. Je suppose que alsamixer ne fonctionne pas mieux. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Jul 01, 2004 2:41 pm Post subject: |
|
|
Voila la solution pour toi (j'avais le meme probleme)
Ma carte son est celle integre a une Asus i865
- 1/ le kernel 2.6.7-r6 doit avoir dans la configuration
(M) Intel i8x0/MX440, SIS...
(M) Intel i8x0/MX440, AMD... (Experimental)
- 2/ tu compiles, install les modules...
- 3/ /etc/init.d/alsasound stop
- 4/ nano /etc/modules.d/alsa
- 5/ alias snd-card-0 snd-intel8x0
- 6/ modules-update
- 7/ /etc/init.d/alsasound start
- 8/ modpobe snd-intel8x0 (je sais pas pourquoi mais il demarre pas sinon)
- 9/ amixer set Master 100 unmute
- 10/ amixer set PCM 100 unmute
- 11/ ogg123 /mnt/video/sound/ogg/vivaldi\ -\ Barry\ Lindon.ogg
Miracle !
ca marche du son !
Reste plus qu'a faire loader le module snd-8x0 automatiquement... mais c pas loin d'etre tout bon...
Apres reboot, tout marche, les applics qui ont besoin d'OSS aussi (le mixer...) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MetaLyck n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Jun 2004 Posts: 34
|
Posted: Sat Jul 03, 2004 3:20 pm Post subject: |
|
|
Salut,
J'ai suivi tes conseils, et quand j'en arrive à l'étape 7, voici ce qu'il me renvoit :
root@tux linux # /etc/init.d/alsasound start
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: snd-intel8x0
* Loading: snd-seq
FATAL: Module snd_seq not found.
* Running card-dependent scripts
* Restoring Mixer Levels
* No mixer config in /etc/asound.state, you have to unmute your card! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
Posted: Sat Jul 03, 2004 6:43 pm Post subject: |
|
|
Le snd-seq, je sais pas, mais c'est pour les midi je pense (donc moins vital que les pcm)
Moi j'ai pas cette errreur, mais j'avoue que je sais pas pourquoi...
Sinon t'as plus qu'a unmute/reboot et ca devrait aller |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MetaLyck n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Jun 2004 Posts: 34
|
Posted: Sun Jul 04, 2004 10:28 am Post subject: |
|
|
Etape 9:
root@tux root # amixer set Master 100 unmute
amixer: Mixer attach default error: No such device
Aurais-tu une autre suggestion?
Encore merci pour tout ce temps que tu consacres à m'aider. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
Posted: Sun Jul 04, 2004 5:04 pm Post subject: |
|
|
Non désolé
Verifie bien que le module est loadé (lsmod)
Car moi il voulait pas le loadé tout seul avant le reboot
Regarde ce qu'il me donne ici (lsmod | grep snd), peut etre ca pourra t'aider
snd_intel8x0 36652 2
snd_ac97_codec 68612 1 snd_intel8x0
gameport 5504 1 snd_intel8x0
snd_mpu401_uart 8832 1 snd_intel8x0
snd_rawmidi 25252 1 snd_mpu401_uart
snd_pcm_oss 54184 0
snd_pcm 99844 2 snd_intel8x0,snd_pcm_oss
snd_page_alloc 12040 2 snd_intel8x0,snd_pcm
snd_timer 27012 1 snd_pcm
snd_mixer_oss 20224 2 snd_pcm_oss
snd 56164 10 snd_intel8x0,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 11104 2 snd
Sinon dans mon kernel j'ai :
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=m
CONFIG_SND_RTCTIMER=m
# 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=m
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
# PCI devices
#
CONFIG_SND_AC97_CODEC=m
...
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
Voila, sinon si ton module intel8x0 est bien chargé, je pense que tu devrais voir dans le forum un thread qui parle des problèmes avec ALSA (et non plus avec ta carte son). Je crois avoir vu ca qql part ou qql disait qu'il n'arrivait pas a charge le sequencer (la meme erreur que toi donc). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MetaLyck n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Jun 2004 Posts: 34
|
Posted: Sun Jul 04, 2004 8:31 pm Post subject: |
|
|
Lol, à mon avis... il y a un léger petit problème :p
Regarde ce qui m'est renvoyé apres avoir tapé la commande lsmod | grep snd
Aparemment le module ne s'est pas lancé... ?!
root@tux metalyck # lsmod | grep snd
snd_ac97_codec 66564 0
snd_mpu401_uart 7424 0
snd_rawmidi 21440 0 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
Posted: Sun Jul 04, 2004 9:39 pm Post subject: |
|
|
Eh oui, comme je l'ai mis dans le #8 il m'a fait pareil, je sais pas pourquoi...
T'es pas loin d'y arriver je pense
Dès que ton module sera chargé tu dois finir l'installation d'ALSA, voila la doc d'ALSA (positionné à l'étape qu'il te faut pour terminer).
http://www.gentoo.org/doc/fr/alsa-guide.xml#alsa-utils
EDIT: au fait pour info voila ma carte, je pense que c'est bien celle que tu as:
root@beleg krinn # lspci | grep media
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MetaLyck n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Jun 2004 Posts: 34
|
Posted: Sun Jul 04, 2004 10:16 pm Post subject: |
|
|
Effectivement j'ai la meme carte que toi.
Seulement, j'ai beau faire modprobe snd-intel8x0, rien ne se passe, elle n'apparait toujours pas dans lsmod | grep snd ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
Posted: Mon Jul 05, 2004 7:49 am Post subject: |
|
|
Ben si ton module il refuse de se loader alors je peux pas t'aider, parcequ'avec les memes options et la meme carte moi il se load...
<------ Comme c'est ecris sous mon nom: Noob
Si j'étais toi, en premier, je deinstall tout ce qui est alsa, je recompile mon kernel (voir je le change), et hop retour au début pour voir si ce coup ci ca marche. Moi j'utilise le kernel version 2.6.7-gentoo-r6 et ca marche avec. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|