Re: [PATCH 2/3] femon: Display SNR in dB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 24, 2013 at 1:40 PM, Chris Lee <updatelee@xxxxxxxxx> wrote:
> I made an exception in my app if the system is ATSC/QAM it uses the
> snr = snr * 10.0 and havent found a card yet that it doesnt work with.
> Ive also converted quite a few of my dvb-s tuners to report db in the
> same way. Havent found a card yet that doesnt have the ability to
> report snr in db. Im sure there is one, but I wonder how old it is and
> if anyone still uses them.

The devices which have the ldgt3303 demodulator report in (SNR *
1/256), and there are still quite a few of those out there and in use.
 But yeah, since most of the ATSC/ClearQAM devices out there nowadays
have a demod driver written by one of three people, all who agreed on
the same format, you won't find many devices out there nowadays which
don't use 0.1 dB increments.

That said, everything in the previous paragraph applies exclusively to
ATSC/ClearQAM devices.  There is much more variation once you start
talking about DVB-T/S/S2, etc.

> I have found a few tuner/demods that dont have a method of reporting
> signal strength and just use a calc based off the snr in db to make a
> fake strength.

Yup, there is definitely more ambiguity across demods with the signal
strength field.  In some cases it reports the same as the SNR field,
in other cases it scales the SNR to a 0-65535 range, in yet other
cases it returns garbage or no value at all.

> How I look at is if snr in % is completely arbitrary and means nothing
> when compared from one tuner to another, whats the harm in that
> particularly weird tuner/demod of reporting a fake SNR that is
> arbitrary and have every other device in Linux report something
> useful. Seems dumb to have every device in Linux report an arbitrary
> useless value just because one or two devices cant report anything
> useful.

The whole argument over the years is what that "useful format" should
be.  The problem is bad enough where a whole new API has been proposed
which allows the demod to specify its reporting format explicitly.
That proposed new API has a whole host of *other* problems, but that
was the last attempt to bring some clarity to the problem.

> I just hate seeing every device reporting useless values just because
> one or two tuner/demods are reporting useless values. Why destroy that
> useful data for the sake of making all data uniformly useless.

Unfortunately we're not talking about one or two - we're talking about
dozens.  I wouldn't be remotely surprised to see that more than 50% of
devices out there do not report in 0.1dB increments.  Certainly a
large part of the problem is that users such as yourself have a
slightly skewed viewpoint because your experience is based on the
handful of tuners you own (if you actually own a handful, that's
comparatively quite a lot - most people only own a single tuner).

Yeah, the situation is frustrating.  No easy answers here.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux