Rockbox General > Rockbox General Discussion
Apple Accessory Protocol adjustment
(1/1)
johnkooistra:
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!
robin0800:
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.
--- End quote ---
JdGordon:
also, you probably want to set "start up screen" to WPS if the music isnt playing automatically when it turns on
Navigation
[0] Message Index
Go to full version