Re: Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
Too bad. I will check anyway the export cost, just to check if it makes sense. BTW, did you have the chance to look at the logs I attached, just to figure out if something is wrong or something can be debugged at my side? I'm not expert in V4L stuff, but I am a programmer and could test things by myself if some advice or guidance is provided. Maybe there is a DVB/V4L programming tutorial somewhere? BR Mensaje original De : st...@kernellabs.com Fecha : 03/02/2015 - 22:40 (GMT) Para : dcr...@telefonica.net CC : linux-media@vger.kernel.org Asunto : Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, I'm based in the US :( - Steve -- Steven Toth - Kernel Labs http://www.kernellabs.com On Tue, Feb 3, 2015 at 4:39 PM, dCrypt dcr...@telefonica.net wrote: Thanks Steve. If sending it really helps you in your development, I will gladly pay for the postage forth and back if you live in Europe. When my recently purchased HVR-2200 is stable in my PVR (I could still use the Terratec disabling one tuner), I will consider donating the Terratec. BR -Mensaje original- De: Steven Toth [mailto:st...@kernellabs.com] Enviado el: martes, 03 de febrero de 2015 20:32 Para: dCrypt CC: Linux-Media Asunto: Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used While I am the maintainer of the cx23885 driver, its currently undergoing a significant amount of churn related to Han's recent VB2 and other changes. I consider the current driver broken until the feedback on the mailing list dies down. I'm reluctant to work on the driver while its considered unstable. If you want to send me a Terratec card then I'll try to fund an hour to investigate in the coming weeks. Best, - Steve -- Steven Toth - Kernel Labs http://www.kernellabs.com On Tue, Feb 3, 2015 at 2:26 PM, dCrypt dcr...@telefonica.net wrote: Steve, Maybe you can help me tracking down my other card's problem, as I saw you were owner of the (c) in the cx23885 source code. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: jueves, 29 de enero de 2015 1:11 Para: linux-media@vger.kernel.org CC: st...@linuxtv.org Asunto: RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, I have attached four excerpts from /var/log/kern.log with debug=9 option for module cx23885. The test flow is the following: 0) Ubuntu 14.04/kernel 3.13 just installed, latest V4L source code compiled and installed Test 1.1) - Reboot - sudo tzap -a 0 -x -H -c channelsv3.conf La 1 HD., using first tuner, it locks and works - log excerpt extracted - test1.1-adap0-ok.log Test 1.2) - sudo tzap -a 1 -x -H -c channelsv3.conf La 1 HD., using second tuner after first tuner lock, it doesn't lock and doesn't work - log excerpt extracted - test1.2-adap1-ko.log Test 2.1) - Reboot - sudo tzap -a 1 -x -H -c channelsv3.conf La 1 HD., using second tuner, it locks and works - log excerpt extracted - test2.1-adap1-ok.log Test 2.2) - sudo tzap -a 0 -x -H -c channelsv3.conf La 1 HD., using first tuner after second tuner lock, it doesn't lock and doesn't work - log excerpt extracted - test2.2-adap0-ko.log From the logs, I interpret that, after one tuner is used and locked the signal, trying to use the other tuner no IRQs are fired after cx23885_start_dma(), so the driver immediately cancels buffers and stops dma. However, I am not an expert and I can't follow the full workflow, so I could be wrong. I would like to help as much as I can, but I'm afraid I need some guidance. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: sábado, 17 de enero de 2015 1:26 Para: ja...@ejbdigital.com.au CC: linux-media@vger.kernel.org; hverk...@xs4all.nl Asunto: RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, James. After searching for somebody posting some issues similar to mine, I think this one you posted to the mailing list can be related: https://www.mail-archive.com/linux- media%40vger.kernel.org/msg80078.html I'm having problems using both tuners in a dual tuner card (Terratec Cinergy T PCIe Dual), also based on cx23885, but it uses different frontends/tuners than yours. In summary, my problem is that I started getting signal/locking errors in VDR if I tuned one frontend, and VDR scanned EIT/EPG using the second tuner in the background; by disabling the second tuner it works. I managed to reproduce the problem by simply
Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
Tested with a couple of DVBSky T982 adapters against latest media master. No problems detected. Moreover: even with earlier versions of the media tree (starting with the version in witch support for DVBSky t982 was added), I never encountered any problems. Regards, Tycho. Op 04-02-15 om 16:14 schreef Antti Palosaari: On 02/04/2015 09:54 AM, Hans Verkuil wrote: On 02/03/2015 08:32 PM, Steven Toth wrote: While I am the maintainer of the cx23885 driver, its currently undergoing a significant amount of churn related to Han's recent VB2 and other changes. I consider the current driver broken until the feedback on the mailing list dies down. I'm reluctant to work on the driver while its considered unstable. Any issues in the driver are all related to streaming. Tuning has not been touched at all and there is some anecdotal evidence that if there are tuning issues they were there already before the vb2 conversion. To my knowledge the driver is now stable. There is still the occasional kernel message that shouldn't be there which I am trying to track down, but the driver crashes due to a vb2 race condition have been fixed. Tested with Hauppauge WinTV-HVR5525 against latest media master and seems to work now. Earlier there was 2 problems: 1) lockdep splash 2) hangs when both adapters were streaming regards Antti -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Re: Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
Understood, thank you. I will consider donating it to you after my new HVR-2200 seems stable enough. BR Mensaje original De : st...@kernellabs.com Fecha : 04/02/2015 - 12:51 (GMT) Para : dcr...@telefonica.net CC : linux-media@vger.kernel.org Asunto : Re: Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used I didn't see anything obvious in the logs :( Please don't send the hardware to the US unless you're willing to leave it with me permanently, I don't work on hardware for free if I don't get to keep the final hardware. I hope you understand. - Steve -- Steven Toth - Kernel Labs http://www.kernellabs.com On Wed, Feb 4, 2015 at 3:30 AM, dcr...@telefonica.net dcr...@telefonica.net wrote: Too bad. I will check anyway the export cost, just to check if it makes sense. BTW, did you have the chance to look at the logs I attached, just to figure out if something is wrong or something can be debugged at my side? I'm not expert in V4L stuff, but I am a programmer and could test things by myself if some advice or guidance is provided. Maybe there is a DVB/V4L programming tutorial somewhere? BR Mensaje original De : st...@kernellabs.com Fecha : 03/02/2015 - 22:40 (GMT) Para : dcr...@telefonica.net CC : linux-media@vger.kernel.org Asunto : Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, I'm based in the US :( - Steve -- Steven Toth - Kernel Labs http://www.kernellabs.com On Tue, Feb 3, 2015 at 4:39 PM, dCrypt dcr...@telefonica.net wrote: Thanks Steve. If sending it really helps you in your development, I will gladly pay for the postage forth and back if you live in Europe. When my recently purchased HVR-2200 is stable in my PVR (I could still use the Terratec disabling one tuner), I will consider donating the Terratec. BR -Mensaje original- De: Steven Toth [mailto:st...@kernellabs.com] Enviado el: martes, 03 de febrero de 2015 20:32 Para: dCrypt CC: Linux-Media Asunto: Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used While I am the maintainer of the cx23885 driver, its currently undergoing a significant amount of churn related to Han's recent VB2 and other changes. I consider the current driver broken until the feedback on the mailing list dies down. I'm reluctant to work on the driver while its considered unstable. If you want to send me a Terratec card then I'll try to fund an hour to investigate in the coming weeks. Best, - Steve -- Steven Toth - Kernel Labs http://www.kernellabs.com On Tue, Feb 3, 2015 at 2:26 PM, dCrypt dcr...@telefonica.net wrote: Steve, Maybe you can help me tracking down my other card's problem, as I saw you were owner of the (c) in the cx23885 source code. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: jueves, 29 de enero de 2015 1:11 Para: linux-media@vger.kernel.org CC: st...@linuxtv.org Asunto: RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, I have attached four excerpts from /var/log/kern.log with debug=9 option for module cx23885. The test flow is the following: 0) Ubuntu 14.04/kernel 3.13 just installed, latest V4L source code compiled and installed Test 1.1) - Reboot - sudo tzap -a 0 -x -H -c channelsv3.conf La 1 HD., using first tuner, it locks and works - log excerpt extracted - test1.1-adap0-ok.log Test 1.2) - sudo tzap -a 1 -x -H -c channelsv3.conf La 1 HD., using second tuner after first tuner lock, it doesn't lock and doesn't work - log excerpt extracted - test1.2-adap1-ko.log Test 2.1) - Reboot - sudo tzap -a 1 -x -H -c channelsv3.conf La 1 HD., using second tuner, it locks and works - log excerpt extracted - test2.1-adap1-ok.log Test 2.2) - sudo tzap -a 0 -x -H -c channelsv3.conf La 1 HD., using first tuner after second tuner lock, it doesn't lock and doesn't work - log excerpt extracted - test2.2-adap0-ko.log From the logs, I interpret that, after one tuner is used and locked the signal, trying to use the other tuner no IRQs are fired after cx23885_start_dma(), so the driver immediately cancels buffers and stops dma. However, I am not an expert and I can't follow the full workflow, so I could be wrong. I would like to help as much as I can, but I'm afraid I need some guidance. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: sábado, 17 de enero de 2015 1:26 Para: ja...@ejbdigital.com.au CC: linux-media@vger.kernel.org; hverk...@xs4all.nl Asunto: RE
Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
To my knowledge the driver is now stable. There is still the occasional kernel message that shouldn't be there which I am trying to track down, but the driver crashes due to a vb2 race condition have been fixed. Thank you for the clarification Hans, and thanks for taking care of VB2 etc. -- Steven Toth - Kernel Labs http://www.kernellabs.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
On 02/04/2015 09:54 AM, Hans Verkuil wrote: On 02/03/2015 08:32 PM, Steven Toth wrote: While I am the maintainer of the cx23885 driver, its currently undergoing a significant amount of churn related to Han's recent VB2 and other changes. I consider the current driver broken until the feedback on the mailing list dies down. I'm reluctant to work on the driver while its considered unstable. Any issues in the driver are all related to streaming. Tuning has not been touched at all and there is some anecdotal evidence that if there are tuning issues they were there already before the vb2 conversion. To my knowledge the driver is now stable. There is still the occasional kernel message that shouldn't be there which I am trying to track down, but the driver crashes due to a vb2 race condition have been fixed. Tested with Hauppauge WinTV-HVR5525 against latest media master and seems to work now. Earlier there was 2 problems: 1) lockdep splash 2) hangs when both adapters were streaming regards Antti -- http://palosaari.fi/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
I didn't see anything obvious in the logs :( Please don't send the hardware to the US unless you're willing to leave it with me permanently, I don't work on hardware for free if I don't get to keep the final hardware. I hope you understand. - Steve -- Steven Toth - Kernel Labs http://www.kernellabs.com On Wed, Feb 4, 2015 at 3:30 AM, dcr...@telefonica.net dcr...@telefonica.net wrote: Too bad. I will check anyway the export cost, just to check if it makes sense. BTW, did you have the chance to look at the logs I attached, just to figure out if something is wrong or something can be debugged at my side? I'm not expert in V4L stuff, but I am a programmer and could test things by myself if some advice or guidance is provided. Maybe there is a DVB/V4L programming tutorial somewhere? BR Mensaje original De : st...@kernellabs.com Fecha : 03/02/2015 - 22:40 (GMT) Para : dcr...@telefonica.net CC : linux-media@vger.kernel.org Asunto : Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, I'm based in the US :( - Steve -- Steven Toth - Kernel Labs http://www.kernellabs.com On Tue, Feb 3, 2015 at 4:39 PM, dCrypt dcr...@telefonica.net wrote: Thanks Steve. If sending it really helps you in your development, I will gladly pay for the postage forth and back if you live in Europe. When my recently purchased HVR-2200 is stable in my PVR (I could still use the Terratec disabling one tuner), I will consider donating the Terratec. BR -Mensaje original- De: Steven Toth [mailto:st...@kernellabs.com] Enviado el: martes, 03 de febrero de 2015 20:32 Para: dCrypt CC: Linux-Media Asunto: Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used While I am the maintainer of the cx23885 driver, its currently undergoing a significant amount of churn related to Han's recent VB2 and other changes. I consider the current driver broken until the feedback on the mailing list dies down. I'm reluctant to work on the driver while its considered unstable. If you want to send me a Terratec card then I'll try to fund an hour to investigate in the coming weeks. Best, - Steve -- Steven Toth - Kernel Labs http://www.kernellabs.com On Tue, Feb 3, 2015 at 2:26 PM, dCrypt dcr...@telefonica.net wrote: Steve, Maybe you can help me tracking down my other card's problem, as I saw you were owner of the (c) in the cx23885 source code. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: jueves, 29 de enero de 2015 1:11 Para: linux-media@vger.kernel.org CC: st...@linuxtv.org Asunto: RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, I have attached four excerpts from /var/log/kern.log with debug=9 option for module cx23885. The test flow is the following: 0) Ubuntu 14.04/kernel 3.13 just installed, latest V4L source code compiled and installed Test 1.1) - Reboot - sudo tzap -a 0 -x -H -c channelsv3.conf La 1 HD., using first tuner, it locks and works - log excerpt extracted - test1.1-adap0-ok.log Test 1.2) - sudo tzap -a 1 -x -H -c channelsv3.conf La 1 HD., using second tuner after first tuner lock, it doesn't lock and doesn't work - log excerpt extracted - test1.2-adap1-ko.log Test 2.1) - Reboot - sudo tzap -a 1 -x -H -c channelsv3.conf La 1 HD., using second tuner, it locks and works - log excerpt extracted - test2.1-adap1-ok.log Test 2.2) - sudo tzap -a 0 -x -H -c channelsv3.conf La 1 HD., using first tuner after second tuner lock, it doesn't lock and doesn't work - log excerpt extracted - test2.2-adap0-ko.log From the logs, I interpret that, after one tuner is used and locked the signal, trying to use the other tuner no IRQs are fired after cx23885_start_dma(), so the driver immediately cancels buffers and stops dma. However, I am not an expert and I can't follow the full workflow, so I could be wrong. I would like to help as much as I can, but I'm afraid I need some guidance. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: sábado, 17 de enero de 2015 1:26 Para: ja...@ejbdigital.com.au CC: linux-media@vger.kernel.org; hverk...@xs4all.nl Asunto: RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, James. After searching for somebody posting some issues similar to mine, I think this one you posted to the mailing list can be related: https://www.mail-archive.com/linux- media%40vger.kernel.org/msg80078.html I'm having problems using both tuners
Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
On 02/03/2015 08:32 PM, Steven Toth wrote: While I am the maintainer of the cx23885 driver, its currently undergoing a significant amount of churn related to Han's recent VB2 and other changes. I consider the current driver broken until the feedback on the mailing list dies down. I'm reluctant to work on the driver while its considered unstable. Any issues in the driver are all related to streaming. Tuning has not been touched at all and there is some anecdotal evidence that if there are tuning issues they were there already before the vb2 conversion. To my knowledge the driver is now stable. There is still the occasional kernel message that shouldn't be there which I am trying to track down, but the driver crashes due to a vb2 race condition have been fixed. Regards, Hans If you want to send me a Terratec card then I'll try to fund an hour to investigate in the coming weeks. Best, - Steve -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
While I am the maintainer of the cx23885 driver, its currently undergoing a significant amount of churn related to Han's recent VB2 and other changes. I consider the current driver broken until the feedback on the mailing list dies down. I'm reluctant to work on the driver while its considered unstable. If you want to send me a Terratec card then I'll try to fund an hour to investigate in the coming weeks. Best, - Steve -- Steven Toth - Kernel Labs http://www.kernellabs.com On Tue, Feb 3, 2015 at 2:26 PM, dCrypt dcr...@telefonica.net wrote: Steve, Maybe you can help me tracking down my other card's problem, as I saw you were owner of the (c) in the cx23885 source code. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: jueves, 29 de enero de 2015 1:11 Para: linux-media@vger.kernel.org CC: st...@linuxtv.org Asunto: RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, I have attached four excerpts from /var/log/kern.log with debug=9 option for module cx23885. The test flow is the following: 0) Ubuntu 14.04/kernel 3.13 just installed, latest V4L source code compiled and installed Test 1.1) - Reboot - sudo tzap -a 0 -x -H -c channelsv3.conf La 1 HD., using first tuner, it locks and works - log excerpt extracted - test1.1-adap0-ok.log Test 1.2) - sudo tzap -a 1 -x -H -c channelsv3.conf La 1 HD., using second tuner after first tuner lock, it doesn't lock and doesn't work - log excerpt extracted - test1.2-adap1-ko.log Test 2.1) - Reboot - sudo tzap -a 1 -x -H -c channelsv3.conf La 1 HD., using second tuner, it locks and works - log excerpt extracted - test2.1-adap1-ok.log Test 2.2) - sudo tzap -a 0 -x -H -c channelsv3.conf La 1 HD., using first tuner after second tuner lock, it doesn't lock and doesn't work - log excerpt extracted - test2.2-adap0-ko.log From the logs, I interpret that, after one tuner is used and locked the signal, trying to use the other tuner no IRQs are fired after cx23885_start_dma(), so the driver immediately cancels buffers and stops dma. However, I am not an expert and I can't follow the full workflow, so I could be wrong. I would like to help as much as I can, but I'm afraid I need some guidance. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: sábado, 17 de enero de 2015 1:26 Para: ja...@ejbdigital.com.au CC: linux-media@vger.kernel.org; hverk...@xs4all.nl Asunto: RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, James. After searching for somebody posting some issues similar to mine, I think this one you posted to the mailing list can be related: https://www.mail-archive.com/linux- media%40vger.kernel.org/msg80078.html I'm having problems using both tuners in a dual tuner card (Terratec Cinergy T PCIe Dual), also based on cx23885, but it uses different frontends/tuners than yours. In summary, my problem is that I started getting signal/locking errors in VDR if I tuned one frontend, and VDR scanned EIT/EPG using the second tuner in the background; by disabling the second tuner it works. I managed to reproduce the problem by simply using dvbzap/dvbv5-zap in command line. And it suddenly started failing on the 1st of Dec 2014 (after a frequency change in DVB-T in Spain). I tested different Ubuntu distros wich previously worked, but I can't manage to make it work now using the default kernel included in the Ubuntu ISO image that I had installed. I am testing now with Ubuntu 15.04 nightly, kernel 3.18, in a separate hw platform. I also tested with MythTV and TVHedaend, but as I managed to reproduce it with the dvb command line tools, I don't test any GUI anymore. I've also tested it in Windows 7, and it works tuning both tuners simultaneously, so I discarded a hardware problem. I've also tested with the latest git from the v4l repo by following this guide (basic approach): http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L- DVB_Device_Drivers with the same result. My guess is that something in the cx23885 driver does not like the current DVB-T signal in Spain. Is it possible that something similar happened where you live? The problem is that I don't know how to proceed to debug the issue, so any advice is welcome. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: viernes, 09 de enero de 2015 8:16 Para: blind Pete CC: linux-media@vger.kernel.org Asunto: RE: [BUG] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, blind Pete. Thank you for taking
Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
Hi, I'm based in the US :( - Steve -- Steven Toth - Kernel Labs http://www.kernellabs.com On Tue, Feb 3, 2015 at 4:39 PM, dCrypt dcr...@telefonica.net wrote: Thanks Steve. If sending it really helps you in your development, I will gladly pay for the postage forth and back if you live in Europe. When my recently purchased HVR-2200 is stable in my PVR (I could still use the Terratec disabling one tuner), I will consider donating the Terratec. BR -Mensaje original- De: Steven Toth [mailto:st...@kernellabs.com] Enviado el: martes, 03 de febrero de 2015 20:32 Para: dCrypt CC: Linux-Media Asunto: Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used While I am the maintainer of the cx23885 driver, its currently undergoing a significant amount of churn related to Han's recent VB2 and other changes. I consider the current driver broken until the feedback on the mailing list dies down. I'm reluctant to work on the driver while its considered unstable. If you want to send me a Terratec card then I'll try to fund an hour to investigate in the coming weeks. Best, - Steve -- Steven Toth - Kernel Labs http://www.kernellabs.com On Tue, Feb 3, 2015 at 2:26 PM, dCrypt dcr...@telefonica.net wrote: Steve, Maybe you can help me tracking down my other card's problem, as I saw you were owner of the (c) in the cx23885 source code. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: jueves, 29 de enero de 2015 1:11 Para: linux-media@vger.kernel.org CC: st...@linuxtv.org Asunto: RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, I have attached four excerpts from /var/log/kern.log with debug=9 option for module cx23885. The test flow is the following: 0) Ubuntu 14.04/kernel 3.13 just installed, latest V4L source code compiled and installed Test 1.1) - Reboot - sudo tzap -a 0 -x -H -c channelsv3.conf La 1 HD., using first tuner, it locks and works - log excerpt extracted - test1.1-adap0-ok.log Test 1.2) - sudo tzap -a 1 -x -H -c channelsv3.conf La 1 HD., using second tuner after first tuner lock, it doesn't lock and doesn't work - log excerpt extracted - test1.2-adap1-ko.log Test 2.1) - Reboot - sudo tzap -a 1 -x -H -c channelsv3.conf La 1 HD., using second tuner, it locks and works - log excerpt extracted - test2.1-adap1-ok.log Test 2.2) - sudo tzap -a 0 -x -H -c channelsv3.conf La 1 HD., using first tuner after second tuner lock, it doesn't lock and doesn't work - log excerpt extracted - test2.2-adap0-ko.log From the logs, I interpret that, after one tuner is used and locked the signal, trying to use the other tuner no IRQs are fired after cx23885_start_dma(), so the driver immediately cancels buffers and stops dma. However, I am not an expert and I can't follow the full workflow, so I could be wrong. I would like to help as much as I can, but I'm afraid I need some guidance. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: sábado, 17 de enero de 2015 1:26 Para: ja...@ejbdigital.com.au CC: linux-media@vger.kernel.org; hverk...@xs4all.nl Asunto: RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, James. After searching for somebody posting some issues similar to mine, I think this one you posted to the mailing list can be related: https://www.mail-archive.com/linux- media%40vger.kernel.org/msg80078.html I'm having problems using both tuners in a dual tuner card (Terratec Cinergy T PCIe Dual), also based on cx23885, but it uses different frontends/tuners than yours. In summary, my problem is that I started getting signal/locking errors in VDR if I tuned one frontend, and VDR scanned EIT/EPG using the second tuner in the background; by disabling the second tuner it works. I managed to reproduce the problem by simply using dvbzap/dvbv5-zap in command line. And it suddenly started failing on the 1st of Dec 2014 (after a frequency change in DVB-T in Spain). I tested different Ubuntu distros wich previously worked, but I can't manage to make it work now using the default kernel included in the Ubuntu ISO image that I had installed. I am testing now with Ubuntu 15.04 nightly, kernel 3.18, in a separate hw platform. I also tested with MythTV and TVHedaend, but as I managed to reproduce it with the dvb command line tools, I don't test any GUI anymore. I've also tested it in Windows 7, and it works tuning both tuners simultaneously, so I discarded a hardware problem
RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
Thanks Steve. If sending it really helps you in your development, I will gladly pay for the postage forth and back if you live in Europe. When my recently purchased HVR-2200 is stable in my PVR (I could still use the Terratec disabling one tuner), I will consider donating the Terratec. BR -Mensaje original- De: Steven Toth [mailto:st...@kernellabs.com] Enviado el: martes, 03 de febrero de 2015 20:32 Para: dCrypt CC: Linux-Media Asunto: Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used While I am the maintainer of the cx23885 driver, its currently undergoing a significant amount of churn related to Han's recent VB2 and other changes. I consider the current driver broken until the feedback on the mailing list dies down. I'm reluctant to work on the driver while its considered unstable. If you want to send me a Terratec card then I'll try to fund an hour to investigate in the coming weeks. Best, - Steve -- Steven Toth - Kernel Labs http://www.kernellabs.com On Tue, Feb 3, 2015 at 2:26 PM, dCrypt dcr...@telefonica.net wrote: Steve, Maybe you can help me tracking down my other card's problem, as I saw you were owner of the (c) in the cx23885 source code. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: jueves, 29 de enero de 2015 1:11 Para: linux-media@vger.kernel.org CC: st...@linuxtv.org Asunto: RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, I have attached four excerpts from /var/log/kern.log with debug=9 option for module cx23885. The test flow is the following: 0) Ubuntu 14.04/kernel 3.13 just installed, latest V4L source code compiled and installed Test 1.1) - Reboot - sudo tzap -a 0 -x -H -c channelsv3.conf La 1 HD., using first tuner, it locks and works - log excerpt extracted - test1.1-adap0-ok.log Test 1.2) - sudo tzap -a 1 -x -H -c channelsv3.conf La 1 HD., using second tuner after first tuner lock, it doesn't lock and doesn't work - log excerpt extracted - test1.2-adap1-ko.log Test 2.1) - Reboot - sudo tzap -a 1 -x -H -c channelsv3.conf La 1 HD., using second tuner, it locks and works - log excerpt extracted - test2.1-adap1-ok.log Test 2.2) - sudo tzap -a 0 -x -H -c channelsv3.conf La 1 HD., using first tuner after second tuner lock, it doesn't lock and doesn't work - log excerpt extracted - test2.2-adap0-ko.log From the logs, I interpret that, after one tuner is used and locked the signal, trying to use the other tuner no IRQs are fired after cx23885_start_dma(), so the driver immediately cancels buffers and stops dma. However, I am not an expert and I can't follow the full workflow, so I could be wrong. I would like to help as much as I can, but I'm afraid I need some guidance. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] En nombre de dCrypt Enviado el: sábado, 17 de enero de 2015 1:26 Para: ja...@ejbdigital.com.au CC: linux-media@vger.kernel.org; hverk...@xs4all.nl Asunto: RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, James. After searching for somebody posting some issues similar to mine, I think this one you posted to the mailing list can be related: https://www.mail-archive.com/linux- media%40vger.kernel.org/msg80078.html I'm having problems using both tuners in a dual tuner card (Terratec Cinergy T PCIe Dual), also based on cx23885, but it uses different frontends/tuners than yours. In summary, my problem is that I started getting signal/locking errors in VDR if I tuned one frontend, and VDR scanned EIT/EPG using the second tuner in the background; by disabling the second tuner it works. I managed to reproduce the problem by simply using dvbzap/dvbv5-zap in command line. And it suddenly started failing on the 1st of Dec 2014 (after a frequency change in DVB-T in Spain). I tested different Ubuntu distros wich previously worked, but I can't manage to make it work now using the default kernel included in the Ubuntu ISO image that I had installed. I am testing now with Ubuntu 15.04 nightly, kernel 3.18, in a separate hw platform. I also tested with MythTV and TVHedaend, but as I managed to reproduce it with the dvb command line tools, I don't test any GUI anymore. I've also tested it in Windows 7, and it works tuning both tuners simultaneously, so I discarded a hardware problem. I've also tested with the latest git from the v4l repo by following this guide (basic approach): http://linuxtv.org/wiki/index.php/How_to_Obtain
RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
Thank you for your comments, James. I'm sure it's not a hw fault because mine works in Windows perfectly, and both tuners used independently also worked in Linux. BREl 29/1/2015 2:34, James Harper ja...@ejbdigital.com.au escribió: Hi, James. After searching for somebody posting some issues similar to mine, I think this one you posted to the mailing list can be related: https://www.mail-archive.com/linux- media%40vger.kernel.org/msg80078.html I'm having problems using both tuners in a dual tuner card (Terratec Cinergy T PCIe Dual), also based on cx23885, but it uses different frontends/tuners than yours. I'm pretty sure mine was an actual hardware fault. At first it worked perfectly. Then after a bit the server would occasionally lock up hard or reboot, then more often, then every time. I spent ages thinking it was a driver problem and did all sorts of traces etc and found nothing. In the end I just got mythtv to not use the second tuner (or the first tuner - as long as only one was used it was fine). Then about a month ago it started locking up again occasionally, then more often, then every time, only using the one tuner. Strange though that if it booted up without locking up it would be okay. I bought a usb tuner and haven't used the cx23885 card since. I will be seeking a replacement under warranty though, as the signal quality is quite a bit better. Good luck in your quest though! James N�r��yb�X��ǧv�^�){.n�+{���bj)w*jg����ݢj/���z�ޖ��2�ޙ�)ߡ�a�����G���h��j:+v���w��٥
RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
Hi, James. After searching for somebody posting some issues similar to mine, I think this one you posted to the mailing list can be related: https://www.mail-archive.com/linux- media%40vger.kernel.org/msg80078.html I'm having problems using both tuners in a dual tuner card (Terratec Cinergy T PCIe Dual), also based on cx23885, but it uses different frontends/tuners than yours. I'm pretty sure mine was an actual hardware fault. At first it worked perfectly. Then after a bit the server would occasionally lock up hard or reboot, then more often, then every time. I spent ages thinking it was a driver problem and did all sorts of traces etc and found nothing. In the end I just got mythtv to not use the second tuner (or the first tuner - as long as only one was used it was fine). Then about a month ago it started locking up again occasionally, then more often, then every time, only using the one tuner. Strange though that if it booted up without locking up it would be okay. I bought a usb tuner and haven't used the cx23885 card since. I will be seeking a replacement under warranty though, as the signal quality is quite a bit better. Good luck in your quest though! James
RE: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used
Hi, James. After searching for somebody posting some issues similar to mine, I think this one you posted to the mailing list can be related: https://www.mail-archive.com/linux-media%40vger.kernel.org/msg80078.html I'm having problems using both tuners in a dual tuner card (Terratec Cinergy T PCIe Dual), also based on cx23885, but it uses different frontends/tuners than yours. In summary, my problem is that I started getting signal/locking errors in VDR if I tuned one frontend, and VDR scanned EIT/EPG using the second tuner in the background; by disabling the second tuner it works. I managed to reproduce the problem by simply using dvbzap/dvbv5-zap in command line. And it suddenly started failing on the 1st of Dec 2014 (after a frequency change in DVB-T in Spain). I tested different Ubuntu distros wich previously worked, but I can't manage to make it work now using the default kernel included in the Ubuntu ISO image that I had installed. I am testing now with Ubuntu 15.04 nightly, kernel 3.18, in a separate hw platform. I also tested with MythTV and TVHedaend, but as I managed to reproduce it with the dvb command line tools, I don't test any GUI anymore. I've also tested it in Windows 7, and it works tuning both tuners simultaneously, so I discarded a hardware problem. I've also tested with the latest git from the v4l repo by following this guide (basic approach): http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers with the same result. My guess is that something in the cx23885 driver does not like the current DVB-T signal in Spain. Is it possible that something similar happened where you live? The problem is that I don't know how to proceed to debug the issue, so any advice is welcome. BR -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media-ow...@vger.kernel.org] En nombre de dCrypt Enviado el: viernes, 09 de enero de 2015 8:16 Para: blind Pete CC: linux-media@vger.kernel.org Asunto: RE: [BUG] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, blind Pete. Thank you for taking your time to answer. Yes, I tried different kernels focusing con Ubuntu distro. I don't remember the exact kernel version, but at least those included by default in the Ubuntu 12.04 lts and 14.04 lts ISO image, which worked for me. The latest Ubuntu version I tested was the nightly 15.04 from the 7th of January. BREl 9/1/2015 4:46, blind Pete 0123pe...@gmail.com escribió: Hi dCrypt, I'm not a developer at all. I'm not even sure why I read this list, but can you determine if the problem is associated with a particular kernel version? i.e. if it works on x.y.z but fails on x.y.(z+1) you have a starting point. If you use the word regression and a kernel version number you might get more attention - but I'm only guessing. Good luck, blind Pete dCrypt wrote: Hi again, I'm sorry if I sound quite rude, but I'm not sure if I am doing it right or not. I subscribed to this mailing list in order to ask for help, or to help with a bug that I've found (as instructed in the wiki http://linuxtv.org/wiki/index.php/Bug_Report), but it seems to me that the mailing list is filled up with developing messages. I don't want to participate in the development, I am a developer but I don't have the skills nor the knowledge. If this is not the right place to direct my questions, I would appreciate some advice. Thank you very much, and best regards. -Mensaje original- De: linux-media-ow...@vger.kernel.org [mailto:linux-media-ow...@vger.kernel.org] En nombre de dCrypt Enviado el: jueves, 01 de enero de 2015 22:04 Para: linux-media@vger.kernel.org Asunto: [BUG] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used Hi, I just subscribed to the mailing list to submit information on the bug which is driving me crazy since one month ago. I have a VDR based PVR at home, installed over an Ubuntu 14.04 LTS. Everything was working perfectly, until beginning of December. It seems to me that something changed that broke my PVR pretty bad. The problem is the following: tuning (zap) both tuners (it's not needed that both are tuned simultaneously, only one after the other, in no particular order) makes the tuners to enter an state where they can't lock the signal anymore. Facts: - My TV card is a Cinergy T PCIe Dual from Terratec (http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_T_PCIe_dual). - The problem arose in the form of frontend x/0 timed out while tuning to channel ... in /var/log/syslog. It happened when both tuners are active, during EPG scan. The problem does not happen if VDR is run with -D parameter to limit the number of frontends enabled. Disabling the EPG scan with both frontends enabled minimizes the problem, but doesn't