[SOLVED] Audio not working on Wandboard Quad Rev. C1

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[SOLVED] Audio not working on Wandboard Quad Rev. C1

Postby enzeneer » Fri Nov 07, 2014 6:40 pm

I had posted this previously on the Freescale forum as "HDMI audio not working" viewtopic.php?f=45&t=8000

In short: I have a Wandboard Quad Rev. C1 board with a fantastic build of Arch. It literally works out of the box, great HDMI video.

Unfortunately there is no audio output from the HDMI or the analog port. (Not sure what it is called.)

I'm running the Arch latest build in the downloads with LXDE.
$this->bbcode_second_pass_code('', '
$ uname -a
Linux alarm 3.17.2-1-ARCH #1 SMP Fri Oct 31 18:48:47 MDT 2014 armv7l GNU/Linux
')

I've tried all the usual tricks with alsamixer and pavucontrol. (I installed pulseaudio to test even though I don't really need it.)
$this->bbcode_second_pass_code('', '
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k3.17.2-1-ARCH.
')

What more information would you need to debug? Any pointers will be appreciated to get audio working.
Last edited by enzeneer on Mon Nov 10, 2014 4:11 pm, edited 1 time in total.
enzeneer
 
Posts: 19
Joined: Thu Nov 06, 2014 4:12 am

Re: Audio not working on Wandboard Quad Rev. C1

Postby pepedog » Fri Nov 07, 2014 6:48 pm

cat /proc/asound/cards
aplay -l
aplay -L
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Audio not working on Wandboard Quad Rev. C1

Postby enzeneer » Fri Nov 07, 2014 6:57 pm

Thank you for the reply. Here is the information you requested:
$this->bbcode_second_pass_code('', '
cat /proc/asound/cards
0 [imxspdif ]: imx-spdif - imx-spdif
imx-spdif
1 [imx6wandboardsg]: imx6-wandboard- - imx6-wandboard-sgtl5000
imx6-wandboard-sgtl5000
')
$this->bbcode_second_pass_code('', '
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: imxspdif [imx-spdif], device 0: S/PDIF PCM snd-soc-dummy-dai-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: imx6wandboardsg [imx6-wandboard-sgtl5000], device 0: HiFi sgtl5000-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
')
$this->bbcode_second_pass_code('', '
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=imxspdif
imx-spdif,
Default Audio Device
sysdefault:CARD=imx6wandboardsg
imx6-wandboard-sgtl5000,
Default Audio Device
')
enzeneer
 
Posts: 19
Joined: Thu Nov 06, 2014 4:12 am

Re: Audio not working on Wandboard Quad Rev. C1

Postby pepedog » Fri Nov 07, 2014 7:10 pm

Try getting analog working with this
Paste this into either /etc/asound.conf (affects all users) or ~/.asoundrc of the user
$this->bbcode_second_pass_code('', 'pcm.!default {
type plug
slave {
pcm "hw:1,0"
}
}
ctl.!default {
type hw
card 1
}')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Audio not working on Wandboard Quad Rev. C1

Postby enzeneer » Fri Nov 07, 2014 8:02 pm

Hi, thanks a lot.

Good news and bad news.

There was sound from the analog output for a few seconds, and then it died. No sound again.

If I keep the pavucontrol window open to the playback tab, I can see the audio level going up and down. That is, the audio is playing but there is no sound coming from the port.
enzeneer
 
Posts: 19
Joined: Thu Nov 06, 2014 4:12 am

Re: Audio not working on Wandboard Quad Rev. C1

Postby enzeneer » Sat Nov 08, 2014 3:53 am

Hello

Analog audio works after power cycling the board! Thank you for your help.

Is there a reason why HDMI audio does not work? Is it not supported?

E
enzeneer
 
Posts: 19
Joined: Thu Nov 06, 2014 4:12 am

Re: Audio not working on Wandboard Quad Rev. C1

Postby pepedog » Sat Nov 08, 2014 9:10 am

As far as I'm aware, it should work on wandboard, on C1 though I don't know.
It's the kernel, maybe contact Crawx or wandboard forum
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [SOLVED] Audio not working on Wandboard Quad Rev. C1

Postby enzeneer » Mon Nov 10, 2014 4:13 pm

For posterity: the key is to use the linux-wandboard kernel rather than the mainline linux-armv7 kernel. Installing the wandboard kernel immediately detects the HDMI audio port.
enzeneer
 
Posts: 19
Joined: Thu Nov 06, 2014 4:12 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 20 guests