RPi-Distro / pi-bluetooth

Loads BCM43430A1 firmware on boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could you commit your changes for version 0.1.11

rafaello7 opened this issue · comments

You have made changes for Raspberry Pi 4?

What makes you think there are changes? You can compare the scripts in the repo against the current Raspbian images/packages yourself.

I have installed recently "Raspbian Full" and the dpkg -l pi-bluetooth command shows version 0.1.11. The changelog on github has most recent version 0.1.10. Also the dpkg-buildpackage command invoked on my copy of this repo builts "deb" package version 0.1.10.

I have checked the differences and I see some changes in btuart script for "Pi 4":

if grep -q "Pi 4" /proc/device-tree/model; then
  BDADDR=
else
  SERIAL=`cat /proc/device-tree/serial-number | cut -c9-`
  B1=`echo $SERIAL | cut -c3-4`
  B2=`echo $SERIAL | cut -c5-6`
  B3=`echo $SERIAL | cut -c7-8`
  BDADDR=`printf b8:27:eb:%02x:%02x:%02x $((0x$B1 ^ 0xaa)) $((0x$B2 ^ 0xaa)) $((0x$B3 ^ 0xaa))`
fi

The btuart on github does not contain the changes.

Changes pushed. Thanks.