diff options
author | Ben Merritt | 2019-04-12 03:45:59 +0000 |
---|---|---|
committer | Ben Merritt | 2019-04-12 03:50:45 +0000 |
commit | 2d9880624fa6f976edfe92d3f3bfc970524d57f1 (patch) | |
tree | ff37c08ccc8e436a097b220bae1fb4f50e81f86d | |
parent | c516400dcbdf3352804781958af10aeb8fc3c07c (diff) | |
download | aur-2d9880624fa6f976edfe92d3f3bfc970524d57f1.tar.gz |
Switch back to hciattach
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | brcm43438.service | 2 |
3 files changed, 12 insertions, 7 deletions
@@ -1,13 +1,13 @@ pkgbase = pi-bluetooth pkgdesc = Services, firmware and udev rules to get integrated bluetooth running in Raspberry Pi 3 - pkgver = 1.2_3 + pkgver = 1.2_4 pkgrel = 1 install = pi-bluetooth.install arch = armv6h arch = armv7h arch = aarch64 license = multiple - depends = bluez-utils + depends = bluez-utils-compat source = https://raw.githubusercontent.com/RPi-Distro/bluez-firmware/96eefffcccc725425fd83be5e0704a5c32b79e54/broadcom/BCM43430A1.hcd source = https://raw.githubusercontent.com/RPi-Distro/bluez-firmware/96eefffcccc725425fd83be5e0704a5c32b79e54/broadcom/BCM4345C0.hcd source = LICENCE.broadcom_bcm43xx @@ -15,7 +15,7 @@ pkgbase = pi-bluetooth sha256sums = 8dd70b9003d39cb6175b4f3cd509666dad66ad23d3be1a68385817fb814c8930 sha256sums = d09ce049f65619f007d604069d2b4d2a3ffe3cf897245287ef379955ce3969de sha256sums = b16056fc91b82a0e3e8de8f86c2dac98201aa9dc3cbd33e8d38f1b087fcec30d - sha256sums = b4a84d669984424c7994c5a4bcbf65e1818b04c65849ac4d6ed56592a8075ec7 + sha256sums = b55d7bb9746aa0e8e35a1780f49d072243eecd332b4927357693ffc33a189d2d pkgname = pi-bluetooth @@ -2,13 +2,13 @@ # Contributor: Jesse Jaara <jesse.jaara: gmail.com> pkgname=pi-bluetooth -pkgver=1.2_3 +pkgver=1.2_4 pkgrel=1 pkgdesc="Services, firmware and udev rules to get integrated bluetooth running in Raspberry Pi 3" arch=('armv6h' 'armv7h' 'aarch64') url="" license=('multiple') -depends=('bluez-utils') +depends=('bluez-utils-compat') install=pi-bluetooth.install _commitid=96eefffcccc725425fd83be5e0704a5c32b79e54 source=( @@ -21,7 +21,7 @@ sha256sums=( '8dd70b9003d39cb6175b4f3cd509666dad66ad23d3be1a68385817fb814c8930' 'd09ce049f65619f007d604069d2b4d2a3ffe3cf897245287ef379955ce3969de' 'b16056fc91b82a0e3e8de8f86c2dac98201aa9dc3cbd33e8d38f1b087fcec30d' - 'b4a84d669984424c7994c5a4bcbf65e1818b04c65849ac4d6ed56592a8075ec7' + 'b55d7bb9746aa0e8e35a1780f49d072243eecd332b4927357693ffc33a189d2d' ) package() { @@ -35,3 +35,8 @@ package() { cp LICENCE.broadcom_bcm43xx "${pkgdir}/usr/share/licences/" cp brcm43438.service "${pkgdir}/usr/lib/systemd/system/" } + +# TODO: figure out if we can use the newer btattach command and drop the dependency on bluez-utils-compat. +# See sources: +# * https://wiki.gentoo.org/wiki/Raspberry_Pi_3_64_bit_Install#Install_Bluetooth_firmware +# * https://forums.gentoo.org/viewtopic-p-8220298.html#8220298 diff --git a/brcm43438.service b/brcm43438.service index 770679241d38..d57125c57d3b 100644 --- a/brcm43438.service +++ b/brcm43438.service @@ -6,7 +6,7 @@ After=dev-ttyAMA0.device [Service] Type=simple -ExecStart=/usr/bin/btattach -B /dev/ttyAMA0 -P bcm -S 3000000 +ExecStart=/usr/bin/hciattach -n /dev/ttyAMA0 bcm43xx 921600 noflow - [Install] WantedBy=multi-user.target |