I started to experience problems with my iPhone that seem to be related to the dock connector.

Upon plugging my iPhone into my (officially supported) car stereo, I started to get the message  "This accessory is not supported by iPhone" on the screen.  Didn't think much of it as I only use it for charging purposes, and that still worked so I ignored it.  Then I bought a small ANT+ dongle, which is a little accessory you plug into the dock connector to allow your phone to receive data from various health/fitness devices like heart rate monitor, and cycle sensors etc.  It produces the same error message every time I plug it in, and the apps that use the dongle will not recognise it.

The dongle does officially support my hardware and OS level. I've checked that it is not broken by plugging it into an iPhone 5, an iPad 3 and an iPod of some description, none of which showed the error.  The supported apps find the device on the iPad, the iPhone 5 does not have the apps installed but offers to do so as soon as I plug it in, so I know the dongle is working correctly.

In addition to the above, when nothing is plugged into the dock connector, it still occassionally thinks that something is, resulting in a muted phone.  When it's in this state I am not able to hear anything or change any volume settings (music playback or ringer volume) with the physical keys. Going into the Music app shows that it thinks it's outputting the music to the dock connector.

Why is this accessory not working on my iPhone, and how can I get it working?  What causes my iPhone to think that it's docked when it isn't?


Question: Using deep learning for time series prediction
Answer: Alex Graves' Generating sequences with Recurrent Neural Networks uses recurrent networks and Long short term memory Cells to predict text and do handwriting synthesis.

Andrej Karpathy has written a blog about generating character level sequences from scratch. He uses RNNs in his tutorial.

For more examples, you should look at-
Hochreiter, S., &amp; Schmidhuber, J. (1997). Long short-term memory. Neural computation, 9(8), 1735-1780.