Resistor values on docking. Different behaviour on different roms. - HTC Desire S

Is there a way to alter the way the rom reacts to a docking event (thus reading the resistor value in the connector).
I modified my simple loading dock by hard wireing pin 4 to 5 on the phone connector. Other htc models require a resistor of more than 30kOhm to be placed in this place to bring up the desk dock state, the desire s needs a resistor value lower than 10kOhm. A simple wire soldered in to place did the trick with the stock rom, but my recent switch to cm7.1 ([2.3.7][CM 2.6.35.14]) makes docking my phone activate car dock mode.
Could this be caused by a different value in the kernel compared to the stock one? Is there a way to change how different resistor values trigger different events?
Sent from my HTC Desire S using XDA

i'm really interested too +1

Related

5 Metal Spots running down Rear Right Side

Just wondering what the 5 metal spots running down the lower rear right side of the phone are for? A rapid charging dock??
I believe that's the dock charging contacts
Sent from my ROOTED HTC One X using xda premium
Pogopin docking
On a related note... I noticed that the HTC Car Dock does not have the contacts for the pogopin. How does it know to automatically launch Car mode when it's inserted into the dock? Are there embedded magnets or something?
rushwal said:
On a related note... I noticed that the HTC Car Dock does not have the contacts for the pogopin. How does it know to automatically launch Car mode when it's inserted into the dock? Are there embedded magnets or something?
Click to expand...
Click to collapse
No there's something in the usb cable that triggers it, like an extra lead or something.
The car dock will not use those pins.
The car mode is trigged probably by an resistor between pins 4 and 5 in the USB cable.
Sent from my HTC One X using xda premium

Use ASUS TF300 dock with TF101?

Hi all,
I don't want to try it without asking. I have one new TF300 with dock and an older one TF101.
Can I use TF300 dock with TF101? Anybody who can tell me anything about it here?
Thx!
tgw_de said:
Hi all,
I don't want to try it without asking. I have one new TF300 with dock and an older one TF101.
Can I use TF300 dock with TF101? Anybody who can tell me anything about it here?
Thx!
Click to expand...
Click to collapse
I don't think you can without mod the keyboard or kernel because the connection betwen asus transformer and prime was uncompatiple it's the way for Asus to buy keyboard for.
yodatak said:
I don't think you can without mod the keyboard or kernel because the connection betwen asus transformer and prime was uncompatiple it's the way for Asus to buy keyboard for.
Click to expand...
Click to collapse
Is the same connector.
Does anybody know, whether I can try to connect the dock without damage?
tgw_de said:
Is the same connector.
Does anybody know, whether I can try to connect the dock without damage?
Click to expand...
Click to collapse
My understanding is the pinout and cabling are identical across builds. They say the Prime will work in the 300 dock, it just doesn't fit snuggly into the hinge. I think it would work without damaging anything.
tgw_de said:
Hi all,
I don't want to try it without asking. I have one new TF300 with dock and an older one TF101.
Can I use TF300 dock with TF101? Anybody who can tell me anything about it here?
Thx!
Click to expand...
Click to collapse
No. 100% incompatable. Different locking mech, different layout, different tablets, just 100% will not work. You would have to do some serious modding just to get the two to connect properly, not to mention the software is different. The connector itself might be the same but the hardware that goes into mating the two together are completely different. Will not go together in stock form, 100%.
The 200/300 docks are compatable however the hinge assembly is slightly different and the 200 is too loose in the 300 dock and the 300 is too tight for the 200 dock. Accessories are compatable across the board for the 100/200/300/700/and the slide with the exceotion of the gps dongle. Its the same power cable, same 40 pin connector, same pinout. Only major difference is the locking mech between the 100 and the newer versions. completely different.
All in all, use the dock designed for the tablet.
pileot said:
No. 100% incompatable. Different locking mech, different layout, different tablets, just 100% will not work. You would have to do some serious modding just to get the two to connect properly, not to mention the software is different. The connector itself might be the same but the hardware that goes into mating the two together are completely different. Will not go together in stock form, 100%.
The 200/300 docks are compatable however the hinge assembly is slightly different and the 200 is too loose in the 300 dock and the 300 is too tight for the 200 dock. Accessories are compatable across the board for the 100/200/300/700/and the slide with the exceotion of the gps dongle. Its the same power cable, same 40 pin connector, same pinout. Only major difference is the locking mech between the 100 and the newer versions. completely different.
All in all, use the dock designed for the tablet.
Click to expand...
Click to collapse
That's not '100%' incompatible. The locking mechanism is different, but the actual 40 pin socket is identical. If they mate correctly then it should work.
It would but...
pileot said:
No. 100% incompatable. Different locking mech, different layout, different tablets, just 100% will not work. You would have to do some serious modding just to get the two to connect properly, not to mention the software is different. The connector itself might be the same but the hardware that goes into mating the two together are completely different. Will not go together in stock form, 100%.
The 200/300 docks are compatable however the hinge assembly is slightly different and the 200 is too loose in the 300 dock and the 300 is too tight for the 200 dock. Accessories are compatable across the board for the 100/200/300/700/and the slide with the exceotion of the gps dongle. Its the same power cable, same 40 pin connector, same pinout. Only major difference is the locking mech between the 100 and the newer versions. completely different.
All in all, use the dock designed for the tablet.
Click to expand...
Click to collapse
They would all work on each other if there was no worry of it fitting together. If you can plug it in it will work.
It doesnt work properly, I dissasembly a tf101 dock and plug my tf200, usb working, no touchpad or keyboard, not charging also.

[Q] Can the phone detect a dock with non stock roms?

Can't seem to find a definitive answer as to whether the phone can detect a USB connector with appropriate resistor added to signal dock mode (desktop vs car).
Apparently the stock ROM doesn't have support, but perhaps CM9, etc may?
Can someone with first hand knowledge comment?
Thanks!
pwkpete said:
Can't seem to find a definitive answer as to whether the phone can detect a USB connector with appropriate resistor added to signal dock mode (desktop vs car).
Apparently the stock ROM doesn't have support, but perhaps CM9, etc may?
Can someone with first hand knowledge comment?
Thanks!
Click to expand...
Click to collapse
I don't have a dock, but CM10 has a specific settings item for Dock Options. I'd assume this means it works...
I think that might be generic.
I'm not sure if the hardware detects a resistor between pins 4 & 5 on the USB cable to signal if its in desktop dock vs car dock.
We use our phones as alarm clocks too, so not having that feature pretty much kills the phone for us.
Finding something like the N1 that has good docking abilities that isn't huge is tough now a days. (Too bad there are few phones with POGO pins, that makes the experience awesome)

Tf300t keyboard dock mod USB connection

Hi all,
I am trying to mod my old tf300t and keyboard dock into a dex dock for my note 9. Im not worried about the tablet portion as i can get a lcd controller for the panel. However ive been soldering and desoldering for the last 3 days. I am trying to leverage the docks kb controller and add a usb connection or modify the dock port into a usb.
I have looked at the various pinouts but cannot get the keyboard working.
I dont care about audio or sd card or the extra usb port.
Any help or pointers would be great.
Here is a mockup of the pinouts i have soldered based on the pinouts i found
Ive been trying to test it on an old s7edge incase i wire something wrong. It detects a regular keyboard but when i try this nothing...if i use the wall charger i see that the dock is charging but still nothing at the dock connector. Ive been trying with a usb 2.0 cable. Connected to the d+ d- vcc ( all 3) and multiple grounds and i pinned the sense pin to ground as well.
I have also tried to open the charge cable and solder the usb to the data pins on that both with and without ground. And use a 5v plug and the original asus plug.
The dock port is basically garbage at this point so if i plan to use that i need to use the 2 20 wire connectors and map the individual wires .
I have managed to get the s7edge to detect that something is connected. However i then resoldered the pins to try more as it wasnt working. So i need to go back to the beginning to try again. I believe my issue was due to the otg aspect of the usb. Im using an adapter for the phone but i also tried to wire the connector the same way. Ill take some pictures of it later if i can get it working
So not sure if anyone is following this thread but i have made progress.
I have totally butchered the original 40 pin connector and now am tapping into the 40 individual wires that connect the main board to the connector pcb. I can get my s7edge to detect that the usb connector is attached but it keeps telling me that a high power usb device is attached and that it needs an external power source.... so today i busted out the multimeter and i believe i connected one of the usb host vcc connections to the other vcc connections so i separated this. I also believe that the s7edge has some usbotg voltage issues so im going to test it with an old macbook pro with windows to see what it picks it up as. When i get some more time i will try to trace the other wires there might be something else needed
Maybe
Nice job, I'm not particularly knowlegdable in electronics but I remember there is a battery portion in the dock? Maybe it causes some error during otg?

Lenovo Tab M8 OTG + Charging

I picked up a Lenovo Tab M8 from walmart (Part number: ZA5C0045US). It comes with a small dock that charges the table via a two pin connector.
I was trying to set this up with an OTG cable so that I can attach a high end sound card. I notice that once I plug the OTG cable, the tablet stops charging via the dock. It's like OTG and charging is not allowed at the same time.
I also tried making my own OTG + charging cable (with a 10K resistor between the ID pin and ground), but it seems that the OTG function will not work unless the ID pin is grounded. I know that other devices allow for OTG + charging when the ID pin has a resistor to ground with a certain value.
Is there a way of finding out if lenovo tablets allow this? If so, where can I go an find out what type of resistor value this tablet will detect as allowing the function of OTG + charging?
Also, this tablet is rooted. Is there a software based solution like my old Nexus 7 (2013) where you could enable OTG + charging?
I've been at this for a couple of days now, so any help is greatly appreciated.
Hi,
Have you had any progress on this? I would like the same function.
Doing some reading though. I think a 10k resistor is too low, normally seen 64k or 100k
Hi, I just signed up to leave a reply here. I also was looking for a replacement for my slightly outdated Nexus 2013 in my car and stumbled upon this thread. So got a used M8 (TB 8505F ZA5G0038SE) and gave it a try.
With a 10k (measured 9.8k) resistor between ID pin and ground, OTG and charge works perfectly, without changing anything in software. With a 2A charger, battery charging is pretty slow, but the battery doesn't drain while using navigation and music (contrary to the Nexus )
So, for me it is a quite good solution.
Thank you for the info guys
I also have a TB 8505F and needed this function in my car.
For me the 10K resistor works, now it both charges and I can use my accessory (OBD2 reader)
Before this I tried a 100K resistor and that did not work so I had started to give up.
Just an update, maybe someone needs the info: I tried to make a second Y-OTG-cable with the same components, and it didn't work. Charging went on and off, no otg function. I decided to play again with the resistor values and it worked again with 12.9k. Maybe there is a certain range, which the second cable was slightly out of.
Hi All, i just bought the same tablet for similar purpose and i was wondering if when the cable is built using the 10k-12.9k resistor, i can still use the docking station that it comes with>? has anyone tried it out like this?

Categories

Resources