Aller au contenu

Probleme son Realtek AC655 (pilote snd-via82xx)


Messages recommandés

Bonjour,

j'ai un petit probleme, j'ai un systeme dual boot Mandriva/Gentoo, et le son (la carte son : Realtek AC655, le pilote alsa : snd-via82xx)

marche correctement sous Mandriva, mais pas sous Gentoo.

En fait, sous Gentoo, il y a le son, mais cest au niveau de la capture que ca coince.

La capture ne marche que si j'utilise le taux d'echantillon 48000Hz, et encore, si j'utilise sox ca ne marche pas

sox -t alsa -r 48000 /dev/snd/pcmC0D0c test.wav

Ca donne :

ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM /dev/snd/pcmC0D0c

J'ai essaye egalement option dxs_support=5 mais ca ne change rien.

Sinon, j'ai trouve sous Mandriva le fichier /etc/rc.d/rc.alsa_default qui semble definir quelques reglages, et qui n'a pas d'equivalent sous Gentoo

il contient

::::::::::::::
rc.alsa_default
::::::::::::::
#!/usr/bin/perl -pi

# known whitelist:
# - "DAC Volume" must be unmuted on Cirrus Logic CS4297A driver (#12151)
# - "wave surround" must be unmuted on SB Live in order to make rear speakers wo
rking

my $factor = 0.8;

# state machine:
if (/\s*control\./) {
($min, $max) = (0, 0);
} elsif (/\s*name '/) {
# fix too fast sound on "Terratec Aureon 5.1 Sky" (#12100):
$max = 44100/$factor if $fix_frequ = /Multi Track Internal Clock/;
# fix distortion on SBLive Value with stereo analogue speakers (#13911):
$max*= 0.5/$factor if /Tone Control - Treble|Tone Control - Bass/;
# skip masks and blacklist mixer elements that corrupt or mute the sound:
$blacklisted = m!\s*name\s'.*(
# fix distorsion on some Ali 5455, AMD 768/8111, Intel i8x0, nVidia nForce and S
iS 7012 sound cards:
	3D\ Control
# prevent a larsen effect above 50/60% on SB Live:
	|AC97\ Playback\ Volume
# most users use analog hps rather than digital ones and some audigy do not have
digital output anyway:
# (also fix muted sound on Creative Labs EMU10K2 Audigy (#7938)):
	|Analog/Digital\ Output\ Jack
# the same for Creative Labs EMU10K2 (#7515, #18235):
	|Audigy\ Analog/Digital\ Output\ Jack
# fix low sound on some laptops with internal HPs:
# (fix disabled b/c it mute sound on new laptopts (#16582)
#		|External\ Amplifier
# fix muted sound on ICH4:
	|External\ Amplifier\ Power\ Down
# fix muted sound on C-Media PCI (CMI):
	|Exchange\ DAC
# fix sound on i845 with ALSA-1.0.8+:
# this is fixed in ALSA's CVS and we should probably split the blacklisted
# state into "ignored" and "blacklisted" ones.
# the state should be set to 'ignored' for the 2 following elements that we
# should really ignored since CVS driver really set the proper default value
# whereas we currently mute blacklisted elements

	|Headphone\ Jack\ Sense
	|Line\ Jack\ Sense
# fix sound on shuttle boxes:
	|IEC958\ input\ monitor
# fix sound on VIA 8233:
	|IEC958\ Capture\ Monitor
# fix loud sound on cmpci cards:
	|IEC958\ Mix\ Analog
# fix noise on ensoniq 1371:
	|IEC958\ Playback\ Switch
# fix recording on Via FX41/VT8233 && ATI IXP400 (#14571):
	|IEC958\ Capture\ Switch
# prevent larsen on some laptops (especially some DELL notebooks with i8xx chips
ets):
	|Mic\ Boost\ \(\+\d+dB\)
# fix larsen on laptops with ALI chipsets:
	|Mic\ Playback\ Switch
# SB Live: route sound to the first speaker couple rather than to the second pai
r of speakers
	|Output\ Jack
# fix sound on SB Audigy LS:
	|SPDIF\ Out
# fix sound on shuttle boxes:
	|Surround\ down\ mix
# ignore masks, only care about regular mixer element (either rules or switches)
:
	|mask
)!xi;
} else {
if (/s*comment.range '(\d+) - (\d+)'/) {
	($min, $max) = ($1, $2);
} elsif (/s*value/) {
	# Mute blacklisted elements
	if ($blacklisted) {
		# disable switches:
		s/(value\w*\S*)\s* true/\1 false/;
		# set volume to 0%:
		s/(value\w*\S*)\s* \d+/\1 0/;
	} else {
		# enable switches:
		s/(value\w*\S*)\s* false/\1 true/;
		# set volume to 80%:
		my $val = int($max*$factor);
		s/(value\w*\S*)\s* \d+/\1 $val/;
		# fix too fast sound on "Terratec Aureon 5.1 Sky" (#12100):
		s/(value)\s*'\d+'/\1 '$val'/ if $fix_frequ;



	}
}
}

Ces lignes la, et je suppose qu'il faut trouver un moyen de l'utiliser, mais comment ?

Merci d'avance.

Lien vers le commentaire
Partager sur d’autres sites

L'alsa de mandriva est patché pour ce chipset essayes d'installer alsa de gentoo instable. Ou à partir du cvs et ça devrait aller.

Merci Plouf.

Malheureusement la version la plus recente d'Alsa (1.0.13) est deja stable pour gentoo et elle est sur ma machine...

Je veux bien essayer version HG (une sorte de CVS) d'ALSA, mais vu que mon Mandriva utilise la version 1.0.9

d'Alsa, je vois mal comment le patch a pu entrer dedans seulement apres 1.0.13...

Sinon,j'ai oublie de dire hier, mais j'avais essaye de tourner Gentoo avec le noyau Mandiva (donc pilote ALSA de

Mandriva). Et j'avais toujours le meme probleme.

Lien vers le commentaire
Partager sur d’autres sites

  • 4 semaines après...

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

×
×
  • Créer...