USB OTG charging - Y cable > USB hub (DAC/Flash drive/etc.) - Samsung Galaxy Tab A series Questions & Answers

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....

Related

USB Periphery Device Input for the Xoom (e.g. Audio input, etc.)

Hi all,
I think it's safe to say we all hate the 30 pin proprietary connectors on devices like the ipad.
My only concern is, how capable will the USB port on the xoom be. My immediate requirement would be Audio-in. Do you think I may EVENTUALLY be able to connect a USB-based audio interface (for example: the Griffin iMIC ), once USB support on xoom improves?
Also, would USB hubs allow for expanding the number of devices?
I'm already disappointed that we can't charge over USB. I hope it can deliver more than just USB thumb drive access.

[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 Charge Hack in Kernel

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?

USB-C hub not working

Hello fellow OnePlus 5 owners,
One of the features I was looking forward to the most on my new phone is USB-C, since I always hated that to use any USB device on my previous phone I had to drain my battery. I purchased the Ableconn USBC-4APD USB-C hub from Amazon with pass-through power but I am having problems.
When I try to connect the hub, the phone only recognizes power and shows it's charging less than one in a dozen times, and if I then try to connect any USB device (USB flash drive, keyboard) the LED's on the peripheral just flash once and nothing else happens.
I have tried the same flash drive and keyboard with a regular OTG cable and they work fine. I had a co-worker with a Pixel phone try the hub and it passed through power every time (I did not have a flash drive along to test), it also works as a hub on my laptop (did not try passing through power on that).
My question is, has anyone else tried a USB-C hub, and did it work? Is there something wrong with the OnePlus 5 (hardware/software) in general or something wrong with mine in particular, or is there something wrong with the hub?
I'd appreciate any help in figuring this out.
Is the USB-C cable from the OP5 to the hub an USB-C OTG cable? If not, I suspect that is your issue especially as you indicated the OP5 is recognizing the input to be at least a trickle charge. To my understanding any data access and it would be restricted to read only, requires an OTG cable and the OOS OTG setting to be toggled to on (Settings->Advanced->OTG storage). If you gave TWRP recovery installed you can also check the OTG capability by mounting OTG in the Mount menu as a test access alternative to within OOS.
3DSammy said:
Is the USB-C cable from the OP5 to the hub an USB-C OTG cable? If not, I suspect that is your issue especially as you indicated the OP5 is recognizing the input to be at least a trickle charge. To my understanding any data access and it would be restricted to read only, requires an OTG cable and the OOS OTG setting to be toggled to on (Settings->Advanced->OTG storage). If you gave TWRP recovery installed you can also check the OTG capability by mounting OTG in the Mount menu as a test access alternative to within OOS.
Click to expand...
Click to collapse
You misunderstand, the USB-C hub does not require a cable to interface with the phone since it has a USB-C cable attached. I didn't indicate that it at least trickle charges, I said that it rarely recognizes getting charged, as in there is no charging indicator on my phone most of the time.
The OTG setting for storage was enabled, however based on you mentioning the switch I disabled it, and it actually detects power every time I plug the hub in to it with OTG storage set to off. This gives me hope that it's a software issue and can be fixed with either patches in the future, or more likely a custom ROM. I was planning on installing TWRP once Lineage OS is available, but I may try it sooner just to give this a try.
Thank you for the reply!

OTG cable for Fire HD 8 that DOES support charging ?

I got a Fire HD 8 tablet with Carplaylink to get Apple CarPlay working in an old car I use. I need a USB OTG cable that DOES support charging an Android tablet.
I did a 20-30 minute search myself and all the USB OTG cables I’ve seen openly stated that charging for Android tablets and phones are not supported.
Any suggestions ?
ahmadka said:
I got a Fire HD 8 tablet with Carplaylink to get Apple CarPlay working in an old car I use. I need a USB OTG cable that DOES support charging an Android tablet.
I did a 20-30 minute search myself and all the USB OTG cables I’ve seen openly stated that charging for Android tablets and phones are not supported.
Any suggestions ?
Click to expand...
Click to collapse
Can you use an USB-OTG while charging. Can you find a charging contact point with VCHG, open your Fire tablet, find VCHG contact point and measure the VCHG contact point using the voltmeter.
The USB-OTG with microUSB port input can be used for Fire TV Stick.
I had one cable that did exactly this a few years ago and I for the life of me don't know what happened to it. now when it comes to OTG you should just have a separate piece of the cable splitting off that you would plug into the wall yeah and the rest of the wiring would make its way where it needs to. now here's where the tricky part comes in terms of whether a device supports charging through USB OTG. I know the fire tablets support this because you may not be using adb or OTG for any particular reason, and your tablet will charge whatever it is plugged into with that cable. If the OTG cable is built properly then theoretically it should charge your tablet as well. But really good and decent cables are hard to come by, that aren't really expensive. however when it comes to something like this I would stay closer to a name brand because you can get ripped off pretty easily even if you read the fine print and find out that it doesn't do what it says. There are no real big laws or regulations behind the cheap charger and wire industry, so you pretty much get what you pay for. It's just a matter of finding the right one.

Categories

Resources