Hi, i've been working on trying to get evdev devices working in libgii for several
days, and I have not been having much luck. First off, i plugged my USB keybaord in,
and enabled evdev kernel support. Then i made a device /dev/Input0 as char 13, 64. i
also make a link to /dev/input/event0.
I tested my USB keyboard by smacking keys on it, while nothing happened. Then i typed
"cat /dev/Input0", and smacked some more keys.... strange strings scrolled past my
screen showing that the kernel side works.
Then i downloaded the ggi 7/28/00 snaphot, and compiled libggi. when i typed
./configure it said "checking if we should build linux-evdev inputlib... no". That
obviously wasn't good, so i looked in ./configure and found some possible options. i
tried "./configure --enable-linux-evdev" and "./configure--enable-linux_evdev".
neither made any differnce.
I noticed in config.h that it said i do not have a linux/input.h header file. so i
looked and /usr/include/linux/input.h didn't exist, since my glibc6 was compiled with
a 2.2 kernel. i tried linking /usr/include/linux to
/usr/src/kernel-headers-2.4.0-test4, and that didn't seem to help... don't know why.
at this time i tried setting export GII_INPUT=/dev/Input0, and running mhub. mhub
complained that it couldn't load linux-evdev.so.
anyway, eventually i just decided to cd to the linux-evdev directory, and typed "make;
make install", which successfully made the target and installed it in /usr/local/...
I tried running mhub and while it no longer complined about finding linux-evdev.so, i
couldn't figure out what mhub was supposed to do, so it wasn't a good test of the
keybaord ;)
Then i ran monitest, and it totally ignores the evdev device, and uses the main
keyboard. What am i doing wrong? (after getting this all written, i just realized a
question..... does monitest use GII? if not, what programs do?)
Corey
(by the way, my old [EMAIL PROTECTED] account has been revoked.... wonder why? ;)