Pages : 1
#1 Le 02/08/2009, à 22:29
- kharg
pb alsamixer pas de son
Bonjour,
Je n'ai jamais eu de son sur ma distrib ubuntu (jaunty). J'ai decide de m'attaquer au probleme. Je me suis arrete assez rapidement car bien qu'ayant installe alsa-utils et gnome-alsamixer il ne veut pas demarrer alsamixer. Voici le message que j'obtiens:
kharg:~$ alsamixer
ALSA lib conf.c:1589:(snd_config_load1) _toplevel_:4:4:Unexpected char
ALSA lib conf.c:2850:(snd_config_hook_load) /home/kharg/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:2714:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing configuration
alsamixer: function snd_ctl_open failed for default: Invalid argument
kharg@kharg-laptop:~$ alsamixer
ALSA lib conf.c:1589:(snd_config_load1) _toplevel_:4:4:Unexpected char
ALSA lib conf.c:2850:(snd_config_hook_load) /home/kharg/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:2714:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing configuration
alsamixer: function snd_ctl_open failed for default: Invalid argument
kharg:~$ lspci | grep -i audio
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
J'ai reussi a obtenir un son strident en allant dans preferences du son puis en selection la detection de oss et a la place de 'detection automatique'. Celle de alsa n'a rien donne.
Que dois-je faire? Merci.
Kharg
Hors ligne
#2 Le 02/08/2009, à 22:34
- wido
Re : pb alsamixer pas de son
Bonjour,
alsaconf
et poste le résultat, si tu as le même genre de message d'erreur, tu devras réinstaller des paquets.
sudo apt-get install alsa-driver alsa-lib alsa-utils alsa-plugins
Hors ligne
#3 Le 02/08/2009, à 22:44
- kharg
Re : pb alsamixer pas de son
il ne connait pas alsaconf.
Il ne trouve pas le paquet alsa-driver. Dans synaptic il trouve alsa-base (installe) et alsa-source (pas installe).
Je vais essaye les tests de l'autre dicussions.
Merci
Est ce que j'installe alsa-source?
Dernière modification par kharg (Le 02/08/2009, à 22:46)
Hors ligne
#4 Le 02/08/2009, à 22:46
- kaly
Re : pb alsamixer pas de son
Bonjour kharg,
le mieux serait que tu fasse les tests expliqués ici.
Anti-conformiste communautaire
Hors ligne
#5 Le 02/08/2009, à 22:47
- kaly
Re : pb alsamixer pas de son
Non cela ne changerais rien à ton problème.
Anti-conformiste communautaire
Hors ligne
#6 Le 03/08/2009, à 00:02
- kharg
Re : pb alsamixer pas de son
Houla,
cela a pas l'air evident.
Voila ou j'en suis:
1) lorsque je tape dans une console " lspci -v " il me donne le nom de ma carte:
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
Subsystem: Hewlett-Packard Company Device 30cf
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
Memory at f2580000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
Comme le driver ne marchait j'ai suivi le tuto et j'ai reinstalle linux-audio et alsa puis compile le driver Alsa (j'ai bien trouve hda-intel dans la liste) mais j'ai toujours l'erreur avec applay:
kharg:~$ aplay -l
**** Liste des PLAYBACK périphériques ****
ALSA lib conf.c:1589:(snd_config_load1) _toplevel_:4:4:Unexpected char
ALSA lib conf.c:2850:(snd_config_hook_load) /home/kharg/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:2714:(snd_config_hooks_call) function snd_config_hook_load returned error: Argument invalide
ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing configuration
aplay: device_list:226: control open (0): Argument invalide
Il n'arrive pas a lister ma carte pourtant elle est est bien dans la liste du module assistant de Alsa (hda-intel). J'ai vu qu'il y avait un 'hda-generic' dans la liste est ce que j'essaye d'installer ca?
je vais essayer la version sans assistant en editant le fichier.
Dernière modification par kharg (Le 03/08/2009, à 00:03)
Hors ligne
#7 Le 03/08/2009, à 00:21
- kharg
Re : pb alsamixer pas de son
bon j'ai essaye les deux autres solutions sans succes.
Je suis pas pres de supprimer mon dual bout avec windaube.
Merci
Hors ligne
#8 Le 03/08/2009, à 07:52
- kaly
Re : pb alsamixer pas de son
pourrais-tu poster le résultat de la commande
cat /home/kharg/.asoundrc
essai de renommer ce fichier en /home/kharg/.asoundrcBAK et retest la commande aplay -l
Il semblerait que ce fichier soit invalide
"ALSA lib conf.c:2850:(snd_config_hook_load) /home/kharg/.asoundrc may be old or corrupted: consider to remove or fix it"
Le fait de le renommer sera comme si nous l'avons supprimé pour le système car il ne le verra plus.
Ce fichier est caché pour le voir dans le navigateur de fichier fait ctrl+H ou Affichage->Afficher les fichiers cachés.
Et encore une petite chose, poste le résultat de
cat /proc/asound/modules
Cela indique le nom et l’index de chaque carte installée.
Anti-conformiste communautaire
Hors ligne
#9 Le 03/08/2009, à 14:04
- kharg
Re : pb alsamixer pas de son
bonjour,
voici le resultat des deux commandes:
kharg@kharg-laptop:~$ cat /home/kharg/.asoundrc
1. pcm.!default {
2. type pulse
3. }
4.
5. ctl.!default {
6. type pulse
7. }
8.
9. pcm.pulse {
10. type pulse
11. }
12.
13. ctl.pulse {
14. type pulse
15. }
kharg@kharg-laptop:~$ cat /proc/asound/modules
cat: /proc/asound/modules: Aucun fichier ou dossier de ce type
Apres avoir renommer le fichier il ne trouve pas ma carte:
kharg@kharg-laptop:~$ aplay -l
aplay: device_list:217: aucune carte son trouvée...
kharg@kharg-laptop:~$
je vais reessayer de recompiler le driver. N'y a t il pas quelques informations particuliere dans cette page? http://www.alsa-project.org/main/index. … -hda-intel
Dernière modification par kharg (Le 03/08/2009, à 14:23)
Hors ligne
#10 Le 03/08/2009, à 14:53
- kharg
Re : pb alsamixer pas de son
Salut,
Les choses ont pas mal evolue: lors de la compilation de mon drivers au lieu d'installer juste hda-intel j'ai installe tous les pilotes comportant le nom hda (il y avait hda-generic notemment). Par contre j'ai utilise seulement 'sudo modprobe snd-hda-intel '.
Maintenant j'entends du son une demi seconde puis il me dit: failed to connect stream, parametre invalide.
Pour les commandes precedentes il trouve quelque chose:
kharg@kharg-laptop:~$ aplay -l
**** Liste des PLAYBACK périphériques ****
carte 0: NVidia [HDA NVidia], périphérique 0 : CONEXANT Analog [CONEXANT Analog]
Sous-périphériques: 1/1
Sous-périphérique: #0: subdevice #0
carte 0: NVidia [HDA NVidia], périphérique 1 : Conexant Digital [Conexant Digital]
Sous-périphériques: 1/1
Sous-périphérique: #0: subdevice #0
kharg@kharg-laptop:~$ cat /proc/asound/modules
0 snd_hda_intel
kharg@kharg-laptop:~$
Hors ligne
#11 Le 03/08/2009, à 15:39
- kaly
Re : pb alsamixer pas de son
c'est un bon début
Qu'a tu dans Système->Préférences->Sons ? Il suffit peut etre de choisir le bon périphérique.
Anti-conformiste communautaire
Hors ligne
#12 Le 03/08/2009, à 21:48
- kharg
Re : pb alsamixer pas de son
Bonsoir,
Ca marche! Merci. J'ai selectionne pulse audio. Cependant il y a quelques comportements aleatoires (coupure de la lecture, ouverture d'un mp3 qu'il n'a pas reussi a s'ouvrir juste avant). Par contre quand je mets conextant digital ca ne marche pas alors que c'est ce qu'affiche 'aplay -l'.
Une autre question qui n'a rien a voir (mais c'est pour cela que j'ai voulu mettre le son). Je n'arrive pas a voir les emissions de france 5. Est ce possible? (plug in flash adapte a ubuntu? Lecteur particulier?)
Dernière modification par kharg (Le 03/08/2009, à 21:49)
Hors ligne
#13 Le 04/08/2009, à 09:59
- kaly
Re : pb alsamixer pas de son
Le dernier post de ce sujet peut t'aider.
A savoir :
> installer mplayer (avec les petits paquets qui vont bien ).
> installer mediaplayerconnectivity (pluging de firefox) qui va vous permettre de designer ce lecteur comme lecteur par défaut quand vous cliquer sur la vidéo qui restait noire.
Je vais tester.
Anti-conformiste communautaire
Hors ligne
#14 Le 15/11/2009, à 18:11
- visantarrouz
Re : pb alsamixer pas de son
bonjour quand j'ouvre alsamixer, le logiciel est vide
je peux juste faire edition->propriete carte son
et la hop tout disparait...
Hors ligne
#16 Le 15/11/2009, à 21:34
- visantarrouz
Re : pb alsamixer pas de son
Salut Kaly,
Merci du tuyau pour le "là" le ici j'avais deja tester
Du coup j'ai plus de pulseaudio
Par contre j'arrive toujours pas à faire fonctionner Alsa ni ma carte son je bloque la :
sudo apt-get install build-essential linux-headers-$(uname -r) module-assistant alsa-source
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet linux-headers-2.6.28-15-generic
Mais c'est vrai que j'ai changé mon 28-15 par du 31-14 comme conseillé sur d'autre fil ...
si qqun peut m'aider d'autre info :
voici le resultat de :
ls -al /boot
total 26564
drwxr-xr-x 3 root root 4096 2009-11-14 12:32 .
drwxr-xr-x 22 root root 4096 2009-11-15 11:04 ..
-rw-r--r-- 1 root root 528310 2009-09-09 14:56 abi-2.6.28-15-generic
-rw-r--r-- 1 root root 629174 2009-10-16 20:03 abi-2.6.31-14-generic
-rw-r--r-- 1 root root 96804 2009-09-09 14:56 config-2.6.28-15-generic
-rw-r--r-- 1 root root 111371 2009-10-16 20:03 config-2.6.31-14-generic
drwxr-xr-x 2 root root 4096 2009-11-15 11:24 grub
-rw-r--r-- 1 root root 7209362 2009-11-13 16:26 initrd.img-2.6.28-15-generic
-rw-r--r-- 1 root root 7896781 2009-11-14 12:32 initrd.img-2.6.31-14-generic
-rw-r--r-- 1 root root 128796 2009-10-23 18:11 memtest86+.bin
-rw-r--r-- 1 root root 1450680 2009-09-09 14:56 System.map-2.6.28-15-generic
-rw-r--r-- 1 root root 1664737 2009-10-16 20:03 System.map-2.6.31-14-generic
-rw-r--r-- 1 root root 1074 2009-09-09 14:58 vmcoreinfo-2.6.28-15-generic
-rw-r--r-- 1 root root 1196 2009-10-16 20:06 vmcoreinfo-2.6.31-14-generic
-rw-r--r-- 1 root root 3491312 2009-09-09 14:56 vmlinuz-2.6.28-15-generic
-rw-r--r-- 1 root root 3890400 2009-10-16 20:03 vmlinuz-2.6.31-14-generic
visant@visant:~$ sudo gedit /boot/grub/menu.lst
le resultat de
uname -a
Linux visant 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux
pourtant voici le resultat de ca, j'ai deja changer en 31-14
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 3
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=1bd9d654-3508-42a5-b9da-e577448b42cb ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=1bd9d654-3508-42a5-b9da-e577448b42cb
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Chainload into GRUB 2
uuid 1bd9d654-3508-42a5-b9da-e577448b42cb
kernel /boot/grub/core.img
title ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
root
title When you have verified GRUB 2 works, you can use this command to
root
title complete the upgrade: upgrade-from-grub-legacy
root
title ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
root
title Ubuntu 9.10, kernel 2.6.31-14-generic
uuid 1bd9d654-3508-42a5-b9da-e577448b42cb
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=1bd9d654-3508-42a5-b9da-e577448b42cb ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
quiet
title Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
uuid 1bd9d654-3508-42a5-b9da-e577448b42cb
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=1bd9d654-3508-42a5-b9da-e577448b42cb ro single
initrd /boot/initrd.img-2.6.31-14-generic
title Ubuntu 9.10, kernel 2.6.31-14-generic
uuid 1bd9d654-3508-42a5-b9da-e577448b42cb
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=1bd9d654-3508-42a5-b9da-e577448b42cb ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
quiet
title Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
uuid 1bd9d654-3508-42a5-b9da-e577448b42cb
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=1bd9d654-3508-42a5-b9da-e577448b42cb ro single
initrd /boot/initrd.img-2.6.31-14-generic
title Ubuntu 9.10, memtest86+
uuid 1bd9d654-3508-42a5-b9da-e577448b42cb
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
voici mon materiel :
lspci | grep -i audio
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
Hors ligne
#17 Le 16/11/2009, à 19:46
- visantarrouz
Re : pb alsamixer pas de son
Bon sayez resolu pour moi!
OUFFF!!!
apres moult et moult heures sans son la soluce etait bien de passer des 26-15 au 31-14
Seulement j'avais 2 Grub et les modifs qui sont indiquer dans ce fil des commande m'envoyer dans le mauvais....
Donc j'ai reussit à trouver le bon GRUB le modifier rebooter et hop nickel!
Voila si ca peut servir à qqun
Hors ligne
Pages : 1