I've got a D800 LG G2, and I'm having issues with some USB OTG features.
I have a generic USB OTG cable (just USB, no Y connector for power), and up until a month or so ago, it was working perfectly fine.
I was able to use USB flash drives, USB keyboard/mice, my wireless USB headset, my USB mic (Blue Snowball), and my USB wireless Xbox 360 controller receiver.
However, about a month ago, I tried to use a few USB devices, and it was not working properly.
This is what works now:
USB Audio (headset, and microphone) However, my headset's built-in buttons and volume wheel, which previously worked (for pause, and volume), now only act as "select", activating whichever option/app/icon is selected on the screen (almost like a keyboard would)
USB Flash drives somewhat work. I can see the files, but only with ES File Explorer, but it treats it as read-only. I have tried multiple drives.
USB Keyboard/mouse work as normal
My 360 controller does not work at all, but the receiver powers up and the controller appears to sync to it.
OTG Troubleshooter, from the Play Store, shows "USB Host Support" and "Hub USB Device Detected in Android" checked, but shows "No USB Device Detected in Linux"
This does not change regardless of what device I plug in.
Information about my device:
LG G2 D800
Stock Android 5.0.2 (Rooted), ver. D80030f
Kernel Version: Dorimanx 3.4.112 V11.1-LG-D800-PWR-Core+
Dorimanx Profile is set to Performance, CPU max speed set to 2572MHz
Nothing is overheating
I have not tried a whole lot to fix this; I couldn't find much information, and I'm not sure where to start with troubleshooting OTG.
Related
Me and few other people still asking about OTG capabilities so lets make combined thread for all.
What I figured out for now.
First of all RAZR i does not support OTG itself cause has no power on micro USB port so You need more than regular USB OTG cable.
You need minimum 1A powered USB HUB which means just buy regular 3/4/8 ports USB HUB but with 1A (can be 2A too) AC adapter.
So connection should looks like:
RAZRi -> OTG Cable -> USB Powered HUB -> USB Device
It's simple part. Lest make something harder.
List of devices which I tested:
USB HUB
KitKat should bring more OTG capabilitiesfor us so to prepare for that I bought new USB HUB with built in OTG support.
It the same like THIS one and it's dedicated for Samsung S3, S4 etc.
Hub is made not so bad, it has built in OTG support so no need other adapters and it has power connector.
To use this HUB You need to connect it to DC 5V/1A with 1,35/3,5 to USB cable. I used this cable and regular Moto wall charger. You can also use power bank as power for more mobility.
All my USB devices working fine under this HUB so I can recommend this for RAZRi.
Mouses and Keyboards
RAZRi has no problems to detect and handle with most of mouses and keyboards. No modifications are needed. Just Plug & Play.
USB Drives (Pendrives, HDD's etc)
Unfortunately none of them are working. Phone detects devices in some apps but drives are not detected as drives, just devices and they can't be mounted. I think without any kernel modifications drives can't be mounted. Apps to mount drives can't handle with it too.
USB Audio Devices / DAC
Unfortunately I have only 2 devices like that. Sound Blaster Surround 5.1 USB and Logitech Stereo USB Speakers.
Both tested with USB Audio Tester ROOT.
Creative is correctly detected but there is no sound on every setting.
Logitech USB speakers are detected correctly too but I was able to make it works but only to hear sound from internal microphone. No way to hear music or any sound from phone.
I tested SoundAbout Pro tp force playing from USB host but it failed. I don't know any other app can make it. Also I'm really noob at Linux so I have no idea what to modify in Alsa driver to redirect sound on USB audio device.
USB Game Controllers / PAD
I have only wireless XBOX360 pad so can be hard to make it work but heard somewhere that can be possible. In few days i'll check what can be done with it.
Tested with Logitech Cordless Rumblepad 2, working like a charm without any mods. OFC You need to use button mapper or any similar app cause after connect pad is working like mouse but after remap we have fully working cordless pad.
USB Network Adapters
At this moment I tested only cheap RJ45 to USB adapter but it doesn't work. Strange cause activity led on adapter is blinking sometimes and it stops when phone is off but nothing except this.
Any other news, suggestions, tests of working devices are welcome.
Network adapters updated.
Wysłane z Motorola RAZR i.
You need to mod the kernel to add usbstorage like the samsung S3 and the framework apk i think, maybe some hardcore developers can help on it.
xbox 360 controller is detected as device but is not working something is missing cuz i added the keylayout for the device and is not working. but you can remap any keyboard keylayout to work as joystic XD.
Updated GamePads section.
USB HUB with OTG added.
Very nice, I tryed, and it works like a charm. I could use a keyboard and mouse runing Ubuntu 15.10 on CHROOT
I use LG G2 D802 in Turkey.
Stock Rom with root access . I bought OTG cable for my phone (cheap one) and try to use it.
I used with USB Stick drive and microsoft basic wireless mouses.
But with the Logitech mouses and External Disk Dirves not work with this cable.
When I pluged the Logitech Mouses It seem mouse and keybord added to phone but any cursos appear. I wait a lot and restart the phone but not worked. I use Logitech Anywhere MX and M510 both didnot work.
Also When I plug 3.5"(with power supply) and 2.5(data usb to phone and other power usb to computer also didnot work. Only USB stickes work for OTG.
My brothers samsung S2(stock rom JB 4.1 with no root access) works with logitech mouses with same OTG cable.
up
any solution ?
Hi everyone,
I was developing a tablet application for controlling a circuit but now i stuck here somewhere.. there are a few options that i think about what to do after this stage. I need 2 usb ports , one for a usb serial converter (namely pl-2303) and other one is a standart flash drive. I tried to use a hub connected to an OTG cable with no luck. When i plug only one of my devices to OTG port they all work but when i plug 2 of them to hub system freeze or doesn't mount my flash drive. I tried 3 different hubs they are not working. Sometimes i made this setup running with an sd card reader instead of flash and a digitus converter instead of pl-2303. Then i though this can be an issue with the USB 1.1 - 2.0 specifications because pl-2303 is a USB 1.1 device and the rest is 2.0.
After i realize the realtek wifi module in the tablet is also mounted to a USB port i removed the module to check if i can connect one of my devices to that port. But as usual the wifi driver of the system is controlling this port , so when i try to power up the port, system checks if it can find the realtek module and when it cant detect realtek wireless module just shuts down the port back. While this happens i can see my device is connected to system for a few seconds before the driver shut it down.
So this is the all story. I just need this 2 device to work together. I am waiting for your opinions
The tablet is a ATM 7021 processor based cheap tablet.
Thanks in advance.
Hi guys,
due to a the touchscreen no loger working I need to connect my Moto X Style simultaneusy to:
My Windows PC (ADB)
External keyboard (OTG)
So I basically need two USB input (one for PC, one for the keyboard) and one microUSB out to the phone.
I found this:
Before I pull the trigger, I'd like to know: will it work? I'm hesitant because I already tried with a "self-powered desktop USB hub" connected to a simple OTG cable and it didn't work (the keyboard work, but the PC doesn't see the phone).
Thanks!
Well, I connected a wireless keyboard with touchpad with the OTG cable and it worked both things, I don't know if your mouse and keyboard are wired and if they draw too much power to the phone, I connected once a portable HDD via otg and it worked, but for a minute or two, it drawed too much power...
I don't think you can have two usb host devices connected to each other (the phone and the pc). if it was a keyboard and mouse that would work.
Hi,
So I'm developing an app to communicate over serial with a HID and testing on the g6 is proving troublesome.
The scene:
-Hid/USB Permissions granted
-Device filter correct and working as intended
-Goal is to send a string over serial.
Allthough I'm 100% sure my test code is correct, the app cannot open a serial port.
Is it normal behaviour in recent versions of android for the device to recognise an otg cable as a power source? Even with no other device connected? Are there any known issues opening serial ports on the g6? (7.0)
The cable works as intended when I plug a mouse or keyboard in but refuses to open a serial connection when my takget device is plugged in. It recognises it as a HID an can pull the serial number etc.
The android serial library should not require root or any other hackery So I'm a bit confused. I've ordered a few other otg adapters just in case.
Anyone who knows what might be going on pleas pitch in.
I've had some issues getting a serial adaptor working as well. I'm on 870DS. Originally tried the wired version of this:
https://forum.xda-developers.com/an...odemu-connect-android-to-30pin-t3234840/page1
Thank God the developer changed to Bluetooth. I tried about 6 different otg cables. Worked fine on other non usb-c phones.
I suspect it is the adapter too...sucks so bad. The annoying thing is that I was so confident in android serial that I wrote a lot of code before I bothered testing the concept lol.
Does your OTG work on memory sticks OK? I have a G6 h870ds. My OTG only works for me with USB3 OTG adapters and USB3 memory sticks. I don't have a USB3 HID device to try. I now have a large collection of different OTG adapters and memory sticks. I opened up some of the adapters to buzz them through to make sure they were made correctly. They were! It took a while for the penny to drop why some things worked and some didn't!
I cant use USB2 OTG adapters or USB2 memory sticks, keyboards or cameras. Initial connection of the USB2 OTG adapter is recognized but no connected devices are detected. I used an app called USB Device Info that can give me details of detected devices and only USB3 devices are ever detected.
I have a USB2 memory stick with an LED on it. When it is first connected to the OTG cable it flashes in a way that leads me to think it is trying to reply to USB bus interrogation but something (probably software) fails. The phone connects to my USB2 PC port just fine so I don't think the hardware is at fault. I've reset the phone and upgraded to Oreo too but alas that didn't help.
A friend of mine has a G6 H870S and all my adapters and memory stick combinations work fine on his phone so I find myself wondering if I'm just unlucky or whether the dual sim version is subtly different in some way.
I fully admit I know nothing about the inner workings of USB but as far as I can determine USB3 uses all of the USB2 connections and the additional connections only available on a USB3 port so the hardware should be OK. I'm guessing most HID devices are USB2 but if its a USB3 could you possible have a related problem but in reverse?
Every time I plug in any USB OTG adapter I get that same pop up screen that defaults to select as "power supply" even with no device connected whatever I have previously chosen.
What works for me is to plug in the OTG adapter, and only then plug in the memory stick to it. Otherwise I get the "Power supply" thing too.
Arak0n said:
What works for me is to plug in the OTG adapter, and only then plug in the memory stick to it. Otherwise I get the "Power supply" thing too.
Click to expand...
Click to collapse
Leaving just the OTG adapter connected for a few seconds then attaching the usb device does not help. USB2 devices are never detected but all my various USB3 memory sticks work reliably when using a USB3 spec adapter. I've given up worrying about it now and accepted that there is just something a bit iffy about my G6.