Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:c2_hardwarehacking [2016/08/12 12:25] odroid [IR Remote Controller (Android)] |
en:c2_hardwarehacking [2017/02/03 14:00] odroid [USB Hub IC reset script] |
||
---|---|---|---|
Line 44: | Line 44: | ||
Default IR protocol is NEC type. | Default IR protocol is NEC type. | ||
+ | ====== USB Hub IC reset script ====== | ||
+ | If you need to do power-cycle to the USB devices on the USB host ports, run below commands.\\ | ||
+ | It will reset all the USB devices connected to the USB host ports. | ||
+ | <code> | ||
+ | echo 126 > /sys/class/gpio/export | ||
+ | echo out > /sys/class/gpio/gpio126/direction | ||
+ | sleep 1 | ||
+ | echo 0 > /sys/class/gpio/gpio126/value | ||
+ | sleep 1 | ||
+ | echo 1 > /sys/class/gpio/gpio126/value | ||
+ | echo 126 > /sys/class/gpio/unexport | ||
+ | sleep 1 | ||
+ | </code> | ||
+ | ====== USB Hub IC issue ====== | ||
+ | Every power cycle, the USB hub controller is disconnecting the USB devices at among 5~7 second after starting boot process. \\ | ||
+ | If you use a fast booting OS like Buildroot, Yocto and Ubuntu-Minimal, your USB devices will not work correctly. \\ | ||
+ | To avoid this issue, you need to run your USB application software slightly later after complete the booting process. \\ | ||
+ | |||
+ | Here is an example of the serious problem. Unfortunately, we couldn't find any workaround yet. | ||
+ | [[http://forum.odroid.com/viewtopic.php?f=141&t=23733|Forum Thread]] |