[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070601145121.GC8211@khazad-dum.debian.net>
Date: Fri, 1 Jun 2007 11:51:22 -0300
From: Henrique de Moraes Holschuh <hmh@....eng.br>
To: Matthew Garrett <mjg59@...f.ucam.org>
Cc: Dmitry Torokhov <dtor@...ightbb.com>,
Richard Hughes <hughsient@...il.com>,
linux-acpi@...r.kernel.org, linux-input@...ey.karlin.mff.cuni.cz,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: document the proper usage of EV_KEY and KEY_UNKNOWN
On Fri, 01 Jun 2007, Matthew Garrett wrote:
> Or we could just leave the mapping up to individual users, which avoids
> the problem.
Other than the fact that it is not a piece of candy to implement correctly.
> > Again, it is not only about X. What if X is not running (or running but
> > nobody is logged in)? There are number of events (SUSPEND, WLAN switch,
> > undock request, etc) that should be handled by daemons not depending
> > on X.
>
> The existing implementations use X. I don't think any of the desktop
> distributions really care about the non-X case for this sort of thing.
Debian does, for one. And I am pretty sure it is not the only one.
Also, let me state right now that IMO, this "I need X to be running and
logged in" for dock, eject, suspend, wlan on/off and other *system* level
activity to work is an extremely bad idea and broken on so many levels it is
not funny.
I have nothing against allowing such activities to be *modified* to suit the
logged in user, subject to approval by the system administrator. But to
have them implemented in that level? Yuck.
But I don't see what this means for input device keyboard maps. Any of the
proposed solutions to the problem so far will work equally well (or not well
:) ) for console and X users, even the "lots of KEY_UNKNOWN" one...
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists