From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 23 06:00:49 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 7D76016A4D3 for ; Sun, 23 Jan 2005 06:00:49 +0000 (GMT) Received: from pimout4-ext.prodigy.net (pimout4-ext.prodigy.net [207.115.63.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE4A043D62 for ; Sun, 23 Jan 2005 06:00:43 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-216-100-134-143.dsl.snfc21.pacbell.net [216.100.134.143])j0N60Wu1074926; Sun, 23 Jan 2005 01:00:39 -0500 Message-ID: <41F33D7F.5070008@elischer.org> Date: Sat, 22 Jan 2005 22:00:31 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a3) Gecko/20041017 X-Accept-Language: en, hu MIME-Version: 1.0 To: Bram Van Steenlandt References: <41F0CF6D.6010907@no-wackos.com> <20050121175000.GA28384@odin.ac.hmc.edu> <41F1AC02.5060704@elischer.org> <41F20FB4.5080605@no-wackos.com> In-Reply-To: <41F20FB4.5080605@no-wackos.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org 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: Sun, 23 Jan 2005 06:00:49 -0000 Bram Van Steenlandt wrote: > 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 > then the ukbd driver should handle it.. have you tried 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) ?? >