Red Hat Bugzilla – Bug 61717
wrong frequency displayed in radio application
Last modified: 2008-05-01 11:38:01 EDT
Description of Problem:
When the "radio" application is started, it displays the frequency 00.0, while
the hardware is actually playing a valid radio channel. When I press the cursor-
up key, the displayed frequency increases( 00.0, 00.1 , 00.2 ... ). Also the
tuned frequency of the radio hardware increases. If I press cursor-down, then
both the displayed and played frequency are reset to 108.00 and continue to
decrease from that value ( 108.0 , 107.9 , 107.8 ... )
Version-Release number of selected component (if applicable):
xawtv-3.72-1 on a Hampton beta2 system
Steps to Reproduce:
1. start /usr/bin/radio
2. push cursor-up
Displayed frequency is 00.0, whil tuning the frequency goes 00.1, 00.2 ...
The frequency to which the hardware is tuned should be displayed. While tuning,
then really used frequency should be displayed.
I also noticed that the program accepts almost any frequency.
( with the 'g' key )
If I enter 133, it accepts it. Pressing cursor-down will descrease the value :
133 , 132.95 , 132.90 , 132.85 .... this is WRONG
Pressing cursor-up will reset the value to 87.50, which is OK.
Also if anything lower than 87.50 is entered, like 85 it is accepted.
Pressing cursor-up will increase that value :
85.00 , 85.05 , 85.10 , 85.15 .... this is WRONG
Pressing cursor-down will reset the value to 108.00, which is OK.
It's not a bug, please read the manual page of tuner.
Which manual page is that ?
$man tuner # does not find anything
the man for "radio" doesn't say anything about this.
Besides 133MHz obviously wrong. If it is an OK value the why is it reset to
87.5 when I press crsr-up ? Why doesn't it go back to 133.00 when I press crsr-
down again ?
When using out of range frequencies ( like 122 MHz ) then the kernel printks
messages like :
tuner: radio freq (121.93) out of range (65-108)
So if there is not bug, what is the valid range of frequencies ?
Bug still there in redhat linux 8.0 , xawtv-3.74-4
Still here in xawtv-3.81-2
Created attachment 89441 [details]
Fix for 0.00 frequency bug
This fixes the problem when after start the displayed frequency is 0.00MHz
Created attachment 89442 [details]
Do a range check on entered frequency
This fixes the problem that the user can enter any ( invalid ) frequency
These patches are included with xawtv-3.83, please upgrade the redhat package
to that version.
Or should I post a separate RFE for that ?
i have added it in 3.85-1. thanks for your patch file.