Bonjour,
Pas de son avec VLC ou Alsaplayer alors que le fichier audio est bien lu et les réglages de volume actifs ?
(Slitaz 4.0 sur Netbook Samsung N410 carte son Intel ICH7 )
NB : sous Windows (dual boot) pas de pb de son.
Merci pour votre aide

Pas de son
(8 posts) (3 voices)-
Posted 10 years ago #
-
Sound mute because of alsactrl error is known issue. I have no this problem now, after selecting my soundcard in menuconfig and recompiling kernel with built-in modules.
Maybe this will work too: http://pkgs.slitaz.org/search.sh?desc=linux-without-modules
no troubles for usb-soundcard, just MOBOin.
Before recompiling used setmixer command in autorun script.Posted 10 years ago # -
Thanks az_ua for your answer but I am a beginner with Linux and not very familiar with the different commands, could you give some more details on the procedure you suggest, if not too long.
Thanks in advancePosted 10 years ago # -
For slitaz4.0
Open any terminal, xterm or sakura. Try to run:alsamixer
if it works, there are no problems with sound driver.
Use <- -> M keys to set volume for master and pcm.
or 2 commands for Applications-Run:
amixer set PCM 20 on
amixer set Master 20 on
Or better this terminal command:
amixer set PCM 20 on && amixer set Master 20 on
Put it to home/YOUR_USERNAME/.config/openbox/autostart.sh
Launch from TERMINAL(NOT for App-Run menu, this gives error)
editor ~/.config/openbox/autostart.sh
Last line must be:#$(sleep 3 && wbar) &
Add this line:
amixer set PCM 20 on & amixer set Master 20 on &
Posted 10 years ago # -
As suggested I have checked Alsamixer and it works, but with Master and PCM set on 20 the sound is inaudible and the level has to be pushed at maximum 100% to start perceiving a very weak sound. (with the volume control of the tool bar at maximum)
Her are the last two lines of autostart.sh :# Wbar2 icon bar
#$(sleep 3 && wbar) &
Any idea of what to do? thanks for your suggestions .Posted 10 years ago # -
Are you ever tried this 1-word short command?
setmixer
If it works, just add setmixer as new last line to autorun.sh
if not read nextperceiving a very weak sound
This means PCM still at 'mute' state and no driver problem. Toolbar volume control is just copy of 'master' in alsamixer. For me amixer's 31 = 100% in alsamixer. Was not clear previously, about autostart.sh: Add NEW last line:
amixer set PCM 20 on & amixer set Master 30 on &
when you hear 'very weak sound' try to launch command:amixer set PCM on
Some hardware requires amixer set Front on. Anyway, i see you are not able to understand that MM in alsamixer = no sound. Press M button.Posted 10 years ago # -
Two points :
1)adjusting the levels (In the alsamixer panel) for Master, PCM... show that the highest volume is obtained at maximum gain : 0dB for PCM and Master and +1dB for Speaker (corresponding to a reference level of 100) and this looks logical (volume proportionnal to gain )
2) making the tests with new audio files gives good results !! obviously the two files loaded for the initial tests were of bad quality.
Thanks a lot for your suggestions which helped me to understand better the basics of Alsamixer.Posted 10 years ago # -
@photino
"Pas de son avec VLC ou Alsaplayer alors que le fichier audio est bien lu et les réglages de volume actifs ?
(Slitaz 4.0 sur Netbook Samsung N410 carte son Intel ICH7 )
NB : sous Windows (dual boot) pas de pb de son."Et est-ce que ça marche en essayant la commande suivante dans un terminal sous root ?
(Try with this command above...)
root@slitaz:~$ alsactl init
Found hardware: "ALI5451" "Analog Devices AD1981B" "AC97a:41445374" "0x104d" "0x8158"
Hardware is initialized using a generic methodCa marche avec ma configuration (it work's with my configuration),
A plus, so long,Posted 10 years ago #
Reply
You must log in to post.