hi, all
Here are some update about my case.
1. I compile & installe my new Xserver with MPX in /opt/modular
2. Make sure the $PATH has set to the MPX binrary
[EMAIL PROTECTED]:/home/bunny/clutter-0.8.0# $PATH
bash:
/opt/modular/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:
No such file or directory
3. And static linked library also set to the MPX library, I also
configured the /etc/ld.so.conf and added /opt/modular/lib in the file
[EMAIL PROTECTED]:/home/bunny/clutter-0.8.0# export
LD_LIBRARY_PATH=/opt/modular/lib
[EMAIL PROTECTED]:/home/bunny/clutter-0.8.0# ldconfig
4. Recompile clutter with those setting
./configure --enable-x --with-xinput --x-includes=/opt/modular/include
--x-libraries=/opt/modular/library /
XINPUT_CFLAGS=/opt/modular/include XINPUT_LIBS=/opt/modular/lib
5. Add a foo pointer & keyboard in xserver
[EMAIL PROTECTED]:/home/bunny/clutter-0.8.0#xinput create-master "foo"
6. Tried xinput list
[EMAIL PROTECTED]:/home/bunny/clutter-0.8.0# xinput list --short
"Virtual core pointer" id=0 [XPointer]
"Virtual core keyboard" id=1 [XKeyboard]
"Generic Keyboard" id=2 [XExtensionKeyboard]
"Generic Mouse" id=3 [XExtensionPointer]
"foo pointer" id=4 [XPointer]
"foo keyboard" id=5 [XKeyboard]
7. add some debug information in clutter in
_clutter_x11_register_xinput() in /X11/clutter -backend-x11.c
line 661
+ g_warning("%d XINPUT devices found",num_devices);
line 675
+ g_warning("Considering %d with type %d is =%d or %d",
info->id, info->use,IsExtensionPointer,IsExtensionDvice);
8. run /tests/test-devices
[EMAIL PROTECTED]:/home/bunny/clutter-0.8.0# ./tests/test-devices
(/home/bunny/clutter-0.8.0/tests/.libs/lt-test-devices:22661):
ClutterX11-WARNING **: 2 XINPUT devices found
(/home/bunny/clutter-0.8.0/tests/.libs/lt-test-devices:22661):
ClutterX11-WARNING **: Considering 0 with type 0 is =4 or 2
(/home/bunny/clutter-0.8.0/tests/.libs/lt-test-devices:22661):
ClutterX11-WARNING **: Considering 1 with type 1 is =4 or 2
(/home/bunny/clutter-0.8.0/tests/.libs/lt-test-devices:22661):
ClutterX11-WARNING **: No usuable XInput pointing devices found
** ERROR **: No extended input devices found.
aborting...
Aborted
It's look like clutter still use the old xserver linker.....
Do anyone have solution?
Best Regards,
Bunny
Lin Bunny 提到:
> Hi, all
>
>
> Did any one try to use MPX & clutter 0.8.0?
> I tried the sample test-devices in tests, but it only get one xpointer.
> I tried to find something about this topic, but nothing found.
> Did anyone has a clue?
>
>
>
> Best regards,
> Bunny
>
--
To unsubscribe send a mail to [EMAIL PROTECTED]