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)
This commit is contained in:
parent
0549f1c9a0
commit
5a98ee7cca
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue