So you could plug your USB Stick in the back of it freeing the 2 USB ports on the side and plug in to a OTG cable,like you can with the PS Classic,is it possible,you think or not cause the way the firmware/hardware is..?
It's not possible with the standard C64Mini I think. The port on the back is configured as 'OTG' which if I understand correctly means it can be switched between host mode (which is what you want) and client mode (for use to connect to a PC) but that is only halfway configured. It doesn't work as client port if you power it via a USB port on your PC (no new USB device shows up). But it also doesn't work as host port, e.g if you use an USB OTG hub/cable you can power it but it doesn't detect e.g. an USB drive.
The behaviour of the USB port is determined by the boot configuration (script.bin) and the Linux kernel.
Script.bin is in nand, in a part that isn't managed by the nand driver (it's not nanda nor nannb) and is read by the bootloader and used to configure the system. This is setup to have the port as 'OTG' port:
The kernel also needs to be correctly configured to use the port as 'OTG' to get it working. For more info see: Section 'sunxi-3.4' at linux-sunxi.org/USB_Gadget/Ethernet. It shows that for 'OTG' support the kernel should be built with at least:
However not all of these are set in the kernel configuration:
# zcat /proc/config.gz | grep CONFIG_USB_OTG_UTILS # zcat /proc/config.gz | grep CONFIG_NOP_USB_XCEIV # CONFIG_NOP_USB_XCEIV is not set # zcat /proc/config.gz | grep CONFIG_USB_SW_SUN7I_USB CONFIG_USB_SW_SUN7I_USB=y CONFIG_USB_SW_SUN7I_USB_MANAGER=y # CONFIG_USB_SW_SUN7I_USB0_NULL is not set # CONFIG_USB_SW_SUN7I_USB0_DEVICE_ONLY is not set # CONFIG_USB_SW_SUN7I_USB0_HOST_ONLY is not set CONFIG_USB_SW_SUN7I_USB0_OTG=y CONFIG_USB_SW_SUN7I_USB_DEBUG=y #