From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 24 21:11:46 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 4CA3216A4CE for ; Mon, 24 Jan 2005 21:11:46 +0000 (GMT) Received: from mail.ambrisko.com (mail.ambrisko.com [64.174.51.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11C3843D2D for ; Mon, 24 Jan 2005 21:11:46 +0000 (GMT) (envelope-from ambrisko@ambrisko.com) Received: from server2.ambrisko.com (HELO www.ambrisko.com) (192.168.1.2) by mail.ambrisko.com with ESMTP; 24 Jan 2005 13:11:45 -0800 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.12.11/8.12.9) with ESMTP id j0OLBjKv042517 for ; Mon, 24 Jan 2005 13:11:45 -0800 (PST) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.12.11/8.12.11/Submit) id j0OLBjY9042512 for hackers@freebsd.org; Mon, 24 Jan 2005 13:11:45 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200501242111.j0OLBjY9042512@ambrisko.com> In-Reply-To: <41F33C3D.5050209@elischer.org> To: hackers@freebsd.org Date: Mon, 24 Jan 2005 13:11:45 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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: Mon, 24 Jan 2005 21:11:46 -0000 Julian Elischer writes: | David Scheidt wrote: | > Julian Elischer wrote: | >> Bram Van Steenlandt wrote: | >>> For a pos system I am working on I need support for two keyboards | >>> (actually one keyboard(ps/2) and one scanner(usb)). | >> | >> you can already do this.. | >> what makes you call the scanner a keyboard? | > | > Proabably, because it acts like one? I don't know about the USB ones, | > but PS/2 scanners generated keysym data, just like a real keyboard. The | > idea of the hardware people is "They've already got a keyboard, they | > take input from it, so let's make the scanner a keyboard!" It makes it | > easy to use a barcode reader with an application that doesn't know | > anything about barcodes, barcode scanners or the like. | | the barcode scanners we use just produce a 9600 baud serial stream. The PS/2 and USB versions I've used appear as a keyboard and just "key in" the data like a keyboard. To get data from the USB I just did a "cat /dev/ukbd0" for scans. They've had built-in wdges. Makes it really easy to integrate into systems. Doug A.