Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-10 Thread Mark Brown
On Mon, Oct 10, 2011 at 01:01:00PM +0300, Matti J. Aaltonen wrote: On 10/07/2011 03:49 PM, ext Mark Brown wrote: What I said was that the entire audio system should be one card. I didn't read it that way,but OK... Just one more comment/question: I would have thought that to achieve as fine

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-07 Thread Matti J. Aaltonen
On 10/06/2011 04:34 PM, ext Mark Brown wrote: On Thu, Oct 06, 2011 at 04:22:33PM +0300, Matti J. Aaltonen wrote: But the handling of the analog audio isn't that straightforward, or maybe it is... I'm not familiar with pulse audio. It's trivial and can be done entirely in kernel as with all

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-07 Thread Matti J. Aaltonen
On 10/06/2011 05:46 PM, ext Mark Brown wrote: On Thu, Oct 06, 2011 at 05:11:07PM +0300, Matti J. Aaltonen wrote: On 10/06/2011 04:34 PM, ext Mark Brown wrote: All the audio power management flows from audio routing - when you disconnect the audio path that connects the FM radio from an output

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-07 Thread Mark Brown
On Fri, Oct 07, 2011 at 10:24:40AM +0300, Matti J. Aaltonen wrote: But then I don't get why the radio should be able to say when the [analog] stream starts and stops (and what do you actually mean by that?). Isn't it possible in the above scenario to simply turn on the cross wired amp if the

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-07 Thread Mark Brown
On Fri, Oct 07, 2011 at 03:21:33PM +0300, Matti J. Aaltonen wrote: by the DAC codec. Now to have on output for the analog radio the amplifier should be handled as a separate audio card, right? And then the No. When I said this should all be a single card that's what I meant. Yes, but what I

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-07 Thread Mark Brown
On Fri, Oct 07, 2011 at 03:39:02PM +0300, Matti J. Aaltonen wrote: On 10/07/2011 03:33 PM, ext Mark Brown wrote: by the DAC codec. Now to have on output for the analog radio the amplifier should be handled as a separate audio card, right? And then the No. When I said this should all be a

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-06 Thread Tanu Kaskinen
On Wed, 2011-10-05 at 18:43 +0300, Mark Brown wrote: On Tue, Oct 04, 2011 at 02:30:17PM +0300, Tanu Kaskinen wrote: I'm not sure that would work in this case. The mixer element is an enumeration with states Off, Rx and Tx. I've been told that it controls whether the FM radio is powered on

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-06 Thread Mark Brown
On Thu, Oct 06, 2011 at 01:49:38PM +0300, Tanu Kaskinen wrote: Yeah the driver is unable to detect directly if someone wants to use the analog signal. But that's not a big problem, there still could exist the facility for explicitly turning the radio on and off. It's also possible to

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-06 Thread Mark Brown
On Thu, Oct 06, 2011 at 04:22:33PM +0300, Matti J. Aaltonen wrote: But the handling of the analog audio isn't that straightforward, or maybe it is... I'm not familiar with pulse audio. It's trivial and can be done entirely in kernel as with all the other audio power management. Earlier

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-05 Thread Mark Brown
On Tue, Oct 04, 2011 at 02:33:47PM +0300, Tanu Kaskinen wrote: On Mon, 2011-10-03 at 22:21 +0300, Mark Brown wrote: On Mon, Oct 03, 2011 at 09:13:29PM +0200, David Henningsson wrote: On 10/03/2011 06:12 PM, Tanu Kaskinen wrote: I have some hardware that needs some mixer configuration

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-05 Thread Mark Brown
On Tue, Oct 04, 2011 at 02:30:17PM +0300, Tanu Kaskinen wrote: I'm not sure that would work in this case. The mixer element is an enumeration with states Off, Rx and Tx. I've been told that it controls whether the FM radio is powered on (and whether it's in the reception or transmission

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-04 Thread Tanu Kaskinen
On Mon, 2011-10-03 at 22:13 +0300, David Henningsson wrote: On 10/03/2011 06:12 PM, Tanu Kaskinen wrote: Hi, I have some hardware that needs some mixer configuration when selecting the off profile for the alsa card in order to save power. Now that I think about it, I'm not sure why the

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-04 Thread Tanu Kaskinen
On Mon, 2011-10-03 at 22:21 +0300, Mark Brown wrote: On Mon, Oct 03, 2011 at 09:13:29PM +0200, David Henningsson wrote: On 10/03/2011 06:12 PM, Tanu Kaskinen wrote: I have some hardware that needs some mixer configuration when selecting the off profile for the alsa card in order to save

[pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-03 Thread Tanu Kaskinen
Hi, I have some hardware that needs some mixer configuration when selecting the off profile for the alsa card in order to save power. Now that I think about it, I'm not sure why the driver can't turn off the power when nobody's using the device... I'll have to ask from the driver developer.