Ipod sync and audio cable mod


I've been thinking about making my own iPod dock build into my desk. One of the features I would like is that I can also listen to music while it's docked without having to put an extra cable in the top. 

Now, I know cables exist with both USB and stereo line out connectors. So this should be possible. 
However, since I want to work the cables away it is gonna be plugged into the USB port of my computer all the time. 
I'm not 100% sure on this, but I'm guessing that the iPod will go to sync mode once I connect it without the ability to play music before ejecting it in iTunes. 

What I want to do is make a toggle switch, so I can choose between sync and charge or audio (or better even, audio and charge if this is possible)
My guess is that the best way of achieving this is to put a toggle switch on the data+ on the USB line, since the iPod can no longer recognize the computer like that (and therefore will not go to sync mode)
Am I correct in this? I am aware that it will not charge this way because of the voltages needed on the data pins for charging. 

A better solution would be to switch both data connections from the standard USB connection to the voltages needed for the iPod to charge (causing it to still charge in audio mode). However, I'm not sure how easy this would be to achieve with only 1 toggle switch (since I need to change 2 cables without shorting them out). I know the voltages and resistors needed (they can easily be found here on instructables or other sites through google) but the switch is what is bugging me. 
It would be nice if this can be done without microcontrollers (I never used them so yeah...) If I need to build a circuit that is ok (soldering isn't the problem, I just don't feel like learning to program a microcontroller just for this project)

Can someone please tell me the best way to achieve my goal, and if it's possible at all. 

sort by: active | newest | oldest
Just set up iTunes to not auto sync when the iPod is first plugged in. With your iPod plugged in go to the icon under devices and go through each tab and uncheck the sync check box at the top of each tab page. Then it won't sync when you first plug it in.
Ganoderma (author)  mpilchfamily5 years ago
The problem isn't the syncing itself, it is the iPod going into USB mode making it impossible to play music without ejecting it in iTunes first (or simply disconnecting it)
Even with auto sync turned off it will go into USB mode.
What iPod are we talking about here? The iPhone and iPod Touch don't have any issues with being plugged into a PC and playing anything.
Ganoderma (author)  mpilchfamily5 years ago
I have an iPod classic. When connected it has an orange circle showing the 30 pin connector on it (in black) with "Connected Eject before disconnecting." below it.

Just set up a SPDT switch to disable both the data wires so the iPod doesn't see the PC.
Ganoderma (author)  mpilchfamily5 years ago
That is what I was planning to do. At least now I have a name for the kind of switch I need, thanks :)
Ganoderma (author)  mpilchfamily5 years ago
Here's a picture of the iPod while connected (in a test version of the dock I'm going to make)
It's impossible to go to music without ejecting from this point.