* HELP:How to power down TWL5030 Voice/Bluetooth sidetone PGA? @ 2011-06-09 13:40 onlyfever 2011-06-10 7:48 ` Péter Ujfalusi 0 siblings, 1 reply; 5+ messages in thread From: onlyfever @ 2011-06-09 13:40 UTC (permalink / raw) To: linux-omap, alsa-devel Hello, I want to power down Voice/Bluetooth sidetone PGA of TWL5030. I set the VSTPGA Register/BTSTPGA Register to 0x00,but it seems that the Voice/Bluetooth sidetone PGA still work, and even set VSTPGA/BTSTPGA to Mute,there still have sidetone come out. How can I power down Voice/Bluetooth sidetone PGA? I don't need sidetone. thanks! ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HELP:How to power down TWL5030 Voice/Bluetooth sidetone PGA? 2011-06-09 13:40 HELP:How to power down TWL5030 Voice/Bluetooth sidetone PGA? onlyfever @ 2011-06-10 7:48 ` Péter Ujfalusi 2011-06-10 13:27 ` onlyfever 0 siblings, 1 reply; 5+ messages in thread From: Péter Ujfalusi @ 2011-06-10 7:48 UTC (permalink / raw) To: onlyfever; +Cc: linux-omap@vger.kernel.org, alsa-devel@alsa-project.org On Thursday 09 June 2011 16:40:15 onlyfever wrote: > Hello, > I want to power down Voice/Bluetooth sidetone PGA of TWL5030. > I set the VSTPGA Register/BTSTPGA Register to 0x00,but it seems that > the Voice/Bluetooth sidetone PGA still work, > and even set VSTPGA/BTSTPGA to Mute,there still have sidetone come out. > > How can I power down Voice/Bluetooth sidetone PGA? > I don't need sidetone. Are you sure, that the sidetone is added by the VSTPGA/BTSTPGA? Could you check, if you accidentally left either the analog loopbacks enabled (or digital loopbacks)? Check for these: Right1/2 Analog Loopback, Left1/2 Analog Loopback, Voice Analog Loopback, Left/Right/Voice Digital Loopback Could you describe your scenario (uplink, downlink routing, etc)? -- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HELP:How to power down TWL5030 Voice/Bluetooth sidetone PGA? 2011-06-10 7:48 ` Péter Ujfalusi @ 2011-06-10 13:27 ` onlyfever 2011-06-10 14:16 ` Péter Ujfalusi 0 siblings, 1 reply; 5+ messages in thread From: onlyfever @ 2011-06-10 13:27 UTC (permalink / raw) To: Péter Ujfalusi Cc: alsa-devel@alsa-project.org, linux-omap@vger.kernel.org 2011/6/10 Péter Ujfalusi <peter.ujfalusi@ti.com>: > On Thursday 09 June 2011 16:40:15 onlyfever wrote: >> Hello, >> I want to power down Voice/Bluetooth sidetone PGA of TWL5030. >> I set the VSTPGA Register/BTSTPGA Register to 0x00,but it seems that >> the Voice/Bluetooth sidetone PGA still work, >> and even set VSTPGA/BTSTPGA to Mute,there still have sidetone come out. >> >> How can I power down Voice/Bluetooth sidetone PGA? >> I don't need sidetone. > > Are you sure, that the sidetone is added by the VSTPGA/BTSTPGA? > Could you check, if you accidentally left either the analog loopbacks enabled > (or digital loopbacks)? > Check for these: > Right1/2 Analog Loopback, Left1/2 Analog Loopback, Voice Analog Loopback, > Left/Right/Voice Digital Loopback > > Could you describe your scenario (uplink, downlink routing, etc)? > > -- > Péter > 1. when use Headset: uplink routing:HSMIC --> AVTXR2PGA & AVTXL2PGA --> VDXS & VDXM --> PCM_VDX downlink routing:PCM_VDR --> VDR --> VRXPGA Fine gain --> DAC voice --> VDL_GAIN Analog PGA --> HSOL/HSOR I check the loopbacks,it seems that all Loopbacks have been disabled. bash-3.2# alsa_amixer |grep Loopback Simple mixer control 'Left Digital Loopback',0 Simple mixer control 'Left1 Analog Loopback',0 Simple mixer control 'Left2 Analog Loopback',0 Simple mixer control 'Right Digital Loopback',0 Simple mixer control 'Right1 Analog Loopback',0 Simple mixer control 'Right2 Analog Loopback',0 Simple mixer control 'Voice Analog Loopback',0 Simple mixer control 'Voice Digital Loopback',0 The sidetone is become louder if I increase the VSTPGA, and when I increase the VDL_GAIN Analog PGA,the sidetone is become louder too. But the VRXPGA seems don't affect the sidetone,so I think VSTPGA cause the sidetone. 2.when use Bluetooth: uplink routing:BT_PCM_VDR --> BTTXPGA --> VDXM --> PCM_VDX downlink routing:PCM_VDR --> VDR --> BTRXPGA --> BT_PCM_VDX When use Bluetooth interface,I don't know if something else can cause sidetone except BTSTPGA. thanks! ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HELP:How to power down TWL5030 Voice/Bluetooth sidetone PGA? 2011-06-10 13:27 ` onlyfever @ 2011-06-10 14:16 ` Péter Ujfalusi 2011-06-11 3:25 ` onlyfever 0 siblings, 1 reply; 5+ messages in thread From: Péter Ujfalusi @ 2011-06-10 14:16 UTC (permalink / raw) To: onlyfever; +Cc: linux-omap@vger.kernel.org, alsa-devel@alsa-project.org > 2011/6/10 Péter Ujfalusi <peter.ujfalusi@ti.com>: > 1. when use Headset: > uplink routing:HSMIC --> AVTXR2PGA & AVTXL2PGA --> VDXS & VDXM --> PCM_VDX > downlink routing:PCM_VDR --> VDR --> VRXPGA Fine gain --> DAC voice > --> VDL_GAIN Analog PGA --> HSOL/HSOR Thanks > I check the loopbacks,it seems that all Loopbacks have been disabled. > bash-3.2# alsa_amixer |grep Loopback > Simple mixer control 'Left Digital Loopback',0 > Simple mixer control 'Left1 Analog Loopback',0 > Simple mixer control 'Left2 Analog Loopback',0 > Simple mixer control 'Right Digital Loopback',0 > Simple mixer control 'Right1 Analog Loopback',0 > Simple mixer control 'Right2 Analog Loopback',0 > Simple mixer control 'Voice Analog Loopback',0 > Simple mixer control 'Voice Digital Loopback',0 Can you check with: amixer | grep -A 6 Loopback > The sidetone is become louder if I increase the VSTPGA, > and when I increase the VDL_GAIN Analog PGA,the sidetone is become louder > too. But the VRXPGA seems don't affect the sidetone,so I think VSTPGA > cause the sidetone. > > 2.when use Bluetooth: > uplink routing:BT_PCM_VDR --> BTTXPGA --> VDXM --> PCM_VDX > downlink routing:PCM_VDR --> VDR --> BTRXPGA --> BT_PCM_VDX > > When use Bluetooth interface,I don't know if something else can cause > sidetone except BTSTPGA. I don't have a board, which have this feature, but I'll check the TRM and the code, if I can find something. Probably worth to find the ERRATA document as well... -- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HELP:How to power down TWL5030 Voice/Bluetooth sidetone PGA? 2011-06-10 14:16 ` Péter Ujfalusi @ 2011-06-11 3:25 ` onlyfever 0 siblings, 0 replies; 5+ messages in thread From: onlyfever @ 2011-06-11 3:25 UTC (permalink / raw) To: Péter Ujfalusi Cc: linux-omap@vger.kernel.org, alsa-devel@alsa-project.org > > Can you check with: > amixer | grep -A 6 Loopback > Simple mixer control 'Left Digital Loopback',0 Capabilities: volume volume-joined penum Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 0 [0%] [-99999.99dB] Simple mixer control 'Left1 Analog Loopback',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'Left2 Analog Loopback',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'PreDriv',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right -- Simple mixer control 'Right Digital Loopback',0 Capabilities: volume volume-joined penum Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 0 [0%] [-99999.99dB] Simple mixer control 'Right1 Analog Loopback',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'Right2 Analog Loopback',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'TX1',0 Capabilities: cenum Items: 'Analog' 'Digimic0' -- Simple mixer control 'Voice Analog Loopback',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'Voice Digital Loopback',0 Capabilities: volume volume-joined penum Playback channels: Mono Capture channels: Mono Limits: 0 - 41 Mono: 0 [0%] [-99999.99dB] -- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-11 3:25 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-06-09 13:40 HELP:How to power down TWL5030 Voice/Bluetooth sidetone PGA? onlyfever 2011-06-10 7:48 ` Péter Ujfalusi 2011-06-10 13:27 ` onlyfever 2011-06-10 14:16 ` Péter Ujfalusi 2011-06-11 3:25 ` onlyfever
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).