On Sun, Apr 24, 2011 at 02:45:50PM -0700, Ping Cheng wrote:
> On Thu, Apr 21, 2011 at 8:52 AM, Chris Bagwell <ch...@cnpbagwell.com> wrote:
> 
> > On Thu, Apr 21, 2011 at 1:14 AM, Peter Hutterer
> > <peter.hutte...@who-t.net> wrote:
> > > On Wed, Apr 20, 2011 at 09:35:52PM -0500, Favux ... wrote:
> > >> While preparing to modify the Rotate parameter entries in the
> > >> mediawiki to bring them up to date with 0.11.0 I tested the parameter.
> > >>  It is not tablet wide with a Bamboo Pen & Touch.  Rotating the stylus
> > >> does rotate the eraser but not touch and rotating touch does not
> > >> rotate the stylus or eraser.  I suspect this is true of any usb tablet
> > >> with touch.  I assume touch is rotated with a ISDV4 device when the
> > >> stylus is rotated but I guess I'd like that confirmed.
> > >
> > > The bamboo exports two kernel devices that also appear as two different
> > > devices to the driver, with two different wcmCommon devices. Only the
> > > Bamboos should be affected by this, no other tablets.
> > >
> > > I thought this should be fixed with Ping's "Centralize pen and touch
> > > arbitration" patch, but it may not be. Long story short, we should just
> > > share the common struct between the two devices.
> > >
> >
> > It looks like that patch links them but uses a special wcmTouchDevice
> > instead of wcmDevices.  That simplifies some other code in the patch
> > but then has this downside.
> >
> 
> That patch was aimed at "pen and touc arbitration" to get rid of the jumps
> when switching between pen and touch. A follow-up patchset is needed to
> combine pen and touch into one common.
> 
> 
> > I may play with linking them the normal way and see how much grief it
> > causes.
> 
> 
> Have you got enough fun yet ;)? It's all yours. I won't be able to get to
> it before June anyway.
> 
> 
> > Isn't their a libudev patch floating around on mailing list to use
> > instead of strcmp()?  I'd prefer using that if I'm working on it.
> 
> 
> No, there is no patch for that yet. Peter shared a proof-of-concept program.

You should be able to just copy the code into the driver, I'm not sure any
significant modification is needed other than change argv over to
common->device_path wich is trivial enough.

and possibly do something useful instead of printing out "yep" :)

Cheers,
  Peter

> It looked very promising. We just need to translate the concept into the
> driver code. It can be part of the pen-touch merging patchset since we need
> to make sure the pen and touch are from the same physical device.
> 
> I can forward Peter's email to you if you can not find it anymore.
> 
> Ping

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to