@Vogtinator
Sorry, I don't understand your edited answer ...
- If I use OTG, the calc mode will be device if I use a 4-pin mini-usb cable or host if I use a 5-pin (with a bridge between pin 5 and pin 4) mini-usb cable. And the mode can be switched without rebooting the calc.
- If I don't use OTG, the usb mode will follow that rule (and will not follow the "cable rule") :
USB support is mostly working. The only thing missing is a USB PHY driver. The USB controller driver is currently unable to switch seamlessly between USB host and USB device mode because of this. Unfortunately, nothing much is known about the USB PHY.
That's probably the same reason why sometimes USB devices aren't recognised in USB host mode - the USB PHY hasn't changed the USB hardware to host mode.
To work around this, we get the Nspire OS to set the right modes in the USB PHY before booting Linux.
For USB Host mode: insert a USB OTG cable's A end or a USB device into the calculator while still inside the Nspire OS before running the bootloader.
For USB Device mode: connect the Nspire to a computer while in Nspire OS before running the bootloader.
Or there is something that I don't understand ?
@Dapianokid
I don't see why It should work with a type A instead of a type B when TI uses type B connectors ...
I'm not even sure that we can use a type A male connector with a type B female connector ...
I think that the parameter is "cx_usb_otg" because it's written on hackspireedit :
Okayyyy
It's written usb type A in my quotation !!!
There is definitively something that I don't understand
edit n°2 :
So, if I understand well, it is not possible to use an usb key without an OTG usb cable ?!?
If I put a 4 pin mini-usb cable, nothing happens to the usb PHY who keeps is previous state which is device mode ... It makes me very unhappy
But I still don't see why I have to use a type A usb instead of a type B usb ...