From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 23 14:36:54 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 62CE416A4CF for ; Sun, 23 Jan 2005 14:36:54 +0000 (GMT) Received: from euros.telenet-ops.be (euros.telenet-ops.be [195.130.132.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C99643D39 for ; Sun, 23 Jan 2005 14:36:53 +0000 (GMT) (envelope-from bram.pbg3@telenet.be) Received: from asteria.telenet-ops.be (asteria.telenet-ops.be [195.130.136.34]) by euros.telenet-ops.be (Postfix) with ESMTP id 0E4B04A086; Sun, 23 Jan 2005 15:36:52 +0100 (MET) Received: from asteria.telenet-ops.be (unknown [127.0.0.1]) by asteria.telenet-ops.be (Postfix) with ESMTP id F112B250024; Sun, 23 Jan 2005 15:36:51 +0100 (MET) From: bram.pbg3@telenet.be To: "Julian Elischer" Importance: Normal Sensitivity: Normal Message-ID: X-Originating-IP: [81.82.111.137] Date: Sun, 23 Jan 2005 14:36:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 24 Jan 2005 12:53:31 +0000 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 14:36:54 -0000 >----- Oorspronkelijk bericht ----- >Van : Julian Elischer [mailto:julian@elischer.org] >Verzonden : zondag , januari 23, 2005 06:00 AM >Aan : 'Bram Van Steenlandt' >CC : freebsd-hackers@freebsd.org >Onderwerp : Re: Two keyboards > >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? Do you mean I can use a different driver. now when I connect it it works but I can't type anymore. When I remove the scanner I can type again > >>>>> >>>>> 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) ?? >> > >