Skip to contentSkip to conversation

Dummy keyboard driver

DISCUSSION Ralf Baechle 2 participants 4 messages Jun 19, 2004 – Jun 20, 2004 MIPS

lore
Share & tools
lore
#0 lore raw

Is there still a need for the dummy keyboard driver? Right now DUMMY_KEYB is being set for a bunch of platforms without having any effect so I take to mean we can remove dummy_keyb.c.

Ralf

#1 lore raw

On Sat, 2004-06-19 22:09:23 +0200, Ralf Baechle <[email protected]> wrote in message <[email protected]>:

Quoted 3 lines

Is there still a need for the dummy keyboard driver? Right now DUMMY_KEYB is being set for a bunch of platforms without having any effect so I take to mean we can remove dummy_keyb.c.

I (vax 2.6.x tree) don't even have that file, and there shouldn't be no need for any kind of dummy keyboard. Either there's at least one keyboard attached (multiple are fine, though), you get input. No keyboard (driver), no input. Simple.

Just drop it.

MfG, JBG

Signature · 4 lines
   Jan-Benedict Glaw       [email protected]    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
#2 lore raw
Quoted 6 lines · Jan-Benedict Glaw

On Sat, 2004-06-19 22:09:23 +0200, Ralf Baechle <[email protected]> wrote in message <[email protected]>:

Quoted 3 lines

Is there still a need for the dummy keyboard driver? Right now DUMMY_KEYB is being set for a bunch of platforms without having any effect so I take to mean we can remove dummy_keyb.c.

Quoted 6 lines

I (vax 2.6.x tree) don't even have that file, and there shouldn't be no need for any kind of dummy keyboard. Either there's at least one keyboard attached (multiple are fine, though), you get input. No keyboard (driver), no input. Simple.

Just drop it.

I don't think the original reason for it still exists and even if it was it'd need to be rewritten and moved so I'm removing it now.

Ralf

#3 lore raw

On Sun, 2004-06-20 02:03:48 +0200, Ralf Baechle <[email protected]> wrote in message <[email protected]>:

Quoted 8 lines · Jan-Benedict Glaw
Quoted 7 lines

On Sat, 2004-06-19 22:09:23 +0200, Ralf Baechle <[email protected]> wrote in message <[email protected]>:
I (vax 2.6.x tree) don't even have that file, and there shouldn't be no need for any kind of dummy keyboard. Either there's at least one keyboard attached (multiple are fine, though), you get input. No keyboard (driver), no input. Simple.

Quoted 4 lines
Quoted 1 line

Just drop it.

I don't think the original reason for it still exists and even if it was it'd need to be rewritten and moved so I'm removing it now.

Right. Looong ago, you had to have keyboard driver if you had CONFIG_VT switched on (because tty/vt core then referenced some functions for key mapping and LED status setting), but those times are gone.

Today's dummy keyboard actually *is* the whole Input API. I think the "direct" way of pumping data into tty/vt core went away around 2.6.1 (or around that), when the parisc team ported their HIL and ps2-keyboard drivers to Input API drivers or serio adaptors.

MfG, JBG

Signature · 4 lines
   Jan-Benedict Glaw       [email protected]    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));