From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Ujfalusi Subject: Re: [HELP] Audio on BeagleBoard xM can't work Date: Wed, 16 Mar 2011 13:29:18 +0200 Message-ID: <4D809F0E.1000304@nokia.com> References: <20110315115315.bcd2451b.jhnikula@gmail.com> <4D806965.3030800@nokia.com> <4D809420.9080709@nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from smtp.nokia.com ([147.243.128.26]:43740 "EHLO mgw-da02.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751853Ab1CPL3g (ORCPT ); Wed, 16 Mar 2011 07:29:36 -0400 In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: ext Bob Liu Cc: "ABRAHAM, KISHON VIJAY" , "Premi, Sanjeev" , Jarkko Nikula , "linux-omap@vger.kernel.org" , "broonie@opensource.wolfsonmicro.com" , "lrg@slimlogic.co.uk" , "lars@metafoo.de" , "paul@pwsan.com" , "Koyamangalath, Abhilash" 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=3D"DAC2 Analog Playback Switch" 1 > amixer cset name=3D"DAC2 Analog Playback Volume" 12 > amixer cset name=3D"DAC2 Digital Coarse Playback Volume" 2 > amixer cset name=3D"DAC2 Digital Fine Playback Volume" 50 > -------------------- >=20 > 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. --=20 P=C3=A9ter -- To unsubscribe from this list: send the line "unsubscribe linux-omap" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html