SliTaz SliTaz Forum

You are not logged in.

#1 2014-07-29 23:33:49

photino
Member
Registered: 2014-04-16
Posts: 32

Pas de son

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

#2 2014-07-30 09:01:36

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Pas de son

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

#3 2014-08-02 09:11:42

photino
Member
Registered: 2014-04-16
Posts: 32

Re: Pas de son

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

#4 2014-08-02 12:20:51

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Pas de son

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

#5 2014-08-03 21:36:05

photino
Member
Registered: 2014-04-16
Posts: 32

Re: Pas de son

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

#6 2014-08-04 11:22:39

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Pas de son

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

#7 2014-08-04 21:56:03

photino
Member
Registered: 2014-04-16
Posts: 32

Re: Pas de son

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

#8 2014-11-11 21:01:14

Escapetiger
Member
Registered: 2012-07-24
Posts: 44

Re: Pas de son

@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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]