From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 3 09:37:21 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF60F16A41C for ; Fri, 3 Jun 2005 09:37:21 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from server.absolute-media.de (server.absolute-media.de [213.239.231.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5149A43D49 for ; Fri, 3 Jun 2005 09:37:20 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from localhost (unknown [127.0.0.1]) by server.absolute-media.de (Postfix) with ESMTP id B7C25760C8 for ; Fri, 3 Jun 2005 11:37:18 +0200 (CEST) Received: from server.absolute-media.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12779-09 for ; Fri, 3 Jun 2005 11:37:11 +0200 (CEST) Received: from firewall.demig (p50838965.dip0.t-ipconnect.de [80.131.137.101]) by server.absolute-media.de (Postfix) with ESMTP id ED7987F641 for ; Fri, 3 Jun 2005 11:37:10 +0200 (CEST) Received: from ws-ew-3 (ws-ew-3.w2kdemig [192.168.1.72]) by firewall.demig (8.13.4/8.13.1) with SMTP id j539Zccj036689 for ; Fri, 3 Jun 2005 11:35:38 +0200 (CEST) (envelope-from NKoch@demig.de) From: "Norbert Koch" To: "Freebsd-Hackers@Freebsd. Org" Date: Fri, 3 Jun 2005 11:35:39 +0200 Message-ID: <000001c5681f$9a5eb4e0$4801a8c0@ws-ew-3.W2KDEMIG> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at absolute-media.de Subject: using vkbd device X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2005 09:37:21 -0000 Hello, I am trying to use vkbd to multiplex an at keyboard and an usb keyboard into syscons. Vkbd's control device's write routine expects ints to queue to the slave device. As I understand, those ints map 1:1 to the chars I read from a keyboard device, right? So I open, for example, /dev/kbd0, set it to K_RAW, read chars from it and write them as ints to vkbd's control device, right? Thank you for any help, Norbert Koch