At Mon, 13 Nov 2006 16:04:10 +0300, Andrew L. Neporada wrote: > > Hi! > > It seems that snd_hda_intel driver fails to detect hp/mic/line jack > presense with ALC883 codec. > > According to Realtek's specs (and practice) ALC883 doesn't generate > unsolicited events in this case, Really? AFAIK, all port pins can generate unsolicited events, according to the datasheet version 1.2 (see section 8.21). > so the only way to detect jack is to > periodically poll appropriate pin complex with AC_VERB_GET_PIN_SENSE. > AFAIK, there is currently no way to do such thing. > > The idea is to add a new function to hda_codec_ops: > void (*poll)(struct hda_codec *codec) > and run it as a separate thread after codec init phase is done. I don't think we need a common callback for this particular codec. Each codec routine can create a workqueue if needed. Takashi ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel