All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Howard <mike@dewberryfields.co.uk>
To: alsa-devel@alsa-project.org
Subject: Wandboard Quad - SPDIF issue, no sound
Date: Mon, 23 Jun 2014 19:07:01 +0100	[thread overview]
Message-ID: <53A86CC5.2060204@dewberryfields.co.uk> (raw)

Hello All,

I'm resending this email as orignally I wasn't subcribed and I've been 
told the message hasn't made it through.

I was pointed here from the Wandboard Google Groups forum. If I'm in the 
wrong place please accept my appologies.

With known good cabling and receiver I'm not getting sound from the 
Wandboard Quad's S/PDIF output. I have built various kernels from 
mainline, the last two sources I tried are 3.15.1 and 3.16-rc2.

With sound built as modules I get nothing on any outputs, errors from 
dmesg are;

dmesg | grep snd
5.206990] imx-spdif sound-spdif.13: snd_soc_register_card failed: -517
[ 5.241976] imx-spdif sound-spdif.13: snd_soc_register_card failed: -517
[ 5.258174] imx-spdif sound-spdif.13: snd-soc-dummy-dai <-> 
2004000.spdif mapping ok
[ 5.281704] imx-sgtl5000 sound.12: snd_soc_register_card failed (-517)

With sound built in I get sound on the 'line out' output and from dmesg;

dmesg | grep snd
imx-spdif sound-spdif: snd-soc-dummy-dai <-> 2004000.spdif mapping ok

In both cases I get (or similar);

dmesg | grep firm
imx-sdma 20ec000.sdma: Direct firmware load failed with error -2
imx-sdma 20ec000.sdma: loaded firmware 1.1

Not sure if the firmware message above is a problem or not.

aplay output;

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: imx6wandboardsg [imx6-wandboard-sgtl5000], device 0: HiFi 
sgtl5000-0 []
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 1: imxspdif [imx-spdif], device 0: S/PDIF PCM snd-soc-dummy-dai-0 []
   Subdevices: 1/1
   Subdevice #0: subdevice #0

aplay -L
null
     Discard all samples (playback) or generate zero samples (capture)
pulse
     PulseAudio Sound Server
sysdefault:CARD=imx6wandboardsg
     imx6-wandboard-sgtl5000,
     Default Audio Device
sysdefault:CARD=imxspdif
     imx-spdif,
     Default Audio Device

aplay -vv ImABeliever.wav
Playing WAVE 'ImABeliever.wav' : Signed 16 bit Little Endian, Rate 44100 
Hz, Stereo
Hardware PCM card 1 'imx-spdif' device 0 subdevice 0
Its setup is:
   stream       : PLAYBACK
   access       : RW_INTERLEAVED
   format       : S16_LE
   subformat    : STD
   channels     : 2
   rate         : 44100
   exact rate   : 44100 (44100/1)
   msbits       : 16
   buffer_size  : 16384
   period_size  : 4096
   period_time  : 92879
   tstamp_mode  : NONE
   period_step  : 1
   avail_min    : 4096
   period_event : 0
   start_threshold  : 16384
   stop_threshold   : 16384
   silence_threshold: 0
   silence_size : 0
   boundary     : 1073741824
   appl_ptr     : 0
   hw_ptr       : 0
#################           +                      | 55%

but no sound form SPDIF.

If this is right place for this and if I can be of any help debuuging or 
you need more info I'm more than happy to help in any way I can.

Since I sent the original message Ive realised that data is being sent 
to and received at the SPDIF output of the wandboard quad it can't seem 
to handle it. If I connect a DAC to the SPDIF output and then connect 
the DAC to my recievers aux input I hear the sound in all it's glory.

The same receiver and cabling works with a cubietruck and the sunxi kernel.

Cheers,
Mike

-- 

             reply	other threads:[~2014-06-23 18:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-23 18:07 Michael Howard [this message]
2014-06-24  5:33 ` Wandboard Quad - SPDIF issue, no sound Sinan Akman
2014-06-24 14:57   ` Michael Howard
2014-06-24 23:49     ` Sinan Akman
2014-06-25 14:16       ` Michael Howard
2014-06-26 14:29         ` Michael Howard
2014-06-26 19:07           ` Sinan Akman
2014-06-26 18:56         ` Sinan Akman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53A86CC5.2060204@dewberryfields.co.uk \
    --to=mike@dewberryfields.co.uk \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.