Skip to content

Commit

Permalink
udev: bluetooth: start bt-config in a shell
Browse files Browse the repository at this point in the history
In newer versions of bluez the btmgmt command can get stuck when
started in a udev ENV. It doesn't when started from a regular shell,
so start it in a shell from udev as well.
  • Loading branch information
jhofstee committed Feb 3, 2025
1 parent 2e983ec commit 21a5b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-venus/recipes-core/udev/files/bluetooth.rules
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ACTION=="add", SUBSYSTEM=="bluetooth", ENV{DEVTYPE}=="host", RUN+="bt-config %k"
ACTION=="add", SUBSYSTEM=="bluetooth", ENV{DEVTYPE}=="host", RUN+="sh bt-config %k"
ACTION=="remove", SUBSYSTEM=="bluetooth", ENV{DEVTYPE}=="host", RUN+="bt-remove %k"

0 comments on commit 21a5b42

Please sign in to comment.