FS#7284 - [sansa] FM radio: station searching stops too early

Attached to Project: Rockbox
Opened by Christoph Reiter (lazka) - Sunday, 10 June 2007, 07:20 GMT
Last edited by Marc Guay (Marc_Guay) - Thursday, 03 April 2008, 05:41 GMT
Task Type Bugs
Category FM Tuner
Status Closed
Assigned To No-one
Operating System Sansa e200
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


when you press the left/rigth keys for some time rb will look for the next radio station but it stops about 0.15-0.25 MHz before the right frequency.

I don't know the code but I guess it is looking for some kind of signal-level... So, either increase the signal level where the autosearch stops or better -> look for peaks instead of levels.

also the "auto preset search" also doesn't work very well... it saves about 5 presets for each station.
This task depends upon

Closed by  Marc Guay (Marc_Guay)
Thursday, 03 April 2008, 05:41 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#7562 
Comment by Michael Sevakis (MikeS) - Sunday, 10 June 2007, 07:49 GMT
I'm quite aware that proper station searching isn't implemented yet...if fact there's a TODO in the driver code but I wanted to help get it up and running and at least tuning to the right frequency since this tuner is a bugger to work with and has a rather complicated driver since it's basically all "manual". Right now it is just using signal level and that isn't reliable of course.

So, you're using Europe region (guessing from the numbers you give)? I take it that it at least tunes reliably to the wanted station when just keying to it? The accuracy of the initial tuning before AFC is +/-20kHz but being more accurate makes it slower since measurement times are longer.
Comment by Christoph Reiter (lazka) - Sunday, 10 June 2007, 20:25 GMT
Oh, I see. ..yes, besides the searching thing everything is fine, as far as i can tell. The patches before the SVN commit always needed 3-5 seconds to "center" the station but thats gone now.

thx for your hard work :)

btw. yeah, I am from europe... graz actually -> i heard that some parts of the sansa were built here.. so if you need anything, i am on-site ;)
Comment by Marc Guay (Marc_Guay) - Thursday, 03 April 2008, 05:37 GMT
The scanning seems to be working rather well for me right now, I only had the scan miss it's mark by .20 MHz once in several goes around the dial. Region is US/Canada. Has anything been changed or is it just a lucky night?