Giter Site home page Giter Site logo

Comments (5)

larsblumberg avatar larsblumberg commented on July 29, 2024

Hi Jochen,

If you follow the BlueZ upgrade steps closely, BlueZ should continue to work after a reboot. We use the the same steps on our Pi3 with Raspbian Lite.

Did you uninstall/purge BlueZ before upgrading? This can lead to your issue as uninstalling BlueZ also removes the Bluetooth driver. This said, keep the pre-installed Bluetooth packages and only run the installation steps in this readme.

Please also do a web search for "BlueZ AA:AA:AA:AA:AA" as this is a common failure symptom with BlueZ. However, as said, following the upgrade steps as per this readme should work.

from nuimo-linux-python.

larsblumberg avatar larsblumberg commented on July 29, 2024

We don't run sudo apt-get install --no-install-recommends bluetooth as we always install BlueZ from sources. Maybe that made the difference.

from nuimo-linux-python.

larsblumberg avatar larsblumberg commented on July 29, 2024

And try running again

sudo systemctl restart bluetooth
sudo hciconfig hci0 up

from nuimo-linux-python.

jo-me avatar jo-me commented on July 29, 2024

Hi Lars,
thanks for your quick reply on a Sunday ;-)
I read those articles related to that MAC problem but they did not help. They indicate that the base firmware of the BT module is missing or something.. very strange. It was a completely fresh installation and copy&paste of your steps. No purge or other messing with the old bluetooth stuff.
Since I had this phenomenon on two different systems (the clean raspbian lite and an older volumio with the older nuimo scripts running) I think that there is something wrong when used with the onboard bluetooth module.

However, during my fiddling I found that there is an even newer version of bluez that is just 2 days old. So, I started over and used that one and voila: everything works - both in raspbian lite and volumio. The new bluez apparently fixes something GATT-related so I'll just assume this was the cause ;-)

For reference, compared to the hciconfig snippet above, the output is exactly the same except for the MAC and the HCI version. It is now:
HCI Version: 4.1 (0x7) Revision: 0xb6

Cheers,
Jochen

from nuimo-linux-python.

larsblumberg avatar larsblumberg commented on July 29, 2024

Happy to hear that it's working – but I'm not sure if using BlueZ 5.44 fixed the issue or if it was simply the circumstance that you set up a completely fresh installation. As said, we're running our development on a Raspberry Pi 3 here with a built-in Bluetooth adapter, too. And it had worked for us quiet good so far.

from nuimo-linux-python.

Related Issues (20)

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.