All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@nokia.com>
To: ext Bob Liu <lliubbo@gmail.com>
Cc: "ABRAHAM, KISHON VIJAY" <kishon@ti.com>,
	"Premi, Sanjeev" <premi@ti.com>,
	Jarkko Nikula <jhnikula@gmail.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"broonie@opensource.wolfsonmicro.com"
	<broonie@opensource.wolfsonmicro.com>,
	"lrg@slimlogic.co.uk" <lrg@slimlogic.co.uk>,
	"lars@metafoo.de" <lars@metafoo.de>,
	"paul@pwsan.com" <paul@pwsan.com>,
	"Koyamangalath, Abhilash" <abhilash.kv@ti.com>
Subject: Re: [HELP] Audio on BeagleBoard xM can't work
Date: Wed, 16 Mar 2011 09:40:21 +0200	[thread overview]
Message-ID: <4D806965.3030800@nokia.com> (raw)
In-Reply-To: <AANLkTinh1x5S1mR1pxod0CG4oXVO05D=AM1eV2TVAszH@mail.gmail.com>

On 03/16/11 07:45, ext Bob Liu wrote:
>> amixer cset name="HandsfreeR Switch" 1
>> amixer cset name="HandsfreeR Mux" 2
>> amixer cset name="HandsfreeL Switch" 1
>> amixer cset name="HandsfreeL Mux" 2
>> amixer cset name="DAC1 Analog Playback Switch" 1
>> amixer cset name="DAC1 Analog Playback Volume" 12
>> amixer cset name="DAC1 Digital Coarse Playback Volume" 2
>> amixer cset name="DAC1 Digital Fine Playback Volume" 50
>> amixer cset name="DAC2 Analog Playback Switch" 1
>> amixer cset name="DAC2 Analog Playback Volume" 12
>> amixer cset name="DAC2 Digital Coarse Playback Volume" 2
>> amixer cset name="DAC2 Digital Fine Playback Volume" 50
>>
>> aplay -D plughw:0,0 -d 5 /mnt/mmc/beethoven.wav

AFAIK the Beagle has the the Headset lines routed to the stereo jack, so
you might want to try:

amixer sset 'HeadsetL Mixer AudioL2' on
amixer sset 'HeadsetR Mixer AudioR2' on

Do apply the gain settings related to DAC2 path. This is the path for
the stereo (2ch mode).

Let me know, if it works.

-- 
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-03-16  7:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-15  3:12 [HELP] Audio on BeagleBoard xM can't work Bob Liu
2011-03-15  9:53 ` Jarkko Nikula
2011-03-15  9:57   ` Bob Liu
2011-03-15 16:21     ` Premi, Sanjeev
2011-03-16  3:39       ` Bob Liu
2011-03-16  5:31         ` ABRAHAM, KISHON VIJAY
2011-03-16  5:45           ` Bob Liu
2011-03-16  7:40             ` Peter Ujfalusi [this message]
2011-03-16  9:27               ` Bob Liu
2011-03-16 10:42                 ` Peter Ujfalusi
2011-03-16 10:52                   ` Bob Liu
2011-03-16 11:29                     ` Peter Ujfalusi
2011-03-16  6:59         ` Premi, Sanjeev

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=4D806965.3030800@nokia.com \
    --to=peter.ujfalusi@nokia.com \
    --cc=abhilash.kv@ti.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=jhnikula@gmail.com \
    --cc=kishon@ti.com \
    --cc=lars@metafoo.de \
    --cc=linux-omap@vger.kernel.org \
    --cc=lliubbo@gmail.com \
    --cc=lrg@slimlogic.co.uk \
    --cc=paul@pwsan.com \
    --cc=premi@ti.com \
    /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.