[systemd-devel] PATCH: add support for compose_table, kbd_rate and disabling caplocks

Lennart Poettering lennart at poettering.net
Wed Aug 24 11:48:33 PDT 2011


On Fri, 19.08.11 17:22, Frederic Crozat (fcrozat at suse.com) wrote:

> Hi,
> 
> even if I know it is kind of SUSE specific, I was wondering if you were
> interested in merging attached patch (I tried to wrapped most of it
> inside TARGET_SUSE) which support more options from SUSE kbd
> initscripts.
> 
> I haven't done yet another option which sets leds for numlock and so on,
> because I'm not sure I want it in vconsole-setup (reading bios data
> which should probably be restored by kernel itself, etc..) but probably
> in a separate helper (either C or shell).

So, humm. I agree with Kay's sentiment on this. 

I do believe that the compose stuff is a bit too exotic to cover in the
simple systemd tools. This should live outside of systemd.

I'd be open to do some minimal configuration of the kbd rate and even
the led, but not by calling external tools, and no #ifdef SUSE
please. If you provide me with a minimal patch that adds two or three
options for this and translates them directly to KDSKBLED and KDKBDREP.

We call setfont because it actually parses stuff and so on, but I don't
think it would make sense to invoke external tools just to call two
trivial ioctls.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list