Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth stopped working at 3.59.6.20210911 #1469

Closed
in-voker opened this issue Oct 24, 2021 · 5 comments
Closed

Bluetooth stopped working at 3.59.6.20210911 #1469

in-voker opened this issue Oct 24, 2021 · 5 comments
Labels
🐛 bug-report Something isn't working 💻 hardware support This issue refs tickets/issue introducing/fixing some hardware support

Comments

@in-voker
Copy link

Describe the bug
Since version 3.59.6.20210911 the bluetooth doesn't work anymore at my ELV Charly (RPi3).
I set the /etc/config/enableBluetooth file correctly and also tired to start /etc/init.d/S40bluetooth start manually.
On version 3.59.6.20210911 the message "WARNING: bluetooth setup failed" is appearing.

Steps to reproduce the behavior

  1. installed fresh (without any backups) RaspberryMatic-3.59.6.20210703-rpi3 which is working without any issues
  2. installed fresh (without any backups) RaspberryMatic-3.59.6.20210807-rpi3 which is working without any issues
  3. installed fresh (without any backups) RaspberryMatic-3.59.6.20210911-rpi3 which shows that bluetooth is not able to beeing enabled
  4. installed fresh (without any backups) RaspberryMatic-3.59.6.20211009-rpi3 which shows that bluetooth is not able to beeing enabled

*installed fresh = flash rom directly with win32diskimager on sd

Expected behavior
the start of hcitool via ssh should work to be able to use lescan

Screenshots
i didn't take any screenshots because there isn't anything special to see. bluetooth is just not working with the newer versions...

System information:

  • RaspberryMatic Version: RaspberryMatic-3.59.6.20210807 (currently using this version because this has working bluetooth support)
  • Used Hardware: RPi3 (ELV-Charly)
  • Used HomeMatic RF-Module: RPI-RF-MOD

Additional context
i am a bit irritated because i don't find any other guys reporting this. this is the reason why I waited that long...
Because it flashed a completed fresh rom on SD without any additional stuff from myself i am pretty sure it's nothing wrong with my hardware. everything works well with the 20210807 and before...

@salem0815
Copy link

I have exactly the same problem!
Since version 3.59.6.20210911 bluetooth doesn’t work on an ELV Charly (RPi3).

I checked /etc/init.d/S40bluetooth and tried to start bluetooth manual by the CLI.
It seems to be that the necessary tools hciattach and hciconfig are missing.

If i enter hciattach or hciconfig in the CLI, i get „not found“.

For my project I use l2ping, this tool is also missing.

@a-marcel
Copy link

Hello,

i've the same issue with the Raspberry and i think that the issue could be that /usr/bin/hciattach is not existing anymore but this tool is needed to start /etc/init.d/S40bluetooth

@salem0815
Copy link

Hi,

I found out the following:

Change log RaspberryMatic 3.59.6.20210911

  • updated buildroot to latest stable 2021.08 version.

There is a change from buildroot 2021.05 to 2021.08.

Change log buildroot 2021.08-rc1, released August 3rd, 2021:

  • Many features of the bluez5_utils package have been made optional, and default to disabled. Users of bluez5_utils are encouraged to review their configuration.

In menuconfig:
Target packages -> Network applications

  • in the tree ‚bluez-utils‘ is selected
    ‘install deprecated tools’ is also selected but NOT ‘build tools’

‘build tools’ contains hciattach and l2ping!

I tested it in my own build environment by adding the package ‘build tools’ and compiling it.
After this bluetooth started working.

This issue is still in RaspberryMatic 3.61.7.20220115.

@jens-maus
Copy link
Owner

After this bluetooth started working.

Thanks for the investigation. Are you able to submit a PR on that or at least show a diff against the defconfig? That would be highly appreciated.

@salem0815
Copy link

I compared the from ‘menuconfig’ generated defconfig (RaspberryMatic 3.61.7.20220115), there is only one difference:

original:

BR2_PACKAGE_BLUEZ5_UTILS_TOOLS is not set

patched:
BR2_PACKAGE_BLUEZ5_UTILS_TOOLS=y

config_orig.txt
config_patch.txt

@jens-maus jens-maus added 🐛 bug-report Something isn't working 💻 hardware support This issue refs tickets/issue introducing/fixing some hardware support labels Jan 23, 2022
@jens-maus jens-maus added this to the next release milestone Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug-report Something isn't working 💻 hardware support This issue refs tickets/issue introducing/fixing some hardware support
Projects
None yet
Development

No branches or pull requests

4 participants