Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261993AbVEKRPD (ORCPT ); Wed, 11 May 2005 13:15:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262005AbVEKRPD (ORCPT ); Wed, 11 May 2005 13:15:03 -0400 Received: from coyote.holtmann.net ([217.160.111.169]:12464 "EHLO mail.holtmann.net") by vger.kernel.org with ESMTP id S261993AbVEKROk (ORCPT ); Wed, 11 May 2005 13:14:40 -0400 Subject: Re: ioctl to keyboard device file. From: Marcel Holtmann To: "P.Manohar" Cc: linux-kernel@vger.kernel.org In-Reply-To: References: Content-Type: text/plain Date: Wed, 11 May 2005 19:14:11 +0200 Message-Id: <1115831651.23458.74.camel@pegasus> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 804 Lines: 26 Hi, > I want to add a new ioctl to keyboard driver device file which will > perform the work of copying user space data sent to it into kernel > space and send those characters to handle_scancode function of keyboard > driver.. Now I want to know > > 1) what is the device file corresponding to keyboard (is it > /dev/input/keyboard). > 2) where file operations structure is defined for that. > 3) where the those ioctls handled(not found in keyboard.c). > > Any small help is appreciated. why not using uinput for this job? Regards Marcel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/