[alsa-devel] [RFC] hda - is_jack_detectable()

Raymond Yau superquad.vortex2 at gmail.com
Sun Nov 6 12:46:01 CET 2011


2011/11/2 David Henningsson <david.henningsson at canonical.com>:
> 2011-10-24 23:31, Raymond Yau skrev:
>>
> I also think it is a good idea, in fact I thought it was this way already.
> Can we merge this patch?
>
> // David
>

commit	729d55ba972348234759f8e40abf8de020f0d505

ALSA: hda - Disable tigger at pin-sensing on AD codecs


It is possible to measure the impedance of the jack with modification
of hda-jack-sense-test.py with ad1988

The headphone was plugged into grey jack since my computer chassis
only have AC97 front audio panel

The result seem close to my headset specification


Pin 0x11 Green HP Out (Ext Front): No jack detect capability
Pin 0x12 Green Line Out (Ext Rear): present = YES   impedance = 3776
Pin 0x14 Pink Mic (Ext Front): No jack detect capability
Pin 0x15 Blue Line In (Ext Rear): present = No
Pin 0x16 Black Line Out (Ext Rear): present = YES   impedance = 6080
Pin 0x17 Pink Mic (Ext Rear): present = YES   impedance = 1008
Pin 0x18 Black CD (Int ATAPI): No jack detect capability
Pin 0x1a Other (Int ATAPI): No jack detect capability
Pin 0x1b Other SPDIF Out (Ext Rear): No jack detect capability
Pin 0x24 Orange Line Out (Ext Rear): present = No
Pin 0x25 Grey Line Out (Ext Rear): present = YES   impedance = 25
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hda-jack-sense-test.py
Type: application/octet-stream
Size: 1879 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20111106/ff0261a8/attachment.dll 


More information about the Alsa-devel mailing list