Green LED: Power indicator (stays on when powered).
Blue LED: Heartbeat indicator (blinks continuously after the kernel boots).
User-Level LED Control
By default, the LED trigger mode is set to heartbeat, which prevents manual control. To enable command-based control, use the following commands:
$echonone>/sys/class/leds/sysled/trigger$echo1>/sys/class/leds/sysled/brightness# Turn on$echo0>/sys/class/leds/sysled/brightness# Turn off
WiFi / Bluetooth
The K5C board integrates the AW859A high-performance WiFi module.
WiFi Operations
# List network devicessudonmclidev# Enable WiFisudonmclirwifion# Disable WiFisudonmclirwifioff# Scan for nearby hotspotssudonmclidevwifi# Connect to a hotspot (replace SSID and PASSWORD)sudonmclidevwificonnect"SSID"password"PASSWORD"ifnamewlan0
Bluetooth Operations
Install dependencies:
Control commands:
Bluetooth Audio PlaybackNote: Only works on desktop terminals, not serial terminals.
Key Functions
The K5C board has three buttons:
POWER: Controls screen on/off (Android) or opens logout screen (Ubuntu).
RESET: System reset button.
RECOVERY: Enters firmware flashing mode.
RTC Testing
Power-Off Time Retention Test
Steps:
Connect the board to the network for automatic time synchronization.
Disconnect network and power.
Wait for a period, then reconnect power.
If the system time matches the current time, RTC functions properly.
Note: Ensure a CR2032 battery is installed and charged.
IR (Infrared) Testing
Check input devices:
image-20250517110612748
Test IR receiver:
image-20250517110644728
LCD Testing
Supports Single LVDS, Dual LVDS, and MIPI displays. For details, see LCD.
Backlight Control
Fan Control
The board includes a GPIO-controlled fan (enabled by default).
Speaker/Headphone Testing
Speaker Control
Audio Playback
Ubuntu:
Android:
MIC Testing
Ubuntu
Android
Ethernet Testing
Supports Gigabit Ethernet. Speed test results:
Upload: 783 Mbits/sec
Download: 898 Mbits/sec
4G Module Testing
Prerequisites
Verify USB module detection:
Insert SIM card and ensure antennas are connected.
bluetoothctl # Enter Bluetooth console
scan on # Start scanning
pair 28:52:E0:19:17:69 # Pair with a device
connect 28:52:E0:19:17:69 # Connect to a device
# Set default audio sink
pacmd set-default-sink bluez_sink.28_52_E0_19_17_69
# Play audio
aplay sample-15s.wav
cat /proc/bus/input/devices
hexdump /dev/input/event2 # Press remote buttons to see data output
# Check fan status
cat /sys/class/leds/fan_en/brightness
# Turn on
echo 255 > /sys/class/leds/fan_en/brightness
# Turn off
echo 0 > /sys/class/leds/fan_en/brightness