Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/omamobile-device-cheetah/test/all
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,7 @@ if [[ -f ../omamobile-modem/systemd/omamobile-modem-boot.target ]]; then
|| fail "the modem unit the link turns on is skipped on a phone that isn't provisioned"
fi
pass "sitd waits for the CP; the modem stack is on by default through the target's vendor link; sit-data needs the modem's port"

grep -q 'KERNEL=="hci\[0-9\]\*", ENV{DEVTYPE}=="host"' vendor/udev/rules.d/80-omamobile-bt-addr.rules \
|| fail "the address service starts for the controller only, not for its connections (hci0:N)"
pass "the Bluetooth address rule matches only the controller"
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: MIT
# Omarchy Mobile: give the BCM4389 Bluetooth controller its real address
# (omamobile-bt-addr@.service).
ACTION=="add", SUBSYSTEM=="bluetooth", KERNEL=="hci[0-9]*", DRIVERS=="hci_uart_bcm", TAG+="systemd", ENV{SYSTEMD_WANTS}+="omamobile-bt-addr@%k.service"
# (omamobile-bt-addr@.service). Only the controller (DEVTYPE host): each
# connection is a bluetooth device too (hci0:N, DEVTYPE link).
ACTION=="add", SUBSYSTEM=="bluetooth", KERNEL=="hci[0-9]*", ENV{DEVTYPE}=="host", DRIVERS=="hci_uart_bcm", TAG+="systemd", ENV{SYSTEMD_WANTS}+="omamobile-bt-addr@%k.service"
2 changes: 1 addition & 1 deletion packages/omamobile-device-cheetah/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.44
0.1.45
4 changes: 4 additions & 0 deletions packages/omamobile-device-raven/test/all
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,7 @@ grep -q 'ENV{SYSTEMD_WANTS}+="omamobile-feedbackd-rescan.service"' "$rule" || fa
grep -qx 'ExecStart=-/usr/bin/pkill -x feedbackd' vendor/systemd/system/omamobile-feedbackd-rescan.service \
|| fail "the rescan stops only feedbackd, and no feedbackd is not an error"
pass "feedbackd picks up the haptics motor"

grep -q 'KERNEL=="hci\[0-9\]\*", ENV{DEVTYPE}=="host"' vendor/udev/rules.d/80-omamobile-bt-addr.rules \
|| fail "the address service starts for the controller only, not for its connections (hci0:N)"
pass "the Bluetooth address rule matches only the controller"
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: MIT
# Omarchy Mobile: give the BCM4389 Bluetooth controller its real address
# (omamobile-bt-addr@.service).
ACTION=="add", SUBSYSTEM=="bluetooth", KERNEL=="hci[0-9]*", DRIVERS=="hci_uart_bcm", TAG+="systemd", ENV{SYSTEMD_WANTS}+="omamobile-bt-addr@%k.service"
# (omamobile-bt-addr@.service). Only the controller (DEVTYPE host): each
# connection is a bluetooth device too (hci0:N, DEVTYPE link).
ACTION=="add", SUBSYSTEM=="bluetooth", KERNEL=="hci[0-9]*", ENV{DEVTYPE}=="host", DRIVERS=="hci_uart_bcm", TAG+="systemd", ENV{SYSTEMD_WANTS}+="omamobile-bt-addr@%k.service"
2 changes: 1 addition & 1 deletion packages/omamobile-device-raven/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.30
0.1.31
4 changes: 4 additions & 0 deletions packages/omamobile-device-tegu/test/all
Original file line number Diff line number Diff line change
Expand Up @@ -192,3 +192,7 @@ for t in test/graphics-start test/aoc-start test/usb-rescue test/sleep-hooks tes
"$t" || fail "$t"
done
pass "the scripts behave in a scratch root"

grep -q 'KERNEL=="hci\[0-9\]\*", ENV{DEVTYPE}=="host"' vendor/udev/rules.d/80-omamobile-bt-addr.rules \
|| fail "the address service starts for the controller only, not for its connections (hci0:N)"
pass "the Bluetooth address rule matches only the controller"
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: MIT
# Omarchy Mobile: give the BCM4383 Bluetooth controller its real address
# (omamobile-bt-addr@.service).
ACTION=="add", SUBSYSTEM=="bluetooth", KERNEL=="hci[0-9]*", DRIVERS=="hci_uart_bcm", TAG+="systemd", ENV{SYSTEMD_WANTS}+="omamobile-bt-addr@%k.service"
# (omamobile-bt-addr@.service). Only the controller (DEVTYPE host): each
# connection is a bluetooth device too (hci0:N, DEVTYPE link).
ACTION=="add", SUBSYSTEM=="bluetooth", KERNEL=="hci[0-9]*", ENV{DEVTYPE}=="host", DRIVERS=="hci_uart_bcm", TAG+="systemd", ENV{SYSTEMD_WANTS}+="omamobile-bt-addr@%k.service"
2 changes: 1 addition & 1 deletion packages/omamobile-device-tegu/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.8
0.2.9