TriForceX/MiyooCFW

[FEATURE-REQ]: add prompt to select USB connection type (or method to change USB startup mode)

Opened this issue · 2 comments

would be nice an option to turn on the usb host at the startup for those that play with controllers a lot

The future idea is to display a prompt in gmenu2x (if USB is connected) to change USB options at use:

< > Charge
<x> File Transfer
< > Connect Device
< > Serial Port.

Same goes for MiniJack connection prompt (if detected) to change Data being redirected:

<x> Audio output (headphone)
< > Audio/Video output (TV)

For now u could edit file /etc/main from rootfs in this part:
https://github.com/MiyooCFW/buildroot/blob/fd34e2b21ecd39476599dfcee493048c1f02986e/board/miyoo/rootfs/etc/main#L130
by adding cmd from usb-host.sh script app, just before gmenu2x startup