At Tue, 28 Apr 2009 16:11:24 -0300, Gustavo Vieira wrote:
Em Seg, 2009-04-20 às 10:57 +0200, Takashi Iwai escreveu:
Now things got really interesting. :)
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.
Hm, what happens if you pass model=hp-dv5 option?
It behaves exactly like it did with no model, including all mixer controls. Still no headphones sense. Still works after alsa-info is run.
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?
thanks,
Takashi