Re: Map extra keys on compaq evo

From: Pavel Machek
Date: Thu Nov 11 2004 - 06:31:27 EST


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).

Well, I only filled unused spots in mapping table. So it should not
cause any problem unless you attach non-standard keyboard to your evo,
and even in such case I cause no regression...
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/