Re: [PATCH 2/3] HID: i2c-hid: Read wMaxInputLength of input report instead of bufsize

2015-02-23 Thread Mika Westerberg
On Mon, Feb 23, 2015 at 10:26:35AM -0500, Benjamin Tissoires wrote: > On Feb 23 2015 or thereabouts, Mika Westerberg wrote: > > Wacom digitizer (WCOM0008) on Lenovo Thinkpad 10 seems to allow reading of > > subsequent reports (or part of them) if we read more than wMaxInputLength > > of data at

Re: [PATCH 2/3] HID: i2c-hid: Read wMaxInputLength of input report instead of bufsize

2015-02-23 Thread Benjamin Tissoires
On Feb 23 2015 or thereabouts, Mika Westerberg wrote: > Wacom digitizer (WCOM0008) on Lenovo Thinkpad 10 seems to allow reading of > subsequent reports (or part of them) if we read more than wMaxInputLength > of data at the time. This data is not always aligned so that the next > report would

[PATCH 2/3] HID: i2c-hid: Read wMaxInputLength of input report instead of bufsize

2015-02-23 Thread Mika Westerberg
Wacom digitizer (WCOM0008) on Lenovo Thinkpad 10 seems to allow reading of subsequent reports (or part of them) if we read more than wMaxInputLength of data at the time. This data is not always aligned so that the next report would start right after another. For example we might get following

[PATCH 2/3] HID: i2c-hid: Read wMaxInputLength of input report instead of bufsize

2015-02-23 Thread Mika Westerberg
Wacom digitizer (WCOM0008) on Lenovo Thinkpad 10 seems to allow reading of subsequent reports (or part of them) if we read more than wMaxInputLength of data at the time. This data is not always aligned so that the next report would start right after another. For example we might get following

Re: [PATCH 2/3] HID: i2c-hid: Read wMaxInputLength of input report instead of bufsize

2015-02-23 Thread Benjamin Tissoires
On Feb 23 2015 or thereabouts, Mika Westerberg wrote: Wacom digitizer (WCOM0008) on Lenovo Thinkpad 10 seems to allow reading of subsequent reports (or part of them) if we read more than wMaxInputLength of data at the time. This data is not always aligned so that the next report would start

Re: [PATCH 2/3] HID: i2c-hid: Read wMaxInputLength of input report instead of bufsize

2015-02-23 Thread Mika Westerberg
On Mon, Feb 23, 2015 at 10:26:35AM -0500, Benjamin Tissoires wrote: On Feb 23 2015 or thereabouts, Mika Westerberg wrote: Wacom digitizer (WCOM0008) on Lenovo Thinkpad 10 seems to allow reading of subsequent reports (or part of them) if we read more than wMaxInputLength of data at the time.