SmartQ 5 Tips: How to enable “USB Host” mode automatically on startup
sometimes the device may start with ” login screen” after you installed software,it casued because there is no space of roofs ,but we can enable “usb host ” start before “login screen ”
How to enable USB Host mode automatically on startup
- Open file /etc/rc.local in a text editor with root rights
- Place below lines just before the last line exit 0
- Reboot
echo 1 > /sys/devices/platform/hhtech_gpio/usbpwr_en;
echo 1 > /sys/devices/platform/hhtech_gpio/usbotgdrv_en;
modprobe ohci-hcd;
modprobe usb-storage;
I tested this method and works fine on my SmartQ 5. My usb mouse automatically operates after boot.
One advantage of auto-enabling USB Host mode is that you can use a usb keyboard if you have a “login screen” situation.
Related posts:
1,269 views
I noticed you are using a mouse. For others may not have noticed the “pointer” is normally invisible on touch devices, but it is there. I have just got a bluetooth mouse. What did you do to show a visible pointer?. I have looked at the file names and I am either very tired or there is something I am missing, probably both:)
http://www.jiongtang.com/fourm