lkml.org 
[lkml]   [2004]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Map extra keys on compaq evo
Date
On Monday 01 November 2004 12:28 pm, Pavel Machek wrote:
> Hi!
>
> > > With accurate list "hotkeys" could run with no configuration, but I am
> > > afraid maintaining accurate list of keys for each keyboard is way too
> > > much work.
> >
> > The lists need to be kept _somewhere_, so why not have a userspace
> > database with a program that loads the description into the kernel at
> > boot, possibly using DMI as a hint to what keyboard is connected?
>
> Doing dmi blacklist from userspace is going to be pretty
> painfull... Kernel already has all the infrastructure.
>
> My preference is forget about providing list of keys (it never worked
> anyway), and just fixup few notebooks we know...

What about all those "multimedia" and "Internet" keyboards out there?

Plus I don't think using DMI is a good idea. Many people use 2 keyboards
with their laptops - built-in and external and DMI mapping will sure be
wrong for external keyboard. Theoretically it should be possible to have
several completely independent keyboards (at least as far as keycodes go).

I actually would love to set up X to have 2 keyboards with 2 different
layouts, I wonder if event keyboard driver can help here... And we'd have
to adjust setkeycodes too...

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

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.041 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site