Add Bluetooth audio/HID/discoverability/alias support, fix SD card hotplug & caller ID matching, and expand ReMEdy J2ME JSRs + 64MB GC

This commit is contained in:
Luxferre committed 2026-11-01 16:18:04 +02:00
1 parent 456d3fbc42
commit 471916424e
51 files changed
+2961 -305

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
#!/bin/sh
exec /usr/bin/X -nocursor -nolisten tcp "$@"
exec /usr/bin/X -nolisten tcp "$@"
+5
View File
@@ -0,0 +1,5 @@
[General]
IdleTimeout=0
UserspaceHID=true
ClassicBondedOnly=false
LEAutoSecurity=true
+17
View File
@@ -0,0 +1,17 @@
[General]
DiscoverableTimeout = 0
PairableTimeout = 0
ControllerMode = dual
MultiProfile = multiple
JustWorksRepairing = always
Experimental = true
[GATT]
Cache = always
[Policy]
ReconnectUUIDs=00001112-0000-1000-8000-00805f9b34fb,0000111f-0000-1000-8000-00805f9b34fb,0000110a-0000-1000-8000-00805f9b34fb,0000110b-0000-1000-8000-00805f9b34fb,00001108-0000-1000-8000-00805f9b34fb,0000111e-0000-1000-8000-00805f9b34fb,00001124-0000-1000-8000-00805f9b34fb,00001812-0000-1000-8000-00805f9b34fb
ReconnectAttempts=7
ReconnectIntervals=1,2,4,8,16,32,64
AutoEnable=true
ResumeDelay = 2
+2
View File
@@ -7,7 +7,9 @@ permit nopass :wheel as root cmd poweroff
permit nopass :wheel as root cmd reboot
permit nopass :wheel as root cmd /sbin/poweroff
permit nopass :wheel as root cmd /sbin/reboot
permit nopass :wheel as root cmd /usr/bin/sxmo_wifitoggle.sh
permit nopass :wheel as root cmd sxmo_wifitoggle.sh
permit nopass setenv { SXMO_OS } :wheel as root cmd /usr/bin/sxmo_bluetoothtoggle.sh
permit nopass setenv { SXMO_OS } :wheel as root cmd sxmo_bluetoothtoggle.sh
permit nopass :wheel as root cmd rc-service args bluetooth restart
permit nopass :wheel as root cmd systemctl args restart bluetooth
@@ -0,0 +1,9 @@
monitor.bluez.properties = {
bluez5.roles = [ a2dp_sink a2dp_source bap_sink bap_source hsp_hs hsp_ag hfp_hf hfp_ag ]
bluez5.codecs = [ sbc sbc_xq aac ldac aptx aptx_hd aptx_ll aptx_ll_duplex faststream faststream_duplex opus_05 opus_05_51 opus_05_71 opus_05_dup opus_05_pro lc3 ]
bluez5.enable-sbc-xq = true
bluez5.enable-msbc = true
bluez5.enable-hw-volume = true
bluez5.hfphsp-backend = "native"
bluez5.hfphsp-backend-native-modem = "any"
}
@@ -1,4 +1,4 @@
# Automatically mount and unmount removable microSD cards (mmcblk1) at /media/sdcard
SUBSYSTEM=="block", KERNEL=="mmcblk1p[1-9]*", ACTION=="add", RUN+="/usr/bin/sxmo_sdcard.sh automount add %k"
SUBSYSTEM=="block", KERNEL=="mmcblk1", ATTR{partition}!="1", ENV{ID_FS_USAGE}=="filesystem", ACTION=="add", RUN+="/usr/bin/sxmo_sdcard.sh automount add %k"
SUBSYSTEM=="block", KERNEL=="mmcblk1*", ACTION=="remove", RUN+="/usr/bin/sxmo_sdcard.sh automount remove %k"
# Bananarchy microSD card automount on insertion & cleanup on removal
ACTION=="add", SUBSYSTEM=="block", KERNEL=="mmcblk[1-9]p[1-9]", RUN+="/bin/sh -c '/usr/bin/sxmo_sdcard.sh automount add %k >/dev/null 2>&1 &'"
ACTION=="add", SUBSYSTEM=="block", KERNEL=="mmcblk[1-9]", ENV{DEVTYPE}=="disk", RUN+="/bin/sh -c 'sleep 1; /usr/bin/sxmo_sdcard.sh automount add %k >/dev/null 2>&1 &'"
ACTION=="remove", SUBSYSTEM=="block", KERNEL=="mmcblk[1-9]*", RUN+="/bin/sh -c '/usr/bin/sxmo_sdcard.sh automount remove %k >/dev/null 2>&1 &'"
@@ -0,0 +1,9 @@
monitor.bluez.properties = {
bluez5.roles = [ a2dp_sink a2dp_source bap_sink bap_source hsp_hs hsp_ag hfp_hf hfp_ag ]
bluez5.codecs = [ sbc sbc_xq aac ldac aptx aptx_hd aptx_ll aptx_ll_duplex faststream faststream_duplex opus_05 opus_05_51 opus_05_71 opus_05_dup opus_05_pro lc3 ]
bluez5.enable-sbc-xq = true
bluez5.enable-msbc = true
bluez5.enable-hw-volume = true
bluez5.hfphsp-backend = "native"
bluez5.hfphsp-backend-native-modem = "any"
}