Skip to contentSkip to conversation

drivers/char/keyboard.c now unused?

DISCUSSION Nigel Cunningham 3 participants 3 messages Jan 30, 2003 – Jan 31, 2003

lore
Share & tools
lore
#0 lore raw

Hi all.

I've been doing some work on porting my patches to the 2.4 version of software suspend to 2.5. Under 2.4, I use the shift_state variable from drivers/char/keyboard.c to provide interactive, step-by-step progression through the process. That is, there is an option for you to be able to press and release shift before the next stage starts. With the new input layer, drivers/char/keyboard.c still exists, but seems to be unused. Can I get confirmation that my understand is correct, and (if possible) a pointer to information on how I can reimplement the functionality under 2.5?

Oh and before anyone has a hernia, I'm not intending to leave this functionality in the final version - its just for debugging purposes.

Thanks in advance,

Nigel

#1 lore raw
Quoted 5 lines · Nigel Cunningham

I've been doing some work on porting my patches to the 2.4 version of software suspend to 2.5. Under 2.4, I use the shift_state variable from drivers/char/keyboard.c to provide interactive, step-by-step progression through the process. That is, there is an option for you to be able to press and release shift before the next stage starts. With the new input

Barely related - is there anything that supports the shift_state stuff for accessibility issues (for instance, people with too little mobility to hold shift and a key at the same time)? Or is that something that hasn't even been looked at, or is the usual answer "Use an input method on the X server"?

#2 lore raw
In reply to Nigel Cunningham
Quoted 11 lines · Nigel Cunningham

Hi all.

I've been doing some work on porting my patches to the 2.4 version of software suspend to 2.5. Under 2.4, I use the shift_state variable from drivers/char/keyboard.c to provide interactive, step-by-step progression through the process. That is, there is an option for you to be able to press and release shift before the next stage starts. With the new input layer, drivers/char/keyboard.c still exists, but seems to be unused. Can I get confirmation that my understand is correct, and (if possible) a pointer to information on how I can reimplement the functionality under 2.5?

Your understanding is not correct, and drivers/char/keyboard.c is very much used for all keyboard input in 2.5.

Quoted 12 lines

Oh and before anyone has a hernia, I'm not intending to leave this functionality in the final version - its just for debugging purposes.

Thanks in advance,

Nigel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 2 lines
Vojtech Pavlik
SuSE Labs