[Q] USB OTG + pogo charging - Nexus 10 Q&A, Help & Troubleshooting

I've seen this question pop up a while ago but it doesn't appear to have been solved. Someone mentioned that the KTManta kernal might have solved this but I couldn't find that answered anywhere in that thread (here). I am using the USB OTG cable to control an IR Droid USB transmitter in a permanent kiosk installation and I need the pogo connector to supply power so this can run 24/7.
Any help is much appreciated!
UPDATE:
Wooo!!! Just thought I'd give the kernel a shot and see what happens... it works! I have a separate USB voltage meter that confirms, as well as seeing the battery % increase while being used, and my IR Droid is also working.
Just install the above mentioned kernel, plug in the USB Y OTG cable into tablet, external power supply to the male USB end of Y adapter, and external device (mine being the IR Droid device) to female USB end. Plug second power supply (I used the 2.4a (12w) iPad charger) into pogo connector. Win.
Ktoonsez, your next few beers are on me, good sir!!

UPDATE: The latest KTManta kernel (04-06-2014) breaks root (SuperSU) with the stock rom. In my case that is v4.4.4 so I've had to revert to my nandroid backup. The issue has been known for a long while but it seems the dev is prioritizing his kernel on other devices. Obviously this means I'll not be testing any time soon.
Interesting, I've wanted this solution for a long time as I use an USB Ethernet adapter from a room with poor WiFi reception. I'll see if it makes any difference if the OTG USB device is attached to a powered USB hub or not and report back.
Sent from my Nexus 10 using XDA Premium HD app

3DSammy said:
UPDATE: The latest KTManta kernel (04-06-2014) breaks root (SuperSU) with the stock rom. In my case that is v4.4.4 so I've had to revert to my nandroid backup. The issue has been known for a long while but it seems the dev is prioritizing his kernel on other devices. Obviously this means I'll not be testing any time soon.
Interesting, I've wanted this solution for a long time as I use an USB Ethernet adapter from a room with poor WiFi reception. I'll see if it makes any difference if the OTG USB device is attached to a powered USB hub or not and report back.
Sent from my Nexus 10 using XDA Premium HD app
Click to expand...
Click to collapse
Oh man, I wish I knew about it breaking root before installing!! I was wondering why it was saying I wasn't rooted... Is there a way to fix root while on this kernel?
I'm having some issues with the tablets now that I didn't have before - the most basic seems that it won't boot (won't even start the Google logo) if I have both OTG device and Pogo connected at same time when the tablet is off. I did solder my own right angle tip onto the OTG Y cable though, so I may have messed something up... I'm going to be doing some more testing over the next couple days and I'll keep this up to date.

"Is there a way to fix root while on this kernel?"
The root issue with KTManta's latest release is specifically with the stock ROM from what I've read in the N10 KTManta thread. So it would seem that installing a non-stock ROM then installing the KTManta kernel would be the only way to get this kernel and root. I'm unwilling to do that for this single feature. There were comments that root was still working on an older KTManta release which if I can remember is from Dec 2013. I've no idea if that release has the charging features you see with the latest release.
If you go the custom ROM route then read the KTManta thread to find out which custom ROM's are working. Don't quote me but I thought the OMNI ROM was one that worked, please confirm that for yourself.
From my experience stock with the XPosed framework is more stable than any custom ROM and I've tried many.
Sent from my Nexus 10 using XDA Premium HD app

So there were a few other issues that I found out while testing...
If you have USB plugged in, then reboot, the tablet freezes while trying to boot. It doesn't even get to the loading screen.
It seems a bit buggy as to when it wants to work and when it doesn't, and all the while the tablet says that it's charging so it is hard to test, but I was using a USB volt meter to see if the pogo was actually taking power or not.

The next thing I want to test is using a powered USB hub, instead of a Y cable. Has anybody done this successfully? Does it need the modified kernel? Does it ACTUALLY charge, or just say that it is?

SupremeTaco said:
The next thing I want to test is using a powered USB hub, instead of a Y cable. Has anybody done this successfully? Does it need the modified kernel? Does it ACTUALLY charge, or just say that it is?
Click to expand...
Click to collapse
I use a powered hub to access an Ethernet adapter while concurrently having the pogo plug attached. The result is that the tablet drains slower as the Ethernet adapter is drawing power from USB Hub rather than the tablet. The tablet does not get charged in anyway despite the false charging icon indicator. This is why your post was so interesting to me until I discovered that root was lost. I can live the charging and OTG limitations but I can't loose root.
Sent from my Nexus 10 using XDA Premium HD app

I tried this the same way as SupremeTaco described.
My nexus 10 runs the latest Omnirom 4.4.4 with latest KTManta kernel.
I plugged in the OTG Y Cable, which was connected to a charger and a usb SD-card reader. Then I plugged in the Pogo charger and to my surprise, the Nexus 10 charges yay! (I saw the battery percentage increase as I was using device with screen on)
SupremeTaco thank you for this great tip, I have been looking for a solution for a long time. I can now charge my Nexus 10 16GB while using a Meenova reader with 64GB microSD card - which is extremely useful :good: :good:

xIsei said:
I tried this the same way as SupremeTaco described.
My nexus 10 runs the latest Omnirom 4.4.4 with latest KTManta kernel.
I plugged in the OTG Y Cable, which was connected to a charger and a usb SD-card reader. Then I plugged in the Pogo charger and to my surprise, the Nexus 10 charges yay! (I saw the battery percentage increase as I was using device with screen on)
SupremeTaco thank you for this great tip, I have been looking for a solution for a long time. I can now charge my Nexus 10 16GB while using a Meenova reader with 64GB microSD card - which is extremely useful :good: :good:
Click to expand...
Click to collapse
I'm glad it helped! But be careful as you may have issues booting with the USB plugged in. Let me know if this does happen to you... it may just be the version of the kernel I was using but I gave up and am looking for another solution at this point, since I must leave the USB plugged in 24/7

Pogo works great
Should have bought one earliar

Pogo works great
Should have bought one earliar

SupremeTaco said:
I'm glad it helped! But be careful as you may have issues booting with the USB plugged in. Let me know if this does happen to you... it may just be the version of the kernel I was using but I gave up and am looking for another solution at this point, since I must leave the USB plugged in 24/7
Click to expand...
Click to collapse
Sorry for the slow response,
I did some testing with both KTManta kernel and the stock Omnirom kernel and indeed booting with USB plugged in does not work. The culprit seems to be the OTG Y-Cable and specifically the power supply part. If you disconnect power from the Y cable but leave everything else plugged into the tablet, the tablet will boot. Perhaps you could have a power switch for the Y-cable and switch it off only when booting?
Also, I have discovered that Pogo charging with Y-cable also works on stock Omnirom kernel. So it seems that the kernel does not affect the charging capability with this setup in anyway, so we are not limited to using KTManta. However the booting issue does not seem to be a kernel-related problem.
Edit: I also confirmed charging in this way works with franco kernel r16 (so it will probably work with all other franco kernels and any other custom kernel)

Related

[q] otg cable causes total shutdown

I got an OTG cable off ebay and it said it was good for nexus7.
PROBLEM IS...
When i plug it in nexus7 Instantly, totally shuts off.
Will NOT turn back on no matter how much i push POWER....
UNLESS i plug my nexus 7 back into it's wall charger.
Anyone ever have this problem with an OTG cable?
Are you plugging in just the cable, or are you connecting something to it? I had my N7 reboot when I was screwing with USB power and a hard drive.
Hi. First I tried it with nothing at all. I thought it killed my N7.
Than I tried it with it plugged into my six axis gamepad.
Same thing.
No matter how much I would push the power button it wouldn't go on.
Plug in my Ac adapter and it boots.
I'm using stock, unrooted.
Any setting that can cause this?
Im thinking some wires that are not supposed to be touching inside the connector are shorted.
EBay merchandise is always questionable quality. Yours is shorted - send it back to the seller. He will sell it to the next guy in line...
Sent from my Nexus 7 using xda app-developers app
...or get a new one, it probably cost less then shipping.
Check out dx.com, I got 2 adapters and one cable (all OTG) from there, and everything works.
Thank you. I'll get another. I'll let you know how it goes.
Oh, I have a question.
Is there an otg cable that allows charging of N7 while using with a gamepad?
OTG charging cable
brantgoose said:
Thank you. I'll get another. I'll let you know how it goes.
Oh, I have a question.
Is there an otg cable that allows charging of N7 while using with a gamepad?
Click to expand...
Click to collapse
With stock kernel OTG charging will not work.
If your Nexus is rooted, you can flash custom kernel (Timur's latest mobile kernel from http://rootzwiki.com/topic/37755-timurs-kernel-usb-host-power-management-usb-audio/). The one from faux123 (013) will also work, but charging mode must be enabled/disabled via script. In Timur's kernel it's automatic.
Then something like this will work (I use the first one, but ordered the second now):
http://www.ebay.com/itm/Micro-USB-Host-OTG-Cable-w-USB-power-Male-Female-Samsung-S2-i9100-S3-i9300-9220-/261161262679?pt=PDA_Accessories&hash=item3cce6c9e57
or
http://www.ebay.com/itm/Left-angled-Micro-USB-OTG-Cable-With-USB-power-for-i9100-i9300-i9220-i9250-N7100-/380553042368?pt=PDA_Accessories&hash=item589aba99c0
Hope it helps.
OK. .I guess i will need to Root than. The reason i wanted to use the OTG cable was to not Root. But since i can't charge while playing. (without rooting anyway)
I'll root and than i'll be able to run the controller off of bluetooth and charge.
Thank you.
brantgoose said:
OK. .I guess i will need to Root than. The reason i wanted to use the OTG cable was to not Root. But since i can't charge while playing. (without rooting anyway)
I'll root and than i'll be able to run the controller off of bluetooth and charge.
Thank you.
Click to expand...
Click to collapse
does anyone know if a mouse using an otg cable will work in recovery mode. cracked my screen looking for a way to flash new roms but not dont want to restart my tab because im afraid i wont be able to get out of recovery. im running m-kernel 32a with multiboot.
I don't know but if you start a new thread your bound to get way more hits and maybe someone who knows would see it.
The CABLE was the culprit. Got a new one. It works. Thanks.
bringing this one back from the dead. i have a KNOWN GOOD usb otg adapter that works flawlessly in my nexus 5 but has the exact same symptoms as the OP, it powers fully off and wont turn back on without a wall charger or battery pull.
sincei know its not the adapter what other options do we have

Nexus 7 wont charge after pogo charging

Hi,
I am building my own Nexus 7 dock so I can charge it via the pogo pins. I am using power from the supplied Nexus 7 charger, but when I charge via the pogo pins and then disconnect from them, any form of charging stops (usb or pogo). The only solution I have found to this problem is to wipe the cache and reboot the device. This is inconvenient to require a reboot every time I take the Nexus 7 out of my charging dock. Does anyone have a good solution?
Thanks in advance.
ROM -> SmoothROM-v5.2
KERNEL -> timur-usbhost-2013-04-21-cm10.1
also with multirom and Ubuntu (not part of my problem)
update
I was messing around with it some more, and after charging from pogo, only pogo charging would work. I could not charge from usb. I can charge with pogo, unplug, and then re charge from pogo just fine. Any suggestions? It sounds to me like a kernel problem but I want to keep timurs kernel because I can use multiple usb devices at the same time.
asdfjkljkl5 said:
I was messing around with it some more, and after charging from pogo, only pogo charging would work. I could not charge from usb. I can charge with pogo, unplug, and then re charge from pogo just fine. Any suggestions? It sounds to me like a kernel problem but I want to keep timurs kernel because I can use multiple usb devices at the same time.
Click to expand...
Click to collapse
Have you asked timur about this problem? He is always really good about helping diagnose problems and make a fix.
Sent from my SAMSUNG-SGH-I727 using xda premium

Charge while OTG

Hi.Is there any kernel for Nexus 10 to charge while OTG ? I really need it,my nexus 10 will be connected to a printer most of the time so i need to be able to charge it thru the pogo or thru a USB hub.
Thanks in advance and have a good day !
There's nothing in the kernel that should stop the device from charging via Pogo if you're connected via OTG to something else, so long as the incoming source outweighs power output (which it should in basically every instance).
Rirere said:
There's nothing in the kernel that should stop the device from charging via Pogo if you're connected via OTG to something else, so long as the incoming source outweighs power output (which it should in basically every instance).
Click to expand...
Click to collapse
I see.I'll wait till my Pogo arrives but from what i've read,there are problems when using OTG and trying to charge the device as well.
Also,is there a way to connect my nexus 10 to the pc(for app developing) and also connect it to the printer(Star micronics tsp100/143USB-to test if my app is printing right).It really sucks that i need to connect it to the pc,run my app from eclipse and then plug it to the printer.
.This would mean i need to use the tablet as a host and as a slave/client at the same time,is that possible ?
Rirere said:
There's nothing in the kernel that should stop the device from charging via Pogo if you're connected via OTG to something else, so long as the incoming source outweighs power output (which it should in basically every instance).
Click to expand...
Click to collapse
You cannot charge with the pogo plug while any OTG device is connected period. This limitation has only been resolved with the Nexus 7. The limitation extends to all Roms stock or otherwise.
This topic has been covered in the accessories forum and I can personally confirm it. What fools a lot of people is that the notifications menu shows charging but the indicator is bogus.
Maybe with Android 4.3 but I am not holding out hope for that fix. It seems Google has abandoned any plans they once had for the pogo connector despite its potential (dock, audio, charging, fasters device I/O ... etc). Charging through the pogo plug has only been enabled through a 3rd party.
I love my N10 but Google dropped the ball on the pogo connector.
3DSammy said:
You cannot charge with the pogo plug while any OTG device is connected period. This limitation has only been resolved with the Nexus 7. The limitation extends to all Roms stock or otherwise.
This topic has been covered in the accessories forum and I can personally confirm it. What fools a lot of people is that the notifications menu shows charging but the indicator is bogus.
Maybe with Android 4.3 but I am not holding out hope for that fix. It seems Google has abandoned any plans they once had for the pogo connector despite its potential (dock, audio, charging, fasters device I/O ... etc). Charging through the pogo plug has only been enabled through a 3rd party.
I love my N10 but Google dropped the ball on the pogo connector.
Click to expand...
Click to collapse
Damn,really bad news for me.. What do you mean by "Charging through the pogo plug has only been enabled through a 3rd party."
Are you talking about the nexus 7 or about some hardware modifications ?
And what you're saying is that there are no mods,roms or kernels for nexus 10 that can modifiy this,like the nexus 7 timurs kernel(if i got it right) ?
gehaste said:
... Are you talking about the nexus 7 or about some hardware modifications ? And what you're saying is that there are no mods,roms or kernels for nexus 10 that can modifiy this,like the nexus 7 timurs kernel(if i got it right) ?
Click to expand...
Click to collapse
Just to be clear the Nexus 7 (only) has the "Timur Kernel" as an option. While the Nexus 10 "no mods,roms or kernels" or even any hardware mods as far as I am aware.
To me this lack of functionality is a flaw in Google's kernel/ROM implementation considering they added the pogo plug connector allowing charging but never anticipated/implemented concurrent use of the USB and pogo connector.
From what I have read the pogo plug was originally supposed to be included with the Nexus 10 but that was changed just before the product was released. I never heard exactly why but I now suspect that it has to do with the stock kernel/ROM limitation.

My Nexus doesn't charge anymore after 4.3 update.

Hi,
I've juste updated my Nexus 4 to Android 4.3 and I've got a strange problem.
I've got an USB hub that was working perfectly to charge my phone (a little bit slower than a computer USB port or the official charger but still quick).
But now it don't charge. When I plug it the phone doesn't charge but when I remove the cable my Nexus play the sound like when you remove your charger when battery is slow. Anyone has an idea?
Charges fine here.
Did you try another charger?
zephiK said:
Charges fine here.
Did you try another charger?
Click to expand...
Click to collapse
Yes with the wall charger, a computer USB port or my Samsung power bank battery it works fine but not with my USB hub anymore.
And my girlfriend Nexus 4 is still in Android 4.2 and it charge normally.
Like if Android 4.3 need more juice than 4.2. Really strange.
Make sure that you are using the stock charger, sounds like that Android 4.3 needs more power.
Sent from my Nexus 4 using xda app-developers app
This is really driving me crazy.
UPDATE :
If I let the phone charge on Receovery Mode or totally turned off it works perfectly like before.
I've seen on this thread :
http://forum.xda-developers.com/showthread.php?t=2378414
that perhaps it can be the new SUperSU for Android 4.3.
I'm still digging for informations
Mine is doing the exact same thing on latest 4.3.
Charged overnight on my wireless charge pad and it didn't move. Trying to charge it at work now via USB and it still wont charge?
I'll check that link you posted.
edit: I flashed the SU update from CF 1.43 and my phone is now charging? Link http://forum.xda-developers.com/showpost.php?p=43951641&postcount=5
ore616 said:
Mine is doing the exact same thing on latest 4.3.
Charged overnight on my wireless charge pad and it didn't move. Trying to charge it at work now via USB and it still wont charge?
I'll check that link you posted.
edit: I flashed the SU update from CF 1.43 and my phone is now charging? Link http://forum.xda-developers.com/showpost.php?p=43951641&postcount=5
Click to expand...
Click to collapse
I've updated to the latest SuperSU (1.44) and problem is still here.
Is it possible to be caused by some old files or settings from Faux Kernel from 4.2.2?
I really don't want to flash the full rom and lose all my settings and personnalisations.
Sebacestmoi said:
UPDATE :
If I let the phone charge on Receovery Mode or totally turned off it works perfectly like before.
I've seen on this thread :
http://forum.xda-developers.com/showthread.php?t=2378414
that perhaps it can be the new SUperSU for Android 4.3.
I'm still digging for informations
Click to expand...
Click to collapse
Same here. Since 4.3 not charging on usb port when powered on, but charging perfectly when off.
I am still at work and can only charge via my computers usb port, but I expect it to charge normally with the provided charger at home.
Totally stock rom, so no SuperSU or anything to interfere.
Sebacestmoi said:
I've updated to the latest SuperSU (1.44) and problem is still here.
Is it possible to be caused by some old files or settings from Faux Kernel from 4.2.2?
I really don't want to flash the full rom and lose all my settings and personnalisations.
Click to expand...
Click to collapse
Did you format system and do a clean flash
Sent from my Nexus 4 using xda app-developers app
I think you better clean flash rather than unable to charge your phone....Could be the previous kernel messing up your phone
Sebacestmoi said:
I've updated to the latest SuperSU (1.44) and problem is still here.
Is it possible to be caused by some old files or settings from Faux Kernel from 4.2.2?
I really don't want to flash the full rom and lose all my settings and personnalisations.
Click to expand...
Click to collapse
mattoaida said:
Did you format system and do a clean flash
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
No, I have flashed this zip :
cwm-boot-occam-JDQ39.zip
from this thread :
http://forum.xda-developers.com/showthread.php?p=43939424#post43939424
to revert back from Faux's kernel to stock and then I've used the offical OTA to update.
Mine is charging fine after the 4.3 update but I'm running completely stock unrooted.
I'm wirelessly charging using my Nokia DT900 charger as I'm typing this.
Also charges perfectly when connected by cable.
Noticed that I now get a sound alert when the phone is fully charged. I never ever got that before.
Sebacestmoi said:
Yes with the wall charger, a computer USB port or my Samsung power bank battery it works fine but not with my USB hub anymore.
And my girlfriend Nexus 4 is still in Android 4.2 and it charge normally.
Like if Android 4.3 need more juice than 4.2. Really strange.
Click to expand...
Click to collapse
Get another charger or get a different kernel. Google likely added this to let phones charge more efficiently and prevent your charger from blowing up (the result of it drawing too much current).
Sent from my GT-N8013 using xda app-developers app
I've flashed Faux's kernel 18 nad the problem is still here.
I'm gonna try to flash a full stock Android 4.3 tomorrow to see if it's a 4.3 problem or "my 4.3".
trprior among
I currently have an issue charging when hooked to a PC, I was able to disable the "media device" option and then it started charging once I unplugged and replugged in the USB.
Steps to duplicate:
1) Connect phone to PC via USB with Connect as "Media device (MTP)" checked (Settings -> Storage -> Menu -> USB computer connection)
2) See that the phone is not charging.
3) Uncheck "Media device (MTP)"
4) Unplug and replug in USB cable
5) See that the phone is now charging.
6) Re-check "Media device (MTP)"
7) See that phone immediately stops charging.
Same here. 100% stock. No longer charges from wall at night (phone turned off).At 51% in the morning.
I'll try to do a full wipe.
Same problem here
Sebacestmoi said:
Hi,
I've juste updated my Nexus 4 to Android 4.3 and I've got a strange problem.
I've got an USB hub that was working perfectly to charge my phone (a little bit slower than a computer USB port or the official charger but still quick).
But now it don't charge. When I plug it the phone doesn't charge but when I remove the cable my Nexus play the sound like when you remove your charger when battery is slow. Anyone has an idea?
Click to expand...
Click to collapse
I've got exactly the same problem. Updated my Nexus 4 to 4.3 yesterday. Now at work, I cannot use the USB charger from my work PC any more. Tried with different cables, same result. When I charge my Nexus 7 running 4.2 on the same USB port at the work PC it still works.
Can the Android Kernel somehow measure the amount of power delivered by the USB port and set the icon to 'not-charging'?
When I try a seperate USB charger (delivering 1.2A) it works again.
morpheus4you said:
I've got exactly the same problem. Updated my Nexus 4 to 4.3 yesterday. Now at work, I cannot use the USB charger from my work PC any more. Tried with different cables, same result. When I charge my Nexus 7 running 4.2 on the same USB port at the work PC it still works.
Can the Android Kernel somehow measure the amount of power delivered by the USB port and set the icon to 'not-charging'?
When I try a seperate USB charger (delivering 1.2A) it works again.
Click to expand...
Click to collapse
If someone as some free time and if it's possible (I don't know) can he try to flash the 4.2 stock kernel on the 4.3 ROM. It could answer your question.
After full reflash and wipe still wont load from wall charger when off. Have to try not turning it off at night because it seems to charge if powered on.
Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
---------- Post added at 09:25 AM ---------- Previous post was at 08:48 AM ----------
Seems that if i disable MTP the phone charges even when off.

Nexus 7 2013 Timur's Kernel USB OTG + Charging is here

Mod edit: Op removed, see the last post of the thread.
Guys, its really great ROM for car, its better (and cheaper) than any double din on market!
The new nexus 7 has better performance and screenn so its should be Significant upgrade.
Please, feel free to supports this campaign
I read the links and I guess I'm just slow. Could you explain what this is exactly?
ChocoboX said:
Timur's ROM USB OTG + Charging, allows USB devices to be connected while charging the tablet at the same time. Basically, his rom is meant for Nexus 7 in-car installation. It manages USB devices, deep sleep, etc.
http://mehrvarz.github.io/nexus-7-usbrom/
Timur has started an Indiegogo campaign to raise funds to start working on his rom for Nexus 7 2013 model
If anyone would like to pledge their support to create the ROM please use the following link:
http://www.indiegogo.com/projects/usb-rom-nexus-7-2013
I'll hold off buying the new Nexus 7 till I see USB OTG + Charging done. If not I may just go ahead and get 2012.
Click to expand...
Click to collapse
You can do OTG + charging with version 1.6 of ElementalX kernel: http://forum.xda-developers.com/showthread.php?t=2389022
flar2 said:
You can do OTG + charging with version 1.6 of ElementalX kernel: http://forum.xda-developers.com/showthread.php?t=2389022
Click to expand...
Click to collapse
Good news! But the ROM can keep connections to USB devices after the tablet goes to deep sleep so when the tablet comes back from deep sleep there are no problem with USB devices plugged-in. Do you happen to know if that's supported?
ChocoboX said:
Good news! But the ROM can keep connections to USB devices after the tablet goes to deep sleep so when the tablet comes back from deep sleep there are no problem with USB devices plugged-in. Do you happen to know if that's supported?
Click to expand...
Click to collapse
I saw this app posted, I haven't tried it myself
http://forum.xda-developers.com/showthread.php?t=2461267
flar2 said:
I saw this app posted, I haven't tried it myself
http://forum.xda-developers.com/showthread.php?t=2461267
Click to expand...
Click to collapse
That app doesn't really fix the problem. It just acquires a wakelock (PARTIAL_WAKE_LOCK) and prevents deep sleep.
I use this the USBROM and Timur Kernel on two Nexus 7 2012's. It is fantastic (for me) as I use my tablets hooked to a DAC and charge at the same time.
The latest Cyanogen Mods for Nexus 7 2013 support the installation of a USB Dac however you can't charge. I solved the problem by using the Qi wireless charging system and bought a Nexus 4 wireless charging orb. Works perfect for the Nexus 7.
I'm a big fan of this guys work. Looking forward to it.
John
ChocoboX said:
Good news! But the ROM can keep connections to USB devices after the tablet goes to deep sleep so when the tablet comes back from deep sleep there are no problem with USB devices plugged-in. Do you happen to know if that's supported?
Click to expand...
Click to collapse
So I take it the problem is that power is removed from the usb peripheral when it goes to sleep and the state is lost when it wakes up?
I tested with stock and that's what happens.
When it's in usb host charge mode, the usb peripheral will resume normally as long as power is maintained. So, if I connect a power source and a usb stick to a y-cable, then plug it into the tablet with the OTG adapter, charging starts and the usb stick is automatically mounted by Stickmount. I start a movie that's on the usb stick, then I press power to put the tablet to sleep. Wait for a minute. It's still charging, so not in deep sleep. Turn it back on and the movie starts back up no problem. But like with stock, if power is removed, the usb stick no longer works.
I'll have to take a look at this with debugging turned on.
From what I remember, the shorted 4-5 pin on the OTG cable triggers host mode, then the otg driver uses vbus to sense when another usb device is connected. As soon as it senses 5V, it tries to connect with the peripheral device. I'm guessing when the 5V is taken away, it disconnects the device immediately and it loses state.
I might be able to do something about this.
flar2 said:
You can do OTG + charging with version 1.6 of ElementalX kernel: http://forum.xda-developers.com/showthread.php?t=2389022
Click to expand...
Click to collapse
That is great news. I'm a guy who would use that feature. Just tried to install ElementalX on top of CM10.2 latest nightly and it doesn't work but I can confirm this works on top of AOKP ROM
In his directions it must be manually enabled though. But it works like a champ!
flar2 said:
So I take it the problem is that power is removed from the usb peripheral when it goes to sleep and the state is lost when it wakes up?
I tested with stock and that's what happens.
When it's in usb host charge mode, the usb peripheral will resume normally as long as power is maintained. So, if I connect a power source and a usb stick to a y-cable, then plug it into the tablet with the OTG adapter, charging starts and the usb stick is automatically mounted by Stickmount. I start a movie that's on the usb stick, then I press power to put the tablet to sleep. Wait for a minute. It's still charging, so not in deep sleep. Turn it back on and the movie starts back up no problem. But like with stock, if power is removed, the usb stick no longer works.
I'll have to take a look at this with debugging turned on.
From what I remember, the shorted 4-5 pin on the OTG cable triggers host mode, then the otg driver uses vbus to sense when another usb device is connected. As soon as it senses 5V, it tries to connect with the peripheral device. I'm guessing when the 5V is taken away, it disconnects the device immediately and it loses state.
I might be able to do something about this.
Click to expand...
Click to collapse
Does your Kernel support a USB DAC/AUdio?
If so, It means this weekend I can finally put my N7 2013 into my car.
I've been holding off as I've been waiting for USB DAC + OTG Charging so it can be permanently mounted in the car.
Cheers
Mat
FauxDreams said:
Does your Kernel support a USB DAC/AUdio?
If so, It means this weekend I can finally put my N7 2013 into my car.
I've been holding off as I've been waiting for USB DAC + OTG Charging so it can be permanently mounted in the car.
Cheers
Mat
Click to expand...
Click to collapse
Hi,
USBROM has powerevent manager that "care" to disconnect\reconnect the devices when no voltage on usb line,
i think you will have to restart the device each drive.
in addition, take a look at N7 2012 rom features.
the most of features are really necessary for car install.
FauxDreams said:
Does your Kernel support a USB DAC/AUdio?
If so, It means this weekend I can finally put my N7 2013 into my car.
I've been holding off as I've been waiting for USB DAC + OTG Charging so it can be permanently mounted in the car.
Cheers
Mat
Click to expand...
Click to collapse
If it's not eenabled in stock, then no. But I can add support in the next version.
hagensieker said:
That is great news. I'm a guy who would use that feature. Just tried to install ElementalX on top of CM10.2 latest nightly and it doesn't work but I can confirm this works on top of AOKP ROM
In his directions it must be manually enabled though. But it works like a champ!
Click to expand...
Click to collapse
flar2 (another ottawan! hi!) has stated in his thread that with the latest CM nightlies, his kernel no longer works
Note: as of October 2, ROMs based on Cyanogenmod nightlies are broken and no longer work with this kernel.
Click to expand...
Click to collapse
Using his kernel with carbon rom and it rocks. I haven't acquired a USB OTG + charging cable but now i'm on the hunt!
How come I see "project has been canceled" when I go on indiegogoindie gogo.
yep, bad news...
FauxDreams said:
Does your Kernel support a USB DAC/AUdio?
If so, It means this weekend I can finally put my N7 2013 into my car.
I've been holding off as I've been waiting for USB DAC + OTG Charging so it can be permanently mounted in the car.
Cheers
Mat
Click to expand...
Click to collapse
Actually, it might be enabled on 1.6. I check my config and I think everything necessary is enabled.
Please let me know if it works, I don't have any usb audio stuff to test with.
goofball2k said:
flar2 (another ottawan! hi!) has stated in his thread that with the latest CM nightlies, his kernel no longer works
Using his kernel with carbon rom and it rocks. I haven't acquired a USB OTG + charging cable but now i'm on the hunt!
Click to expand...
Click to collapse
Good luck finding any of that stuff in Ottawa I had to order my otg adapter and y cable on ebay
@TabletNoob
I will try to get most of this stuff working on the kernel side, thanks for the PM.
son fartcw
flar2 said:
Actually, it might be enabled on 1.6. I check my config and I think everything necessary is enabled.
Please let me know if it works, I don't have any usb audio stuff to test with.
.
Click to expand...
Click to collapse
Ok, I noticed in sys/modules there is a "snd_usb_audio"
I have OTG charging enabled, that works. But I can't get a USB DAC to work like it did with my CM10.2
Currently running stock rom + elementalX 1.6
First time I installed elementalX 1.6 I had the CM10.2 ROM and had major graphical issues lol Whoops
thanks
flar2 said:
Actually, it might be enabled on 1.6. I check my config and I think everything necessary is enabled.
Please let me know if it works, I don't have any usb audio stuff to test with.
Good luck finding any of that stuff in Ottawa I had to order my otg adapter and y cable on ebay
@TabletNoob
I will try to get most of this stuff working on the kernel side, thanks for the PM.
Click to expand...
Click to collapse
I can confirm that an older AOKP build with the OTG charging works with a Nuforce UDAC USB Dac with elementalx 1.6 installed.
I tried to flash the latest AOKP over the top and then reinstalled elementalx and all I got was a blue pixelated screen. Same thing that happens over new CM 10.2 nightlies after Oct 2 (as stated).
John
Ok, So now running Cleanrom & ElementalX.
OTG charging working but USB DAC still not working unlike with Cyanogenmod10.2 Nightly.
I am using a Muse-Audio USB DAC
Thanks

Categories

Resources