I am trying to work on an Android application using an usb camera device on HiKey.
Up until now, the board did not recognize any usb connection other than Linux root when I connected the board through ADB.
So, I have been using UART adapter to connect the board to my laptop through picocom. An USB camera is recognized in this case only.
The problem is that I need to see Android Logcat and was able to do so, when I was using adb shell. However, in this case, camera device is not recognized as the board is in adb mode.
Whereas, the problem with picocom shell is that it does not show the Logcat and $logcat just shows the dmesg of the board.
What I can think of as solutions to my current situation are these:
- Connecting HiKey board through ADB using USB 2.0 (Currently it’s through Micro-USB).
→ Is this possible? - Changing Board configurations (not sure of what I need to change), so HiKey would work both as Master and Gadget at the same time.
→ Does anybody have any ideas on this?
Right now, these are the only things that pops up in my mind. If you can think of other solutions, please write me a reply.
Thank you so much for your help in advance!