Skip to contentSkip to conversation

Rawmode keyboard for your....

DISCUSSION Kristoffer Ericson 3 participants 4 messages Mar 26, 2009 – Apr 20, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Greetings,

What exactly does this build warning imply?
We have a fully working keyboard driver for the Jornada 700-series and would really like to get rid of this.

CC drivers/char/keyboard.o
drivers/char/keyboard.c:1126:2: warning: #warning "Cannot generate rawmode keyboard for your architecture yet." drivers/char/keyboard.c:1126:2: warning: #warning "Cannot generate rawmode keyboard for your architecture yet."

Best wishes
Kristoffer

Signature · 1 line
Kristoffer Ericson <[email protected]>
#1 lore raw
Quoted 1 line · Kristoffer Ericson

Greetings,

Hello

Quoted 7 lines

What exactly does this build warning imply?
We have a fully working keyboard driver for the Jornada 700-series and would really like to get rid of this.

CC drivers/char/keyboard.o
drivers/char/keyboard.c:1126:2: warning: #warning "Cannot generate

rawmode keyboard for your architecture yet."

Quoted 1 line

drivers/char/keyboard.c:1126:2: warning: #warning "Cannot generate

rawmode keyboard for your architecture yet."

It means just what it says, if you put the keyboard into VC_RAW mode you will not get the expected key codes.

But... Hmm... Jornada 700-series is arm/mach-sa1100 (CONFIG_ARM)...

Looks like if you enable CONFIG_KEYBOARD_ATKBD the build warning message will go away.

Just my 2 cents...
Hartley

#2 lore raw
Quoted 19 lines · On Thursday 26 March 2009 11:30:43 H Hartley Sweeten wrote:
Quoted 1 line · Kristoffer Ericson

Greetings,

Hello

Quoted 7 lines

What exactly does this build warning imply?
We have a fully working keyboard driver for the Jornada 700-series and would really like to get rid of this.

CC drivers/char/keyboard.o
drivers/char/keyboard.c:1126:2: warning: #warning "Cannot generate

rawmode keyboard for your architecture yet."

Quoted 1 line

drivers/char/keyboard.c:1126:2: warning: #warning "Cannot generate

rawmode keyboard for your architecture yet."

Quoted 8 lines

It means just what it says, if you put the keyboard into VC_RAW mode you will not get the expected key codes.

But... Hmm... Jornada 700-series is arm/mach-sa1100 (CONFIG_ARM)...

Looks like if you enable CONFIG_KEYBOARD_ATKBD the build warning message will go away.

I think we should just remove the warning. It does not make much sense anymore. I intend to apply the patch below.

Signature · 13 lines
Dmitry

Input: keyboard - remove warning about raw mode not supported

This warning made sense when legacy keyboard driver was preferred
driver in X, but now that evdev driver is the default we can remove
the warning.

Signed-off-by: Dmitry Torokhov <[email protected]>
---

 drivers/char/keyboard.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/char/keyboard.c +0 -0
index de26a97..737be95 100644
@@ -1123,8 +1123,6 @@ static int emulate_raw(struct vc_data *vc, unsigned int 

keycode,

#define HW_RAW(dev) 0

-#warning "Cannot generate rawmode keyboard for your architecture yet." -
static int emulate_raw(struct vc_data *vc, unsigned int keycode, unsigned
char up_flag)
{
if (keycode > 127)

#3 lore raw
Quoted 23 lines · On Mon, 20 Apr 2009 00:04:49 -0700 Dmitry Torokhov <[email protected]>…
Quoted 22 lines · On Thursday 26 March 2009 11:30:43 H Hartley Sweeten wrote:
Quoted 1 line · Kristoffer Ericson

Greetings,

Hello

Quoted 7 lines

What exactly does this build warning imply?
We have a fully working keyboard driver for the Jornada 700-series and would really like to get rid of this.

CC drivers/char/keyboard.o
drivers/char/keyboard.c:1126:2: warning: #warning "Cannot generate

rawmode keyboard for your architecture yet."

Quoted 1 line

drivers/char/keyboard.c:1126:2: warning: #warning "Cannot generate

rawmode keyboard for your architecture yet."

It means just what it says, if you put the keyboard into VC_RAW mode you will not get the expected key codes.

Quoted 8 lines
Quoted 5 lines

But... Hmm... Jornada 700-series is arm/mach-sa1100 (CONFIG_ARM)...

Looks like if you enable CONFIG_KEYBOARD_ATKBD the build warning message will go away.

I think we should just remove the warning. It does not make much sense anymore. I intend to apply the patch below.

Sounds like a good idea. Thanks!

Quoted 35 lines
Signature · 14 lines
-- 
Dmitry

Input: keyboard - remove warning about raw mode not supported

This warning made sense when legacy keyboard driver was preferred
driver in X, but now that evdev driver is the default we can remove
the warning.

Signed-off-by: Dmitry Torokhov <[email protected]>
---

 drivers/char/keyboard.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/char/keyboard.c +0 -2
index de26a97..737be95 100644
@@ -1123,8 +1123,6 @@ static int emulate_raw(struct vc_data *vc, unsigned int 
 keycode,
 
 #define HW_RAW(dev)	0
 
-#warning "Cannot generate rawmode keyboard for your architecture yet."
-
 static int emulate_raw(struct vc_data *vc, unsigned int keycode, unsigned 
 char up_flag)

{
if (keycode > 127)

Signature · 1 line
Kristoffer Ericson <[email protected]>