Repository navigation
Description
Knulli build version
Knulli Scarab 20260511 (OS banner: scarab 2026/05/11 21:44)
Your architecture
TrimUI Smart Pro handheld, Allwinner A133, aarch64, Linux 4.9.191.
Issue description
Issue description
Incoming IPv4 multicast traffic does not appear to reach Linux sockets on my TrimUI Smart Pro.
I first noticed this with Ableton Link. The same application can discover Link peers on an RG353V, but the TrimUI Smart Pro never sees any peers.
I reproduced the behavior without Ableton Link:
- IPv4 unicast sent to the TrimUI is received.
- IPv4 broadcast sent to the TrimUI is received.
- IPv4 multicast sent to a group joined by the TrimUI is not received.
- A raw
AF_PACKETsocket onwlan0also receives none of the tested multicast packets.
I tested on two unrelated Wi-Fi networks:
- A Netgear access point.
- A phone Wi-Fi hotspot.
On both networks, the RG353V and Bitwig discover each other through Ableton Link, while the TrimUI does not discover any peer.
This makes an access point configuration issue less likely, although I cannot completely rule out another environmental factor.
Expected behavior
IPv4 multicast packets sent by another device on the same Wi-Fi network should reach raw and UDP sockets on the TrimUI.
This is required by applications such as Ableton Link, which uses 224.76.78.75:20808 for peer discovery.
System and driver information
Linux KNULLI 4.9.191 #396 SMP PREEMPT Sat Apr 13 02:35:10 UTC 2024 aarch64 GNU/Linux
Board: trimui-smart-pro
Knulli: Scarab 20260511
Driver: xradio_wlan
Driver label: XR_V02.16.93_HT40_01.40
Firmware label: XR_C09.08.52.73_DBG_02.122 2GHZ HT40
Knulli appears to select the expected TrimUI-specific modules in /etc/init.d/S03modules:
xradio_mac_tsp.ko
xradio_core_tsp.ko
xradio_wlan_tsp.ko
The loaded modules use the generic internal names shown by lsmod, so the names in lsmod alone do not mean the wrong files were loaded.
Additional notes
My current working theory is that the multicast frames may be dropped somewhere in the XRadio firmware or driver receive path. That is only an interpretation of the measurements, not a confirmed root cause.
Please let me know if another driver counter, firmware trace, or packet test would help narrow this down.
Detailed reproduction steps
Detailed reproduction steps
- Connect the TrimUI and another computer to the same Wi-Fi network.
- Join a multicast group on the TrimUI:
import socket
group = "239.1.2.3"
interface = "10.0.0.2"
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
s.bind(("", 20809))
s.setsockopt(
socket.IPPROTO_IP,
socket.IP_ADD_MEMBERSHIP,
socket.inet_aton(group) + socket.inet_aton(interface),
)
while True:
data, address = s.recvfrom(65535)
print(address, data)- Send UDP datagrams from the other computer to
239.1.2.3:20809. - Observe that no datagrams are printed.
- Send equivalent unicast and broadcast datagrams. Those are received correctly.
The membership is visible on the TrimUI:
$ ip maddr show wlan0
inet 239.1.2.3
inet 224.76.78.75
The firewall was also checked:
$ iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
Raw socket test
I also tested below the IP layer:
import socket
s = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(3))
s.bind(("wlan0", 0))
while True:
data, address = s.recvfrom(65535)
if b"CCT-XRADIO-RAW-" in data:
print(address, data)After sending 100 multicast packets containing that marker:
RAW_RX 0
The same raw socket receives the corresponding unicast and broadcast traffic.
XRadio firmware counter
The XRadio debug counter reports received multicast frames:
$ grep RxMulticastFrames /sys/kernel/debug/ieee80211/phy0/xradio/counters
RxMulticastFrames: 318
After a multicast test burst, one run reported:
RxMulticastFrames: 371
I do not know the exact reset or refresh semantics of this debug counter, so I would not treat those numbers as proof by themselves. They may indicate that multicast frames reach the XRadio firmware but are discarded before being passed to the Linux networking stack.
Details of any attempts to fix this yourself
I tested the following settings temporarily, one at a time:
- Disabled Wi-Fi power saving with
iw dev wlan0 set power_save off. - Enabled
ALLMULTI. - Enabled promiscuous mode.
- Forced IGMPv2 with
force_igmp_version=2. - Reconnected Wi-Fi.
- Rebooted the access point.
- Used a different Wi-Fi hotspot.
- Confirmed that unicast and broadcast still work.
None of these made multicast packets visible to either the UDP socket or the raw packet socket.
All temporary network settings were restored after testing.
Details of any modifications you have made to Knulli.
None, only installed apps is Choochootracker https://github.com/paiheulevrai/Choochootracker , this is the one that handles Ableton Link.
Logs and data
This was observed on a newly configured Knulli Scarab 20260511 installation. No older Knulli release has been tested, so I cannot confirm whether previous stable versions are affected.
No system files or kernel modules were modified. ChooChooTracker is installed through PortMaster, but the multicast failure is also reproducible with independent Python socket tests.
System information:
Linux KNULLI 4.9.191 #396 SMP PREEMPT Sat Apr 13 02:35:10 UTC 2024 aarch64 GNU/Linux
Board: trimui-smart-pro
Architecture: aarch64
Knulli: Scarab 20260511
Driver: xradio_wlan
Driver label: XR_V02.16.93_HT40_01.40
Firmware label: XR_C09.08.52.73_DBG_02.122 2GHZ HT40
Network tests performed from another computer on the same subnet:
Unicast UDP: received
Broadcast UDP: received
Multicast UDP: not received
Raw AF_PACKET multicast capture: 0 packets received
The problem was reproduced on two unrelated networks:
1. Netgear Wi-Fi access point
2. Phone Wi-Fi hotspot
On both networks, an RG353V and Bitwig discovered each other through Ableton Link. The TrimUI Smart Pro did not discover either peer.
The multicast membership was present:
$ ip maddr show wlan0
inet 239.1.2.3
inet 224.76.78.75
inet 239.255.255.250
inet 224.0.0.1
The firewall accepted all traffic:
$ iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
Ableton Link opened its expected sockets:
UNCONN 0 0 0.0.0.0:20808 0.0.0.0:* users:(("choochootracker",pid=3823,...))
A test burst of 100 UDP multicast packets was sent to a group joined by the TrimUI. The UDP listener reported:
APP_RX 0
A raw Ethernet listener using AF_PACKET reported:
RAW_RX 0
The XRadio firmware debug counter still recorded multicast activity. In one test it changed as follows:
RxMulticastFrames: 318
RxMulticastFrames: 371
I do not know the exact refresh or reset semantics of this counter, so this is included only as a diagnostic clue. It may mean that frames reach the XRadio firmware but are not passed to the host networking stack.
The following temporary tests did not change the result:
iw dev wlan0 set power_save off
ip link set dev wlan0 allmulticast on
ip link set dev wlan0 promisc on
force_igmp_version=2
Wi-Fi reconnection
Access point reboot
Different Wi-Fi hotspot
All temporary settings were restored after testing.
A support archive is not attached yet. This build does not provide the documented batocera-support command, but it contains /usr/bin/knulli-support. I can generate and attach a support archive if needed.
Activity
paiheulevrai commentedon Nov 3, 2026
Hello, switched the console to NextUI. Sames hardware, same app only packaged as PAK instead of portmaster. Ableton Link works on NextUI. This confirms the problem is on the Knulli side. Let me know if I can do anything else.