Re: High CPU Usage -> bad output on hp6xx keyboard

2008-05-14 Thread Kristoffer Ericson
On Wed, 14 May 2008 01:19:41 -0400 Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > Hi Kristoffer, > > On Tue, May 13, 2008 at 10:53:56PM +0200, Kristoffer Ericson wrote: > > Hey Dmitry & Paul > > > > Want your input on best way to handle this. As you know the H

High CPU Usage -> bad output on hp6xx keyboard

2008-05-13 Thread Kristoffer Ericson
. Instead with timer, it will essentially get it done when it can and dont schedule other stuff until its ready. So, suggestions? -- Kristoffer Ericson <[EMAIL PROTECTED]>

Re: [HP6xx/Patch] - update touchscreen driver

2008-05-01 Thread Kristoffer Ericson
@@ +/* + * Platform driver for the HP Jornada 620/660/680/690 Touchscreen. + * + * Copyright 2008 Kristoffer Ericson <[EMAIL PROTECTED]> + * Copyright ...-2007 Andriy Skulysh <[EMAIL PROTECTED]> + */ #include #include #include #include +#include +#include + #include #include #inclu

[HP7xx/patch] - Fix broken ABS values + minor changes

2008-04-27 Thread Kristoffer Ericson
: Kristoffer Ericson <[EMAIL PROTECTED]> diff --git a/drivers/input/touchscreen/jornada720_ts.c b/drivers/input/touchscreen/jornada720_ts.c index 7422421..26e85e8 100644 --- a/drivers/input/touchscreen/jornada720_ts.c +++ b/drivers/input/touchscreen/jornada720_ts.c @@ -1,7 +1,8 @@ /* * drivers

[HP6xx/Patch] - update touchscreen driver

2008-04-27 Thread Kristoffer Ericson
work queue handling * random tidying Signed-off-by: Kristoffer Ericson <[EMAIL PROTECTED]> diff --git a/drivers/input/touchscreen/hp680_ts_input.c b/drivers/input/touchscreen/hp680_ts_input.c index c38d4e0..2fb53c0 100644 --- a/drivers/input/touchscreen/hp680_ts_input.c +++ b/drivers

Re: [HP j6xx / FIX] - Fix so touchscreen driver works again

2008-04-06 Thread Kristoffer Ericson
On Mon, 10 Mar 2008 10:41:06 -0400 Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > On Thu, Mar 06, 2008 at 10:51:47PM +0100, Jiri Kosina wrote: > > On Thu, 6 Mar 2008, Kristoffer Ericson wrote: > > > > > The general replies I've gotten when asking to change filen

Re: [FIX / HP7xx] - Fix touchscreen to work without tsdev

2008-04-06 Thread Kristoffer Ericson
and processing/discarding useless events. > Well, I agree with you on that. Unless Richard has any objections we should email the maintainter of tslib and ask him to change that. What you say Richard? > -- > Dmitry -- Kristoffer Ericson <[EMAIL PROTECTED]>

Re: [FIX / HP7xx] - Fix touchscreen to work without tsdev

2008-03-22 Thread Kristoffer Ericson
On Fri, 21 Mar 2008 22:43:14 + Richard Purdie <[EMAIL PROTECTED]> wrote: > Hi, > > On Fri, 2008-03-21 at 15:59 -0400, Dmitry Torokhov wrote: > > On Fri, Mar 21, 2008 at 08:40:19PM -0700, Kristoffer Ericson wrote: > > > This patch makes the jornada 7xx touc

[FIX / HP7xx] - Fix touchscreen to work without tsdev

2008-03-21 Thread Kristoffer Ericson
This patch makes the jornada 7xx touchscreen work without tsdev. It changes the ABS values and makes sure the report_key is done in right order (for tslib). We also change the printk's to use ERR instead of INFO. Signed-off-by: Kristoffer Ericson <[EMAIL PROTECTED]> diff --git a/dr

[HP j6xx] - Weird keyboard bug (feedback wanted)

2008-03-12 Thread Kristoffer Ericson
} if (sync_me) input_sync(input_dev); } -- Kristoffer Ericson <[EMAIL PROTECTED]>

[HP J6xx] - Fix touchscreen driver

2008-03-11 Thread Kristoffer Ericson
: Kristoffer Ericson <[EMAIL PROTECTED]> diff --git a/drivers/input/touchscreen/hp680_ts_input.c b/drivers/input/touchscreen/hp680_ts_input.c index c38d4e0..16a643b 100644 --- a/drivers/input/touchscreen/hp680_ts_input.c +++ b/drivers/input/touchscreen/hp680_ts_input.c @@ -1,7 +1,16 @@ +/* + * Pl

Re: [HP j6xx / FIX] - Fix so touchscreen driver works again

2008-03-10 Thread Kristoffer Ericson
/680/690 Touchscreen. + * + * Copyright 2008 Kristoffer Ericson <[EMAIL PROTECTED]> + * Copyright ...-2007 Andriy Skulysh <[EMAIL PROTECTED]> + */ #include #include #include #include +#include +#include + #include #include #include @@ -9,24 +18,18 @@ #de

Re: [HP j6xx / FIX] - Fix so touchscreen driver works again

2008-03-08 Thread Kristoffer Ericson
On Sat, 8 Mar 2008 01:35:31 +0100 (CET) Jiri Kosina <[EMAIL PROTECTED]> wrote: > On Fri, 7 Mar 2008, Kristoffer Ericson wrote: > > > diff --git a/drivers/input/touchscreen/hp680_ts_input.c > > b/drivers/input/touchscreen/hp680_ts_input.c > > index c38d4e0..6b24f0b

Re: [HP j6xx / FIX] - Fix so touchscreen driver works again

2008-03-07 Thread Kristoffer Ericson
On Thu, 6 Mar 2008 22:51:47 +0100 (CET) Jiri Kosina <[EMAIL PROTECTED]> wrote: > On Thu, 6 Mar 2008, Kristoffer Ericson wrote: > > > The general replies I've gotten when asking to change filenames is that > > they don't want to break back-portability or whate

Re: [HP j6xx / FIX] - Fix so touchscreen driver works again

2008-03-06 Thread Kristoffer Ericson
On Thu, 6 Mar 2008 11:40:35 +0100 (CET) Jiri Kosina <[EMAIL PROTECTED]> wrote: > On Thu, 6 Mar 2008, Kristoffer Ericson wrote: > > > Usually filename changes are avoided. For many reasons I guess, avoid > > breaking platforms, Makefiles..and so on. > > I of cou

Re: [HP j6xx / FIX] - Fix so touchscreen driver works again

2008-03-06 Thread Kristoffer Ericson
On Thu, 6 Mar 2008 11:40:35 +0100 (CET) Jiri Kosina <[EMAIL PROTECTED]> wrote: > On Thu, 6 Mar 2008, Kristoffer Ericson wrote: > > > Usually filename changes are avoided. For many reasons I guess, avoid > > breaking platforms, Makefiles..and so on. > > I of cou

Re: [HP j6xx / FIX] - Fix so touchscreen driver works again

2008-03-06 Thread Kristoffer Ericson
2008/3/6, Jiri Kosina <[EMAIL PROTECTED]>: > > On Thu, 6 Mar 2008, Kristoffer Ericson wrote: > > > Valid points, will fix them. > > Thanks. > > > > Also, while you are at it, maybe it would be worth to rename the > > > driver? (hp6xx instead of hp6

Re: [HP j6xx / FIX] - Fix so touchscreen driver works again

2008-03-06 Thread Kristoffer Ericson
Valid points, will fix them. 2008/3/6, Jiri Kosina <[EMAIL PROTECTED]>: > > On Wed, 5 Mar 2008, Kristoffer Ericson wrote: > > > -static void do_softint(struct work_struct *work) > > +static void do_softint(struct delayed_work *work) > > { > > - int

[HP j6xx / FIX] - Fix so touchscreen driver works again

2008-03-05 Thread Kristoffer Ericson
ime. * more declaration of ABS features. * whitespace cleanups. Signed-off-by: Kristoffer Ericson <[EMAIL PROTECTED]> diff --git a/drivers/input/touchscreen/hp680_ts_input.c b/drivers/input/touchscreen/hp680_ts_input.c index c38d4e0..b44d052 100644 --- a/drivers/input/touchscreen/hp680_ts_inpu

Detection of external buttons in keyboard driver

2008-02-10 Thread Kristoffer Ericson
Greetings, Dmitry could use some input on this. On the hp6xx we got 3 external buttons (record / play / rewind), the status of those buttons can be read from PGDR where each bit = one button. Value 0 means pressed key and value 1 means non_pressed. I start out by reversing the bit values, just

Re: Question regarding input phys

2008-02-07 Thread Kristoffer Ericson
On Thu, 7 Feb 2008 16:50:55 -0500 Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > Hi Kristoffer, > > On Thu, Feb 07, 2008 at 10:33:34PM +0100, Kristoffer Ericson wrote: > > Dmitry, (or anyone else) > > > > in what way is the phys = "blablabla/input0" imp

Question regarding input phys

2008-02-07 Thread Kristoffer Ericson
Dmitry, (or anyone else) in what way is the phys = "blablabla/input0" important aside from placement in /sys? Im asking because all my keyboard/touchscreen end with input0 and wondering if I need to set one to /input1 atleast. Best wishes Kristoffer

{Jornada7xx} patches (keyboard fix & driver Kconfig cleanup)

2008-01-12 Thread Kristoffer Ericson
; 112 */ +/* PTE7 */ KEY_0, KEY_MINUS, KEY_EQUAL, 0, KEY_1, 0, 0, 0, /* 113 -> 120 */ + KEY_2, KEY_3, KEY_4, KEY_9, KEY_8, KEY_7, KEY_5, KEY_6, /* 121 -> 128 */ /* */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -- Kristoffer Ericson <[EMAIL PROTECTED]> hp6xx-keyboard-keymap-fix.patch Description: Binary data hp6xx-drivers-Kconfig-cleanup.patch Description: Binary data

Re: [HP6XX/FIX/PATCH] - Fix bad default keymap in HP Jornada 6xx keyboard driver

2007-12-12 Thread Kristoffer Ericson
On Thu, 13 Dec 2007 03:45:58 +0900 Paul Mundt <[EMAIL PROTECTED]> wrote: > On Wed, Dec 12, 2007 at 07:22:07PM +0100, Kristoffer Ericson wrote: > > shortlog: > > * This patch fixes the HP Jornada 6xx keyboard default keymap which had > > some bad keymap values. Thi

[HP6XX/FIX/PATCH] - Fix bad default keymap in HP Jornada 6xx keyboard driver

2007-12-12 Thread Kristoffer Ericson
(example : key y returned 'r'). * Also, while we are at it lets arrange the include files in alphabetical order. signed-off-by: Kristoffer Ericson <[EMAIL PROTECTED]> diff --git a/drivers/input/keyboard/jornada680_kbd.c b/drivers/input/keyboard/jornada680_kbd.c index bec1cf4..a236

Re: Power button policy and mechanism

2007-10-20 Thread Kristoffer Ericson
On Fri, 19 Oct 2007 10:54:27 +0100 Richard Purdie <[EMAIL PROTECTED]> wrote: > On Tue, 2007-10-16 at 10:34 -0400, Dmitry Torokhov wrote: > > On 10/16/07, Kristoffer Ericson <[EMAIL PROTECTED]> wrote: > > > This is mainly an embedded issue, but I feel it's quit

Power button policy and mechanism

2007-10-16 Thread Kristoffer Ericson
Why/Why Not? 2. Seeing as my knowledge about this area isn't the best I would appreciate all opinions on the subject from the gurus. Best wishes Kristoffer Ericson -- Kristoffer Ericson <[EMAIL PROTECTED]>

Handling transition into suspend through keyboard driver

2007-10-07 Thread Kristoffer Ericson
hard time finding examples. Best wishes Kristoffer Ericson

Re: Handling touchscreen buttons

2007-09-25 Thread Kristoffer Ericson
On Tue, 25 Sep 2007 01:44:16 -0400 Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > On Monday 24 September 2007, Kristoffer Ericson wrote: > > Greetings, > > > > On my jornada7xx I have 4 buttons on the rightside of the screen (going > > from Y-low -> Y-hig

Handling touchscreen buttons

2007-09-23 Thread Kristoffer Ericson
to best accomplish this? Best wishes Kristoffer Ericson Maintainer : HP7xx & HP6xx

Re: [HP7XX/PATCH] - HP720 Jornada Touchscreen (Updated, please use this one)

2007-09-19 Thread Kristoffer Ericson
/touchscreen/jornada720_ts.c + * + * Copyright (C) 2007 Kristoffer Ericson <[EMAIL PROTECTED]> + * + * Copyright (C) 2006 Filip Zyzniewski <[EMAIL PROTECTED]> + * based on HP Jornada 56x touchscreen driver by Alex Lange <[EMAIL PROTECTED]> + * + * This program is free software; yo

[HP7XX/PATCH] - HP720 Jornada Touchscreen (Updated, please use this one)

2007-09-19 Thread Kristoffer Ericson
ivers/input/touchscreen/jornada720_ts.c b/drivers/input/touchscreen/jornada720_ts.c new file mode 100644 index 000..fb0f665 --- /dev/null +++ b/drivers/input/touchscreen/jornada720_ts.c @@ -0,0 +1,182 @@ +/* + * drivers/input/touchscreen/jornada720_ts.c + * + * Copyright (C) 2007 Kristoffer Er

[HP7XX/PATCH] : Touchscreen support

2007-09-19 Thread Kristoffer Ericson
@@ +/* + * drivers/input/touchscreen/jornada720_ts.c + * + * Copyright (C) 2007 Kristoffer Ericson <[EMAIL PROTECTED]> + * + * Copyright (C) 2006 Filip Zyzniewski <[EMAIL PROTECTED]> + * based on HP Jornada 56x touchscreen driver by Alex Lange <[EMAIL PROTECTED]> + * + * Th

[HP7XX/PATCH] : Keyboard support

2007-09-18 Thread Kristoffer Ericson
Greetings, With hp6xx out of the way, here comes the patch for hp7xx. I've made sure this time, that it compiles and runs :) . Shortlog: This patch adds support to the HP Jornada 7xx (710/720/728) onboard keyboard. Signed-off-by: Kristoffer Ericson <[EMAIL PROTECTED]> diff --gi

Re: [HP Jornada 6XX] - Onboard Keyboard support

2007-09-13 Thread Kristoffer Ericson
btw Any git-repository available? On Tue, 11 Sep 2007 14:32:41 -0400 "Dmitry Torokhov" <[EMAIL PROTECTED]> wrote: > On 9/11/07, Kristoffer Ericson <[EMAIL PROTECTED]> wrote: > > On Tue, 11 Sep 2007 11:14:37 -0400 > > "Dmitry Torokhov" <[EMAIL P

Re: [HP Jornada 6XX] - Onboard Keyboard support

2007-09-11 Thread Kristoffer Ericson
On Tue, 11 Sep 2007 11:14:37 -0400 "Dmitry Torokhov" <[EMAIL PROTECTED]> wrote: > On 9/11/07, Kristoffer Ericson <[EMAIL PROTECTED]> wrote: > > On Mon, 10 Sep 2007 09:01:51 -0400 > > "Dmitry Torokhov" <[EMAIL PROTECTED]> wrote: > > >

Re: [HP Jornada 6XX] - Onboard Keyboard support

2007-09-10 Thread Kristoffer Ericson
On Mon, 10 Sep 2007 09:01:51 -0400 "Dmitry Torokhov" <[EMAIL PROTECTED]> wrote: > On 9/10/07, Kristoffer Ericson <[EMAIL PROTECTED]> wrote: > > Greetings, > > > > I've sent this patch a couple of times now without receiving any response, > >

Re: [HP Jornada 6XX] - Onboard Keyboard support

2007-09-10 Thread Kristoffer Ericson
ed to get rid of dependance on scan_keyb.c/.h, it also uses polldev. Bugs fixed in this verses the old driver is that it no longer produces 'dead' keys. signed-off-by: Kristoffer Ericson <[EMAIL PROTECTED]> diff --git a/drivers/input/keyboard/jornada680_kbd.c b/drivers/input/keyb

Re: [HP Jornada 6XX] - Onboard Keyboard support

2007-08-25 Thread Kristoffer Ericson
Hey Dmitry, Here's the new driver for HP Jornada onboard keyboard (HP6XX). It compiles cleanly and works perfectly. It uses the polldev that you suggested. On Mon, 30 Jul 2007 08:39:20 -0400 "Dmitry Torokhov" <[EMAIL PROTECTED]> wrote: > Hi Kristoffer, > >

Re: [HP Jornada 6XX] - Onboard Keyboard support

2007-07-31 Thread Kristoffer Ericson
right (C) 2007 Kristoffer Ericson <[EMAIL PROTECTED]> + * + * Based on jornada680_keyb.c + * + * + * + * + * + */ + +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#define SCANHZ (HZ/20) + +#define PCCR 0xa4000104 +#define PDCR 0xa40001

Re: [HP Jornada 6XX] - Onboard Keyboard support

2007-07-26 Thread Kristoffer Ericson
/drivers/input/keyboard/jornada680_kbd.c new file mode 100644 index 000..0191628 --- /dev/null +++ b/drivers/input/keyboard/jornada680_kbd.c @@ -0,0 +1,283 @@ +/* + * drivers/input/keyboard/jornada680_keyb.c + * + * HP Jornada 680/690 Scan keyboard + * + * Copyright (C) 2007 Kristoffer Ericson

Re: [HP Jornada 6XX] - Onboard Keyboard support

2007-07-21 Thread Kristoffer Ericson
Ah, I'll look into that then. Thx On Sun, 22 Jul 2007 01:45:10 -0400 Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > On Saturday 21 July 2007 21:15, Kristoffer Ericson wrote: > > Greetings, > > > > Here we go again with another keyboard patch (this time for hp6xx)

Re: [PATCH] HP Jornada 7xx keyboard support

2007-07-21 Thread Kristoffer Ericson
On Sun, 22 Jul 2007 01:29:08 -0400 Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > Hi Kristoffer, > > On Saturday 21 July 2007 20:48, Kristoffer Ericson wrote: > > Greetings, > > > > You got the description text before right?. > > > > Here's the s

Re: [PATCH] HP Jornada 7xx keyboard support

2007-07-21 Thread Kristoffer Ericson
Greetings, You got the description text before right?. Here's the signoff line: signed-off-by: Kristoffer Ericson <[EMAIL PROTECTED]> On Fri, 20 Jul 2007 16:36:02 -0400 "Dmitry Torokhov" <[EMAIL PROTECTED]> wrote: > On 7/21/07, Kristoffer Ericson <[EM

Re: [PATCH] HP Jornada 7xx keyboard support

2007-07-20 Thread Kristoffer Ericson
00644 index 000..f5af7f6 --- /dev/null +++ b/drivers/input/keyboard/jornada720_kbd.c @@ -0,0 +1,167 @@ +/* + * drivers/input/keyboard/jornada720_kbd.c + * + * HP Jornada 720 keyboard platform driver + * + * Copyright (C) 2006/2007 Kristoffer Ericson <[EMAIL PROTECTED]> + *Copyright

Re: [PATCH] HP Jornada 7xx keyboard support

2007-07-20 Thread Kristoffer Ericson
ut/keyboard/jornada720_kbd.c + * + * HP Jornada 720 keyboard platform driver + * + * Copyright (C) 2006/2007 Kristoffer Ericson <[EMAIL PROTECTED]> + *Copyright (C) 2006 jornada 720 kbd driver by Filip Zyzniewsk <[EMAIL PROTECTED] + * based on (C) 2004 jornada 720 kbd driver by Alex La