From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 06:26:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7105916A4B3 for ; Sat, 11 Oct 2003 06:26:47 -0700 (PDT) Received: from www.imp.mx (www.imp.mx [192.100.181.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D4F043FBD for ; Sat, 11 Oct 2003 06:26:46 -0700 (PDT) (envelope-from edscott@imp.mx) Received: from [192.168.213.13] ([192.168.122.241]) by www.imp.mx (SGI-8.9.3p2/8.9.3) with ESMTP id IAA31210 for ; Sat, 11 Oct 2003 08:26:57 -0500 (CDT) From: edscott wilson garcia To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1065878740.565.12.camel@localhost.eco.imp.mx> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sat, 11 Oct 2003 08:25:40 -0500 Content-Transfer-Encoding: 7bit Subject: passing events to userland X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: edscott@imp.mx List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2003 13:26:47 -0000 Hi, I'm using Hiroyuki's toshiba_acpi patch (posted on the freebsd-mobile list), and it captures the extra buttons for acpi settings. I want to use such events to do things in userland. Does anybody know how to pass make a kernel module generate a specific keypress event in userland? Any ideas or pointers to where to look will be greatly appreciated. Maybe there is some kernel module that I can examine the code? Using 5.1-RELEASE. regards, Edscott