* [linux-dvb] Interpretation of FE_READ_BER @ 2008-03-27 10:49 Thierry Lelegard 2008-03-30 23:27 ` Anssi Hannula 0 siblings, 1 reply; 3+ messages in thread From: Thierry Lelegard @ 2008-03-27 10:49 UTC (permalink / raw) To: linux-dvb Hi, What is the interpretation of the value returned by ioctl FE_READ_BER? Normally, a bit-error-rate is something like 10^-6 (typically not an integer value). There is no clue in the Linux DVB API doc. Google reports similar questions but none with an answer. I have just seen one note suggesting it could be a multiple of 10^-9. Looks good to me but since there is no good definition of this parameter in the docs, I wonder if drivers implement them in a consistent way. With my Nova-T 500 (Fedora 8, kernel 2.6.24.3-12, recent v4l hg tree), the reception is quite fine, FE_READ_SIGNAL_STRENGTH returns 40000 (60%), but FE_READ_BER always returns 0. Does this mean "not even the slightest error" (to good to be true), "not supported" (should return errno ENOSYS), "driver bug"? -Thierry _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-dvb] Interpretation of FE_READ_BER 2008-03-27 10:49 [linux-dvb] Interpretation of FE_READ_BER Thierry Lelegard @ 2008-03-30 23:27 ` Anssi Hannula 2008-04-08 20:12 ` Morgan Tørvolt 0 siblings, 1 reply; 3+ messages in thread From: Anssi Hannula @ 2008-03-30 23:27 UTC (permalink / raw) To: Thierry Lelegard; +Cc: linux-dvb Thierry Lelegard wrote: > Hi, Hi! I'm not an expert in this matter, but it seems no one else is replying. > What is the interpretation of the value returned by ioctl FE_READ_BER? AFAIK the exact meaning of all the values is driver/device-specific. > Normally, a bit-error-rate is something like 10^-6 (typically not an > integer value). > > There is no clue in the Linux DVB API doc. Google reports similar > questions but none with an answer. I have just seen one note suggesting > it could be a multiple of 10^-9. Looks good to me but since there is > no good definition of this parameter in the docs, I wonder if drivers > implement them in a consistent way. I don't think so. > With my Nova-T 500 (Fedora 8, kernel 2.6.24.3-12, recent v4l hg tree), > the reception is quite fine, FE_READ_SIGNAL_STRENGTH returns 40000 (60%), > but FE_READ_BER always returns 0. Does this mean "not even the slightest > error" (to good to be true), "not supported" (should return errno ENOSYS), > "driver bug"? 0 can very well mean there is no errors, it is not that uncommon (I've seen it with my devices in good conditions). -- Anssi Hannula _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-dvb] Interpretation of FE_READ_BER 2008-03-30 23:27 ` Anssi Hannula @ 2008-04-08 20:12 ` Morgan Tørvolt 0 siblings, 0 replies; 3+ messages in thread From: Morgan Tørvolt @ 2008-04-08 20:12 UTC (permalink / raw) To: Anssi Hannula; +Cc: linux-dvb > > What is the interpretation of the value returned by ioctl FE_READ_BER? > AFAIK the exact meaning of all the values is driver/device-specific. I think you are right. > > There is no clue in the Linux DVB API doc. Google reports similar > > questions but none with an answer. I have just seen one note suggesting > > it could be a multiple of 10^-9. Looks good to me but since there is > > no good definition of this parameter in the docs, I wonder if drivers > > implement them in a consistent way. > I don't think so. Correct again. This is not consistent. > > With my Nova-T 500 (Fedora 8, kernel 2.6.24.3-12, recent v4l hg tree), > > the reception is quite fine, FE_READ_SIGNAL_STRENGTH returns 40000 > > (60%), > > but FE_READ_BER always returns 0. Does this mean "not even the slightest > > error" (to good to be true), "not supported" (should return errno ENOSYS), > > "driver bug"? > 0 can very well mean there is no errors, it is not that uncommon (I've > seen it with my devices in good conditions). Again correct, but since there is no consistency on what this number is supposed to represent, you really cannot know. This could be the actual ber on reception ( BER before FEC as the pro's call it ), which would usually be somewhere around 10^-5 to 10^-5, but not nessesarily. With the 250 sqare meters (2500 sqare feet) antenna where I used to work we usually got it bit-error free straight of the satellite, even in really bad weather. It all depends on the signal level you get. There are theoretical maximums on this, and you can usually quite accurately calculate SNR and Eb/N0 from only having the BER rate. If the number is BER after FEC, it should be somewhere around 10^-9 to 10^-10. If this is the case then the number is usually completely wrong because it is often based on the Reed Solomon error correction circuits/software, and one bit-error or ten will usually count as one. It could even be a BER after RS, and if that is the case, you will have distortions in your picture from time to time. As mentioned it is impossible to tell. Having everyone doing the same thing would be very nice, so that one could actually use this info for something useful. This is the "problem" with open source and no real project management. There is probably no real way of fixing it since there will always be some developer for some new hardware that does not really know what the different things are, and will just do something. And I can appreciate the complexity of it, as some chips give you a BER based on BER last second, while another will give you Bit Errors since last time you read the register, while a third one gives you an update BER every five seconds, and the fourth one gives you Bit Errors since laste tune. Not an easy task by any means. -Morgan- _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-08 20:12 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-03-27 10:49 [linux-dvb] Interpretation of FE_READ_BER Thierry Lelegard 2008-03-30 23:27 ` Anssi Hannula 2008-04-08 20:12 ` Morgan Tørvolt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox