mirror of
https://github.com/mik3y/usb-serial-for-android
synced 2025-06-10 17:36:21 +00:00
OTG + power supply
parent
38e2a23077
commit
99b0dbd125
@ -1,12 +1,22 @@
|
|||||||
This is a collection of FAQ-style troubleshooting tips.
|
This is a collection of FAQ-style troubleshooting tips.
|
||||||
|
|
||||||
== My USB device is not recognized ==
|
== Do I need an OTG adapter? ==
|
||||||
|
|
||||||
|
=== Android device and serial device with USB-C connector ===
|
||||||
|
|
||||||
|
No OTG adapter is required if the serial device correctly implements USB-C. Typically the the CC pins are connected to GND with 5,1 kΩ resistors each, to mark the device as USB peripheral.
|
||||||
|
|
||||||
|
=== Other connector combinations ===
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
== My USB device is not recognized ==
|
||||||
|
|
||||||
|
Check OTG adapter as discussed in previous question.
|
||||||
|
|
||||||
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.
|
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]].
|
For an incomplete list of older Android devices with known issues look [[Compatible-Android-Devices|here]].
|
||||||
|
|
||||||
|
|
||||||
== My USB device is recognized, but no driver is detected ==
|
== My USB device is recognized, but no driver is detected ==
|
||||||
@ -35,6 +45,9 @@ Not all drivers / devices support non-standard baud rates. See [[FAQ#Feature Mat
|
|||||||
|
|
||||||
Most Arduinos with CDC-ACM driver use the DTR line to determine serial channel readiness. In your Android code, call <code>setDTR(true);</code>
|
Most Arduinos with CDC-ACM driver use the DTR line to determine serial channel readiness. In your Android code, call <code>setDTR(true);</code>
|
||||||
|
|
||||||
|
== Can my Android device be powered by the external device? ==
|
||||||
|
|
||||||
|
Typically communication and power supply cannot be combined. Might be possible with USB-C and USB PD implemented in the serial device, but typical USB-C serial serial devices only use simple 5,1 kΩ resistors to GND.
|
||||||
|
|
||||||
== How do I access <code>/dev/ttyUSB0</code>? ==
|
== How do I access <code>/dev/ttyUSB0</code>? ==
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user