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 13:29:18 +0200	[thread overview]
Message-ID: <4D809F0E.1000304@nokia.com> (raw)
In-Reply-To: <AANLkTi=3e6SHigDzT3yXh9u6zgDOe=8KpL-UGp3s_EVb@mail.gmail.com>

Hi,

On 03/16/11 12:52, ext Bob Liu wrote:
> Yeah, it works!!  Thank you very much.

You welcome!

> So in order to make aplay work I need to set all of these?
> --------------------
> amixer sset 'HeadsetL Mixer AudioL2' on
> amixer sset 'HeadsetR Mixer AudioR2' on
> amixer sset 'Headset' 2
> 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
> --------------------
> 
> And what should I set making arecord also work?

Beagle has the AUXL/R connected to audio in jack.
So you need a line-in type of input, not a mic.

In theory:
amixer sset 'Analog' 1 # 6dB amplification
amixer sset 'Analog Left AUXL' cap
amixer sset 'Analog Right AUXR' cap
amixer sset 'TX1' 'Analog'
amixer sset 'TX1 Digital' 5 # 5db amplification

arecord -Dhw:0 -fdat -twav recording.wav

You can play with the gains, if they are not correct.

-- 
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 11:29 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
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 [this message]
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=4D809F0E.1000304@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.