Giter Site home page Giter Site logo

dji-transpire / alarm-bluetooth-raspberrypi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from roedal/alarm-bluetooth-raspberrypi

0.0 1.0 0.0 27 KB

Arch Linux ARM package enabling integrated Bluetooth on Raspberry Pi 3B/3B+/Zero W

Shell 100.00%

alarm-bluetooth-raspberrypi's Introduction

bluetooth-raspberrypi

Arch Linux ARM package enabling integrated Bluetooth on Raspberry Pi 3B/3B+/Zero W.

The idea of this solution is taken from shenghaoyang/blueEnable_ALARM_non_mainline.md. Many thanks to Shenghao Yang.

Instalation

  • Build and install bluetooth-raspberrypi package. You can also use pre-built packages:
    pacman -U https://github.com/RoEdAl/alarm-bluetooth-raspberrypi/releases/download/vx-y/bluetooth-raspberrypi-x-y-any.pkg.tar.xz
    
  • Remove the attachment of /dev/ttyAMA0 (/dev/ttyS0 in mini-UART version) to the console from /boot/cmdline.txt.
  • Add bcmbt overlay to /boot/config.txt file:
    dtoverlay=bcmbt
    

Kernel messages

Raspberry Pi 3 Model B Plus

[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
...
[    7.751931] Bluetooth: hci1: BCM: chip id 107
[    7.754438] Bluetooth: hci1: BCM: features 0x2f
[    7.777740] Bluetooth: hci1: BCM4345C0
[    7.778212] Bluetooth: hci1: BCM (003.001.025) build 0000
[   13.320384] Bluetooth: hci1: BCM (003.001.025) build 0139

For Raspberry Pi 3 Model B Plus kernel tries to load firmware from BCM.hcd instead of BCM4345C0.hcd. As a workaround this package just creates BCM.hcd as symlink to BCM4345C0.hcd.

Raspberry Pi 3 Model B

[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
...
[    7.892120] Bluetooth: hci0: BCM: chip id 94
[    7.895277] Bluetooth: hci0: BCM: features 0x2e
[    7.919215] Bluetooth: hci0: BCM43430A1
[    7.920183] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[   11.690212] Bluetooth: hci0: BCM (001.002.009) build 0360

Raspberry Pi Zero W

[    0.000000] OF: fdt: Machine model: Raspberry Pi Zero W Rev 1.1
...
[   12.874297] Bluetooth: hci0: BCM: chip id 94
[   12.877951] Bluetooth: hci0: BCM: features 0x2e
[   12.902263] Bluetooth: hci0: BCM43430A1
[   12.903425] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[   16.772188] Bluetooth: hci0: BCM (001.002.009) build 0360

alarm-bluetooth-raspberrypi's People

Contributors

roedal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.