Do not wait for hciuart before staring bluetoothd (#4)
* Do not wait for hciuart before staring bluetoothd - Remove Before=bluetooth.service in hciuart service. - Change "Wants=dev-serial1" to "Requires=dev-serial1" because with "Wants" it runs the script anyway after timeout, even though device does not exists. - Invoke bthelper through udev rules. This is done indirectly through bthelper@hci0 service, because if run directly as udev script it results in a "Can't open HCI socket.: Address family not supported by protocol" error, due to RestrictAddressFamilies security setting in /lib/systemd/system/systemd-udevd.service not allowing AF_BLUETOOTH Closes #3
Loading
Please register or sign in to comment