summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt/ti-bt/ti-uim.service
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2017-12-13 10:55:51 -0500
committerTom Rini <trini@konsulko.com>2017-12-19 17:32:57 -0500
commita6f5393f8cae8f36028acb18f6a2142bb9238bbb (patch)
treea04cfac9cbf009be27f7c1dffd66aaaaba0f94ce /meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt/ti-bt/ti-uim.service
parentb8f17a47bdee67e5b3e7085199a17004caaf6f9c (diff)
ti-bt: add a systemd unit and enable
We need to provide a systemd unit for UIM to be started at boot. We also do not want the blacklist that Cogent has created, so delete that. Bug-AGL: SPEC-1175 Change-Id: Ia35a6007722d4e42a7a76fe9d8d26b90b073f73b Signed-off-by: Matt Porter <mporter@konsulko.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt/ti-bt/ti-uim.service')
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt/ti-bt/ti-uim.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt/ti-bt/ti-uim.service b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt/ti-bt/ti-uim.service
new file mode 100644
index 000000000..214e60707
--- /dev/null
+++ b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/ti-bt/ti-bt/ti-uim.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=User Mode Init Manager for TI shared transport
+Before=bluetooth.service
+
+[Service]
+ExecStartPre=-/sbin/modprobe -q btwilink
+ExecStart=/usr/bin/uim -f /sys/devices/platform/kim
+
+[Install]
+WantedBy=multi-user.target