On 02/28/13 18:33, Alexandre Ratchov wrote:
On Thu, Feb 28, 2013 at 06:19:14PM +0100, Martijn van Duren wrote:
On 02/28/13 09:53, Alexandre Ratchov wrote:
as Jan said, the sound card is getting the signal; but according to
the mixerctl output, your card has 3 independent stereo dacs, so
you could try to kill sndiod and start it as follows:
sudo sndiod -dd -c0:5
to force it to send the signal to all outputs (hopefully the
speaker is one of them). Then try to play any audio file. It should
display:
$ sndiod -dd -c0:5
snd0.default: rec=0:1 play=0:5 vol=5931520 dup
snd0: 48000Hz, s24le4msb, play 0:5, rec 0:1, 2 blocks of 960 frames
ogg0: 48000Hz, s16le, play 0:1, 10 blocks of 960 frames
snd0: device started
(note the second "play 0:5" string). As we're at it, crank the
volume of all dacs to the maximum, just in case the sound is not
loud enough:
mixerctl inputs.dac-0:1=255
mixerctl inputs.dac-2:3=255
mixerctl inputs.dac-4:5=255
If you have headphones or an amp, try all output jacks to figure
out if at least one is getting the signal.
HTH
-- Alexandre
This helped. Major thanks.
Is there any way to make this permanent?
you could add:
sndiod_flags="-c0:5"
in your rc.conf.local and possibly add, if necessary, the mixer
adjustments in mixerctl.conf
And is there any way to achieve working defaults?
this would require to figure out why the sound card doesn't expose
the speakers dac.
Is there any way I can help with this? any way to produce some helpful
debugging output, trying patches, etc?
-- Alexandre