From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 26 13:56:26 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 0DC7216A403 for ; Tue, 26 Dec 2006 13:56:26 +0000 (UTC) (envelope-from amistry@am-productions.biz) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.freebsd.org (Postfix) with ESMTP id B40CB13C463 for ; Tue, 26 Dec 2006 13:56:25 +0000 (UTC) (envelope-from amistry@am-productions.biz) Received: from [192.168.1.100] (cpe-24-210-75-119.columbus.res.rr.com [24.210.75.119]) (authenticated bits=0) by mail.united-ware.com (8.13.8/8.13.8) with ESMTP id kBQE3R8n020449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Dec 2006 09:03:35 -0500 (EST) (envelope-from amistry@am-productions.biz) From: Anish Mistry Organization: AM Productions To: freebsd-usb@freebsd.org Date: Tue, 26 Dec 2006 08:42:13 -0500 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2186705.WvIZFNYviA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200612260842.34575.amistry@am-productions.biz> X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_50,MYFREEBSD2, MYFREEBSD3,RCVD_IN_NJABL_DUL,SPF_SOFTFAIL autolearn=failed version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.5/2379/Tue Dec 26 04:34:51 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: freebsd-bluetooth@freebsd.org Subject: 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 13:56:26 -0000 --nextPart2186705.WvIZFNYviA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I've created a hid2hci application that converts Logitech Bluetooth=20 HID hubs to Bluetooth HCI devices. This is similar to the Linux=20 hid2hci, but only does Logitech devices and doesn't perform any=20 device matching. Currently it's a bit awkward to use since you'll=20 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=20 against the uhid devices. =2E/logitech-hid2hci /dev/uhid0 =2E/logitech-hid2hci /dev/uhid1 An ubt device should now appear. Just for reference if you have a non-logitech device the following=20 should work, just point it at a ugen device. http://www.naobsd.org/MacBook/hid2hci.c =2D-=20 Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/ --nextPart2186705.WvIZFNYviA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFkSbKxqA5ziudZT0RApdvAKDWZdNJQp/ap2OPvh7d1qiFpZ5VzACgqXVG 0wmKDTf9wbBP8LaP36bw0VU= =YxFb -----END PGP SIGNATURE----- --nextPart2186705.WvIZFNYviA--