Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Configuration
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by yegods - 2007-09-05
Last edited by jdgordon - 2007-10-14

FS#7716 - Auto Config load for Car Adapter Mode / Unplugged Mode

here is my patch that will allow loading of specified config files when the device is plugged into a charger, or unplugged from a charger. both require that car_adapter_mode setting be ‘on’.

the config files are specified by using the “Manage Settings” –> “Browse .cfg Files” menu. Holding the “select” button while selecting a .cfg file to get to the OnPlay context menu will show two new options: “Set Car-Adapter mode Config”, and “Set Unplugged mode Config”.

Once the config files are set for each mode, they will be loaded the next time the mode switch is detected (when the device is plugged or unplugged into a charger, and car_adapter_mode is on). Also, if the current mode is detected as being either car-adapter or unplugged, then the current settings will be saved to the default config file, and the current mode config file. after that save, the new mode config will be loaded and applied.

i’ve tested this a lot, and it seems to work pretty well. i’ve found that the most convenient way to start this off, is to turn on car_adapter_mode, and then plug into USB. copy the config.cfg file to two new files, named “car_config.cfg”, and “unplugged_config.cfg”. you can hand edit any obvious changes. then unplugged, reboot, and set your mode config files.

let me know any problems you find, or even if you find this useful.

Closed by  jdgordon
2007-10-14 10:23
Reason for closing:  Rejected
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

this has been requested a few times, but its rejected because its very easy to just manually load the config you want and doesnt add bloat for the people who dont want this feature.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing