Files
openipc-builder/devices/ssc377_lite_tp-link-tapo-c120/general/overlay/etc/wireless/usb
T
5e1bb92866 ssc377_lite: add TP-Link Tapo C120 device profile (#162)
SSC377, SmartSens SC430AI, 16 MB NOR, RTL8188FTV on USB. The generic
ssc377_lite defconfig with the 16 MB layout, the rtl8188fu driver and the
SAE-capable wpa_supplicant-openipc; the Wi-Fi module's power gate (GPIO 42)
in the wireless/usb entry; IR-cut, backlight and IR LED pins; the SC430AI
IQ file.

Depends on OpenIPC/sensors#7 (driver), OpenIPC/firmware#2445 (loader entry)
and OpenIPC/firmware#2449 (supplicant package).

Co-authored-by: nzzane <12163646+nzzane@users.noreply.github.com>
2026-09-19 15:44:14 +03:00

17 lines
263 B
Bash
Executable File

#!/bin/sh
set_gpio() {
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
sleep 1
}
# The RTL8188FTV sits on a USB daughterboard whose power is gated by GPIO 42
if [ "$1" = "rtl8188fu-tapo-c120" ]; then
set_gpio 42 1
sleep 2
modprobe 8188fu
exit 0
fi
exit 1