Em Qua, 2009-04-29 às 08:37 +0200, Takashi Iwai escreveu:> > > > When trying to get the output you requested I discovered that> running> > > > alsa-info with the headphones plugged made them work and> silenced the> > > > speakers. Then, removing the HP do not make the sound come back> to the> > > > speakers, but running alsa-info again does. That is, I can force> the> > > > jack sense by running alsa-info.>> OK, it means that the unsolicited event isn't processed properly> at jack plugging. But still strange why alsa-info.sh can trigger it.> > Could you put some debug print to the unsol even handler to see> whether you get any even when you plug the jack?> The stac92xx_unsol_event() isn't called when the jack is plugged. It iscalled twice at kernel boot (HP_EVENT and then INSERT_EVENT), and it iscalled three times when running alsa-info (all HP_EVENT, regardless ifthe HP is plugged or not). These results may not be entirely accurate as the current snapshotisn't working correctly. It just plays the first second of audio andkeeps looping, locking the application (with and without pulseaudio). If it would help you, I could try to debug stac92xx_unsol_event() in thecurrent Fedora kernel (2.6.29.4), as the sound works with it and thejack sensing don't. Abraços,Gustavo _______________________________________________Alsa-devel mailing listAlsa-devel@xxxxxxxxxxxxxxxxxxxx://mailman.alsa-project.org/mailman/listinfo/alsa-devel