lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100902063027.GA28409@barra.bne.redhat.com>
Date:	Thu, 2 Sep 2010 16:30:27 +1000
From:	Peter Hutterer <peter.hutterer@...-t.net>
To:	Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc:	Xing Wei <weixing@...wang.com.cn>,
	linux-input <linux-input@...r.kernel.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	jkosina <jkosina@...e.cz>,
	Peter Hutterer <peter.hutterer@...hat.com>,
	Ping Cheng <pingc@...om.com>
Subject: Re: [PATCH v3] input: Add support for Hanwang tablet

On Wed, Sep 01, 2010 at 11:24:04PM -0700, Dmitry Torokhov wrote:
> On Wed, Sep 01, 2010 at 11:20:30PM -0700, Dmitry Torokhov wrote:
> > 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.
> > 
> 
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ