Skip to content

Commit

Permalink
bluez5: Use serial device alias for BT device
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
  • Loading branch information
agherzan committed Jan 26, 2018
1 parent 0202bc2 commit 6235b0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion recipes-connectivity/bluez5/bluez5/brcm43438.service
Expand Up @@ -6,7 +6,7 @@ After=dev-ttyAMA0.device

[Service]
Type=simple
ExecStart=/usr/bin/hciattach -n /dev/ttyAMA0 bcm43xx 921600 noflow -
ExecStart=/usr/bin/hciattach -n /dev/serial1 bcm43xx 921600 noflow -

[Install]
WantedBy=multi-user.target
4 changes: 4 additions & 0 deletions recipes-connectivity/bluez5/bluez5_%.bbappend
Expand Up @@ -36,6 +36,8 @@ FILES_${PN}_append_raspberrypi3 = " ${BCM_BT_FIRMWARE}"

SYSTEMD_SERVICE_${PN}_append_raspberrypi3 = " ${BCM_BT_SERVICE}"

RDEPENDS_${PN}_append_raspberrypi3 = " udev-rules-rpi"

# for raspberrypi0-wifi
SRC_URI_append_raspberrypi0-wifi = " ${BCM_BT_SOURCES}"

Expand All @@ -46,3 +48,5 @@ do_install_append_raspberrypi0-wifi() {
FILES_${PN}_append_raspberrypi0-wifi = " ${BCM_BT_FIRMWARE}"

SYSTEMD_SERVICE_${PN}_append_raspberrypi0-wifi = " ${BCM_BT_SERVICE}"

RDEPENDS_${PN}_append_raspebrrypi0-wifi = " udev-rules-rpi"

0 comments on commit 6235b0a

Please sign in to comment.