forked from merckhung/linux_ms_dev_kit
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
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:
- clone the wdk2023_syshacks repo and check out this commit
- 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 - disable the systemd unit:
sudo systemctl disable set-bluetooth-address - (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
Labels
No labels