Re: FunKey: Discussion topic

From: Pavel Machek (pavel@suse.cz)
Date: Sun Apr 16 2000 - 12:17:30 EST


Hi!

> I released a keyboard patch for `hot keys' and wish to bring up a discussion
> topic around it. I made the following observation:
>
> Funny/Functional Keys such as `play' and `mute' should not be
> treated as normal keys. Rather than delivering a string to be
> interpreted by listening applications, it is better to invoke
> an action when the keys are pressed.

Should not this be set in keymap?

You might want to take a look at keylink patch I created long time
ago...

> * To be able to process keystrokes that are invisible to /dev/console, a
> secondary keyboard device /dev/funkey is needed over which key strokes can
> be transmitted to a simple daemon.

Really similar to keylink ;-).

> * The SysRq key is useful, but its implementation does not conform to the
> rest of the keyboard code at all. By treating SysRq as a sort-of shift/meta
> key, it could be possible to take it out of the kernel and put it in a
> daemon. Is this considered a good idea?

No. Sysrq's are expected to survive kernel bugs.

> For your reference, the home page of the patch is
> http://home.zonnet.nl/vanrein/linux/funkey
>
> Let me hear your thoughts! Sending it Cc. to vanrein@zonnet.nl is appreciated.
>
> Bye,
> -Rick.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents me at discuss@linmodems.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:09 EST