Re: [PATCH v3] input: Add support for Hanwang tablet

From: Dmitry Torokhov
Date: Thu Sep 02 2010 - 02:20:53 EST


On Thu, Sep 02, 2010 at 12:29:50PM +0800, Xing Wei wrote:
> On Wed, Sep 01, 2010 mitry Torokhov wrote:
> > Hi Xing,
> >
> > On Wed, Sep 01, 2010 at 02:55:44PM +0800, Xing Wei wrote:
> > > Hi Dmitry, it works well and I really appreciate your work.
> > > BTN_3 - BTN_8 & ABS_DISTANCE events are not handled & used in our X system driver by now,
> > > sorry for my mistake.
> > >
> >
> > Just to avoid confusion - are BTN_3 - BTN_8 not used by your X driver or
> > the hardware does not really report them? Because if it the former then
> > we should continue reporting them - some other user (as in
> > program/driver) might be interested in these.
> >
> > Also, why do you develop your own X driver? Does not X's evdev driver
> > work properly for you?
> >
> > Thanks.
> >
> >
>
> Hi Dmitry, the hardware does really report BTN_3 - BTN_8.

OK, then we should keep reporting them then. I will add the patch to my
'next' branch and it should show up in 2.6.37.

> And I try to let the evdev driver(remove my X driver & .conf file ) take over the device,
> but seem like it has no reflection to the pressure and roll wheel pad,just run like a generic mouse.
>

Then I suggest looking into modifying evdev so that it properly works
with your device. I think Peter Hutterer (CCed) is the man you need to
talk to.

Thanks.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/