This means that hid2hci won't have to run
on every bootup for every machine with bluetooth installed. It instead
gets ran on demand if a
product that is called out from the dbus rules file contains the
correct attributes and/or VID/PID.
It also makes it easier for users to manually test new VID/PID
combinations that may or may not
be yet supported by bluez.
---
scripts/Makefile.am | 12 ++-
scripts/bluetooth.default | 3 -
scripts/bluetooth.init | 7 --
scripts/hid2hci.rules | 38 ++++++++++
tools/hid2hci.c | 179
+++++++++++++++++++-------------------------
5 files changed, 124 insertions(+), 115 deletions(-)
create mode 100644 scripts/hid2hci.rules
Attaching patch as Exchange would mangle otherwise.
Thanks,
--
Mario Limonciello
*Dell | Linux Engineering*
mario_limonciello@dell.com