How to activate USB host mode in Alpine linux?
answer to "lsusb" command is nothing
How to activate USB host mode in Alpine linux?
Hello,
It is usually recommended to directly modify the kernel device tree to achieve this. You can refer to the USB-related WIKI.
The way to modify dynamically in the system is as follows:
This type of configuration will be lost after a reboot. It can be set by writing a startup script.
We do not maintain the Alpine Linux image. There might be some background programs that cause the settings not to take effect.
It is usually recommended to directly modify the kernel device tree to achieve this. You can refer to the USB-related WIKI.
The way to modify dynamically in the system is as follows:
Code: Select all
# host mode
echo host > /sys/devices/platform/ff3e0000.usb2-phy/otg_mode
# peripheray mode
echo peripheral > /sys/devices/platform/ff3e0000.usb2-phy/otg_mode
We do not maintain the Alpine Linux image. There might be some background programs that cause the settings not to take effect.

