You are not logged in.
Pages: 1
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
Offline
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.
Offline
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 advance
Offline
For slitaz4.0
Open any terminal, xterm or sakura. Try to run: [c]alsamixer[/c]
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:
[c]amixer set PCM 20 on[/c]
[c]amixer set Master 20 on[/c]
Or better this terminal command:
[c]amixer set PCM 20 on && amixer set Master 20 on[/c]
Put it to home/YOUR_USERNAME/.config/openbox/autostart.sh
Launch from TERMINAL(NOT for App-Run menu, this gives error)
[c]editor ~/.config/openbox/autostart.sh[/c]
Last line must be:#$(sleep 3 && wbar) &
Add this line:
[c]amixer set PCM 20 on & amixer set Master 20 on &[/c]
Offline
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 : [c]# Wbar2 icon bar[/c]
[c]#$(sleep 3 && wbar) &[/c]
Any idea of what to do? thanks for your suggestions .
Offline
Are you ever tried this 1-word short command?
[c]setmixer[/c]
If it works, just add setmixer as new last line to autorun.sh
if not read next
perceiving 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:
[c]amixer set PCM 20 on & amixer set Master 30 on &[/c]
when you hear 'very weak sound' try to launch command: [c]amixer set PCM on[/c]
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.
Offline
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.
Offline
@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 method
Ca marche avec ma configuration (it work's with my configuration),
A plus, so long,
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]