mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
Merge pull request #2358 from jvonau/bt-ubu
Bt ubu [Experimental Bluetooth for Ubuntu on Raspberry Pi]
This commit is contained in:
commit
be2d8bda83
2 changed files with 16 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
|||
- name: Install Bluetooth - only on Raspberry Pi
|
||||
include_role:
|
||||
name: bluetooth
|
||||
when: is_raspbian and bluetooth_install
|
||||
when: rpi_model != "none" and bluetooth_install
|
||||
|
||||
- name: USB_LIB
|
||||
include_role:
|
||||
|
|
|
@ -1,4 +1,17 @@
|
|||
- name: "Install bluetooth packages"
|
||||
- name: Disable built-in serial uart in /boot/firmware/usercfg.txt on ubuntu
|
||||
lineinfile:
|
||||
path: /boot/firmware/usercfg.txt
|
||||
line: "enable_uart=0"
|
||||
state: present
|
||||
when: is_ubuntu and rpi_model != "none"
|
||||
|
||||
- name: Install pi-bluetooth package on Ubuntu
|
||||
package:
|
||||
name: pi-bluetooth
|
||||
state: present
|
||||
when: is_ubuntu and rpi_model != "none"
|
||||
|
||||
- name: Install bluetooth packages
|
||||
package:
|
||||
name:
|
||||
- bluetooth
|
||||
|
@ -43,7 +56,7 @@
|
|||
dest: /etc/systemd/system/bluetooth.service
|
||||
src: /lib/systemd/system/bluetooth.service
|
||||
|
||||
- name: Add -C --noplugin=sap to execStart of bluetooth service
|
||||
- name: Add -C --noplugin=sap to execStart of bluetooth service
|
||||
lineinfile:
|
||||
path: /etc/systemd/system/bluetooth.service
|
||||
regexp: '^ExecStart=/usr/lib/bluetooth/bluetoothd'
|
||||
|
|
Loading…
Reference in a new issue