Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Dec 2006 08:42:13 -0500
From:      Anish Mistry <amistry@am-productions.biz>
To:        freebsd-usb@freebsd.org
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Logitech hid2hci app
Message-ID:  <200612260842.34575.amistry@am-productions.biz>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
	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

-- 
Anish Mistry
amistry@am-productions.biz
AM Productions http://am-productions.biz/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBFkSbKxqA5ziudZT0RApdvAKDWZdNJQp/ap2OPvh7d1qiFpZ5VzACgqXVG
0wmKDTf9wbBP8LaP36bw0VU=
=YxFb
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612260842.34575.amistry>