2 Nov
2009
2 Nov
'09
6:38 p.m.
What is event.c? If this is some part of the X.Org server then you'd be better asking the X folks about how to configure and use the X server, it rewraps the data it's getting from the kernel.
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.