Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,937 Members 43,363 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Car Mode Cable

Tip us?
 
ShadowDrake
Old
(Last edited by ShadowDrake; 10th April 2014 at 12:24 AM.)
#1  
Senior Member - OP
Thanks Meter 14
Posts: 212
Join Date: Sep 2008
Location: Muskegon, MI
Default [Q] Car Mode Cable

So not sure I'm going to have any luck with this but it's worth asking - maybe someone has done the same thing.

I tried to follow the following thread to make a cable that will start the phone into car mode:

http://forum.xda-developers.com/show....php?t=1475272

I have a working OTG cable and a USB A-A. When I connect the cable to a charger and plug it into the phone I just get a notification that says "The USB host cable is plugged in. Unable to charge the device"

So I did a little more looking and people said to trigger car mode pins 4 and 5 must be connected. I hacked up a cable and jumped them together. Plugging in the hacked up cable gives the same notification - "The USB host cable is plugged in. Unable to charge the device"

So apparently my OTG cable is working as intended but doesn't launch car mode.

Does anyone know what the M7 uses to detect the car dock? I don't want the stock HTC car dock since it goes on the windshield and I want it clipped into a vent.

Edit: Looks like this may be in the source somewhere...

http://forum.xda-developers.com/showthread.php?t=820275

Anyone familiar with the kernel source able to help? I'm going to do my own searching but I'm hardly familiar with linux.

Edit 2: Found values for HTC One X. Just don't have resistors handy:
10kOhm triggers auto dock mode
68kOhm triggers desk dock mode (also, a 47kOhm triggers desk dock mode)
 
mcerk02
Old
#2  
mcerk02's Avatar
Senior Member
Thanks Meter 61
Posts: 205
Join Date: Jan 2011
Location: Slatington, PA

 
DONATE TO ME
Quote:
Originally Posted by ShadowDrake View Post
So not sure I'm going to have any luck with this but it's worth asking - maybe someone has done the same thing.

I tried to follow the following thread to make a cable that will start the phone into car mode:

http://forum.xda-developers.com/show....php?t=1475272

I have a working OTG cable and a USB A-A. When I connect the cable to a charger and plug it into the phone I just get a notification that says "The USB host cable is plugged in. Unable to charge the device"

So I did a little more looking and people said to trigger car mode pins 4 and 5 must be connected. I hacked up a cable and jumped them together. Plugging in the hacked up cable gives the same notification - "The USB host cable is plugged in. Unable to charge the device"

So apparently my OTG cable is working as intended but doesn't launch car mode.

Does anyone know what the M7 uses to detect the car dock? I don't want the stock HTC car dock since it goes on the windshield and I want it clipped into a vent.

Edit: Looks like this may be in the source somewhere...

http://forum.xda-developers.com/showthread.php?t=820275

Anyone familiar with the kernel source able to help? I'm going to do my own searching but I'm hardly familiar with linux.

Edit 2: Found values for HTC One X. Just don't have resistors handy:
10kOhm triggers auto dock mode
68kOhm triggers desk dock mode (also, a 47kOhm triggers desk dock mode)
I never had a desire to put my phone into car mode and maybe I am not sure what you are trying to accomplish, but couldn't you just use an app like trigger to program an NFC tag and place it on your car dock so when your phone is placed in the dock and touched the tag, BOOM, phone is in car mode.....then just touch the tag again when exiting car to exit car mode?
 
ShadowDrake
Old
#3  
Senior Member - OP
Thanks Meter 14
Posts: 212
Join Date: Sep 2008
Location: Muskegon, MI
Quote:
Originally Posted by mcerk02 View Post
I never had a desire to put my phone into car mode and maybe I am not sure what you are trying to accomplish, but couldn't you just use an app like trigger to program an NFC tag and place it on your car dock so when your phone is placed in the dock and touched the tag, BOOM, phone is in car mode.....then just touch the tag again when exiting car to exit car mode?
That's what I'm leaning towards doing if this all fails. It would just be nice to use what I've already bought - and sliding the phone into the dock would automatically trigger this mode once it was plugged in and charging. An NFC tag would accomplish the same thing maybe.

Car dock mode will be nice since it'll toggle bluetooth on for me and start playing music automatically. It's in a nice location in the car for viewing and could be used as GPS without having to dig it out of my pocket.
 
ShadowDrake
Old
#4  
Senior Member - OP
Thanks Meter 14
Posts: 212
Join Date: Sep 2008
Location: Muskegon, MI
Bumping a reply up to this since I finally got around to putting some more time into this project...


10k ohm resistor puts the phone right into car dock mode and takes it out of car dock mode when unplugged. Exactly what I was looking for. 47-68k ohm likely triggers desk dock mode so I'll save that one for another day.

Just going to cut up a USB cable and throw the resistor between the two target pins and I'll have a working car dock cable. Happy hunting all.
Tags
car dock, car dock cable, car mode
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes