Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#10035 - Cowon D2 FM Radio

Attached to Project: Rockbox
Opened by Michaƫl Burtin (mbu) - Thursday, 19 March 2009, 22:14 GMT+2
Last edited by Rob Purchase (shotofadds) - Saturday, 21 March 2009, 01:27 GMT+2
Task Type Patches
Category FM Tuner
Status Closed
Assigned To No-one
Player Type Another
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

This patch enable FM Radio on the Cowon D2. As the D2 lack an accurate udelay function, I use an empiric scale factor to adjust the read frequency on the tuner. I also increase the reading time to minimize the measure error.
   patch_radio.patch (8.7 KiB)
 apps/recorder/radio.c                               |   11 ++++++
 apps/keymaps/keymap-cowond2.c                       |   11 +++++-
 apps/keymaps/keymap-touchscreen.c                   |   17 ++++++++++
 firmware/export/wm8985.h                            |    1 
 firmware/export/config-cowond2.h                    |    6 +--
 firmware/drivers/audio/wm8985.c                     |    8 ++++
 firmware/drivers/tuner/lv24020lp.c                  |   34 ++++++++++++++++++--
 firmware/target/arm/tcc780x/cowond2/audio-cowond2.c |    5 ++
 8 files changed, 87 insertions(+), 6 deletions(-)

This task depends upon

Closed by  Rob Purchase (shotofadds)
Saturday, 21 March 2009, 01:27 GMT+2
Reason for closing:  Accepted
Additional comments about closing:  Accepted in r20420 (with some changes now that a proper udelay() is available). Thanks!

Loading...