Skip to content

Bluetooth won't come up on Mantic (23.10) #6

@jglathe

Description

@jglathe

Some strange behaviour with btmgt on 23.10. Runs fine from the cli, also in scripts, but refuses to run from udev or systemd. With no response given. Since it worked with 23.04, I guess it's a regression, since it has happened before. Anyway, this commit in wdk2023_syshacks switches to using crontab as something that works™️in this case. Here's how to go about it:

  1. clone the wdk2023_syshacks repo and check out this commit
  2. create a crontab entry with sudo crontab -e: @reboot sleep 10 && /usr/local/bin/set-bluetooth-address.sh - or - merge the crontab file: /var/spool/cron/crontabs/root
  3. disable the systemd unit: sudo systemctl disable set-bluetooth-address
  4. (optional) copy over the current set-bluetooth-address.sh: sudo cp usr/local/bin/set-bluetooth-address.sh /usr/local/bin/

After that and a reboot, Bluetooth should start working again after the bootup. Special thanks to phind.com for grinding through the options with me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions