[Xorg] Keyboard drivers: kbd vs. keyboard
Kristian Høgsberg
krh at bitplanet.net
Tue Jul 6 03:17:44 PDT 2004
Yeah, I suspected as much. But isn't that a chicken-and-egg problem? If
the legacy driver continues to be supported, we'll never get the missing
bits done for the new driver. I really think it's worthwhile, and it
ties in nicely with the XInput cleanup/hotplug work.
What about marking the legacy driver as deprecated (print a big warning
if it is used) and encourage people to use the new driver. After a
while, maybe the release after the next, we remove the legacy driver.
Kristian
Egbert Eich wrote:
> The reason for keeping this driver around was I think that the
> other driver doesn't support all OSes X supports.
> Before we make such a change we need to make sure that we don't
> deprive certain people of their keyboard.
>
> Egbert.
>
>
> Kristian Høgsberg writes:
> > Hi,
> >
> > I was looking at the keyboard driver situation, and I was wondering why
> > we keep the legacy, built-in keyboard driver around,
> >
> > I made a patch[1] to remove the "keyboard" driver, which among other
> > things removes os specific xf86KbdLnx.c and others from xfree86/common,
> > removes all sorts special cases around initialization, and in general
> > removes much keyboard logic from xfree86/common and 4300 lines in total.
> >
> > I chose to rename the modular "kbd" driver to "keyboard" so old config
> > files should continue to work.
> >
> > I think this is worthwhile, but what are the cons? It's such a
> > low-hanging fruit; there must be a good reason the legacy driver is
> > still used.
> >
> > Kristian
> >
> > [1] http://freedesktop.org/~krh/remove-legacy-keyboard.patch
> >
> > _______________________________________________
> > xorg mailing list
> > xorg at freedesktop.org
> > http://freedesktop.org/mailman/listinfo/xorg
>
More information about the xorg
mailing list