Posts by penix
-
-
i use this one
Diff
Display More--- /common/Programms/ver2/src/s2-liplianin/linux/drivers/media/dvb/frontends/stb0899_drv.c 2009-12-31 17:15:38.115203347 +0300 +++ ./linux/drivers/media/dvb/frontends/stb0899_drv.c 2010-01-14 22:17:22.671634551 +0300 @@ -980,6 +980,16 @@ *strength = stb0899_table_lookup(stb0899_dvbsrf_tab, ARRAY_SIZE(stb0899_dvbsrf_tab) - 1, val); *strength += 750; + + const int MIN_STRENGTH_DVBS = 0; + const int MAX_STRENGTH_DVBS = 680; + if (*strength < MIN_STRENGTH_DVBS) + *strength = 0; + else if(*strength > MAX_STRENGTH_DVBS) + *strength = 0xFFFF; + else + *strength = (*strength - MIN_STRENGTH_DVBS) * 0xFFFF / (MAX_STRENGTH_DVBS - MIN_STRENGTH_DVBS); + dprintk(state->verbose, FE_DEBUG, 1, "AGCIQVALUE = 0x%02x, C = %d * 0.1 dBm", val & 0xff, *strength); } @@ -992,6 +1002,7 @@ *strength = stb0899_table_lookup(stb0899_dvbs2rf_tab, ARRAY_SIZE(stb0899_dvbs2rf_tab) - 1, val); *strength += 750; + *strength = *strength << 4; dprintk(state->verbose, FE_DEBUG, 1, "IF_AGC_GAIN = 0x%04x, C = %d * 0.1 dBm", val & 0x3fff, *strength); } @@ -1024,6 +1035,16 @@ val = MAKEWORD16(buf[0], buf[1]); *snr = stb0899_table_lookup(stb0899_cn_tab, ARRAY_SIZE(stb0899_cn_tab) - 1, val); + + const int MIN_SNR_DVBS = 0; + const int MAX_SNR_DVBS = 200; + if (*snr < MIN_SNR_DVBS) + *snr = 0; + else if(*snr > MAX_SNR_DVBS) + *snr = 0xFFFF; + else + *snr = (*snr - MIN_SNR_DVBS) * 0xFFFF / (MAX_SNR_DVBS - MIN_SNR_DVBS); + dprintk(state->verbose, FE_DEBUG, 1, "NIR = 0x%02x%02x = %u, C/N = %d * 0.1 dBm\n", buf[0], buf[1], val, *snr); } @@ -1048,6 +1069,16 @@ val = (quantn - estn) / 10; } *snr = val; + + const int MIN_SNR_DVBS2 = 10; + const int MAX_SNR_DVBS2 = 70; + if (*snr < MIN_SNR_DVBS2) + *snr = 0; + else if(*snr > MAX_SNR_DVBS2) + *snr = 0xFFFF; + else + *snr = (*snr - MIN_SNR_DVBS2) * 0xFFFF / (MAX_SNR_DVBS2 - MIN_SNR_DVBS2); + dprintk(state->verbose, FE_DEBUG, 1, "Es/N0 quant = %d (%d) estimate = %u (%d), C/N = %d * 0.1 dBm", quant, quantn, est, estn, val); }
-
Sorry for not writing in German,
an other very simple solution for this nasty remote is
the "remote plugin" its works very well with
my "Ms-tech 380 rev.c" here i had lots of trouble
with inputlircd under debian 6 (not stable)because this remote has 2 devices (mouse,kbd) you have
to start it like
vdr ... -P"remote -i /dev/input/eventx -i /dev/input/eventx" ...or put in runvdr:
-P'remote --input=/dev/input/eventx' -P'remote --input=/dev/input/eventx'
(eventX, must be something like event0, event1 or event2........,)
the remote learning process in vdr also double for device 1 and 2
-
problem is solved they where testing
-
error the same with 1.6
-
i have trouble compiling it under linvdr07 (gcc version 3.3.3 )
looks like it has trouble with class or namespace, hope somebody can
helpGreets
Log:
eepg.c: In constructor `SI::cEIT2::cEIT2(cSchedules*, int, unsigned char, const
u_char*, bool)':
eepg.c:2777: error: `SI' is not a class or namespace
eepg.c:2777: error: `EIT' is not a class or namespace
eepg.c:2777: error: class `SI::cEIT2' does not have any field named `SI'
eepg.c:2778: error: `CheckCRCAndParse' undeclared (first use this function)
eepg.c:2781: error: `getOriginalNetworkId' undeclared (first use this function)
eepg.c:2781: error: `getTransportStreamId' undeclared (first use this function)
eepg.c:2781: error: `getServiceId' undeclared (first use this function)
eepg.c:2802: error: parse error before `::' token
eepg.c:2803: error: parse error before `::' token
eepg.c:2803: error: `eventLoop' undeclared (first use this function)
eepg.c:2803: error: `SiEitEvent' undeclared (first use this function)
eepg.c:2803: error: `it' undeclared (first use this function)
eepg.c:2831: error: `getVersionNumber' undeclared (first use this function)
eepg.c:2838: error: parse error before `::' token
eepg.c:2845: error: parse error before `::' token
eepg.c:2845: error: `d' undeclared (first use this function)
eepg.c:2845: error: `it2' undeclared (first use this function)
eepg.c:2846: error: parse error before `::' token
eepg.c:2849: error: `sed' undeclared (first use this function)
eepg.c:2849: error: `LanguagePreferenceShort' undeclared (first use this
function)eepg.c:3978: error: `Phrases' undeclared (first use this function)
eepg.c: In function `void __static_initialization_and_destruction_0(int, int)':
eepg.c:2960: warning: statement with no effect
eepg.c:2964: warning: statement with no effect
make[1]: *** [eepg.o] Error 1
make[1]: Leaving directory `/usr/src/vdr-1.4.7-ext40/PLUGINS/src/eepg-0.0.3' -
am wondering if there are more people suffering with
loadepg and mediahighway from canal digitaal (dutch provider)
there is a rumor that they changed the lengt from 46 bytes to 42
from the stream, maybe somebody has a solution !Greets
-
Skinelchi runs most stable with dxr3 card
-
Thxzzzz Tox, i must say that my dxr3 runs very stable
if i use the livebuffer in memory, am very happy with it !!Greets
-
i use the original remote from the dxr3 package, compiled lirc
with the option "pixelview", it works very nice under linvdr (com1)download the whole pack (inc. lirc,conf) here:
http://members.lycos.nl/brouwerman/dxr3_lirc.tgz
Greets
-
>>>Feb 15 18:06:36 linvdr user.err kernel: zd1211rw 1-2:1.0: couldn't load firmware. Error number -2<<<<
like i said before, you have a firmware problem, don't use the inbuild
zd1211rw driver but use the zd1211 from herehttp://zd1211.ath.cx/download/
Greets
-
i use the older linvdr-2.6.15 Dr Seltsam Kernel with my self compiled
zd1211 driver, works well with "wpa" under linvdr07.i tried the newer linvdr-2.6.18 from Dr Seltsam with the inbuild zd1211rw driver but could not find a good wurking firmware for it so
i went back to -2.6.15 !Just PM me if u need it !!
Greets
-
think your zd1211rw firmware is missing
i had the same problem with the latest kernel
what says "dmesg""greets
-
@ Toxic-Tonic :
Thx for the vdr updates so far !
Are you planning to use GCC 3.3 for compiling your vdr stuff ?
gcc 3.3 is easy to install under linvdr (mahlzeit gcc update)I think the stock gcc 2.95 is out of date.
Greets
-
-
did you:
modprobe -v zd1211 -
i spend some days getting wpa to work but no luck so far...
maybe somebody has a hint ?Greets
-
i have a working driver for the zd1211 & Dr Seltsam Kernel
2.6.15, just PM me and i will mail u a copy !
A big thx to Dr. Seltsam.... he build it !!Greets
-
Thats clear to me, just got "kubuntu-5.10"
lets try that, pfffff....... still a lot to learn !greets
-
sorry
i use for Vdr kernel 2.6.12.2 and the source kernnel i use under
/usr/src is also 2.6.12.2is that what you mean ?
Greets