Thread (1 message) 1 message, 1 author, 2016-01-25

Re: [PATCH 1/2] ARM: DTS: kirkwood-openrd-client: fix audio

From: Aaro Koskinen <hidden>
Date: 2016-01-25 18:24:59
Also in: alsa-devel, linux-arm-kernel

Hi,

On Sun, Jan 24, 2016 at 07:26:43PM -0800, Rick Thomas wrote:
quoted
root@base:~# cat /proc/asound/devices 
  2: [ 0]   : control
  3: [ 0- 0]: digital audio playback
  4: [ 0- 0]: digital audio capture
 33:        : timer
root@base:~# cat /proc/asound/cards   
 0 [i2scs42l51hifi ]: i2s-cs42l51-hif - i2s-cs42l51-hifi
                      i2s-cs42l51-hifi
Full of hope, I did "aptitude install mp321" which went without any visible problems.

Then hooked up a pair of earphones to the "speaker" plug on the Client and ran
quoted
root@base:~# mpg321 -v /tmp/Jersey.mp3 
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.3.2-1 (2012/03/25). Written and copyrights by Joe Drew,
now maintained by Nanakos Chrysostomos and others.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title	: The Jersey Bounce              Artist : Zazuzaz                       
Album	: An Evening with ZaZuZaz        Year	 : 2000
Comment : Amazon.com Song ID: 201809221  Genre : Jazz                          

Directory: /tmp
Playing MPEG stream from Jersey.mp3 ...
MPEG 1.0, Layer: III, Freq: 44100, mode: Joint-Stereo, modext: 0, BPF : 2560
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0.
Bitrate: 128 Kbits/s, Extension value: 0
Audio: 1:1 conversion, rate: 44100, encoding: signed 16 bit, channels: 2
ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
^C                                                                            
[0:20] Decoding of Jersey.mp3 finished.
So it seemed to be running OK...  But there was no sound in the
earphones. I also tried adding option "-g 50" to set the gain explicitly.
Still no sound.

Is there a hardware jumper I need to set to activate sound on the
OpenRD Client board?
On my board I need to say "amixer set PCM on". Can you post the full
output from "amixer" without any parameters?

Also check if you have this line in dmesg:

	asoc-simple-card sound: cs42l51-hifi <-> i2s mapping ok

If it says "spdif" the player runs but is silent.

A.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help