From 5a98ee7ccadda44b0b84386780d0a264e7e3ca22 Mon Sep 17 00:00:00 2001 From: Stefan Eichenberger Date: Thu, 10 Nov 2016 19:21:41 +0100 Subject: [PATCH] tibluetooth: change tty device from ttyO5 to ttyS5 Trough to another UART driver which works much better on am335x, the naming is now correct again (ttyS instead of ttyO) --- recipes-connectivity/tibluetooth/tibluetooth.bb | 2 +- .../tibluetooth/tibluetooth/tibluetooth.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-connectivity/tibluetooth/tibluetooth.bb b/recipes-connectivity/tibluetooth/tibluetooth.bb index 7452387..9f34ed8 100644 --- a/recipes-connectivity/tibluetooth/tibluetooth.bb +++ b/recipes-connectivity/tibluetooth/tibluetooth.bb @@ -5,7 +5,7 @@ AUTHOR = "Stefan Eichenberger" SECTION = "connectivity" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -PR = "r0" +PR = "r1" inherit systemd diff --git a/recipes-connectivity/tibluetooth/tibluetooth/tibluetooth.service b/recipes-connectivity/tibluetooth/tibluetooth/tibluetooth.service index eeb1703..c76434e 100644 --- a/recipes-connectivity/tibluetooth/tibluetooth/tibluetooth.service +++ b/recipes-connectivity/tibluetooth/tibluetooth/tibluetooth.service @@ -7,7 +7,7 @@ Type=forking ExecStartPre=-/bin/sh -c "/bin/echo 100 > /sys/class/gpio/export" ExecStartPre=-/bin/sh -c "/bin/echo out > /sys/class/gpio/gpio100/direction" ExecStartPre=/bin/sh -c "/bin/echo 1 > /sys/class/gpio/gpio100/value" -ExecStart=/usr/bin/hciattach /dev/ttyO5 texas 3000000 flow +ExecStart=/usr/bin/hciattach /dev/ttyS5 texas 3000000 flow ExecStopPost=/bin/sh -c "/bin/echo 0 > /sys/class/gpio/gpio100/value"