Difference between revisions of "Template:RockchipCommonLinuxTips"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
 
Line 4: Line 4:
 
Enable on Startup
 
Enable on Startup
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
mv /etc/init.d/K50usbdevice /etc/init.d/S50usbdevice
+
mv /etc/init.d/K50usbdevice.sh /etc/init.d/S50usbdevice.sh
 
reboot
 
reboot
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 09:14, 30 September 2024

1 Common Linux-based operating system operations

1.1 Using ADB on Linux Systems

1.1.1 Enabling ADB in Buildroot System

Enable on Startup

mv /etc/init.d/K50usbdevice.sh /etc/init.d/S50usbdevice.sh
reboot

Enable Temporarily

usbdevice-wrapper start

1.1.2 Enabling ADB in Ubuntu and Debian Systems

Enable on Startup

sudo systemctl enable usbdevice
sudo reboot

Enable Temporarily

usbdevice-wrapper start

1.1.3 How to Connect

When using ADB, the port connected to the computer is the same as the USB flashing port.

1.2 Install Kernel Headers

sudo dpkg -i /opt/archives/linux-headers-*.deb