Skip to contentSkip to conversation

problem with speaker-test

DISCUSSION Sedji Gaouaou 2 participants 3 messages Mar 31, 2009 – Apr 2, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying to use speaker-test on my sam9g20 board, with the Wolfson wm8731, but I can't have any tone...
Instead it returns this error:

# speaker-test -c 2 -t1

speaker-test 1.0.14

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz) Buffer size range from 16 to 1073745880 Period size range from 0 to 0
Using max buffer size 1073745880
Periods = 4
was set period_size = 0
was set buffer_size = 8192
Unable to set sw params for playback: Invalid argument Setting of swparams failed: Invalid argument

So I tried:

# speaker-test -D"name" -c 2 -t1, but I don't know exactly what should I 
pass as "name".
I did: aplay -L to list all the devices, but I don't see anything...

Is anybody got an idea here?

Regards,
Sedji

#1 lore raw
Quoted 4 lines · Sedji Gaouaou

I am trying to use speaker-test on my sam9g20 board, with the Wolfson wm8731, but I can't have any tone...
Instead it returns this error:

# speaker-test -c 2 -t1

Hrm, interesting. This command works fine for me out of the box on my sam9g20 board with Linus' current mainline (v2.6.29-7100-g833bb30).

Quoted 1 line

speaker-test 1.0.14

I am using ALSA 1.0.18, does that help? I'm not aware of any fixes, though.

#2 lore raw

Hi Mark,

Quoted 3 lines · Mark Brown

I am using ALSA 1.0.18, does that help? I'm not aware of any fixes, though.

I have updated ALSA from 1.0.14 to 1.0.18 and it is working now! Thanks for your help.

Regards,
Sedji