summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bluetooth.default3
-rw-r--r--scripts/bluetooth.init5
2 files changed, 6 insertions, 2 deletions
diff --git a/scripts/bluetooth.default b/scripts/bluetooth.default
index d96342c61..4817d38c6 100644
--- a/scripts/bluetooth.default
+++ b/scripts/bluetooth.default
@@ -12,6 +12,9 @@ SDPD_ENABLE=true
# Start hidd (allowed values are "true" and "false")
HIDD_ENABLE=true
+# Arguments to hidd
+HIDD_OPTIONS=""
+
# Run hid2hci (allowed values are "true" and "false")
HID2HCI_ENABLE=true
diff --git a/scripts/bluetooth.init b/scripts/bluetooth.init
index d0b053cfd..85d3a32e8 100644
--- a/scripts/bluetooth.init
+++ b/scripts/bluetooth.init
@@ -36,6 +36,7 @@ PAND_ENABLE=false
HCID_CONFIG="/etc/bluetooth/hcid.conf"
RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
+HIDD_OPTIONS=""
DUND_OPTIONS=""
PAND_OPTIONS=""
@@ -53,11 +54,11 @@ case "$1" in
echo -n " $SDPD_NAME"
fi
if $HIDD_ENABLE && [ -x "$HIDD_EXEC" ] ; then
- $HIDD_EXEC --tohci
+ $HIDD_EXEC $HIDD_OPTIONS
echo -n " $HIDD_NAME"
fi
if $HID2HCI_ENABLE && [ -x "$HID2HCI_EXEC" ] ; then
- $HID2HCI_EXEC
+ $HID2HCI_EXEC --tohci
echo -n " $HID2HCI_NAME"
fi
if $RFCOMM_ENABLE && [ -x "$RFCOMM_EXEC" -a -f "$RFCOMM_CONFIG" ] ; then