mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-17 01:04:40 +08:00
Allow options for hidd
This commit is contained in:
parent
46db4df866
commit
7b058edb0e
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user