• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category FM Tuner
  • Assigned To No-one
  • Operating System iPod Nano
  • Severity Low
  • Priority Very Low
  • Reported Version Release 3.6
  • Due in Version Future release
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by thals1992 - 2010-08-20
Last edited by bertrik - 2010-10-24

FS#11559 - iPod Radio Remote - (FM Radio and Button issues)

I have a new issue that should be added. When I go into the FM Tuner and choose a station, it is inaudible over the headphone socket in the iPod itself, but when I plug it in the Radio it is noisy (noise comes over headphones - not powered speakers) and extra noise cames in when keys are pressed on the Radio itself, when the screen scrolls the RDS data, and when the iPod wheel is touched. The audio itself is extremely faint. I bumped the volume to db 0 and even 6 and then the music over the radio can be heard. It is just fine when listened to, after recording and amplified (using the gain setting) 20 dband the vu meter underneath looks like it is receiving sound at a decent volume.

Is there any way to add gain like in the original firmware for the first gen iPod Nano so I can listen to the radio with out recording the Radio songs to mp3.

NOTE: Apparently the iPod Radio works on the first five nanos and the first gen video as well.

Has is been enabled for the iPod Video yet? In daily, recent, or release builds?

Closed by  bertrik
2010-10-24 09:25
Reason for closing:  Fixed
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

Committed as SVN r28341

Updated to build r28058 and problems still exist. Can anyone else confirm?

Can you try boost forcing (system→debug menu→cpu frequency, then using the wheel until it shows “boost count: 2” or so, then going back and have another try)?

It didn’t seem to make a difference in the past, but I’ll try it again.

All that occurs is that the noise in the background changed. Nothing significant.

The ipod nano 1g uses a WM8975 codec. I just saw that the audiohw_set_monitor function is not implemented for this codec. I don’t know if this is intentional or not.

AFAIK, the audiohw_set_monitor function is normally used to bypass the analog fm radio audio signal from input to output (e.g. see firmware/target/arm/audio-pp.c) . Not having an implementation for this function could very well explain that you’re not hearing something on the headphone socket of the ipod itself.
I don’t know why you’re not hearing anything on the headphone socket of the radio itself, this could be some problem in the data we send to configure the radio (in firmware/drivers/tuner/ipod_remote_tuner.c).

Can you try a build with this patch applied?
This should enable the analog audio signal from input to the output, even when not recording. I can’t test it myself, because I don’t have the FM remote nor an ipod nano 1g.

once i figure out how to compile (give me a few days) i get back to ya.

Thanks for the help.

I think the patch is insufficient - I think the default volume is set to -9dB in analog mixer for line input so the signal will still be very low.

I can hear it over the headphones now in the Ipod Nano end, but it is still faint

Great! I’ll try to make a more proper patch that also explicitly sets the volume to a higher level.

Try this patch, it sets the line input volume to 0 (was probably -9 dB in the previous patch). If this is not loud enough, we can boost it another 6 dB. If that’s still not loud enough we can enable another gain block.

EDIT: updated patch, there was a bug in setting the right channel input multiplexer.

This patch did the job! Thanks!


Available keyboard shortcuts


Task Details

Task Editing