Re: How can you tell if the speaker jack on your sound card has anything plugged into it???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 25.04.08 23:08, Robert Jarzmik (rjarzmik@xxxxxxx) wrote:

> 
> Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:
> 
> > There's currently no standard way of getting this information from user
> > space even where the hardware provides it.
> Isn't the event api switch "SW_HEADPHONE_INSERT" standard ?
> I thought it was designed for such use.
> 
> If I'm not mistaken, the Neo teams handles it that way, as I do for the mio :
>  -> input_report_switch(mioa701_evdev, SW_HEADPHONE_INSERT, val);

AFAIK HDA generally supports Jack Sensing. However
it's not wired up properly on all hardware. And there's no driver support
in the Linux HDA driver to generate an input device for jack
sensing.

But I might be mistaken. Takashi and Jaroslav know the current state
of Jack Sensing on Linux much better.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux