From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 26 20:59:42 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87E2316A403 for ; Tue, 26 Dec 2006 20:59:42 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 4DE5113C466 for ; Tue, 26 Dec 2006 20:59:42 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [82.171.39.195] (helo=guido.klop.ws) by smtp-out0.tiscali.nl with smtp (Tiscali http://www.tiscali.nl) id 1GzJOf-0001UI-Jn for ; Tue, 26 Dec 2006 21:59:41 +0100 Received: (qmail 18960 invoked from network); 26 Dec 2006 20:59:39 -0000 Received: from localhost.thuis.klop.ws (HELO guido.klop.ws) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; 26 Dec 2006 20:59:39 -0000 Date: Tue, 26 Dec 2006 21:59:38 +0100 To: "Anish Mistry" , freebsd-usb@freebsd.org From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <200612260842.34575.amistry@am-productions.biz> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <200612260842.34575.amistry@am-productions.biz> User-Agent: Opera Mail/9.10 (FreeBSD) Cc: freebsd-bluetooth@freebsd.org Subject: Re: Logitech hid2hci app X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Dec 2006 20:59:42 -0000 I'm not a bluetooth maintainer. So I don't have anything to say about inclusion of this in the base system. But maybe it's nice to create a port of this. Ronald. On Tue, 26 Dec 2006 14:42:13 +0100, Anish Mistry wrote: > I've created a hid2hci application that converts Logitech Bluetooth > HID hubs to Bluetooth HCI devices. This is similar to the Linux > hid2hci, but only does Logitech devices and doesn't perform any > device matching. Currently it's a bit awkward to use since you'll > need uhid and ng_ubt loaded. > > http://am-productions.biz/docs/logitech-hid2hci.c > Just compile with gcc: > gcc logitech-hid2hci.c -o logitech-hid2hci > > You keyboard and mouse should attach as /dev/uhid*. Run the app > against the uhid devices. > ./logitech-hid2hci /dev/uhid0 > ./logitech-hid2hci /dev/uhid1 > > An ubt device should now appear. > > Just for reference if you have a non-logitech device the following > should work, just point it at a ugen device. > http://www.naobsd.org/MacBook/hid2hci.c > -- Ronald Klop Amsterdam, The Netherlands