Re: keyboard problem with 2.6.6

From: Sau Dan Lee
Date: Sun May 30 2004 - 05:41:55 EST


>>>>> "Vojtech" == Vojtech Pavlik <vojtech@xxxxxxx> writes:

Vojtech> On Fri, May 28, 2004 at 04:59:55PM +0300, Tuukka Toivonen
Vojtech> wrote:
>> Giuseppe Bilotta wrote: >The new system has some ups and
>> downs. The biggest "down", >which is that of RAW mode not being
>> available anymore (it's >emulated!) could be circumvented by
>> having both the RAW and >translated codes move between layers.
>>
>> Ouch! If the user asks for raw mode, he doesn't get it, but
>> some emulated mode? To me this sounds like a big
>> incompatibility.

Vojtech> Q1: What would you do if the user has an USB keyboard?

If he was raw mode from a USB keyboard, he should get the raw data.
Of course, he should know what he's doing.


Vojtech> Q2: What application should be looking at the raw data
Vojtech> outside the kernel and why?

What application should be looking at the raw data from an RS232 port
outside the kernel and why?

Why do you leave 'efax' in userspace, letting it read/write raw data
to/from the modem via the RS232?


>> Fortunately this patch (written together with Sau Dan Lee)
>> should give _really_ raw mode in 2.6.x too (but it's not
>> compatible with the raw mode in 2.4.x):
>>
>> http://www.ee.oulu.fi/~tuukkat/tmp/linux-2.6.5-userdev.20040507.patch

In a nutshell, I hate to be restricted by YOUR own imaginations of how
people should hack the system.

Raw keyboard data, for instance, can be captured for analyzing how
people use the keyboard and coming up with a more efficient keyboard
layout (c.f. Dvorak). That's already beyond your imaginations.



--
Sau Dan LEE ???(Big5) ~{@nJX6X~}(HZ)

E-mail: danlee@xxxxxxxxxxxxxxxxxxxxxxxxxx
Home page: http://www.informatik.uni-freiburg.de/~danlee

-
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/