From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: guo jerry <mimi0213kimo@gmail.com>
Cc: linux-input@vger.kernel.org
Subject: Re: X window don't read my input device automatically
Date: Mon, 29 Jun 2009 19:31:39 -0700 [thread overview]
Message-ID: <20090630023139.GA10652@dtor-d630.eng.vmware.com> (raw)
In-Reply-To: <e715744d0906181955h646e5941y4d54056b1ea4d27e@mail.gmail.com>
On Fri, Jun 19, 2009 at 10:55:20AM +0800, guo jerry wrote:
> 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);
I don't think you want 'logical or' here but rather a bitwise one.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-06-30 2:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-19 2:55 X window don't read my input device automatically guo jerry
2009-06-30 2:31 ` Dmitry Torokhov [this message]
2009-07-04 17:12 ` guo jerry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090630023139.GA10652@dtor-d630.eng.vmware.com \
--to=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=mimi0213kimo@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).