Forum Discussion
Altera_Forum
Honored Contributor
8 years agoBoard: De10 Nano Rev B
I have the same issue .... its driving me nuts. For me I know my OTG is good because it works on my phone. 0 power hitting the OTG device. Even when I provide power externally I cant get the Armstrong OS to detect anything connected to the OTG port via lsusb or dmesg. When I connect the device to a laptop in slave mode ... the laptop does detect the device; "Bus 001 Device 005: ID 1d6b:0104 Linux Foundation Multifunction Composite Gadget" And the boot partition does appear as USB storage. So the issue appears to be the port cant operate in Host mode !!!! I wonder if pin 5 is broken on the port ?!? ***** UPDATE ******** I found this in the manual "6.4 Enable/Disable USB GadgetUse can use the above features only when the USB Gadget function is enabled in the Xfce Desktop. When the USB gadget is enabled, the DE10-Nano acts as a USB storage after it is connected to a host PC.If it is unusable, please follow below steps to check if the USB Gadget is disabled: 1. Boot up the DE10-Nano with the Xfce Desktop. 2. Execute the USB_Gadget icon on the desktop. 3. Check if the USB Gadget is Enable. 4. Note that, any modified setting will be applied after the system is reboot" ....it then goes on to show you how to disable the Gadget via the desktop with a mouse!!! (f****** ****s at Terassic you need a working OTG to use a mouse!!!) It states that you have to connect peripherals to the USB OTG "after" the device boots because of the Gadget forcing the OTG in host mode on boot. I wonder if even after boot the Gadget is preventing the OTG going into Host Mode. I'm trying to figure out a way to disable Gadget via command line.