Phenomenon description: Some customers have reported that Type-C fails to supply power. After investigation, it was found that some customers deleted the /etc/rc.local file, resulting in the failure of Type-C enablement. Below are the solutions and repair methods for enabling Type-C through software.
Note:
The following operations are all performed under root privileges.
Step 1: Check
cat /sys/class/gpio/PP.06/value
Step 2: If the first step fails, the following is the process for enabling the USB script.
cp /lib/systemd/system/rc-local.service /etc/systemd/system
/etc/systemd/system/rc-local.service
file, adding the following two lines at the bottom of the file:[Install]
WantedBy=multi-user.target
Alias=rc-local.service
rc.local
file under /etc/
and output the following commands.#!/bin/sh
`busybox devmem 0x02430030`
`busybox devmem 0x02430030 w 0x004`
`echo 446 > /sys/class/gpio/export`
`echo out > /sys/class/gpio/PP.06/direction`
`echo 1 > /sys/class/gpio/PP.06/value`
exit 0
rc.local
file executable permission.chmod +x /etc/rc.local
Please follow the above upgrade process, download the latest docking station firmware, and update it in a timely manner.