[linux-dvb] FWD: [Patch] saa7146/budget*/dvb-ttpci: Remove V4L1 dependencies
Hi, Marco Schlüßler sent me 2 patches which remove the V4L1 dependencies from these drivers. Works fine here. Please test. If nobody complains the patches will be applied. CU Oliver -- VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/ - remove wrong include linux/videodev.h Signed-off-by: Marco Schluessler [EMAIL PROTECTED] diff -bur v4l-dvb-7a6fab6d00a0_orig/linux/include/media/saa7146_vv.h v4l-dvb-7a6fab6d00a0/linux/include/media/saa7146_vv.h --- v4l-dvb-7a6fab6d00a0_orig/linux/include/media/saa7146_vv.h 2007-10-15 21:24:20.0 +0200 +++ v4l-dvb-7a6fab6d00a0/linux/include/media/saa7146_vv.h 2007-10-15 21:24:31.0 +0200 @@ -1,7 +1,6 @@ #ifndef __SAA7146_VV__ #define __SAA7146_VV__ -#include linux/videodev.h #include media/v4l2-common.h #include media/saa7146.h #include media/videobuf-dma-sg.h- remove v4l1 code Signed-off-by: Marco Schluessler [EMAIL PROTECTED] diff -bur v4l-dvb-7a6fab6d00a0_orig/linux/drivers/media/dvb/ttpci/Kconfig v4l-dvb-7a6fab6d00a0/linux/drivers/media/dvb/ttpci/Kconfig --- v4l-dvb-7a6fab6d00a0_orig/linux/drivers/media/dvb/ttpci/Kconfig 2007-10-15 21:24:20.0 +0200 +++ v4l-dvb-7a6fab6d00a0/linux/drivers/media/dvb/ttpci/Kconfig 2007-10-15 21:34:51.0 +0200 @@ -1,6 +1,6 @@ config DVB_AV7110 tristate AV7110 cards - depends on DVB_CORE PCI I2C VIDEO_V4L1 + depends on DVB_CORE PCI I2C select FW_LOADER if !DVB_AV7110_FIRMWARE select VIDEO_SAA7146_VV select DVB_VES1820 if !DVB_FE_CUSTOMISE @@ -59,7 +59,7 @@ config DVB_BUDGET tristate Budget cards - depends on DVB_CORE PCI I2C VIDEO_V4L1 + depends on DVB_CORE PCI I2C select VIDEO_SAA7146 select DVB_STV0299 if !DVB_FE_CUSTOMISE select DVB_VES1X93 if !DVB_FE_CUSTOMISE @@ -84,7 +84,7 @@ config DVB_BUDGET_CI tristate Budget cards with onboard CI connector - depends on DVB_CORE PCI I2C VIDEO_V4L1 + depends on DVB_CORE PCI I2C select VIDEO_SAA7146 select DVB_STV0297 if !DVB_FE_CUSTOMISE select DVB_STV0299 if !DVB_FE_CUSTOMISE @@ -106,7 +106,7 @@ config DVB_BUDGET_AV tristate Budget cards with analog video inputs - depends on DVB_CORE PCI I2C VIDEO_V4L1 + depends on DVB_CORE PCI I2C select VIDEO_SAA7146_VV select DVB_PLL if !DVB_FE_CUSTOMISE select DVB_STV0299 if !DVB_FE_CUSTOMISE @@ -127,7 +127,7 @@ config DVB_BUDGET_PATCH tristate AV7110 cards with Budget Patch - depends on DVB_CORE DVB_BUDGET VIDEO_V4L1 + depends on DVB_CORE DVB_BUDGET select DVB_AV7110 select DVB_STV0299 if !DVB_FE_CUSTOMISE select DVB_VES1X93 if !DVB_FE_CUSTOMISE diff -bur v4l-dvb-7a6fab6d00a0_orig/linux/drivers/media/dvb/ttpci/av7110.c v4l-dvb-7a6fab6d00a0/linux/drivers/media/dvb/ttpci/av7110.c --- v4l-dvb-7a6fab6d00a0_orig/linux/drivers/media/dvb/ttpci/av7110.c 2007-10-15 21:24:20.0 +0200 +++ v4l-dvb-7a6fab6d00a0/linux/drivers/media/dvb/ttpci/av7110.c 2007-10-15 21:32:02.0 +0200 @@ -2595,7 +2595,7 @@ mutex_init(av7110-osd_mutex); /* TV standard */ - av7110-vidmode = tv_standard == 1 ? VIDEO_MODE_NTSC : VIDEO_MODE_PAL; + av7110-vidmode = tv_standard == 1 ? AV7110_VIDEO_MODE_NTSC : AV7110_VIDEO_MODE_PAL; /* ARM watchdog */ init_waitqueue_head(av7110-arm_wait); diff -bur v4l-dvb-7a6fab6d00a0_orig/linux/drivers/media/dvb/ttpci/av7110.h v4l-dvb-7a6fab6d00a0/linux/drivers/media/dvb/ttpci/av7110.h --- v4l-dvb-7a6fab6d00a0_orig/linux/drivers/media/dvb/ttpci/av7110.h 2007-10-15 21:24:20.0 +0200 +++ v4l-dvb-7a6fab6d00a0/linux/drivers/media/dvb/ttpci/av7110.h 2007-10-15 21:32:30.0 +0200 @@ -50,6 +50,11 @@ enum {AV_PES_STREAM, PS_STREAM, TS_STREAM, PES_STREAM}; +enum av7110_video_mode { + AV7110_VIDEO_MODE_PAL = 0, + AV7110_VIDEO_MODE_NTSC = 1 +}; + struct av7110_p2t { u8 pes[TS_SIZE]; u8 counter; @@ -182,7 +187,7 @@ ca_slot_info_t ci_slot[2]; - int vidmode; + enum av7110_video_mode vidmode; struct dmxdev dmxdev; struct dvb_demux demux; diff -bur v4l-dvb-7a6fab6d00a0_orig/linux/drivers/media/dvb/ttpci/av7110_av.c v4l-dvb-7a6fab6d00a0/linux/drivers/media/dvb/ttpci/av7110_av.c --- v4l-dvb-7a6fab6d00a0_orig/linux/drivers/media/dvb/ttpci/av7110_av.c 2007-10-15 21:24:20.0 +0200 +++ v4l-dvb-7a6fab6d00a0/linux/drivers/media/dvb/ttpci/av7110_av.c 2007-10-15 21:32:44.0 +0200 @@ -329,7 +329,7 @@ return 0; } -int av7110_set_vidmode(struct av7110 *av7110, int mode) +int av7110_set_vidmode(struct av7110 *av7110, enum av7110_video_mode mode) { int ret; dprintk(2, av7110:%p, \n, av7110); @@ -348,11 +348,11 @@ } -static int sw2mode[16] = { - VIDEO_MODE_PAL, VIDEO_MODE_NTSC, VIDEO_MODE_NTSC, VIDEO_MODE_PAL, - VIDEO_MODE_NTSC, VIDEO_MODE_NTSC, VIDEO_MODE_PAL, VIDEO_MODE_NTSC, - VIDEO_MODE_PAL, VIDEO_MODE_PAL, VIDEO_MODE_PAL, VIDEO_MODE_PAL, - VIDEO_MODE_PAL, VIDEO_MODE_PAL, VIDEO_MODE_PAL, VIDEO_MODE_PAL, +static enum av7110_video_mode
Re: [linux-dvb] [Patch] stv0297: The value of the signal strength depends on the configuration of the agc polarity.
e9hack wrote: Hi, the attached patch fixes the increasing of the signal strength value (higher value = higher signal strength) and scales the value to the range of 0... The charcteristic itself is wrong. To get proper values on a TT-C2300 in the range of 40..60% real signal strength, the values from the patch should be divide by two. The attached patch doesn't fix the characteristic. Does this mean that you have a very high (80-100%) STR with this patch? Imho we may apply some heuristic to get sane values. We have 0 = tmp = 0x1ff. What about *strength = (tmp/2) * (tmp/2) ? CU Oliver -- VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/ ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] [Patch] tda10021: The value of signal strength depends on the configuration of the agc polarity.
e9hack wrote: Hi, the attached patch fixes the increasing of the signal strength value (higher value = higher signal strength). If nobody objects I'll commit this patch. CU Oliver -- VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/ ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] [Patch] tda10021: The ber counting must be reinitialized after reading of the values
e9hack wrote: Hi, the attached patch fixes the not working ber counting of the tda10021 frontend. If nobody objects I'll commit this patch. Thanks Oliver -- VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/ ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] stv0297: improvement for qam256 modulated channels
e9hack wrote: Hi, I did eavesdrop the i2c-bus on the TT-C2300 on windows. The initialization of the stv0297 is a little bit different. If I change the value for the initial demodulation frequency, the ber value is reduced to a fourths. @all: please test with QAM256 channels and report any problems. If nobody objects I'll commit this patch. CU Oliver -- VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/ ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] stv0297: improvement for qam256 modulated channels
Hi Oliver, This breaks my cablestar. After applying the patch, I cannot lock any QAM256 channel. Guy On Sat, 27 Oct 2007 08:17:14 +0200 Oliver Endriss [EMAIL PROTECTED] wrote: e9hack wrote: Hi, I did eavesdrop the i2c-bus on the TT-C2300 on windows. The initialization of the stv0297 is a little bit different. If I change the value for the initial demodulation frequency, the ber value is reduced to a fourths. @all: please test with QAM256 channels and report any problems. If nobody objects I'll commit this patch. CU Oliver -- Guy Martin Gentoo Linux - HPPA port lead ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
[linux-dvb] Fwd: [Kaffeine-user] frequency change for Sweden / Gothenburg / Brudaremossen
From a kaffeine user ... Christoph -- Weitergeleitete Nachricht -- Betreff: [Kaffeine-user] frequency change for Sweden / Gothenburg / Brudaremossen Datum: Mittwoch 24 Oktober 2007 Von: Tony [EMAIL PROTECTED] An: [EMAIL PROTECTED] Just want to inform that the swedish telivision has changed the frequency for Gothenburg/Brudarmossen. Below configuration is what I get installed with Kaffeine. # Sweden - Göteborg/Brudaremossen # T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy T 62600 8MHz 2/3 NONE QAM64 8k 1/8 NONE T 52200 8MHz 2/3 NONE QAM64 8k 1/8 NONE T 77800 8MHz 2/3 NONE QAM64 8k 1/8 NONE T 59400 8MHz 3/4 NONE QAM64 8k 1/4 NONE T 81800 8MHz 2/3 NONE QAM64 8k 1/8 NONE It is changed and should be from now on: # Sweden - Göteborg/Brudaremossen # T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy T 54600 8MHz 2/3 NONE QAM64 8k 1/8 NONE T 52200 8MHz 2/3 NONE QAM64 8k 1/8 NONE T 77800 8MHz 2/3 NONE QAM64 8k 1/8 NONE T 59400 8MHz 3/4 NONE QAM64 8k 1/4 NONE T 81800 8MHz 2/3 NONE QAM64 8k 1/8 NONE //Tony ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] stv0297: improvement for qam256 modulated channels
Hi Oliver, I get no lock on any QAM-256 channel with my C-2300 after applying that patch. Johann Oliver Endriss schrieb: e9hack wrote: Hi, I did eavesdrop the i2c-bus on the TT-C2300 on windows. The initialization of the stv0297 is a little bit different. If I change the value for the initial demodulation frequency, the ber value is reduced to a fourths. @all: please test with QAM256 channels and report any problems. If nobody objects I'll commit this patch. CU Oliver ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] stv0297: improvement for qam256 modulated channels
Hi, Guy Martin wrote: On Sat, 27 Oct 2007 08:17:14 +0200 Oliver Endriss [EMAIL PROTECTED] wrote: e9hack wrote: I did eavesdrop the i2c-bus on the TT-C2300 on windows. The initialization of the stv0297 is a little bit different. If I change the value for the initial demodulation frequency, the ber value is reduced to a fourths. @all: please test with QAM256 channels and report any problems. If nobody objects I'll commit this patch. This breaks my cablestar. After applying the patch, I cannot lock any QAM256 channel. Thanks for reporting! Apparently we cannot use 6718 for all cards. So the patch must be modified... @TT/Hauppauge DVB-C 2300 users: Are there any problems with this patch? CU Oliver -- VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/ ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb