[alsa-devel] [PATCH] hda: add SW_LINEOUT_INSERT support
broonie at sirena.org.uk
Fri Oct 17 16:19:40 CEST 2008
On Fri, Oct 17, 2008 at 09:15:48AM -0400, Matthew Ranostay wrote:
> Mark Brown wrote:
[Please fix your MUA to wrap at something less than 80 columns,
currently your lines are ~90 characters long which makes your mails
harder to read.]
> > Could you provide a bit more detail here? Are you saying that the
> > hardware has several line outputs and can report connection status but
> > is unable to identify which of them is connected?
> Yep, just wondering if that is an incorrect way of using the jack abstraction layer.
It'd be easier to comment if you could provide more detail here. What
is the hardware actually capable of doing? Without knowing what you're
trying to represent it's hard to say for sure if your code matches up
> As of yet we are only using this to confirm if an HP and Line Out is connected for use
> in ALSA plugin, if there is the stream processing is turned off.
Right, that's one of the things I'd expected user space to be able to do
> So basically if you plug into two or more line outs, each time you unplug a line out,
> it will still send a event as if a line out was connected until all line outs are removed.
I *think* from this that you have multiple line output jacks and the
hardware is able to do detection on each individually? In that case
then yes, you are using the API incorrectly - you should be registering
one jack per physical jack.
More information about the Alsa-devel