[Q] USB OTG through SlimPort HDMI power - Nexus 4 Q&A, Help & Troubleshooting

Is it possible to take the SlimPort voltage and redirect it to USB to supply USB OTG?
Sorry if the question has asked before.

There is an entire thread dedicated to getting OTG working. Try asking there.

estallings15 said:
There is an entire thread dedicated to getting OTG working. Try asking there.
Click to expand...
Click to collapse
Here is the dev thread where shaky provided an experimental kernel, and some discussion is going on, but you need ten posts to post there:
http://forum.xda-developers.com/showthread.php?t=2048545&page=13
Here is 37 pages of complaining :
http://forum.xda-developers.com/showthread.php?t=1966864
WildCivil said:
Is it possible to take the SlimPort voltage and redirect it to USB to supply USB OTG?
Click to expand...
Click to collapse
AFAIK, HDMI (which slimport provides) only guarantees 55 mA. Regular USB on a PC provides 100 or 500 mA, USB OTG only needs to provide 8 mA, but I think many phones supply more. I think it could work, but probably not with all devices.
However the first step before trying to supply Vcc voltage is to get USB working with an external power supply. Some people have tried this, currently without success. Once that works, one can try to poke around in the kernel and get the Vcc power to turn on. There are a couple of switches to try, and it doesn't neccessarily have to come from the Slimport.
One word about why it doesn't work now: I think Google/LG disabled it because it was either not 100% compliant with the USB specs, or there were some problems with the simulaneous use of slimport and USB. Since the slimport feature has higher priority, if both are incompatible, USB OTG is thrown out. And if a feature only works partially, it's better for the vendor to just cut the support altogether than to get a lot of support requests.
That being said, it would probably work fine for 'us hackers' who are willing to risk that some peripherials work and some randomly don't, and are willing to use a Y cable if neccessary.

Related

Enable webtop without dock?

Anyone figure out how to get webtop to work on an LCD monitor without the dock? My dock didnt ship yet and I want to test it out...
Thanks.
if it won't give you a prompt when an HDMI cable is connected, then i'm betting that they are telling the phone it's in the dock with a certain resistance on the USB connector. many manufacturers do this to allow devices to know when it's connected to an official accessory or not. For instance, my contourHD helmet cam will charge and record at the same time only if the official usb charger is used. If you use any other one it just charges and refuses to record. there is some talk of it in the USB wiki page
http://en.wikipedia.org/wiki/Universal_Serial_Bus
If someone could figure out the resistance value on an official dock (assuming this is in fact how it's done) you could wire up your own USB cable to trick the phone into thinking it's in a dock.
that's my only idea at the moment.
Figured maybe it was a magnetic trip... couldnt find anything :\
I stopped by Best Buy/Radio Shack after work today to try and find a 'USB 2.0 A to Micro B Female / Male Adaptor' (google it, it's my first reply so I could not post the link).
I was going to try and use my existing laptop dock so I could have additional USB inputs to connect the USB/Mouse, and then use the HDMI cable that came with the phone to plug into my monitor.
Is this something that most likely will not work, because of the reasons stated above?
iaregalado said:
I stopped by Best Buy/Radio Shack after work today to try and find a 'USB 2.0 A to Micro B Female / Male Adaptor' (google it, it's my first reply so I could not post the link).
I was going to try and use my existing laptop dock so I could have additional USB inputs to connect the USB/Mouse, and then use the HDMI cable that came with the phone to plug into my monitor.
Is this something that most likely will not work, because of the reasons stated above?
Click to expand...
Click to collapse
Don't buy it just yet.
In the Dev section, they're working on allowing the Webtop to be accessible sans dock.
Here's a link to the thread:
http://forum.xda-developers.com/showthread.php?t=963938

Charge from USB?

This may seem like a really stupid question, but has anyone tried/succeeded in seeing if this device can charge off USB? That is really the only thing I dislike about it now that I have Dexter, I travel a lot and hauling an extra charger is just a pain.
What about charging thru the docking port if we had a usb cable to fit it?
im sure docking port would work, as it does work with folio100 as example.
but usb charge, is probably a no-go, i guess hardware needs to be redesigned to enable usb charging although kernel does allow you to enable it, but again, maybe a pin of the chip needs to attach to another location on board to enable it.
on folio100 it did not work.. and without kernel source to try changing/enabling it we dont know if it would work..
and remember the port is host/device based, so it might also be it only works when in device mode, which also means travellers would not be able to attach anything if they charge it.. so might be conflicting interests on how it should work. (if it worked)
Thanks for the reply.
I know I've seen this question asked elsewhere, but not for a while. You mentioned the docking port, have we seen ANYTHING that connects to it? even if not a full docking station, a cable to connect via USB to a computer.
Or has anyone figured out a pin map that someone could cobble together a cable

D.i.y usb otg adapter/cable

Hi,
I made my own usb otg adapter from a plain usb a to micro b adapter. You have to connect pin 4 /which is not connected/ to ground to fire up host mode.
Edit: It is not easy to dismantle a usb connector or adapter and it requires soldering. So I guess anybody with the necessary skills will find the pin on his own. I will not post photos because my solution is far from being pretty.
For everybody else: the nokia USB OTG cable is wired the same way so it is very likely that it will work. (on Hungarian forums I saw references that it works, but I can not guaratee it.)
Tommorow I will go buy one and report.
USB Host mode will allow to connect USB pendrive, mouse, keyboard etc. to the SGS II.
Sent from my GT-I9100 using XDA App
richyy74 said:
Hi,
I made my own usb otg adapter from a plain usb a to micro b adapter. You have to connect pin 4 /which is not connected/ to ground to fire up host mode.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
this is very useful for people like me who knows how to solder things, but for the people who have absolutly no Idea what you are talking about, you should add more details/pictures to the OP so the people who doesen't know much about electronics know what you are talking about, and what benefits it brings for them.
I myself will probably make one or more, so I don't have to always take my USB OTG with me all the time.
kaukassus said:
this is very useful for people like me who knows how to solder things, but for the people who have absolutly no Idea what you are talking about, you should add more details/pictures to the OP so the people who doesen't know much about electronics know what you are talking about, and what benefits it brings for them.
I myself will probably make one or more, so I don't have to always take my USB OTG with me all the time.
Click to expand...
Click to collapse
May be you dint know about this thread
http://forum.xda-developers.com/showthread.php?t=1092493
This was explained with pics a long time ago
Yeah sorry. I never saw that. Thanks.
richyy74 said:
Yeah sorry. I never saw that. Thanks.
Click to expand...
Click to collapse
Why be sorry. This forum is to help each other out.
OTG Cable USB (B) to Micro USB (A) Powered with AAA batteries
As one knows, Samsung has promised a HMI Cable
You noticed it is not only a cable but a box out of which you may plug in an extra power supply.
The obvious reason is if the passive monitor does not furnish 5V, the phone will rapidly be out of power.
Now you know that to obtain video rather than anything less, Pin 4 (sense) and 5 (Ground) of micro USB (male A) must be connected with a 365K resistance.
I suppose the dock Samsung is selling for I9100 (yes, I have it) is grounded at 1000K as it provides audio with remote, and yes, the dock provides power supply via extra micro USB as well.
I come to my point: If I want to access any USB data On the Go, I need a cable OTG with 2 ports: USB 2.0/3.0 (female, B sided) to a micro USB (male, A sided, grounded but with no resistance = 0K). Many of them exist on the market out there.
But it is quite impossible to use because of lack of power supply in the passive device (let’s say a handy 1T HDD usually powered via Host connexion !
Would it be possible to insert some sort of receptacle for AAA battery in the middle of such a cable to provide for power while you are for a long time out of access to an electric plug ? Does such a cable exist somewhere to buy ? What would be the sheme to mount this ? HELP !
Instead of shorting pin 4 and 5 from within the cable head, would it also be viable to short them from within the device itself? Say if I disassembled the phone to access the back of the female usb micro connector and soldered the pins. Would there be any damage caused if the permanently shorted pins 4 and 5 (within the device) is connected to a charging adapter/PC?

[Q] micro usb voltage out

is it possible to get voltage output from the micro USB port on the g2? could an app be written or would this require a hard mod?
It's +5V DC, what else do you need? Current monitoring would be more useful, but I don't think it's possible.
costipl said:
It's +5V DC, what else do you need? Current monitoring would be more useful, but I don't think it's possible.
Click to expand...
Click to collapse
I plugged a micro usb in and tested, got nothing, No voltage coming out of the micro usb port on the G2. My question is, can we make an apk which would send voltage out?
I'm not sure it's just a software thing.
i recall readind a description/manual for using usb host on g2/dz. author mentioned that phone has host capabilities, but you need external power source. so my guess is you cannot do it (usb power out).
host, hmm, that would still be cool, to have a mouse or something. I mean for no good reason of course.
Yep. I cannot find the article i mentioned earlier - i know it was around here somewhere but i don't know the new xda-developers portal layout - i am still in windows mobile days
anyway, no luck with usb host functionality for me as it required messing around kernel, some drivers and active usb hub (with power injector), which even if i accomplished all that's needed makes it not very comfortable to use... I'll pass on this

[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

Categories

Resources