mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armsom-w3: fix m.2 usb bluetooth
This commit is contained in:
@@ -28,3 +28,12 @@ function post_family_tweaks__armsom-w3_naming_audios() {
|
|||||||
|
|
||||||
return 0
|
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
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user