Skip to contentSkip to conversation

2.6 input drivers FAQ

DISCUSSION [email protected] 2 participants 2 messages Feb 2, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

all reasonable kernels support the ioctls

Just checked. KDKBDREP support was added in 2.4.9. Still a bit recent.

Quoted 1 line

when you're in X, and root, the ioctls will fail but /dev/port will still work

Yes, I think I'll check that stdin is a console, and otherwise do the /dev/port stuff only when a --portio option was given. I try to avoid testing kernel version values.

Quoted 1 line

EVIOCSKEYCODE

Will look at that.

Andries

#1 lore raw
Quoted 3 lines · On Mon, Feb 02, 2004 at 01:44:40PM +0100, [email protected] wrote:
Quoted 1 line

all reasonable kernels support the ioctls

Just checked. KDKBDREP support was added in 2.4.9. Still a bit recent.

Ok.

Quoted 5 lines
Quoted 1 line

when you're in X, and root, the ioctls will fail but /dev/port will still work

Yes, I think I'll check that stdin is a console, and otherwise do the /dev/port stuff only when a --portio option was given. I try to avoid testing kernel version values.

That's even better, yes.

Quoted 3 lines
Quoted 1 line

EVIOCSKEYCODE

Will look at that.

Thanks.

Signature · 2 lines
Vojtech Pavlik
SuSE Labs, SuSE CR