From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 22 08:32:09 2005 Return-Path: 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 445FE16A4CE for ; Sat, 22 Jan 2005 08:32:09 +0000 (GMT) Received: from asia.telenet-ops.be (asia.telenet-ops.be [195.130.132.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA46D43D1F for ; Sat, 22 Jan 2005 08:32:08 +0000 (GMT) (envelope-from brampie@no-wackos.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by asia.telenet-ops.be (Postfix) with SMTP id 44A6A22407A; Sat, 22 Jan 2005 09:32:07 +0100 (MET) Received: from [192.168.1.100] (d54C33E68.access.telenet.be [84.195.62.104]) by asia.telenet-ops.be (Postfix) with ESMTP id 92808224006; Sat, 22 Jan 2005 09:32:06 +0100 (MET) Message-ID: <41F20FB4.5080605@no-wackos.com> Date: Sat, 22 Jan 2005 09:32:52 +0100 From: Bram Van Steenlandt User-Agent: Mozilla Thunderbird 0.7.3 (X11/20041209) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer , freebsd-hackers@freebsd.org References: <41F0CF6D.6010907@no-wackos.com> <20050121175000.GA28384@odin.ac.hmc.edu> <41F1AC02.5060704@elischer.org> In-Reply-To: <41F1AC02.5060704@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 22 Jan 2005 12:58:45 +0000 Subject: Re: Two keyboards X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2005 08:32:09 -0000 Julian Elischer wrote: > > > Brooks Davis wrote: > >> On Fri, Jan 21, 2005 at 10:46:21AM +0100, Bram Van Steenlandt wrote: >> >> >>> Hi >>> >>> For a pos system I am working on I need support for two keyboards >>> (actually one keyboard(ps/2) and one scanner(usb)). >> I call the scanner a keyboard because that is the way it acts when you connect it >>> >>> I've read a previous post and there it was supposed that one should >>> write a driver to accomplish this. >>> I am not a C programmer and know far to little from FreeBSD to >>> accomplish this. >>> >>> So I ask you, Isn't there a much easier way (other operating systems >>> seem to have no problem with this)? >>> >> >> >> Other OSes have the intrastructure to support multiple keyboards. We >> don't have one piece of that, the many to one keyboard mux. >> > > But that's probably not what he wants.. > He probably doesn't want data from the scanner (bar code?) intermixed > randomly > with the data from the keyboard.. > > He just needs to read the device separatly. Not really because it always has to be possible to type a code manually I've programmed it so that barcode must always start with F2 and end with RETURN Scanners can be programmed to give this kind of header and terminator. So I don't mind if it comes in all together, It would be nice if I can know wich device gives the data but not absolutely needed. For the moment the scanner is attached on ps/2 with a passtrough cable to the keyboard, this works ok but shift and more of those things tend to be a problem. Also I must adjust the send speed of the scanner because it might otherwise happen that the computer doesn't get the intire code. Also we use a lot of macs and (no ps/2) I would like it if the scanners are usable on freebsd and mac. I'm no expert but can't someone port the macos x driver for this (darwin is open source and it is also a BSD) ?? > > >> >> -- Brooks >> >> >> > > >