Connecting a USB keyboard to Xiaomi Mi A1 I am trying to use a basic USB keyboard with my Xiaomi Mi A1 and it's not working.

I connected the phone to the keyboard using a female-to-female USB adaptor. Nothing shows up on the phone. I tried the USB Host Controller app, but it says "Root hub is not present, USB Host mode not active or not available".

I have tried enabling USB debugging. Not sure what else to do? I also tried plugging my mouse in instead but nothing happens.
I have the same device. Female to female adapter as pointed out in comments doesn't work. You have to use OTG adapter. I use it for USB storage

Aside, phone only works with vfat formatted USB / Ext. SD unless you use custom kernel