• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Operating System/Drivers
  • Assigned To No-one
  • Operating System Cowon D2
  • 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 anotherche - 2011-10-27
Last edited by saratoga - 2011-11-15

FS#12352 - Charger detection for newer Cowon D2+ (pcf50635 equipped)

The patch solves one of the known problems of newer D2+ listed on CowonD2Info wiki page: “Limited support for players with a PCF50635 power management chip”.
The main purpose to make this patch was to use my D2+ in the “car adapter mode”. So, the features and details are the following:
1. Insertion and desertion of main or USB charger are detected. The detection is made by monitoring of MBCS1 register of pcf50635.
2. The patch also adds wakeup on charger functionality (it didn’t work before because of interrupts masking made in pcf50635 related rockbox code)
3. Onkey1s interrupt handling is added to make shutdown procedure similar to that used for pcf50606 (time-out reset procedure is omitted because OOCMODE register of pcf50635 is configured not to set time-out timer on the onkey1s interrupt in rockbox - wakeup on falling edge only used)

the patch is for revision 29795.

Closed by  saratoga
2011-11-15 20:39
Reason for closing:  Accepted
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

Accepted in r30992.

Sorry about the delay, we don't really have anyone maintaining the D2 port these days.

I’ll try and get this committed as soon as someone on the forums can confirm it doesn’t break anything on the D2 (non +). Sorry about the delay, but its hard to find people with a D2 to test things.

No problem, I’m glad to be useful. Let’s wait for testers response.


Available keyboard shortcuts


Task Details

Task Editing