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
--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--



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