1
0
mirror of https://github.com/mik3y/usb-serial-for-android synced 2025-09-09 08:57:37 +00:00

device not recognized if no OTG adapter

kai-morich 2021-10-11 21:39:27 +02:00
parent 0aac3a19d2
commit d0bb8b91a9

@ -2,11 +2,9 @@ This is a collection of FAQ-style troubleshooting tips.
== My USB device is not recognized ==
Check with an App that uses this library and shows all USB devices, e.g. [https://play.google.com/store/apps/details?id=de.kai_morich.serial_usb_terminal Serial USB Terminal].
The ''Serial Example'' app in this project is not sufficient, as it does not show devices where no driver is detected.
Connecting an USB device with just an USB cable will not work. You have to attach an [https://en.wikipedia.org/wiki/USB_On-The-Go OTG adapter] to your Android device to switch it into host mode. This adapter typically provides an USB A socket, where you attach a standard USB cable.
If still no USB device is shown, check the web for [https://developer.android.com/guide/topics/connectivity/usb/host.html USB Host Mode] aka. [https://en.wikipedia.org/wiki/USB_On-The-Go USB OTG] support for your Android device.
Missing support is more likely for older devices.
Check with an App like ''Serial Example'' in this project, if your device is shown. If no USB device is shown, check the web for [https://developer.android.com/guide/topics/connectivity/usb/host.html USB Host Mode] aka. [https://en.wikipedia.org/wiki/USB_On-The-Go USB OTG] support for your Android device. Missing support is more likely for older devices.
For an incomplete list of Android devices with known issues look [[Compatible-Android-Devices|here]].
@ -67,7 +65,7 @@ The bug recommends to add <code>android:directBootAware="true"</code> to your ac
|-
|}
(*) Some android devices do not show USB devices that were connected over reboot, so you have to reconnect them anyway.
(*) Some android devices do not show USB devices that were connected during reboot, so you have to reconnect them anyway.
== Can I open multiple connections in one application? ==