Re: [PATCH v2] input: tablet: pegasus_notetaker: USB PM fixes

2016-07-09 Thread Martin Kepplinger
Am 2016-07-08 um 23:08 schrieb Dmitry Torokhov: > On Tue, Jun 28, 2016 at 06:17:13PM +0200, Martin Kepplinger wrote: >> Am 2016-06-23 um 19:18 schrieb Dmitry Torokhov: >>> Hi Martin, >>> >>> On Tue, Jun 14, 2016 at 01:20:15PM +0200, Martin Kepplinger wrote: &

Re: [PATCH v2] input: tablet: pegasus_notetaker: USB PM fixes

2016-06-28 Thread Martin Kepplinger
Am 2016-06-23 um 19:18 schrieb Dmitry Torokhov: > Hi Martin, > > On Tue, Jun 14, 2016 at 01:20:15PM +0200, Martin Kepplinger wrote: >> static int pegasus_reset_resume(struct usb_interface *intf) >> { >> +struct pegasus *pegasus = usb_get_intfdata(intf); >>

Re: [PATCH v9] input: tablet: add Pegasus Notetaker tablet driver

2016-06-23 Thread Martin Kepplinger
Am 2016-06-15 um 15:01 schrieb Martin Kepplinger: > This adds a driver for the Pegasus Notetaker Pen. When connected, > this uses the Pen as an input tablet. > > This device was sold in various different brandings, for example > "Pegasus Mobile Notetaker M210", >

[PATCH v9] input: tablet: add Pegasus Notetaker tablet driver

2016-06-15 Thread Martin Kepplinger
transfer saved (offline recorded handwritten) data and there are userspace programs that do this, see https://launchpad.net/m210 (Well, alternatively there are really fast scanners out there :) It's *really* fun to use as an input tablet though! So let's support this for everybody. Signed-off-by: Martin Kepp

[PATCH v2] input: tablet: pegasus_notetaker: USB PM fixes

2016-06-14 Thread Martin Kepplinger
* Fix usb_autopm calls to be balanced * In reset_resume() we need to set the device mode * In suspend() we must cancel the workqueue's work Signed-off-by: Martin Kepplinger <mart...@posteo.de> --- Thanks Oliver, I think I got it now. Dmitry, again, do you want to have a new v

[PATCH] input: tablet: pegasus_notetaker: USB PM fixes

2016-06-13 Thread Martin Kepplinger
In close() we only need usb_autopm_put_interface(), in reset_resume() we need to set the device mode, and in suspend(), we must cancel the workqueue's work. Signed-off-by: Martin Kepplinger <mart...@posteo.de> --- Thanks Oliver for these changes. For me, everything works as before. Dmit

Re: [PATCH v7] input: tablet: add Pegasus Notetaker tablet driver

2016-06-10 Thread Martin Kepplinger
Am 2016-06-09 um 17:00 schrieb Oliver Neukum: > On Wed, 2016-06-01 at 14:55 +0200, Martin Kepplinger wrote: > >> It's *really* fun to use as an input tablet though! So let's support this >> for everybody. > > Nice job, but a few issues are left. I'll comment in the code

[PATCH v8] input: tablet: add Pegasus Notetaker tablet driver

2016-06-02 Thread Martin Kepplinger
transfer saved (offline recorded handwritten) data and there are userspace programs that do this, see https://launchpad.net/m210 (Well, alternatively there are really fast scanners out there :) It's *really* fun to use as an input tablet though! So let's support this for everybody. Signed-off-by: Martin Kepp

[PATCH v7] input: tablet: add Pegasus Notetaker tablet driver

2016-06-01 Thread Martin Kepplinger
rce. This device can also transfer saved (offline recorded handwritten) data and there are userspace programs that do this, see https://launchpad.net/m210 (Well, alternatively there are really fast scanners out there :) It's *really* fun to use as an input tablet though! So let's support this for

Re: [PATCH v6] input: tablet: add Pegasus Notetaker tablet driver

2016-05-31 Thread Martin Kepplinger
Am 2016-05-29 um 08:59 schrieb Martin Kepplinger: > This adds a driver for the Pegasus Notetaker Pen. When connected, > this uses the Pen as an input tablet. > Please wait for v7, before you consider merging this. thanks! -- To unsubscribe from this list: send the line "unsubsc

Re: [PATCH v5] input: tablet: add Pegasus Notetaker tablet driver

2016-05-28 Thread Martin Kepplinger
Hi Dmitry, Thanks again for your help! Only one comment below... Am 2016-05-27 um 23:59 schrieb Dmitry Torokhov: > Hi Martin, > >> +static void pegasus_parse_packet(struct pegasus *pegasus) >> +{ >> +unsigned char *data = pegasus->data; >> +struct input_dev *dev = pegasus->dev; >> +

[PATCH v5] input: tablet: add Pegasus Notetaker tablet driver

2016-05-27 Thread Martin Kepplinger
r everybody. There's no way to disable the device. When the pen is out of range, we just don't get any URBs and don't do anything. Like all other mouses or input tablets, we don't use runtime PM. Signed-off-by: Martin Kepplinger <mart...@posteo.de> --- This is *exactly* v5 again, only

[PATCH v5] input: tablet: add Pegasus Notetaker tablet driver

2016-05-27 Thread Martin Kepplinger
*really* fun to use as an input tablet though! So let's support this for everybody. There's no way to disable the device. When the pen is out of range, we just don't get any URBs and don't do anything. Like all other mouses or input tablets, we don't use runtime PM. Signed-off-by: Martin Keppli

Re: [PATCH v4] input: tablet: add Pegasus Notetaker tablet driver

2016-05-26 Thread Martin Kepplinger
Am 2016-05-26 um 02:29 schrieb Dmitry Torokhov: > Hi Martin, > > On Wed, May 25, 2016 at 09:44:34AM +0200, Martin Kepplinger wrote: >> This adds a driver for the Pegasus Notetaker Pen. When connected, >> this uses the Pen as an input tablet. >> >> This dev

[PATCH v4] input: tablet: add Pegasus Notetaker tablet driver

2016-05-25 Thread Martin Kepplinger
*really* fun to use as an input tablet though! So let's support this for everybody. There's no way to disable the device. When the pen is out of range, we just don't get any URBs and don't do anything. Like all other mouses or input tablets, we don't use runtime PM. Signed-off-by: Martin Kepplinger

Re: [PATCH v3] input: tablet: add Pegasus Notetaker tablet driver

2016-05-23 Thread Martin Kepplinger
Am 2016-05-23 um 15:00 schrieb Oliver Neukum: > On Mon, 2016-05-23 at 14:43 +0200, Martin Kepplinger wrote: >> Am 2016-05-23 um 14:26 schrieb Oliver Neukum: >>> On Mon, 2016-05-23 at 13:39 +0200, Martin Kepplinger wrote: >>> >>>> It's *really* fun to use as a

Re: [PATCH v3] input: tablet: add Pegasus Notetaker tablet driver

2016-05-23 Thread Martin Kepplinger
Am 2016-05-23 um 14:26 schrieb Oliver Neukum: > On Mon, 2016-05-23 at 13:39 +0200, Martin Kepplinger wrote: > >> It's *really* fun to use as an input tablet though! So let's support this >> for everybody. > > Hi, > > I am afraid there are a few issues. Thanks for