input: Add support for Hanwang tablet
Quoted 13 lines · On Wed, Sep 01, 2010 mitry Torokhov wrote:
Hi Xing,
Quoted 4 lines · Xing Wei
Hi Dmitry, it works well and I really appreciate your work.
BTN_3-BTN_8&ABS_DISTANCEevents are not handled & used in our X system driver by now, sorry for my mistake.Just to avoid confusion - are
BTN_3-BTN_8not 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.
Quoted 6 lines
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.
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.
Our products are just used under Windows and Mac before, really new to kernel-input and X system,correct me if something wrong.
Thanks.
Quoted 14 lines · Xing Wei
Quoted 13 lines · On Wed, Sep 01, 2010 mitry Torokhov wrote:
Hi Xing,
Quoted 4 lines · Xing Wei
Hi Dmitry, it works well and I really appreciate your work.
BTN_3-BTN_8&ABS_DISTANCEevents are not handled & used in our X system driver by now, sorry for my mistake.Just to avoid confusion - are
BTN_3-BTN_8not 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.
Quoted 8 lines
Quoted 6 lines
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.
Quoted 3 lines
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.
Signature · 1 line
Dmitry
Quoted 27 lines · Dmitry Torokhov
Quoted 14 lines · Xing Wei
Quoted 13 lines · On Wed, Sep 01, 2010 mitry Torokhov wrote:
Hi Xing,
Quoted 4 lines · Xing Wei
Hi Dmitry, it works well and I really appreciate your work.
BTN_3-BTN_8&ABS_DISTANCEevents are not handled & used in our X system driver by now, sorry for my mistake.Just to avoid confusion - are
BTN_3-BTN_8not 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.Quoted 8 lines
Quoted 6 lines
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.
Quoted 8 lines
Quoted 3 lines
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.
Hmm, another option is maybe getting wacom X driver to work with your device.
Signature · 1 line
Dmitry
Quoted 32 lines · Dmitry Torokhov
Quoted 31 lines · Dmitry Torokhov
Quoted 14 lines · Xing Wei
Quoted 13 lines · On Wed, Sep 01, 2010 mitry Torokhov wrote:
Hi Xing,
Quoted 4 lines · Xing Wei
Hi Dmitry, it works well and I really appreciate your work.
BTN_3-BTN_8&ABS_DISTANCEevents are not handled & used in our X system driver by now, sorry for my mistake.Just to avoid confusion - are
BTN_3-BTN_8not 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.Quoted 8 lines
Quoted 6 lines
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.
Quoted 3 lines
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.
Quoted 7 lines
Quoted 4 lines
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.
Hmm, another option is maybe getting wacom X driver to work with your device.
I agree, the evdev driver will handle the device but likely not in the manner desired. It'll simply export all buttons and axes but on a single device. The wacom X driver will split into multiple X devices so that the stylus is exported as a different device than the wheel + buttons (that's how wacom does it, anyway).
Note that some tweaks to the wacom driver are likely needed, Xing, please contact me off-list to get this started.
Cheers,
Peter