Home PageFacebookRSS News Feed
PocketGPS
Web
SatNav,GPS,Navigation
Pocket GPS World - SatNavs | GPS | Speed Cameras: Forums

Pocket GPS World :: View topic - How To Hack A USB Charge Cable
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in for private messagesLog in for private messages   Log inLog in 

How To Hack A USB Charge Cable
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Pocket GPS World Forum Index -> News And Latest Information
View previous topic :: View next topic  
Author Message
Darren
Frequent Visitor


Joined: 11/07/2002 14:36:40
Posts: 23848
Location: Hampshire, UK

PostPosted: Wed Apr 20, 2011 9:37 pm    Post subject: How To Hack A USB Charge Cable Reply with quote

pocketgpsworld.com
This issue has been discussed in our forums a number of times and affects devices from quite a number of manufacturers. When connected to the PC they mount as a disk drive and when connected to the supplied USB car charger they will charge and function as normal.

But, when connected to a third party 12v USB charger they act as if connected to a PC and refuse to charge or to offer the normal GPS related display and functionality.

This occurs because the manufacturer has chosen, for reasons best known only to them as USB is supposed to be a standard, to short USB pins 4 and 5. The device looks to see if pin 4 is grounded and if not, it switches to USB disk mode.

It's naughty because there is no good reason for doing this. A correctly wired device should be able to mount as a disk and charge when connected to a PC without this subterfuge and all it achieves is to prevent you from using third party chargers.

A Hackaday reader investigate as this problem affected his Magellan and, having found the cause, set out to hack a standard USB cable and ground the unused pin 4 to pin 5 on the microUSB plug. Now he can use the cable with any USB charger.

He has posted the Hack with an explanation on Flickr and whilst it may not be for everybody, anyone who has a spare USB-MiniUSB cable, a steady hand and a soldering iron may want to give it a go.

This issue affects Magellan, Mio and Navman devices and I'm sure Garmin has this issue with some models.
_________________
Darren Griffin


Last edited by Darren on Fri Apr 22, 2011 9:13 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
smartroad
Occasional Visitor


Joined: Jun 17, 2005
Posts: 28

PostPosted: Fri Apr 22, 2011 8:45 am    Post subject: Reply with quote

Just as a thought, before having a go at manufacturers, is this done in case the device draws more then the 500mA a standard usb port is specced the provide? Like I said, said just a thought.
Back to top
View user's profile Send private message
smiley1081
Occasional Visitor


Joined: Mar 08, 2006
Posts: 51

PostPosted: Fri Apr 22, 2011 9:10 am    Post subject: Reply with quote

I have exactly the opposite problem.

If I connect my Nuvifone A10 to a computer using its cable, it is recognised by the computer as a USB device, if I use a third party cable it can be charged but not used as a USB device.

Could it be that this is caused by the same connection between pin 4 and pin 5?
Back to top
View user's profile Send private message
BigPerk
Frequent Visitor


Joined: Sep 06, 2006
Posts: 1618
Location: East Hertfordshire

PostPosted: Fri Apr 22, 2011 10:23 am    Post subject: Reply with quote

Well, I seem to have had a lucky escape! I didn't know about this when I bought a 3rd-party charger to use with my Navigon Rolling Eyes . Thank goodness that at least they don't have a Dirty-Tricks department Very Happy .
_________________
David
(Navigon 70 Live, Nuvi 360)
Back to top
View user's profile Send private message
Darren
Frequent Visitor


Joined: 11/07/2002 14:36:40
Posts: 23848
Location: Hampshire, UK

PostPosted: Fri Apr 22, 2011 11:16 am    Post subject: Reply with quote

smiley1081 wrote:
I have exactly the opposite problem.

If I connect my Nuvifone A10 to a computer using its cable, it is recognised by the computer as a USB device, if I use a third party cable it can be charged but not used as a USB device.

Could it be that this is caused by the same connection between pin 4 and pin 5?

Almost certainly yes.
_________________
Darren Griffin
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Andy_P
Pocket GPS Moderator
Pocket GPS Moderator


Joined: Jun 04, 2005
Posts: 19991
Location: West and Southwest London

PostPosted: Fri Apr 22, 2011 11:42 am    Post subject: Reply with quote

smartroad wrote:
Just as a thought, before having a go at manufacturers, is this done in case the device draws more then the 500mA a standard usb port is specced the provide? Like I said, said just a thought.


I would have thought it shouldn't affect a "standard USB port", because that implies a port with intelligence. In that case there will be communication between the device and the computer and the device can only "request" current (in 100mA steps) upto the max 500mA.

But you're right that it could be said to be a protection against under-powered USB chargers from other places..... although there's nothing to stop you accidentally using a 'too-small' charger from a different device that just happens to have the same link between the pins! Laughing
Back to top
View user's profile Send private message
wrinklyninja
Occasional Visitor


Joined: Sep 21, 2006
Posts: 51

PostPosted: Fri Apr 22, 2011 12:46 pm    Post subject: Chargers Reply with quote

I had exactly the same problem with my Palm Treo Pro. The fix of shorting out the data pins worked a treat. The only comment I would make is make sure that your 3rd party charger delivers the same output as the OEM eg 800ma etc
Back to top
View user's profile Send private message
treeboa
Occasional Visitor


Joined: Oct 25, 2007
Posts: 2

PostPosted: Fri Apr 22, 2011 2:11 pm    Post subject: samsung galaxy tab Reply with quote

same problem with this device using the supplied usb cable and a third party charger, in this case a 2000ma one, bloody annoying really as the charge cable is not a standard easy/cheap replace cable, you can by pass it with a few button presses but still it smacks of `dealer part only`
Back to top
View user's profile Send private message
dvd8n
Occasional Visitor


Joined: Mar 08, 2009
Posts: 4

PostPosted: Sat Apr 23, 2011 12:34 pm    Post subject: Reply with quote

This isn't dirty tricks, this is the new USB compatible charger standard.

The idea is that if a device is connected to a computer then the USB's data lines are not shorted. The device knows that it is connected to a computer and, while it charges, it knows to draw a max of .5 amps. And it can talk to the computer.

However, if a device is connected to a charger then the data lines are shorted. The device knows that it is connected to a charger and, while it charges, it knows that it is a standards compliant charger, it can draw a lot of current as it is connected to a charger, and it charges to a max of 2 amps, charging much faster.

Now this is all fine until someone tries to charge a new device with an old charger. The device, as the lines are not shorted, thinks that it is connected to a computer, tries to talk to it and gets confused, and often discharges itself faster in its communication attempts rather than charging.

Now you can short the data lines on a USB cable. Or you can even crack open the charger and short the lines there. And this is fine - it will work. But there are two warnings. The charger must be capable of supplying 2 amps. And you must never use the modified cable on a computer as it will draw more than the .5 amps that a USB port is rated at and potentially blow the power supply.

Or you could stop being so tight and buy a charger to the new standard. You will find that you need it more and more over the coming years as more devices become compliant. Wink
Back to top
View user's profile Send private message
BigPerk
Frequent Visitor


Joined: Sep 06, 2006
Posts: 1618
Location: East Hertfordshire

PostPosted: Sat Apr 23, 2011 5:49 pm    Post subject: Reply with quote

So do you know what the new USB standard is (ie ISO, ..., Number) dvd8n? It would be a good idea to be able to check for compliance when purchasing off, eg, Amazon.
_________________
David
(Navigon 70 Live, Nuvi 360)
Back to top
View user's profile Send private message
dvd8n
Occasional Visitor


Joined: Mar 08, 2009
Posts: 4

PostPosted: Sat Apr 23, 2011 7:37 pm    Post subject: Reply with quote

BigPerk wrote:
So do you know what the new USB standard is (ie ISO, ..., Number) dvd8n? It would be a good idea to be able to check for compliance when purchasing off, eg, Amazon.


I'm afraid I don't. I've had the same problem myself. The only way I've found to do it is to check compatibility with a device that needs these chargers.

David
Back to top
View user's profile Send private message
wrinklyninja
Occasional Visitor


Joined: Sep 21, 2006
Posts: 51

PostPosted: Sat Apr 23, 2011 7:51 pm    Post subject: USB Cable Reply with quote

I agree with the sentiment that it would be nice to know what you are buying. I bought 3 different car chargers for my Palm Treo Pro (all of which claimed full compatibility) and none of them worked. It's OK to say don't be tight and buy an OEM part but the Palm charger is over £20 and is crap. I know because I had one.
Back to top
View user's profile Send private message
tcs17_tim
Lifetime Member


Joined: 30/12/2002 21:41:31
Posts: 130
Location: United Kingdom

PostPosted: Sat Apr 23, 2011 8:00 pm    Post subject: Reply with quote

Could this be why my pocket pc charges from the USB port on my pc but will not charge from the USB port on my tecknet battery charger.
Back to top
View user's profile Send private message
AliOnHols
Pocket GPS Verifier
Pocket GPS Verifier


Joined: Oct 15, 2008
Posts: 1941

PostPosted: Sat Apr 23, 2011 8:34 pm    Post subject: Reply with quote

Deleted
_________________
Garmin Nuvi 2599
Android with CamerAlert, OsmAnd+, Waze & TT Europe.
TomTom GO 730, GO 930, GO 940 & Rider2.
SatMap Active 10 & 20.
Back to top
View user's profile Send private message
dvd8n
Occasional Visitor


Joined: Mar 08, 2009
Posts: 4

PostPosted: Sat Apr 23, 2011 9:17 pm    Post subject: Re: USB Cable Reply with quote

wrinklyninja wrote:
It's OK to say don't be tight and buy an OEM part but the Palm charger is over £20 and is crap. I know because I had one.


I must admit that that was a moment of flippancy that I regret now. I understand your pain as I've been through it myself. The price is no guarantee of quality and you don't even know if what you are buying will work.

The ironic thing is that this new standard was supposed to make life easier for everyone ..................

David
Back to top
View user's profile Send private message







Posted: Today    Post subject: Pocket GPS Advertising

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pocket GPS World Forum Index -> News And Latest Information All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Make a Donation



CamerAlert Database

Click here for the PocketGPSWorld.com Speed Camera Database

Download Speed Camera Database
22.114 (27 Nov 24)



WORLDWIDE SPEED CAMERA SPOTTERS WANTED!

Click here to submit camera positions to the PocketGPSWorld.com Speed Camera Database


12mth Subscriber memberships awarded every week for verified new camera reports!

Submit Speed Camera Locations Now


CamerAlert Apps



iOS QR Code






Android QR Code







© Terms & Privacy


GPS Shopping