X window don't read my input device automatically

guo jerry mimi0213kimo at gmail.com
Fri Jun 19 23:56:09 CDT 2009


Thanks for your kindly reply,

I have tried "cat /dev/input/event7" & "cat /dev/input/event8" and there some
messages showing out when I touch the panel.

The version of xorg-server I use doesn't have xorg.conf, fdi file instead.
And the MPX is already, I have tried two mouses work in the same time correctly.

It seems that the fdi file which I set don't have any effect.

2009/6/20 Pei Lin <telent997 at gmail.com>:
> u can go to the xorg maillist to get more information.
> i guess whether your xorg-server version is the "right" version to
> support multi-touch and your configuration about your device in
> xorg.conf file is "right" or not.
>
> By the way, u can "cat /dev/input/event7" or "cat /dev/input/event8"
> and use your device to see there is something output in your screen to
> prove your driver work normally.
>
> BRs,
>
> Lin
>
> 2009/6/19 guo jerry <mimi0213kimo at gmail.com>:
>> Hi all,
>>         I have written my multi-touch panel device driver and register
>> two input devices.
>>         they appear in /dev/input/event7 & /dev/input/event8. The
>> problem is that why
>>         X window can read other mouse devices automatically and work under X
>>         environment but the device driver written by my own cannot.
>>         I guess that if the evbit and keybit which I set is not correctly.
>>         I set my evbit & keybit as following:
>>
>>         input->evbit[0] = BIT_MASK(EV_KEY) || BIT_MASK(EV_ABS);
>>         input->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);
>>
>>         I'd like solve the problem first then take into issue  that how to make
>>         multi-touch work in MPX.
>>
>>         Thanks in advanced.
>>
>> --
>> To unsubscribe from this list: send an email with
>> "unsubscribe kernelnewbies" to ecartis at nl.linux.org
>> Please read the FAQ at http://kernelnewbies.org/FAQ
>>
>>
>



More information about the Kernel-mentors mailing list