• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Remote
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Release 3.8.1
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by bertrik - 2011-04-26
Last edited by speachy - 2020-07-09

FS#12082 - Attempt to add IAP support to the nano 2g

Attached patch attempts to add iPod Accessory Protocol (IAP) support for the ipod nano2g.

I can’t test this myself because I have neither an ipod nano 2g nor an accessory.
The patch basically just adds a serial driver and sends all data to the iap handler.
Automatic bit rate detection is not implemented.

Things that have not been figured out yet:
* is the bit rate calculation correct? currently the patch uses PCLK (48 MHz) for bit rate generation. We could also use UCLK, but I don’t know how fast that runs.
* are we using the proper UART? the patch assumes UART0 is used, but we could also try UART1.
* maybe there is some other thing that’s needed to actually to enable the UART connection to the dock/accessory (this is the case on older ipods). The patches assumes this is not needed.
* no idea if I got the ADC channel for the accessory power right (the code for the ipod radio remote needs this), so I made a guess.

Closed by  speachy
2020-07-09 13:25
Reason for closing:  Accepted
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

The tuner enablement portion of this patch was committed as 65a9133

(Some time ago the serial enablement was committed)

Silly mistake in the setup of the UART pins through PCON0.

Hey mate.

Is it possible for you to add this patch in 3.7.1 version for Nano 2G and send it to me?

I have problems when my iPod is docked in my car. Can't use carcontrol's fast forward and skip buttons, they don't work.

Normal iPod firmware works without any problems on the same system, so it must be the IAP. Please help me!

My MSN is, would be awesome if you could add me, or send me an email.

Thanks in advance,

Update after recent refactoring of firmware/SOURCE


Available keyboard shortcuts


Task Details

Task Editing