⬢ DragonFlyBSD Kernel Audit
DF-4540 / cxm_env_probe.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-4540 environment probe: cxm(4) tuner-table walks are reachable only
# through a /dev/cxmN node, which exists only after a Conexant CX2381x
# PCI function (vendor 0x14f1) attaches. Document presence/absence.
echo "== uname"; uname -a
echo "== Conexant PCI functions (expect none in QEMU):"
pciconf -l 2>/dev/null | grep -i 14f1 || echo "PCI-ABSENT: no vendor-14f1 function"
echo "== cxm device nodes (expect none):"
ls /dev/cxm* /dev/video* 2>&1
echo "== module present but no hardware to probe:"
ls -l /boot/kernel/cxm.ko 2>&1 || echo "cxm.ko not built for this kernel"