[INFO] OTG / USB Host - Oppo Find 5

Oppo says that the hardware doesn't support OTG/USB host at all
the platform (APQ8064 SoC) does. don't remember/know what USB chipset this device uses
device hardware documentation
Last time I traced the kernel, it looks like the USB device tree isn't loaded at all in the kernel, so no OTG support... wonder if other people have had time to look at it

paperWastage said:
Oppo says that the hardware doesn't support OTG/USB host at all
the platform (APQ8064 SoC) does. don't remember/know what USB chipset this device uses
device hardware documentation
Last time I traced the kernel, it looks like the USB device tree isn't loaded at all in the kernel, so no OTG support... wonder if other people have had time to look at it
Click to expand...
Click to collapse
Tried it on my CyanogenMod build, no reaction. It is possible that it acts like Nexus 4, aka. the phone doesn't power the USB upstream (even if I saw some references to that in the kernel...), so if you enable USB OTG support, you'd need to power your USB device externally.

XpLoDWilD said:
Tried it on my CyanogenMod build, no reaction. It is possible that it acts like Nexus 4, aka. the phone doesn't power the USB upstream (even if I saw some references to that in the kernel...), so if you enable USB OTG support, you'd need to power your USB device externally.
Click to expand...
Click to collapse
That seems to be a common issue for a lot of devices - The host SoC supports it, but they didn't bother to wire up the PMIC's boost converter.
There's a lot of code related to OTG in the kernel source, but I think it's all upstream CAF stuff. All of Oppo's changes to the USB drivers seem related to charging. (It's a little confusing, as there are a lot of functions with "otg" in the name that are doing lots of non-OTG-related stuff.)
I'm thinking of looking into adding/enabling ACA support for Nexus 4 (and maybe other devices too). There is an official standard for externally powered OTG adapters - they can even charge the phone! However 90% of the adapters on the market aren't compliant with this standard.

Entropy512 said:
That seems to be a common issue for a lot of devices - The host SoC supports it, but they didn't bother to wire up the PMIC's boost converter.
There's a lot of code related to OTG in the kernel source, but I think it's all upstream CAF stuff. All of Oppo's changes to the USB drivers seem related to charging. (It's a little confusing, as there are a lot of functions with "otg" in the name that are doing lots of non-OTG-related stuff.)
I'm thinking of looking into adding/enabling ACA support for Nexus 4 (and maybe other devices too). There is an official standard for externally powered OTG adapters - they can even charge the phone! However 90% of the adapters on the market aren't compliant with this standard.
Click to expand...
Click to collapse
Do basically we have no otg no matter what
Sent from my Oppo Find 5

osmosizzz said:
Do basically we have no otg no matter what
Sent from my Oppo Find 5
Click to expand...
Click to collapse
We don't know yet, but it looks like it'll only be possible for externally powered devices.

Ahh man...
So what you're saying is that dock thing with a usb port on it from Sony Ericsson might work but that's it?

Oppo product manager said they do not want to take the risk by adding OTG Find 5, I saw that post on Sina Weibo in China

has anyone tried stick mount from play store .....is it working? it requires root but

The device has basicly the same issue (missing 5V output) like the Nexus 4. With some modifications its at least possible to get a properly function with external powered usb devices.
Kernel is based on the work from Ziddey and Cyanogenmod Team:
http://www.oppoforums.com/threads/usb-otg-externally-powered-usb-otg.2083/

Does that mean that in order to get USB host to work you must power the device externally AND use a modified kernel?

Related

[Q] externally powered wifi adapter via otg for Backtrack

Greetings! I've been lurking on XDA for quite some time, and first I would like to give a big thank you to all the developers. I would never have purchased a Kindle Fire if I didn't have faith in your ability to unlock the hardware's true potential. You guys/gals rock.
Here's my question: I develop and troubleshoot municipal and commercial wired/wireless networks and I would really like to be able to use the KF with backtrack. I understand that OTG support under ICS is very close to being a reality, would it be possible to support an external wifi adapter via OTG?
Drawing power is the first problem that comes to mind, so my thought is to mod a USB OTG adapter to draw from an external DC source instead of the KF.
This could have some awesome potential if it could work. I'm willing to do whatever I can to make this happen, so if one of you veteran developers could set me on the right track to backtrack it would be greatly appreciated.
I'm no wifi/kernel expert but as far as i have understood it:
It should be possible if you get the right wifi modules to work. Android uses a modified wpa_supplicant, so even if you have linux wifi drivers for usb you would need to patch them to get it running. The current kernel does not have mac80211/cfg80211 modules compiled it, but i think that you probably would need them (i think they are in the kernel source, they are just not set yet). The current module for the tiwlan is proprietary and is also uses some strange ibCustomWifi as wrapper around WEXT, not sure if they also did some changes there.
If the 3.0 kernel boots we should anyhow change to a mac80211 wifi driver and also use wpa_supplicant 0.8 instead of 0.6 so your chances should be a lot better with the 3.0 kernel.
So it strongly depends if your external wifi adapter is very well supported for linux (or better for Android ....) und if we get otg running. (There might be some hidden problems to discover).
Sengwall,
There are several threads in the xda forums for similar projects on different devices that might be useful as the steps are basically the same (assuming that somebody gets OTG working). Here's one of them:
http://forum.xda-developers.com/showthread.php?t=1484339
Thanks for the input...ill look and see if there has been success on other devices with the same board.... great suggestion.

crazy testers needed

ok so I'm thinking of trying to get usb host mode working on x10
problem 1, the usb port in x10 does not provide power.to external devices...
i want some crazy tester to set.up a jig as mentioned here
http://forum.xda-developers.com/showthread.php?p=24618556
(just make the jig....do not.think about that kernel...that's a totally different phone)
next, the kernel.you have to.use.is this
http://forum.xda-developers.com/showthread.php?p=24217211
or, one.of.the two.kernels here
http://forum.xda-developers.com/showthread.php?p=24026342
(as per your ROM, select kernel)
next we.need a usb host controller app (sztupy has made.one)
so get that
if someone is ready to go through this.... please contact me
maybe we can get usb otg up and running on x10
Sent from my X10S using xda premium
Hey champ, just curious what the purpose of the jig is? If my understanding of a jig is correct, isn't it simply a 301ohm resistor between pins 4 and 5 in a USB connector? Usually used to put Samsung phones into download mode, I believe. I can see how I would need a usb OTG cable and a powered hub, but why the jig?
I hope that you're on to something here, USB host on the x10 would be incredible!
Sent from my X10 using Tapatalk
;24732035 said:
Hey champ, just curious what the purpose of the jig is? If my understanding of a jig is correct, isn't it simply a 301ohm resistor between pins 4 and 5 in a USB connector? Usually used to put Samsung phones into download mode, I believe. I can see how I would need a usb OTG cable and a powered hub, but why the jig?
I hope that you're on to something here, USB host on the x10 would be incredible!
Sent from my X10 using Tapatalk
Click to expand...
Click to collapse
actually yes....
we just need the otg cable and some way to provide power to the usb device....
rest my kernels i linked.to...I've complied them with host mode drivers enabled...
at the moment (for next 4-5 weeks) i do not have the time/energy/money/resources to set this hardware monkeying business....for that i need a volunteer.....
rest the kernel is up, and once device is connected, i can guide the person into mounting it too....
we just MIGHT do a big thing here
Sent from my X10S using xda premium
Hey champ, I did have a usb 4 port hub that used a power supply. Will something like this work?
Sent from my X10S using XDA
ToledoJab said:
Hey champ, I did have a usb 4 port hub that used a power supply. Will something like this work?
Sent from my X10S using XDA
Click to expand...
Click to collapse
yes maybe... see my fxp mod kernels have usb mode enabled...we have to try and see if it works
Sent from my X10S using xda premium
championswimmer said:
yes maybe... see my fxp mod kernels have usb mode enabled...we have to try and see if it works
Sent from my X10S using xda premium
Click to expand...
Click to collapse
I have not used fxp yet. Whats a good kernel & rom to test with.
Sent from my X10S using XDA
The circuit/adapter needed is rather simple:
It will let data pass through, and from an external source provide power to both the phone and the device.
I might be up to test this, but I have to gather some leftover parts from broken USB gadgets I have lying around.
Now where did I place that 5 volt power supply? * looks around*
I'll be back...
http://forum.xda-developers.com/showthread.php?t=923864
^^^ build your own hub.
get the hardware up guys, (I'm currently shifting homes, and all hardware related stuff cannot be found easily...lol)
I'll see what can be done about kernel and about mounting it..we might *just* be able to pull this off....
Sent from my X10S using xda premium
OmegaRED^ said:
http://forum.xda-developers.com/showthread.php?t=923864
^^^ build your own hub.
Click to expand...
Click to collapse
Wouldn't it be easier and cheaper just to buy a powered one? But it does remind me of how pissed off I was as a kid when I ordered a Sinclair ZX81 kit to build and the bloody idiots sent me an assembled unit instead at no additional charge. Useless.
TAL333 said:
Wouldn't it be easier and cheaper just to buy a powered one? But it does remind me of how pissed off I was as a kid when I ordered a Sinclair ZX81 kit to build and the bloody idiots sent me an assembled unit instead at no additional charge. Useless.
Click to expand...
Click to collapse
Usb connection needs to be modded to micro usb either way.
I had ZX81.. such a awesome toy and tool.
Hey all,
I have all the nessesary hardware - DIY battery powered hub module with PWM power.Works fine on some other devices, not on X10.
It is because I was making a lot of developing and experiments with otg mode on X10 (X10 schematics helped). I have also built kernel modules, loaded them succesfully, but nothing else - logcat or dmesg didnt see anything and no errors returned (stick,HDD,mouse,keyboard...).
So, i could be volunteer, because I am interested of it, and slso have hardware and software skills
BTW.: I am also very curious about new ideas in otg X10
HeliumX10 said:
Hey all,
I have all the nessesary hardware - DIY battery powered hub module with PWM power.Works fine on some other devices, not on X10.
It is because I was making a lot of developing and experiments with otg mode on X10 (X10 schematics helped). I have also built kernel modules, loaded them succesfully, but nothing else - logcat or dmesg didnt see anything and no errors returned (stick,HDD,mouse,keyboard...).
So, i could be volunteer, because I am interested of it, and slso have hardware and software skills
BTW.: I am also very curious about new ideas in otg X10
Click to expand...
Click to collapse
try using my v5 kCernel
(you'll have to use fxp cm7 rom along with it )
it has usb otg enabled in kernel
Sent from my X10S using xda premium
Ou... see that it requires unlocked bootloader
Sorry, is there any other solution how to get this kernel working? I. e. source code which can allow me to build locked bootloader kernel image?
And for your information, in kernel page (from your signature) version 5, link for wifi modules is dead , says file not found.
HeliumX10 said:
Ou... see that it requires unlocked bootloader
Sorry, is there any other solution how to get this kernel working? I. e. source code which can allow me to build locked bootloader kernel image?
And for your information, in kernel page (from your signature) version 5, link for wifi modules is dead , says file not found.
Click to expand...
Click to collapse
will try to build locked bl kernel for you...
for file download see my signature, there is dev host mirror and direct link both... (look inside x10 folder inside kernels)
Sent from my X10S using xda premium
championswimmer said:
will try to build locked bl kernel for you...
for file download see my signature, there is dev host mirror and direct link both... (look inside x10 folder inside kernels)
Sent from my X10S using xda premium
Click to expand...
Click to collapse
Anyway thanks for even try ! Good luck
(TX pressed )
I've been experminetning hoping i'd get anything to show up in the kernel logs when attempting to connect something to the port.
However, even if the chip itself does support this, I start to believe the circuit board simply isn't wired up to function in this way.
Now think about it: Why would SE put the extra circuitry in (even if themselves are rather primitive), if they never planned to include it in the first place?
What I've done so far:
Made a simple adapter based on a experiment board with two USB connectors, and a DC in jack that supplies both connectors with 5 volts, that charges the phone, provides the common ground and supplies the gadget one connects (In my case a simple USB flash memory)
I tested this adapter on another device that does support USB on the Go, or what it's called. It works.
Even if a kernel doesn't support the device itself, the log will show signs that an unknown device is connected, which is good enough for me, as confirms the hardware works.
Now onto the X10:
Tried the ROM FreeXperia FXP117, with the kernel from FXP115, as is. dmesg gives no result at all. Also tried flipping around the data + and -, no result. Device is charging, bu nothing else.
Tried the kCernels, from the link provided by the OP in the first post.
While I had trouble booting the device up completely (My own fault, has nothing tod with this thread), at least I was able to boot the kernel and was able to access the device from the debug bridge (adb shell).
Yet again no result. Nothing from dmesg, nothing on the flash memory that indicates kernel accessing it. (It flashes a few times initially when detected otherwise)
Questions:
Are we talking about a separate modified kernel module here?
If so I might have missed it.
Have I missed any importants steps? (loading the external modules for instance?)
EDIT:
Are now "screwing" around with some USB hubs, connectors and are also looking int othis S3C USB Host thing. I suspect that one is aspecial thing for samsung, and are not the same as other devices uses.
We might need another way to control the USB-mode in the X10 chipset, which I suspect is not a S3C based one.
I also suspect the device need a special chip in order to switch between host and device mode, and that chip also provides the "root hub" in question. I suspect the X10 lacks all those things, even if the chipset itself proviced support for it.
EDIT 2:
No success at all. I even tried to detect if there where any data exchange between the X10 and the hubs I've tried (Both straight and crossover on the data leads)
Nothing. There is no whatsoever activity at all going on between the devices.
With that. I'm pretty sure one need a special chip that wakes up the USB host mode in the chipset when certain circumstances are fulfilled. (Normally a chip integrated in the device itself, which the X10 lacks)
I'll place this little project of mine, on the shelf for the time being.
At least until someone can provide us with additional tips that can lead into forcing the X10 chipset into USB host mode.
To put this in simpler terms:
One cannot simply connect to devices to eachother. Nothing will happen.
Both devices will sit there, waiting for the other one to start speaking so either one can respond to the other.
That is how USB device and host mode works:
When a device is connected, the host will detect it and start speaking to it, asking questions the device have to respond to. The device itself will never start speaking, it will only listen, and only respond when asked.
Once this has happened, the data exchange between the device and the operating system can take its course.
The X10 is a device, it listens.
If we try to connect a device/gadget to it, that is not a host itself, it will also sit there listening.
In this situation, we have two or more devices that refuses to speak, as there are no host around to start the conversation.
What we nee to do here, is encourage the X10 to start speaking, by forcing it into host mode BEFORE we connect anything.
for SysGhost:
Same as I did before on doomlord kernels with same (no) results
If you want, i have X10i block diagram schemes. I have already researched them for many many days, but maybe you will find something else...
And one thing - have you loaded usb host kernel modules? Even if hardware supports it, but doesnt have its module, nothing will show up in kernel or system message bus Maybe you know it, maybe not....
HeliumX10 said:
for SysGhost:
Same as I did before on doomlord kernels with same (no) results
If you want, i have X10i block diagram schemes. I have already researched them for many many days, but maybe you will find something else...
And one thing - have you loaded usb host kernel modules? Even if hardware supports it, but doesnt have its module, nothing will show up in kernel or system message bus Maybe you know it, maybe not....
Click to expand...
Click to collapse
Any documents on the X10 would be helpful. If you got any, I'd gladly have a look.
SysGhost said:
Any documents on the X10 would be helpful. If you got any, I'd gladly have a look.
Click to expand...
Click to collapse
here there are
As I am uploading them here, i remember that I had found, that USB host cables are located (as in diagram) on the right side of the JTAG pins (under battery stick), because there is located an usb switcher (page 15).
But not sure about it - time to brainstorm

[Q] USB otg?

I don't remember in which topic i saw it, but i remember two members were talking about this. Is this really possible with kernel support? Or does it also need hardware support?
It needs hardware support for power, but it should work on our device. I am actually planning on creating a modified USB cable, data pins from device and power pins from external source. I will let ya know when I come up with something.
Blefish said:
It needs hardware support for power, but it should work on our device. I am actually planning on creating a modified USB cable, data pins from device and power pins from external source. I will let ya know when I come up with something.
Click to expand...
Click to collapse
So it's possible! I heard you are working on CM9 and you may be busy but exactly when you can start working on this? And about the modified cable, is it something like cable with batteries basically? Thanks
emre.yv said:
So it's possible! I heard you are working on CM9 and you may be busy but exactly when you can start working on this? And about the modified cable, is it something like cable with batteries basically? Thanks
Click to expand...
Click to collapse
It should be a Y cable, yes. I don't really know how the pins are connected but once I start working on it I'll seek it out.
Yes, I am working on CM9 and kernel. I have to get a stable CM9 up, then I can start working on those neat features .
U8850 OTG
Sorry to post in the U8800 area, but does anyone know if the U8850 hardware is capable of OTG USB - i want to use the phone to control stuff, and if the reply is positive, will drag down the kernel sources and make it so... but if we think the phone can't do it, then I'll go get another device....
Simon
btsimonh said:
Sorry to post in the U8800 area, but does anyone know if the U8850 hardware is capable of OTG USB - i want to use the phone to control stuff, and if the reply is positive, will drag down the kernel sources and make it so... but if we think the phone can't do it, then I'll go get another device....
Simon
Click to expand...
Click to collapse
I did not think U8800 is capable of USB OTG, but as you see, it is. It was only possible due to maintenance manuals, which showed which chips our phone has. I'd recommend you do the same. What I do know is, the U8860 has the same chip as U8800, so U8860 has the capabilities too, but not implemented.
Most of the times, the phone is capable of USB Host (with external power supply) and I ported it for our phone. But once I discovered we have a dedicated chip that can power USB, we went with full OTG support.
hi Blefish,
Got the manuals. u8850 has a msm8255 CPU; on qualcom website it does not quote OTG, but other sites seem to have OTG running on phones with 8255. I'm preparing to do a kernel build from Danile71's git tree, and will then look at your tree to see what you've added in /drivers/usb/otg and see what i can do.
Any hints appreciated .
Simon
btsimonh said:
hi Blefish,
Got the manuals. u8850 has a msm8255 CPU; on qualcom website it does not quote OTG, but other sites seem to have OTG running on phones with 8255. I'm preparing to do a kernel build from Danile71's git tree, and will then look at your tree to see what you've added in /drivers/usb/otg and see what i can do.
Any hints appreciated .
Simon
Click to expand...
Click to collapse
MSM8x55 is a good indication. In our case, U8800/U8860 both had the BQ24152 charger chip (both from same Snapdragon family), but there was a catch - it was controlled through GPIOS 149,150 as I2C. If you're browsing my kernel tree, you'll see that in drivers/usb/otg, I only added the switch. The switch makes the USB driver run as either host or peripheral, but it doesn't power the USB port (if you power USB externally, it will work). In my tree, the powering is done in board-u8800.c (vbus_power), which is directed to board-u8800-battery.c, which in turn notifies the BQ24152 driver, which sends the command.
If you need to browse U8800/U8860 maintenance manuals, check my #Mega (in Signature). It clearly shows U8860 has it, but for U8800, it only lists the BOM code. It would be perfect if U8850 manual would leak to the internet.
Blefish said:
It would be perfect if U8850 manual would leak to the internet.
Click to expand...
Click to collapse
it's not the best, but it's something:
(I can't post urls)
Google for "u8850_1_maintenance_manual"
Still trying to build a reliable kernel .
Blefish said:
MSM8x55 is a good indication. In our case, U8800/U8860 both had the BQ24152 charger chip (both from same Snapdragon family), but there was a catch - it was controlled through GPIOS 149,150 as I2C. If you're browsing my kernel tree, you'll see that in drivers/usb/otg, I only added the switch. The switch makes the USB driver run as either host or peripheral, but it doesn't power the USB port (if you power USB externally, it will work). In my tree, the powering is done in board-u8800.c (vbus_power), which is directed to board-u8800-battery.c, which in turn notifies the BQ24152 driver, which sends the command.
If you need to browse U8800/U8860 maintenance manuals, check my #Mega (in Signature). It clearly shows U8860 has it, but for U8800, it only lists the BOM code. It would be perfect if U8850 manual would leak to the internet.
Click to expand...
Click to collapse
hi blefish ı need your help for about self-powered otg
can you help me please??
here my thread in galaxy w device section
you can look for more info:
http://forum.xda-developers.com/showthread.php?t=2517011
with my best regards :good:

[Q] Usb Host: Ethernet Adapter (Driver Compile Requested For Money)

Greetings....
I am hoping to get my Asix Usb to Ethernet adapter working with my nook STG. I believe the only remaining requirement is to compile the drivers for it (which are android 2.x compatible according to the driver manufacturer website).
I am rooted and have 'usb host mode' successfully working.
When my adapter is plugged in, it displays as a 'connected device' in my Usb Host information app and shows the details; make/model etc - so its connected successfully.
It works plugnplay with my other droid devices, however in these devices there is an Asix driver folder in /sys/bus/usb/drivers and there is not in my Nook, thus I believe i simply need to compile the drivers which will create the Asix driver folder.
If you have the correct setup and can compile the drivers for me (and potentially other Nook users), i will exchange them for 10GPB or 10 of your currency, via your desired means.
I am slowly trying myself on an ubuntu vm in windows but can only use the pc for short periods due to eye troubles; hence trying to use a Nook as my sole computer.
INFO:
Device: Nook STG firmware 1.21 - kernel source file link = images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-2.tgz
Adapter Driver: Asix AX88772 - driver source file link = www.asix.com.tw/FrootAttach/driver/AX88772C_772B_772A_760_772_178_LINUX_Driver_v4.11.0_Source.tar.bz2
Adapter Info: BobjGear Adapter made for Android Tablets = www.amazon.co.uk/BobjGear-Ethernet-Exceptions-Description-Ultrabooks/dp/B007RTACDM
Other info: An XDA thread compiling the same drivers - http://forum.xda-developers.com/showthread.php?p=37548841
I don't know how to apply the drivers so I need to learn how to do so, I have ADB set up and have Noogie, CWM and NookManager .img also.
Any other info needed i will provide
Sam
Just a quick comment:
Host mode on the Nook currently uses a lot of power.
Something like >100mA in comparison to a usual 8 mA or so.
It's not been tracked down yet.
I can get you better figures for this later.
Presumably this is for some fixed install using hard-wired power?
Renate NST said:
Presumably this is for some fixed install using hard-wired power?
Click to expand...
Click to collapse
No I'm actually just using it as it is; no hardware mods.
I have not used usb host enough to know the drain speed but while plugged in to a live ethernet yesterday, it drained seemingly quick.
This isn't a preventative issue though; my need to access the web on the nook via ethernet (no wifi dizziness) is urgent.
If i had to recharge every 10 mins e.g, this would be extremely hindering but still necessary.
Hard wiring may be desirable (maybe not if it's permanent), i haven't read any posts on it thus far.
I do have a powered hub etc if applicable, i dont know if it can charge as well as hosting from the usb.
Sam
Yes, you can USB host and charge.
I'd recommend a back-powering hub.
That way, if you want to throw a USB keyboard on it too, you can.
See: http://forum.xda-developers.com/showpost.php?p=22956658&postcount=103
Great, i'll give it a try

[Q] Charging in USB-C OTG-host mode

Hi guys,
I am using a pass through-powered USB-C hub through which I am using external USB devices (keyboard and mouse), as well as a larger monitor for screen mirroring. This works reasonably well. However, the USB-C hub, while powering the external devices, does not charge the phone while it is in OTG host mode (which is needs to be in order for the external devices to work). This leads to the problem that the phone is slowly draining when external devices are used to play games, work on spreadsheets, or whatever. So, I was wondering why this is and found that OTG host mode charging seems to be restricted by the kernel. Very annoying!
Looking around I found that there are custom kernels for other phones that tackle this problem (examples here (OnePlus One) or here (for Xperia Z5 compact)). Which leads me tot he question: is there any known solution for this problem for the OnePlus5? Is there a custom kernel supporting charging in OTG host mode? Is there any other work-around that would allow me to power my device while using OTG?
Thanks!
PS: My device is rooted but is otherwise running on stock kernel and ROM.
Froschface said:
Hi guys,
I am using a pass through-powered USB-C hub through which I am using external USB devices (keyboard and mouse), as well as a larger monitor for screen mirroring. This works reasonably well. However, the USB-C hub, while powering the external devices, does not charge the phone while it is in OTG host mode (which is needs to be in order for the external devices to work). This leads to the problem that the phone is slowly draining when external devices are used to play games, work on spreadsheets, or whatever. So, I was wondering why this is and found that OTG host mode charging seems to be restricted by the kernel. Very annoying!
Looking around I found that there are custom kernels for other phones that tackle this problem (examples here (OnePlus One) or here (for Xperia Z5 compact)). Which leads me tot he question: is there any known solution for this problem for the OnePlus5? Is there a custom kernel supporting charging in OTG host mode? Is there any other work-around that would allow me to power my device while using OTG?
Thanks!
PS: My device is rooted but is otherwise running on stock kernel and ROM.
Click to expand...
Click to collapse
Nope and it won't, I have a thread in the themes and apps section about targus display docks as after much research I found that it is the only way to reliably mirror your screen in real time with no latency issues, with that being said there is no charging whilst this is in use, I wish there was but there isn't.
It's possible I suppose that power could flow both ways but after all the time that I've spent looking, I'm yet to find it.
I've tried over 10 docks, splitters, dual output cables. Devices with power input, none have charged the device.
I think the nature of the way display link works it just doesn't allow it.
dladz said:
Nope and it won't, I have a thread in the themes and apps section about targus display docks as after much research I found that it is the only way to reliably mirror your screen in real time with no latency issues, with that being said there is no charging whilst this is in use, I wish there was but there isn't.
Click to expand...
Click to collapse
Yeah, I saw your thread. In fact, I was just about to post in there another - much cheaper - device I'm using for reliable mirroring.
Edit: actually I posted it in the 'usb-c to HDMI adapter'-thread, in which you were also quite active.
dladz said:
It's possible I suppose that power could flow both ways but after all the time that I've spent looking, I'm yet to find it.
I've tried over 10 docks, splitters, dual output cables. Devices with power input, none have charged the device.
I think the nature of the way display link works it just doesn't allow it.
Click to expand...
Click to collapse
Yeah, it is definitely possible (see the threads I've linked). But it depends the kernel allowing it, from what I understand. Anyways, if nobody has come up with a kernel allowing for it, then it won't happen I guess.
Froschface said:
Yeah, I saw your thread. In fact, I was just about to post in there another - much cheaper - device I'm using for reliable mirroring.
Edit: actually I posted it in the 'usb-c to HDMI adapter'-thread, in which you were also quite active.
Yeah, it is definitely possible (see the threads I've linked). But it depends the kernel allowing it, from what I understand. Anyways, if nobody has come up with a kernel allowing for it, then it won't happen I guess.
Click to expand...
Click to collapse
With displaylink technology it's not possible.. with previous hardware ie the HTC 10 it was but only with standard usb to hdmi converters, displaylink doesn't allow it.
In regards to usb OTG cables, I've never tried.
dladz said:
With displaylink technology it's not possible.. with previous hardware ie the HTC 10 it was but only with standard usb to hdmi converters, displaylink doesn't allow it.
In regards to usb OTG cables, I've never tried.
Click to expand...
Click to collapse
Oh.. so then there is a second limitation based on DisplayLink. Aside of the kernel.
Well. Luckily the OP5 has great battery life. A few hours of activity is no problem. Especially since I run everything through a USB-hub with its own power source anyway.
Froschface said:
Oh.. so then there is a second limitation based on DisplayLink. Aside of the kernel.
Well. Luckily the OP5 has great battery life. A few hours of activity is no problem. Especially since I run everything through a USB-hub with its own power source anyway.
Click to expand...
Click to collapse
From my tests I've found the hub being powered makes no difference to the drain of the battery on the phone..
The OnePlus has got amazing battery life, definitely something I need in my life for my next device..
In regards to charging whilst using a displaylink honestly my comment is based on the testing of around 20 different devices and none of them allow charging, if it exists I personally haven't come across it.
A shame but not the end of the world..
Lava - Simulcharge
For what it's worth, I had a difficult time finding a device which supports simultaneous host charging as well. As it turns out, there is a device called the Simulcharge from Lava Computer that works quite well on Samsung tablets. I'm not sure if it will work with other Android devices: (unable to post link - search amazon).
It's a bit expensive but it works great!
Is there a cheap displaylink that works with the OP5 that also has a USB port for peripherals?
Sorry to revive this thread from the dead, but I'm also looking for a way to connect both charger + USB-OTG at the same time. I have a USB C hub that's capable of that, it works perfectly fine on my Oneplus 7. However on the OP5 it's either OTG or charging.
Did you ever found a way?
XlAfbk said:
Sorry to revive this thread from the dead, but I'm also looking for a way to connect both charger + USB-OTG at the same time. I have a USB C hub that's capable of that, it works perfectly fine on my Oneplus 7. However on the OP5 it's either OTG or charging.
Did you ever found a way?
Click to expand...
Click to collapse
Hi ! I have a custom app specifically developped for OP6 and have the issue you have on OP5 : otg OR charching. I have seen Krieg Kernel enables it on OP5. Have you tried it ?
I'm looking for some Kernel for OP6 but nothing seems to answer my need....
romanarteefact said:
Hi ! I have a custom app specifically developped for OP6 and have the issue you have on OP5 : otg OR charching. I have seen Krieg Kernel enables it on OP5. Have you tried it ?
I'm looking for some Kernel for OP6 but nothing seems to answer my need....
Click to expand...
Click to collapse
Hi! I am looking for exactly the same thing for OP6. Hope there's something now
Froschface said:
Hi guys,
I am using a pass through-powered USB-C hub through which I am using external USB devices (keyboard and mouse), as well as a larger monitor for screen mirroring. This works reasonably well. However, the USB-C hub, while powering the external devices, does not charge the phone while it is in OTG host mode (which is needs to be in order for the external devices to work). This leads to the problem that the phone is slowly draining when external devices are used to play games, work on spreadsheets, or whatever. So, I was wondering why this is and found that OTG host mode charging seems to be restricted by the kernel. Very annoying!
Looking around I found that there are custom kernels for other phones that tackle this problem (examples here (OnePlus One) or here (for Xperia Z5 compact)). Which leads me tot he question: is there any known solution for this problem for the OnePlus5? Is there a custom kernel supporting charging in OTG host mode? Is there any other work-around that would allow me to power my device while using OTG?
Thanks!
PS: My device is rooted but is otherwise running on stock kernel and ROM.
Click to expand...
Click to collapse
Did you ever find a solution to OTG plus charge, perhaps via a different ROM? Thanks.

Categories

Resources