linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Henrik Rydberg <rydberg@euromail.se>
To: Ping Cheng <pinglinux@gmail.com>
Cc: Chris Bagwell <chris@cnpbagwell.com>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Ping Cheng <pingc@wacom.com>,
	"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>
Subject: Re: [PATCH] input: Add support for the Bamboo Touch trackpad
Date: Wed, 01 Sep 2010 13:55:01 +0200	[thread overview]
Message-ID: <4C7E3F15.7070302@euromail.se> (raw)
In-Reply-To: <AANLkTimCxMpy3B9Cz9_HDGNvXGykCAN3yTc+6KVyVHkp@mail.gmail.com>

On 09/01/2010 12:48 PM, Ping Cheng wrote:

[...]

>> In the hope that it would work to register only the active endnode,
>> plus getting a natural definition of every endnode of the usb device.

> 
> We always get two logical ports for the pen and touch devices, which
> are created by udev (or something in the kernel that I am not so
> sure). The Wacom driver can not do much about it. I guess the firmware
> of your touch-only Bamboo added the pen interface to the protocol.
> That's why you see two ports (I can not access the device to test my
> idea before next month).


It should be fine, the extra device will only have mouse capabilities and will
not be used for anything.

>> Since Ping had issues
>> with this too, I will change it to the read-and-modify-later approach used in
>> the rest of the driver.
> 
> Thank you for your consideration. Please use the existing approach so
> we can maintain an unified interface. There should not be too much
> confusion with the existing approach since pen and touch will not be
> on the same logical port anyway.


Will send out a new version shortly.

>>> Also, what does BOOT mean?  In Bamboo Pen&Touch device, this would be
>>> the pen input.  So at minimum BAMBOO_PEN is more accurate name.
>>
>>
>> For the Bamboo Touch, pen is not accurate. Boot comes from the HID specification
>> (boot interface, mouse protocol), but no name seems appropriate since the node
>> should not even be there.
> 
> Right now, we just tell users to ignore pen or touch if their device
> does not support pen or touch (running an X server older than 1.4). In
> the X Wacom driver for servers newer than 1.4, we check the valid
> tools supported by the device before adding them. End users should not
> need to worry about those details, at least in theory.
> 
> Maybe we can add this "tool type check method" into the evdev and/or
> synaptics X driver as well?


Given the current and coming fixes to udev, I think we will be able to sort it
out well on that level, although it would not hurt if the X drivers were a bit
more selective during preinit.

Cheers,
Henrik

      reply	other threads:[~2010-09-01 11:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-22 14:10 [PATCH] input: Add support for the Bamboo Touch trackpad Henrik Rydberg
2010-08-23 14:00 ` Ping Cheng
2010-08-23 14:30   ` Henrik Rydberg
2010-08-23 17:02     ` Ping Cheng
2010-08-23 17:02     ` Ping Cheng
2010-08-23 17:30 ` Chris Bagwell
2010-08-30  9:10   ` Henrik Rydberg
2010-08-30 16:19     ` Chris Bagwell
2010-08-31  5:44       ` Peter Hutterer
2010-09-01  3:16         ` Chris Bagwell
2010-09-01 10:48     ` Ping Cheng
2010-09-01 11:55       ` Henrik Rydberg [this message]

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=4C7E3F15.7070302@euromail.se \
    --to=rydberg@euromail.se \
    --cc=chris@cnpbagwell.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=pingc@wacom.com \
    --cc=pinglinux@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).