From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: chris@cnpbagwell.com
Cc: linux-input@vger.kernel.org, pinglinux@gmail.com
Subject: Re: [PATCH 5/6] Input: wacom - read 3rd gen Bamboo Touch HID data
Date: Thu, 20 Oct 2011 19:53:16 -0700 [thread overview]
Message-ID: <201110201953.16567.dmitry.torokhov@gmail.com> (raw)
In-Reply-To: <1318814981-30607-6-git-send-email-chris@cnpbagwell.com>
On Sunday, October 16, 2011 06:29:40 PM chris@cnpbagwell.com wrote:
> From: Chris Bagwell <chris@cnpbagwell.com>
>
> Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
> ---
> drivers/input/tablet/wacom_sys.c | 48
> ++++++++++++++++++++++++++++++++++++- 1 files changed, 46
> insertions(+), 2 deletions(-)
>
> diff --git a/drivers/input/tablet/wacom_sys.c
> b/drivers/input/tablet/wacom_sys.c index 5e1539c..d19886a 100644
> --- a/drivers/input/tablet/wacom_sys.c
> +++ b/drivers/input/tablet/wacom_sys.c
> @@ -28,7 +28,9 @@
> #define HID_USAGE_Y_TILT 0x3e
> #define HID_USAGE_FINGER 0x22
> #define HID_USAGE_STYLUS 0x20
> -#define HID_COLLECTION 0xc0
> +#define HID_COLLECTION 0xa1
> +#define HID_COLLECTION_LOGICAL 0x02
> +#define HID_COLLECTION_END 0xc0
>
> enum {
> WCM_UNDEFINED = 0,
> @@ -165,6 +167,34 @@ static void wacom_close(struct input_dev *dev)
> usb_autopm_put_interface(wacom->intf);
> }
>
> +static int wacom_parse_logical_collection(unsigned char *report,
> + struct wacom_features *features)
> +{
> + int length = 0;
> +
> + if (features->type == BAMBOO_PT) {
> +
> + /* Logical collection is only used by 3rd gen Bamboo Touch */
> + features->pktlen = WACOM_PKGLEN_BBTOUCH3;
Compile dies here because WACOM_PKGLEN_BBTOUCH3 is defined in the
next patch.
Please make sure the series is bisectable.
Thanks.
--
Dmitry
next prev parent reply other threads:[~2011-10-21 2:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 1:29 [PATCH 0/6] Add support for new (3rd generation) Bamboo P&T's chris
2011-10-17 1:29 ` [PATCH 1/6] Input: wacom - cleanup feature report for bamboos chris
2011-10-17 1:29 ` [PATCH 2/6] Input: wacom - remove unused bamboo HID parsing chris
2011-10-20 21:17 ` Ping Cheng
2011-10-21 17:26 ` Chris Bagwell
2011-10-17 1:29 ` [PATCH 3/6] Input: wacom - add some comments to wacom_parse_hid chris
2011-10-17 1:29 ` [PATCH 4/6] Input: wacom - relax Bamboo stylus ID check chris
2011-10-17 1:29 ` [PATCH 5/6] Input: wacom - read 3rd gen Bamboo Touch HID data chris
2011-10-21 2:53 ` Dmitry Torokhov [this message]
2011-10-21 17:29 ` Chris Bagwell
2011-10-17 1:29 ` [PATCH 6/6] Input: wacom - 3rd gen Bamboo P&Touch packet support chris
-- strict thread matches above, loose matches on Subject: below --
2011-10-17 1:20 [PATCH 0/6] Add support for new (3rd generation) Bamboo P&T's chris
2011-10-17 1:20 ` [PATCH 5/6] Input: wacom - read 3rd gen Bamboo Touch HID data chris
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=201110201953.16567.dmitry.torokhov@gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=chris@cnpbagwell.com \
--cc=linux-input@vger.kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.