Re: question on snd_jack_report

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 02, 2009 at 11:08:09PM +0530, Kp, Jeeja wrote:

> Sorry,it's evtest.c( this program polls /dev/input/eventX and prints
> the events). Basically when a Headphone is inserted into the jack, driver
> send snd_jack_report() with the status of present to ALSA. When the
> respective /dev/input/event5 is read from userspace, it must print the
> events. I don't see any events when snd_jack_report() is called.

Is there actually a state transition occurring?  You will only see an
event generated when the status of the jack changes so if the headphone
is repeatedly reported as present but never reported as absent then
you'll never see anything in user space.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux