USB OTG Charge Hack in Kernel - Nvidia Tegra Note 7

Is this possible yet? I would like to have the Note 7 permanently plugged in to the charger while still retaining the ability to use USB devices (i.e. using an OTG Y cable).
Thanks.

I'm curious as well... since PS3 controllers won't work over BT, I have to plug mine in when gaming on my TV, but then I'm at the mercy of the battery. My other option is to use my Moga, but I prefer to leave that synced with my phone since I can dock the phone into it (plus the lag drives me a bit bonkers).

Just wanted to bump this thread in case the situation has changed -- does anyone know if this kernel hack is possible to allow simultaneous charge and USB OTG functionality on the Tegra Note 7?

Related

[Q] Pogo pins and OTG question [simultaneous charge & OTG?]

I'm wondering if anyone knows if it's possible to have simultaneous OTG & charging with the use of a pogo pin charger?
For instance, plug in a usb OTG into the main microUSB charging port, and use a pogo pin charger [either make one or buy when they are available], and have a flash drive, or hard drive plugged in, and charge at the same time with the pogo pin connector?
I used to have a Nexus 7, and via a custom kernel, and a OTG charging cable [basically a regular OTG with additional power wires & connector for charger]. But I think it would be simpler to use the pogo pin approach. The only thing I'm worried of however, the kernel might disable OTG while it charges via pogo, or perhaps disable charging while OTG is enabled. I guess in this case, we would need a modified kernel to achieve simultaneous OTG and charging.
Here is a link to one of the first Nexus 10 pogo charger cables and it makes this claim:
"You still can power Nexus 10 while the USB port is otherwise occupied for data uses. It is fun & convenient to have MagNector to free up the USB port and charge faster."
http://www.ebay.com/itm/MagNector-N...ader_Chargers_Sync_Cables&hash=item20ce4990a6
So if that statement is true than the answer to your question is Yes.
eBay item is no longer available..
However, I know how sellers often make unfounded claims like that. So while it's probably a good sign, I am not convinced it's true. If anyone is fortunate enough to have a pogo charger, could you test it out with a otg cable and let us know the results?
Or if you're a kernel hacker, maybe take a look at the kernel source code and tell me what you think?
Also if anyone has a link where I could read about pogo pins for the N10, I'd like to read it. I'm interested in trying to make one, if they don't make any low-cost ones in the near future.
:bump:
mvmacd said:
eBay item is no longer available..
However, I know how sellers often make unfounded claims like that. So while it's probably a good sign, I am not convinced it's true. If anyone is fortunate enough to have a pogo charger, could you test it out with a otg cable and let us know the results?
Or if you're a kernel hacker, maybe take a look at the kernel source code and tell me what you think?
Also if anyone has a link where I could read about pogo pins for the N10, I'd like to read it. I'm interested in trying to make one, if they don't make any low-cost ones in the near future.
Click to expand...
Click to collapse
The answer to the question is ye, you can charge and use otg. Btw, http://pogocable.com/ 20$ isn't a bad price...
lKBZl said:
The answer to the question is ye, you can charge and use otg. Btw, http://pogocable.com/ 20$ isn't a bad price...
Click to expand...
Click to collapse
Just wondering, have you actually tried it yet? I remember on the n7 it would disable pogo charging when you plugged in otg. I hope n10 is different.
Swiped from my Nexus 10 using xda-developers app
I got the pogo cable in today. I plugged the usb-otg cable into the Nexus 10 with a thumbdrive connected to it. Stickmount recognized the thumbdrive and I can read/write to it. I noticed that the battery runs down while the otg is plugged in though. Running Paranoidandroid 2.99 with whatever kernel comes with that.
bd177 said:
I got the pogo cable in today. I plugged the usb-otg cable into the Nexus 10 with a thumbdrive connected to it. Stickmount recognized the thumbdrive and I can read/write to it. I noticed that the battery runs down while the otg is plugged in though. Running Paranoidandroid 2.99 with whatever kernel comes with that.
Click to expand...
Click to collapse
Does it say "Charging (USB)" or "Charging (AC)" in Settings > Battery?
mvmacd said:
Does it say "Charging (USB)" or "Charging (AC)" in Settings > Battery?
Click to expand...
Click to collapse
It says "Charging (AC)"
I know it's not the original question, but it looks like that would be possible with a modified OTG USB cable. Sounds like you already have something similar.
I was thinking about this for using my n10 for larger video recording when away from wifi. Just need to hook a battery up to the OTG while its plugged into the thumb drive. It takes a charge off my laptop when connected via the otg usb, so it should work as well with the correct setup voltage/wiring .
I would also like to know the pin designation for the pogo plug. If you can do the same setup as the one above, with the pogo... There would be less chance of damage to the tablet on the go......
metaled222 said:
I know it's not the original question, but it looks like that would be possible with a modified OTG USB cable. Sounds like you already have something similar.
I was thinking about this for using my n10 for larger video recording when away from wifi. Just need to hook a battery up to the OTG while its plugged into the thumb drive. It takes a charge off my laptop when connected via the otg usb, so it should work as well with the correct setup voltage/wiring .
I would also like to know the pin designation for the pogo plug. If you can do the same setup as the one above, with the pogo... There would be less chance of damage to the tablet on the go......
Click to expand...
Click to collapse
I know a nonstandard OTG cable [a OTG charging cable, basically the same as a regular one, except it has female USB only connected to the charging pins] and a modded kernel allowed for simultaneous OTG + charge on the Nexus 7, but I'd rather not have to deal with that, as getting a separate pogo charger seems like a better option.
mvmacd said:
I know a nonstandard OTG cable [a OTG charging cable, basically the same as a regular one, except it has female USB only connected to the charging pins] and a modded kernel allowed for simultaneous OTG + charge on the Nexus 7, but I'd rather not have to deal with that, as getting a separate pogo charger seems like a better option.
Click to expand...
Click to collapse
It has to be a moded kernel to access the data in read/write mode? Nothing to do with charging, and correct?
What I was considering is a battery/usb hub combo. One that plugs into the micro usb port and the battery actually has a female usb port for the thumb drive (need root to write to the drive, but not to stream from it). Amazon carries lots of external batteries with micro usb connection and the female usb port.
I agree, the pogo would be much simpler and still allow data through the micro usb.
The pogo would be much better for portability for this type of use especially if it allows for faster charging. If no one has the pin layout, guess I'll wait to get mine and test them myself. 6 pins on the n10 itself so it's not a standard usb pin setup?
metaled222 said:
It has to be a moded kernel to access the data in read/write mode? Nothing to do with charging, and correct?
What I was considering is a battery/usb hub combo. One that plugs into the micro usb port and the battery actually has a female usb port for the thumb drive (need root to write to the drive, but not to stream from it). Amazon carries lots of external batteries with micro usb connection and the female usb port.
I agree, the pogo would be much simpler and still allow data through the micro usb.
The pogo would be much better for portability for this type of use especially if it allows for faster charging. If no one has the pin layout, guess I'll wait to get mine and test them myself. 6 pins on the n10 itself so it's not a standard usb pin setup?
Click to expand...
Click to collapse
No, on the Nexus 7, if you plug in a OTG cable [which basically grounds a certain pin, the only difference between micro OTG and micro to full size USB adapter], it disables charging through power pins, because it needs to send power to OTG device, for example, a flash drive. It needs +5V power.
So the kernel mod was to disable the output of power, so that it could instead receive power and charge, from the charger. [The charger also 100% powering the OTG device]
Even if you have an externally powered hard drive, it needs power to turn on, even if it uses a wall adapter for the actual power to run the device.
Here is the kernel I was talking about: http://mehrvarz.github.com/usb-host-mode-power-management-nexus7/
it was made by a rootzwiki user. some discussion here: http://forum.xda-developers.com/showthread.php?t=1934722
Check the images of the USB hub on the 1st link.
Just for the heck of it I plugged a USB cable connected to my PC into the Nexus 10 while the pogo was also connected. The Nexus 10 showed up on the PC as it normally does in the file explorer and I can transfer files back and forth as usual. I went to Settings -> Battery on the Nexus 10 and it showed "Charging AC". I then unplugged the pogo cable and the status changed to "Charging USB". Plugged the pogo back in and the status switched back to "Charging AC". Then to make sure the pogo was actually doing the charging, I watched 2 hours of Netflix with the screen set to full brightness. The battery went down only 2%, so I'm pretty sure the pogo was doing the charging.
Sv: [Q] Pogo pins and OTG question [simultaneous charge & OTG?]
Thanks for your test. However with Nexus 10 connected to pc it is not in otg/host mode. You need to connect for example an usb memory with a otg cable to test if charging work with host mode enabled. There seems to be some discussions going on claiming pogo charging is disabled in host mode on Nexus 10 as well. It would be really really stupid if that's the case and I can't for the world figure out how they could put this limitation in the kernel.
Skickat från min HTC Desire via Tapatalk 2
Johan1976 said:
Thanks for your test. However with Nexus 10 connected to pc it is not in otg/host mode. You need to connect for example an usb memory with a otg cable to test if charging work with host mode enabled. There seems to be some discussions going on claiming pogo charging is disabled in host mode on Nexus 10 as well. It would be really really stupid if that's the case and I can't for the world figure out how they could put this limitation in the kernel.
Skickat från min HTC Desire via Tapatalk 2
Click to expand...
Click to collapse
Yes I tried that and the pogo would not charge.
EDIT: I bought a couple of OTG Y-cables on ebay (1 male micro usb end, 1 female micro usb end and a female usb end) to play around with when I saw they had a fix for the Nexus 7. I tried one on my Nexus 7 (PA rom and Timur kernel), connecting the female usb to a powered usb hub that has 16gb sdhc card plugged into it. Then connected the female micro usb end to a spare micro usb charging cable and the other end of the charging cable to the usb hub. The male micro usb end gets connected to the Nexus 7. I fired up the Nexus 7 while in the Asus pogo dock I bought for it and it charges the Nexus 7 while also allowing the OTG connection. I tried the same setup with my Nexus 10 (PA Rom, Ktoonez kernel) and pogo cable and it worked. The Nexus 10 charges through the pogo cable while the OTG works also. With the usb hub I'm using with the Nexus 10, I had to plug the charging cable into a charger wall wart. I don't think the old hub was putting out enough power to power the usb device. I let them both run over a day like this. Ran some RomToolBox app backups on both them and they both are charging on the pogo pins while doing so. If you go to system settings -> battery it shows "Charging AC" on both.
The galaxy nexus already has a custom kernel that supports OTG + charging (via a y-cable):
http://forum.xda-developers.com/showthread.php?t=1835720
In that thread (and the link in the OP there) there are discussions about porting that kernel to the nexus 7. Also, this modified kernel is (currently) for 4.1.2. Unfortunately I am not smart enough to do this myself (especially we are now dealing with the pogo cable and the USB); I do hope to let everyone -- especially the developers! -- knows about the possibility in view of the gnex kernel.
Is this an issue only with Disk Media over OTG, or is it with anything (controllers, etc.) over OTG?
If anyone is interested read my edit a couple of posts up.
Sv: [Q] Pogo pins and OTG question [simultaneous charge & OTG?]
It says AC charging even though it's not actually charging. Confirm this with for example battery monitor widget.
Skickat från min HTC Desire via Tapatalk 2

USB OTG charging - Y cable > USB hub (DAC/Flash drive/etc.)

I'm partially building off this existing thread, however I'm sure that what I'm doing is a bit more specific:
http://forum.xda-developers.com/galaxy-tab-s/help/usb-otg-dac-hard-drive-time-t3074767
I'm planning an Android tablet in-dash car install, and wondering which one to use. Specifically, an ASUS Nexus 7 a Samsung Tab S 8.0/8.4 or a Samsung Tab A 7.0/10.0; the problem being whether the tablet can charge whilst being semi-permanently connected to a variety of USB devices as an OTG host.
The type of install is pretty common, and a few people have done this. I'm really not sure if they've surmounting the USB-OTG charging issue however. Anyway. The proposed setup is this:
3A 5V regulator for car ign. supply > USB OTG Y-cable
USB hub < USB OTG Y-cable > Tablet
USB hub > (USB DAC, SD card reader, Flash drive)
I'm aware of the issues with the Nexus 7's OTG charging problems which required the use of a specifically-written kernel, now somewhat old and obsolete. Has simultaneous OTG and charging become a common OS/hardware feature, or was it perhaps just an issue with the Nexus 7....? Am I missing a greater problem here? I'm cross-posting this with the forums related to the other tablets, so I'll try and keep up with feeding responses from both into the others so we're all on the same page.
Cheers!
I'm using a Nexus 7 in my car (best decision I've ever made :laugh and wanted to use a T585N (A6 10.1") in my second car. So I tried OTG and charging at the same time: It does NOT work .
I hope I find a solution for it.
I'm pretty certain that unless a kernel similar to Timur's on the N7-2013 is compiled that allows OTG and fast charging, we're stuck with what Samsung gifts us with. I'm genuinely unsure whether this is modifiable within the kernel for devices beyond the N7, or whether any developers even have an interest in integrating it.
You're probably right. We're stuck with it unless we can wirelessly charge and sidestep the USB port altogether....

Charging and simultaneous connectivity

I'm using Android Headunit Reloaded which uses a USB cable to connect between my phone and my 7" TabA. The tablet ends up charging the phone. I was wondering if there was a way to prevent this- or even better- to have a y-splitter OTG cable to charge the tab and one for the phone. I suppose this would require custom kernels?
Any ideas would be helpful. Thanks.

OTG and charging at the same time on YogaBook [YB1-X90F]Android?

I have a cable that works fine with my Shield tablet for this, connect a flash drive and power the tablet at the same time for instance, but not on this Lenovo.
Has this ability been disabled? and if is has, Is there a method to enable that in the software or is that hardware feature? I thought I recalled on previous stock roms on the Shield it could not do both but now it can.
Any insight is great, thanks.
It only works depending the charger... Doesn't with the included but with a 5V/3A Quick-Charge one...
your Shield has only 5200 mA compared to the 8500 mA the Yoga Book has...
jamespmi said:
It only works depending the charger... Doesn't with the included but with a 5V/3A Quick-Charge one...
your Shield has only 5200 mA compared to the 8500 mA the Yoga Book has...
Click to expand...
Click to collapse
I've tried a couple chargers now with no luck. The OTG cable will power the lenovo or let the USB device work, but it will not do both. I assume the one included with my Samsung S5 was a quick charge 2.0 as it was a main selling point of the phone at the time. Also I was pretty sure the Nvidia one was too? However neither of those will simultaneously charge and use a USB connected device. Again this same cable, OTG plus power, works just fine on the Nvidia tablet.
As with my Nvidia tablet I would plug in the charger, then cable from charger to OTG plus power cable, then plug into tablet. Tablet would show charging. Then connect whatever USB device I need. Tablet will show charging plus use or mount USB device.
Any ideas of what I am doing wrong? This isn't going to be something weird like the Yoga Book is wired different than every other device out there is it?
MarkAllen said:
I assume the one included with my Samsung S5 was a quick charge 2.0 as it was a main selling point of the phone at the time.
Any ideas of what I am doing wrong? This isn't going to be something weird like the Yoga Book is wired different than every other device out there is it?
Click to expand...
Click to collapse
Well I am using it with a cheap 3A/5V Amazon branded charger and it works just fine...
I can only guess, but it seams your external drives consumes more than the Lenovo Book needs to be able to charge... If I am not wrong the Yoga Book needs at least 2.4A
I have a MopowerTK36W-4USB charger. It has two 1.2A 5V and two 2.4A 5V. This charger works fine with my Shield tablet to charge it while still allowing me to plug in flash drives, a 2.5 SSD, or gamepad controller. On the Yoga Book however it simply will not charge it. The idea the charger is the sore point here is driving me nuts. Shield tablet will use it's charger, the Mopower, and the Yoga's charger without issue and allow for USB devices at the same time. The Yoga Book just will not work like it.
I guess I will eliminate this OTG plus power cable as the possible culprit next and order a couple different of those cables. I can't quite grasp this generic cable working on the Shield but not on the Yoga Book either. Anyway just isn't making sense to me unless the Yoga Book, again the YB1-X90F, simply cannot charge and use USB devices at the same time? But you have stated you are able to do this so I am scratching my head here.

USB OTG + Charging at the same time

Hi guys,
I intend to use an old s7 edge in car with a USB DAC (Mini USB DAC signstek audio -- PCM2704). I plug into the car.
Since this DAC requires a power source from the phone, it works and audio comes out, but now I have no way to charge the phone.
I am so confused with all these issues with cables and hubs. I saw Nexus 7 had a special timur usb host kernel rom or something...
What's the bottom line... how can I power the phone and the DAC at the same time and have the DAC plugged to the phone?
Are there roms I can use or special modifications whatever, what cable/hub? Please let me know.
I'm ready to root this phone and install a custom rom, but want to use it for this purpose
Instead just buy a cheap fast wireless charger.
a_ahmed said:
Hi guys,
I intend to use an old s7 edge in car with a USB DAC (Mini USB DAC signstek audio -- PCM2704). I plug into the car.
Since this DAC requires a power source from the phone, it works and audio comes out, but now I have no way to charge the phone.
I am so confused with all these issues with cables and hubs. I saw Nexus 7 had a special timur usb host kernel rom or something...
What's the bottom line... how can I power the phone and the DAC at the same time and have the DAC plugged to the phone?
Are there roms I can use or special modifications whatever, what cable/hub? Please let me know.
I'm ready to root this phone and install a custom rom, but want to use it for this purpose
Click to expand...
Click to collapse
It's either USB-OTG or charging, you can't have both as hardware limitation (and i don't think any phone has that capability), unless you wireless charge
then how do those guys with the nexus 7 charge and have a dac at the same time with a Y cable?
i have nexus 7 with Y cable, but it works on some rons with enabled charging. thats why usb cable had many pins

Categories

Resources