Rockbox

  • Status Closed
  • Percent Complete
    100%
  • 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 Sikken - 2011-04-26
Last edited by Solomon Peachy - 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  Solomon Peachy
2020-07-09 13:25
Reason for closing:  Accepted
Additional comments about closing:  

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

(Some time ago the serial enablement was committed)

Bertrik Sikken commented on 2011-04-27 06:14

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

Deniz Zeybek commented on 2011-08-28 21:48

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 zeyden@live.com, would be awesome if you could add me, or send me an email.

Thanks in advance,
Deniz

Bertrik Sikken commented on 2011-12-30 00:03

Update after recent refactoring of firmware/SOURCE

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing