From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265782AbUFDN6k (ORCPT ); Fri, 4 Jun 2004 09:58:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265788AbUFDN6j (ORCPT ); Fri, 4 Jun 2004 09:58:39 -0400 Received: from gprs214-121.eurotel.cz ([160.218.214.121]:18305 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S265782AbUFDN6a (ORCPT ); Fri, 4 Jun 2004 09:58:30 -0400 Date: Fri, 4 Jun 2004 15:58:16 +0200 From: Pavel Machek To: Sau Dan Lee Cc: Vojtech Pavlik , Giuseppe Bilotta , linux-kernel@vger.kernel.org, Tuukka Toivonen Subject: Re: keyboard problem with 2.6.6 Message-ID: <20040604135816.GD11950@elf.ucw.cz> References: <20040525201616.GE6512@gucio> <20040529131233.GA6185@ucw.cz> <20040530101914.GA1226@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > >> >> What I hate is only the part where mouse/keyboard drivers > >> >> are now in kernel space. The translation of raw byte > >> >> streams into input events should be better done in userland. > >> >> One important argument is: userland program may be swapped > >> >> out. Kernel modules can't. > >> > > Vojtech> Well, keyboard support was always in the kernel > > Once in kernel space, forever in kernel space? What's the logic? > > Where it is now possible to move it out of kernel space WITHOUT > performance problems, why not move it out? You get pretty nasty managment problems. How do you do init=/bin/bash if your keyboard is userspace? > Vojtech> But still, if you have a working keyboard, the handling > Vojtech> is done in the kernel, and you can do a register dump, > Vojtech> process listing, etc, even when the system is > Vojtech> crashed. > > Why just the keyboard? For that purpose, we can use mouse buttons, > the power button, a joystick button, or even a home-brewed button > connected to the RS232 port or parallel port. Why *limit* that to the > keyboard? Keyboard is historically used for that. It seems to work, no reason to change it. Pavel -- 934a471f20d6580d5aad759bf0d97ddc