Package: ikeyd
Version: 0.5.8
eject key with ikeyd doesn't work anymore. it's a little time ago when i
recognized that. but now i've taken the time to analyze the problem. the
patch/result/answer is as follows:
# diff ikeyd.c.original ikeyd.c
258a259,260
> last_keycode = 0;
> count = 0;
260,261d261
< last_keycode = 0;
< count = 0;
because "last_keycode" and "count" where only used for ejecting the cdrom we
can reset the values only in the functions responsible for ejecting.
i noticed that my eject key (by still holding down the key) is also sending
"release" codes so the "count" of 15 where never reached. also the
"last_keycode" was always 0. i think my patch is a clean solution for this
problem.
I don't know exactly when this behavior has happened the first time.
-- System Information:
Debian Release: sarge
Architecture: powerpc
Kernel: Linux enterprise 2.6.8-powerpc #1 Sun Mar 20 14:09:41 CET 2005 ppc
Versions of packages ikeyd depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries and Timezone
--
Gru�
\|/
eMHa (o o)
------------------------------------------------------oOO--U--OOo--
Markus Hochholdinger
e-mail mailto:[EMAIL PROTECTED] .oooO
www http://www.hochholdinger.net ( ) Oooo.
------------------------------------------------------\ (----( )-
\_) ) /
(_/