Subject: Re: kern/34071: azalia device driver doesn't support pin sensing
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: TAMURA Kent <kent@NetBSD.org>
List: netbsd-bugs
Date: 07/24/2006 17:05:03
The following reply was made to PR kern/34071; it has been noted by GNATS.

From: TAMURA Kent <kent@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/34071: azalia device driver doesn't support pin sensing
Date: Tue, 25 Jul 2006 02:01:15 +0900 (JST)

 > The azalia device driver doesn't support pin sensing. This has
 > to the effect that the speakers are not muted when using
 > headphones on systems that employ Sigmatel 9220 codecs.
 
 > I failed to source the Sigmatel 9220 codec datasheet. Perhaps
 > someone else has access to this document. Implementation
 > should reasonably trivial.
 
 The codec datasheet isn't helpful in solving this problem
 because pin sensing depends on mainboards, not codecs.
 
 So you need to investigate:
 - PCI sub vendor ID (you can see it in dmesg with AZALIA_DEBUG)
 - what is the node ID of the headphone jack
 - what is the node ID of the speaker
 
 Then, you can implement pin sensing.  The code for ALC260 in
 azalia_codec.c is helpful.
 
 -- 
 TAMURA Kent <kent_2006 at hauN.org> <kent at NetBSD.org>