FS#6940 - Nano Car Adapter Mode enabled
Opened by oblib (oblib__) - Friday, 30 March 2007, 04:43 GMT
Last edited by Torne Wuff (torne) - Wednesday, 10 February 2010, 13:40 GMT
|
DetailsAll I did was enable the CONFIG_CHARGING for the nano, and set the proper GPIO bit in power-ipod.c. I don't know what the other consequences are of enabling CONFIG_CHARGING, so please let me know if there are any side effects.
To enable, go to settings->general settings->system->car adapter mode, and you can also look at general settings->display->lcd settings->backlight (while plugged in) |
Wednesday, 10 February 2010, 13:40 GMT
Reason for closing: Fixed
Additional comments about closing: This has been fixed in r24581 - the correct GPIOs were already checked but CONFIG_CHARGING had not been enabled.
FS#6891oblib, I can verify that your latest patch works (the latest, with CHARGING_MONITOR mode). When the vehicle is first turned on the iPod is powered on and when the vehicle is turned off the iPod is paused. This is precisely what I had in mind.
However, there does seem to be a bug. After the vehicle is turned off and turned back on again while the iPod is still powered on it crashes with a panic error. I can't seem to find why this is. The "now playing" screen is shown but quickly goes blank except for the theme and this text in the upper-left corner:
*PANIC*
Stkov
I then have to reset the iPod.
"Stkov" is mentioned in \firmware\thread.c if this helps.