public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: wk <handygewinnspiel@gmx.de>
To: Devin Heitmueller <devin.heitmueller@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: The right way to interpret the content of SNR, signal strength and BER from HVR 4000 Lite
Date: Sun, 15 Mar 2009 14:20:08 +0100	[thread overview]
Message-ID: <49BD0088.6050203@gmx.de> (raw)
In-Reply-To: <412bdbff0903131531y3dcb5382red13ac1e4d43feaf@mail.gmail.com>

Devin Heitmueller schrieb:
> On Fri, Mar 13, 2009 at 6:27 PM, VDR User <user.vdr@gmail.com> wrote:
>   
>> Just wanted to comment that I'm glad there is a lot of interest in
>> this.  I've heard endless talk & confusion on the user end over the
>> years as to the accuracy of the values, or in some cases (as with
>> Genpix adapters for example) where you don't seem to get any useful
>> information.  Of course making it really hard for people who are
>> trying to aim dishes and the like in the case of dvb-s*.
>>
>> A quick question about implimenting this though..  What's the most
>> difficult component?
>>     
>
> Hello,
>
> There are basically two "difficult components"
>
> 1.  Getting everyone to agree on a standard representation for the
> field, and how to represent certain error conditions (such as when a
> demod doesn't support SNR, or when it cannot return a valid value at a
> given time).
>
>   
Its just straightforward as described in DVB API, chapters
2.2.3 FE READ STATUS
2.2.4 FE READ BER
2.2.5 FE READ SNR
2.2.6 FE READ SIGNAL STRENGTH
2.2.7 FE READ UNCORRECTED BLOCKS

if ioctl suceeds with valid data: 0, if not one of
EBADF            no valid fi\x02le descriptor.
EFAULT          error condition
ENOSIGNAL  not yet, i have no signal..
ENOSYS         not supported by device.

> 2.  Converting all the drivers to the agreed-upon format.  For some
> drivers this is relatively easy as we have specs available for how the
> SNR is represented.  For others, the value displayed is entirely
> reverse engineered so the current representations are completely
> arbitrary.
>
> Devin
>
>   
Since a lot of frontends have no proper docs, probably providing the 
signal strength unit with a second ioctl could make sense here.

a.u.          arbitrary units, not exactly known or not perfectly working
dBµV       comparable trough all devices, but probably not possible for all
percent     technical not understandable, percent relative to what? 
Assumes that there is a optimum/hard limit of 100% which is not the case.

Showing values as human readings is on the app side, so hex output in 
raw numbers are just fine here. No change needed.

-- Winfried

  reply	other threads:[~2009-03-15 13:20 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-13  1:53 The right way to interpret the content of SNR, signal strength and BER from HVR 4000 Lite Ang Way Chuang
2009-03-13  2:23 ` VDR User
2009-03-13  4:19   ` Ang Way Chuang
2009-03-13 14:27     ` Devin Heitmueller
2009-03-13 21:11       ` Trent Piepho
2009-03-13 21:32         ` Devin Heitmueller
2009-03-13 21:52           ` Michael Krufky
2009-03-13 22:27             ` VDR User
2009-03-13 22:31               ` Devin Heitmueller
2009-03-15 13:20                 ` wk [this message]
2009-03-15 14:40                   ` Devin Heitmueller
2009-03-13 23:55           ` Trent Piepho
2009-03-19 13:16             ` Mauro Carvalho Chehab
2009-03-19 20:11               ` Trent Piepho
2009-03-19 22:17                 ` Trent Piepho
2009-03-19 22:36                   ` Devin Heitmueller
2009-03-19 23:06                     ` Trent Piepho
2009-03-20 14:21                       ` Devin Heitmueller
2009-03-20 19:38                         ` Trent Piepho
2009-03-19 23:27                     ` Manu Abraham
2009-03-20  6:55                       ` Manu Abraham
2009-03-20 13:07                         ` Devin Heitmueller
2009-03-20 15:07                         ` VDR User
2009-03-27  9:14                           ` Roberto Ragusa
2009-03-22  2:45                         ` Andy Walls
2009-03-22 10:27                           ` Manu Abraham
2009-03-23  1:00                           ` Devin Heitmueller
2009-03-24 21:39                             ` Devin Heitmueller
2009-03-24 22:08                               ` Steven Toth
2009-03-25  1:12                                 ` Andy Walls
2009-03-24 23:18                               ` Manu Abraham
2009-03-24 23:28                                 ` Mika Laitio
2009-03-24 23:46                                   ` Manu Abraham
2009-03-25  0:29                                     ` VDR User
2009-03-25 14:38                                     ` Devin Heitmueller
2009-03-25 22:02                                       ` Manu Abraham
2009-03-25 22:27                                         ` Devin Heitmueller
2009-03-27 18:09                                           ` Devin Heitmueller
2009-03-27 19:00                                           ` Manu Abraham
2009-03-24 23:54                                   ` Manu Abraham
2009-03-14  0:43       ` Andy Walls
2009-03-14  1:34         ` Trent Piepho
2009-03-14  2:44           ` Andy Walls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49BD0088.6050203@gmx.de \
    --to=handygewinnspiel@gmx.de \
    --cc=devin.heitmueller@gmail.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox