Skip to content

Commit

Permalink
Fix HID devices on bluez (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Sep 12, 2023
1 parent 551b773 commit 32d1d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/on_rpi/config_replacer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
with open('/lib/systemd/system/bluetooth.service') as fd1, open(tmp[1], 'w') as fd2:
for line in fd1:
if line.startswith("ExecStart"):
line = "ExecStart=/usr/libexec/bluetooth/bluetoothd -p time,input,autopair,policy,scanparam,deviceinfo"
line = "ExecStart=/usr/libexec/bluetooth/bluetoothd -p time,input,hog,autopair,policy,scanparam,deviceinfo"
fd2.write(line)

os.rename(tmp[1], '/lib/systemd/system/bluetooth.service')

0 comments on commit 32d1d21

Please sign in to comment.