Skip to content

Commit

Permalink
armsom-w3: fix m.2 usb bluetooth
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingfate authored and igorpecovnik committed Sep 18, 2024
1 parent 5e54e2b commit 6a2fc4f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/boards/armsom-w3.csc
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ function post_family_tweaks__armsom-w3_naming_audios() {

return 0
}

function post_family_tweaks__armsom-w3_fix_m2_bluetooth() {
display_alert "$BOARD" "Fixing armsom-w3 m.2 usb bluetooth" "info"

mkdir -p $SDCARD/etc/udev/rules.d/
echo 'ACTION=="add", SUBSYSTEM=="usb",ATTR{bConfigurationValue}=="", ATTR{bConfigurationValue}="1"' > $SDCARD/etc/udev/rules.d/91-m2-usb-bluetooth.rules

return 0
}

0 comments on commit 6a2fc4f

Please sign in to comment.