Quote:
Originally Posted by geekmaster
AFAIK the headphone jack's only INPUT feature is "insertion" and "removal" events (which just happen to generate keycodes on a K3, according to the "waitforkey" program). Otherwise it is just analog sound output on that jack.[/COLOR]
|
I always wanted to be able to detect the jack. How? On my K3
cat /dev/input/event0 shows the keyboard
cat /dev/input/event1 shows the fiveway
cat /dev/input/event2 shows the volume but none of these events show insertion or removal ot the headphone jack.
And
waitforkey just sits waiting as you plug in and out the jack. Different version? Bad doc?
Code:
[root@kindle root]# ls -all /usr/bin/waitforkey
-rwxr-xr-x 1 root root 4604 Jul 31 2010 /usr/bin/waitforkey
[root@kindle root]# cat /usr/bin/waitforkey | md5sum
3d0e60680eba05a8f88667eb31b7c197 -
[root@kindle root]#