[Linux-bruxelles] Re: SuSE 9.3 & nosound: ALSA volume settings are overwritten by the tools in the package kdemultimedia3-mixer when KDE starts

Didier MISSON didier.misson at total.com
Lun 11 Juil 14:51:33 CEST 2005


Didier, regardes-moi ça, il est pas beau le petit bug?!

http://www.novell.com/inc/pf/pf.jsp?url=http://support.novell.com/cgi-bin/search/searchtid.cgi?/en/2004/05/thallma_91_sndsilence.html
Despite having been properly set up according to YaST, your sound card 
does 
not produce any sound. The problem can be temporarily solved by 
reconfiguring your sound card, but arises again as soon as the system is 
restarted.



cause


ALSA volume settings are overwritten by the tools in the package 
kdemultimedia3-mixer when KDE starts.



solutions


Disable KDE's mixer support and use sound mixers for the ALSA sound system 

only (e.g., kamix). For this purpose, proceed as follows:
Make sure all mixer applications have been unloaded. If not, you should 
see 
a speaker icon on the tray beside the clock in the lower right corner. In 
this case, right-click it and select Quit from the context menu.
If the question [Should KAMix start automatically immediately after you 
log 
in?] pops up when closing the mixer, confirm with Yes and skip to steps 13 

and 14 of these instructions.
Start the YaST Control Center and select Software -> Install and Remove 
Software.
Search for "kdemultimedia".
Right-click the package kdemultimedia3-mixer then select Delete from menu 
that opens.
Press Accept in the lower right corner.
Finish the YaST Control Center.
Open a console (e.g., press [Alt]+[F2] and run the command konsole.
Enter the command su - in the console.
Enter the administrator's (root) password when prompted to do so. No 
characters (asterisk or similar) are displayed when typing it.
Execute the following commands in the given order:
rcalsasound stop
rm /etc/asound.state
rcalsasound start
alsactl store
Log the root user out of the console by pressing [Ctrl]+[D].
Enter the command kamix &.
Confirm the pop-up message [KDEInit could not start "CheckHardware".].
Close the console by pressing [Ctrl]+[D].

(merci à mon pote Jan qui sm'a envoyé ça, lui qui es partage entre XP et 
Gnu/Linux, mais n'a tj pas migré ... et à force on le comprend!)

Aldo.


Didier> oui ok
mais tu as un by-pass... alors tout va bien !

Mon idée, sans l'avoir essayé et sans PC SuSE sous la main, c'était de 
démarrer automatiquement un petit batch qui t'aurait remis les bons 
réglages de volumes... ou d'ouvrir automatiquement le mixeur KDE, ce qui 
te permet au démarrage de relever le potentiomètre de volume... pas hyper 
pratique de le faire à chaque fois je sais...
Mais c'était surement faisable avec un soft.

A l'époque, j'avais un problème du même genre avec le son sur le Compaq P2 
266 MHz.
Il démarrait avec le volume MAX. Génial le soir. Tu accroches une fois de 
trop le backp-space en console, et il te faisait un ENORME BEEP.
J'avais utilisé une option de AUMIX pour reloader automatiquement un 
réglage de volume correct au démarrage.

Si pas AUMIX, il y a d'autres mixeurs pour Alsa.

-- 
Didier






Plus d'informations sur la liste de diffusion Linux-bruxelles