Rockbox

  • Status Closed
  • Percent Complete
    100%
  • 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 Trevor - 2010-08-20
Last edited by Bertrik Sikken - 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 Sikken
2010-10-24 09:25
Reason for closing:  Fixed
Additional comments about closing:  

Committed as SVN r28341

Trevor commented on 2010-09-11 19:26

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

Thomas Martitz commented on 2010-09-11 20:49

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)?

Trevor commented on 2010-09-11 20:52

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

Trevor commented on 2010-09-11 20:59

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

Bertrik Sikken commented on 2010-09-13 14:07

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).

Bertrik Sikken commented on 2010-09-14 20:52

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.

Trevor commented on 2010-09-15 02:55

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

Thanks for the help.

Marcin Bukat commented on 2010-09-15 13:08

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.

Trevor commented on 2010-10-20 00:13

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

Bertrik Sikken commented on 2010-10-20 06:45

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

Bertrik Sikken commented on 2010-10-20 20:11

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.

Trevor commented on 2010-10-24 02:26

This patch did the job! Thanks!

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing