Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Apple Accessory Protocol adjustment
« previous next »
  • Print
Pages: [1]

Author Topic: Apple Accessory Protocol adjustment  (Read 1337 times)

Offline johnkooistra

  • Member
  • *
  • Posts: 1
Apple Accessory Protocol adjustment
« on: May 14, 2009, 12:52:15 PM »
Hello,

I've been really happy with the implementation of the Apple Accessory Protocol. The steering wheel controls on my Mazda 3 now work to control my 30GB Ipod Video using the AudioLink ipod adapter.

The one thing that still irks me, however, is that when I turn the car off, Rockbox pauses the WPS and returns to the last menu item I was at. So when I turn the car on, it selects that menu item.

Now, presumably, the AudioLink Ipod adapter is sending certain signals when the ignition is turned off and back on which worked beautifully with the Apple firmware. It would pause the song when the ignition was turned off, and resume when turned on.

My guess is that on ignition off, the AudioLink is sending a "Press and Hold on the Play button"...which is what causes the Rockbox firmware to pause the WPS and return to the last menu item. On ignition on, the AudioLink seems to be sending a "Click on the centre button".

If I could solve this with the Rockbox firmware, I would die a happy man. Is it possible there is a Rockbox setting I am missing which could handle this? Is there anybody familiar with this section of code who could correct this? Alternatively, does anybody know where in the code I might start to correct this and make a one-off build for myself?

Thanks a million!
Logged

Offline robin0800

  • Member
  • *
  • Posts: 291
  • Freeman
Re: Apple Accessory Protocol adjustment
« Reply #1 on: May 14, 2009, 04:58:31 PM »
Are you aware of this from the manual?

Quote
8.5.5.  Car Adapter Mode

This option turns On and Off the car ignition auto stop function.

Car Adapter Mode:
    When using the player in a car, Car Adapter Mode automatically stops playback on the player when power (i.e. from cigarette lighter power adapter) to the external DC in jack is turned off. If the Car Adapter Mode is set to On, Rockbox will pause playback when the external power off condition is detected. Rockbox will then shutdown the player after the length of time set in the Idle Poweroff setting (see above). If power to the DC in jack is turned back on before the Idle Poweroff function has shut the player off, playback will be resumed 5 seconds after the power is applied. This delay is to allow for the time while the car engine is being started.

Once the player is shut off either manually, or automatically with the Idle Poweroff function, it must be powered up manually to resume playback.
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Apple Accessory Protocol adjustment
« Reply #2 on: May 14, 2009, 05:34:37 PM »
also, you probably want to set "start up screen" to WPS if the music isnt playing automatically when it turns on
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Apple Accessory Protocol adjustment
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.073 seconds with 16 queries.