I am trying to use adb commands with the board , Its having kitkat installed on it
Now the problem is that usb debugging port (otg port ) in imx6 sabre board is also used for putting input devices (like mouse and keyboard)
So i enable usb debugging option in android using mouse
Now when i connect usb debugging using the cable with computer , the android asks for (allow device to connect on its display) , but because i have no option for input device like a mouse (as the port is busy ) so i can never allow the device to connect. and hence adb devices command output is always
Device id --- unauthorised
So what is the solution or workaround of this problem ??
Solved! Go to Solution.
I found the most effective way to solve the problem:
1. connect usb otg port and usb debug port to your pc
2. login through serial port
3. execute follow commands:
root@sabresd_6dq:/ # input keyevent 61
root@sabresd_6dq:/ # input keyevent 66
root@sabresd_6dq:/ # input keyevent 61
root@sabresd_6dq:/ # input keyevent 61
root@sabresd_6dq:/ # input keyevent 66
keyevent 61 means keyboard tab key
keyevent 66 means keyboard enter key
:smileymischief:
I found the most effective way to solve the problem:
1. connect usb otg port and usb debug port to your pc
2. login through serial port
3. execute follow commands:
root@sabresd_6dq:/ # input keyevent 61
root@sabresd_6dq:/ # input keyevent 66
root@sabresd_6dq:/ # input keyevent 61
root@sabresd_6dq:/ # input keyevent 61
root@sabresd_6dq:/ # input keyevent 66
keyevent 61 means keyboard tab key
keyevent 66 means keyboard enter key
:smileymischief:
Thank you a lot ! houyong
Hello sameerarvikar,
On SabreSD board, Only USB OTG port can be used, the port can work with Device Mode or Host mode, if you are connencting mouse on the port, it means the USB OTG is working with Host mode, so at the time, you can't use adb to debug your application.
you will have to make it work with device mode if want to debug your application.
Best Regards,
Weidong
I got your point ,but how to click on yes when pop of allow device (some RSA check also) comes as soon as i connect usb cable
i got the same problem now, how about the ethernet port? we may control the device through teamviewer.