21 Apr
2008
21 Apr
'08
4:51 p.m.
On Mon, Apr 21, 2008 at 04:38:58PM +0200, pHilipp Zabel wrote:
This is interesting, what is the generic jack detect feature supposed to do exactly? I ask because I just export the jack detect interrupt to userspace via input subsystem (SW_HEADPHONE_INSERT). Will it replace this switch in functionality?
As far as user space is concerned I'd expect it to turn out as pretty much exactly that, wrapping it up so that sound drivers don't need to reproduce the code to register an input device and so on. Devices that can detect the type of inserted will need some additional switch types adding.