Re: Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used

2015-02-04 Thread dcr...@telefonica.net
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: Re: Re: [possible BUG, cx23885] Dual tuner TV card, works using one tuner only, doesn't work if both tuners are used

2015-02-04 Thread dcr...@telefonica.net
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: Re: [BUG, workaround] HVR-2200/saa7164 problem with C7 power state

2015-02-03 Thread dcr...@telefonica.net
 Mensaje original 
De : st...@kernellabs.com
Fecha : 02/02/2015 - 16:39 (GMT)
Para : dcr...@telefonica.net
CC : linux-media@vger.kernel.org
Asunto : Re: [BUG, workaround] HVR-2200/saa7164 problem with C7 power state

Basically, it starts working but after a while I get an Event timed out 
message and several i2c errors and VDR shuts down (some hours after reboot). 
As the web page mentions, I tested downgrading the PCIe bandwith from GEN2 
to GEN1 without success. But after playing with different BIOS options, what 
did the trick was limiting the power-saving C-states. If I select C7 as 
the maximum C-state, the card fails as described. After limiting the maximum 
C-state to C6, it has been working for a whole weekend.

Good feedback on the C7 vs C6 power state, thanks.

You are welcome, Steve. Happy to be helpful.

I will be at your disposal for testing purposes, if you need.

BR
--
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


[no subject]

2015-02-02 Thread dcr...@telefonica.net
Hi,

As I faced problems with my Terratec Cinergy T PCIe Dual and was unable to 
solve it (yet), I recently purchased a used Hauppauge HVR-2200 PCIe dual tuner. 
I immediately ran into problems with the HVR-2200 as well, perfectly described 
here:

http://whirlpool.net.au/wiki/n54l_all_in_one
(scroll down or search saa7164_cmd_send() No free sequences)

Basically, it starts working but after a while I get an Event timed out 
message and several i2c errors and VDR shuts down (some hours after reboot). As 
the web page mentions, I tested downgrading the PCIe bandwith from GEN2 to GEN1 
without success. But after playing with different BIOS options, what did the 
trick was limiting the power-saving C-states. If I select C7 as the maximum 
C-state, the card fails as described. After limiting the maximum C-state to 
C6, it has been working for a whole weekend.

The HVR-2200 was also tested in a GA-H67MA-UD2H-B3 board with an G1610 Celeron, 
working without problems (although maximum C-state setup was not checked).

Probably the error is present in other saa7164 boards.

My VDR server is based on BayTrail J1900 (Asrock Q1900M).

PS: I'm still waiting for advice regarding my Cinergy T/cx23885 problems and 
debugging. 

Re: [BUG, workaround] HVR-2200/saa7164 problem with C7 power state

2015-02-02 Thread dcr...@telefonica.net
I'm sorry, I resend the message with a descriptive subject 

 Mensaje original 
De : dcr...@telefonica.net
Fecha : 02/02/2015 - 16:04 (GMT)
Para : linux-media@vger.kernel.org
Asunto : 

Hi,

As I faced problems with my Terratec Cinergy T PCIe Dual and was unable to 
solve it (yet), I recently purchased a used Hauppauge HVR-2200 PCIe dual 
tuner. I immediately ran into problems with the HVR-2200 as well, perfectly 
described here:

http://whirlpool.net.au/wiki/n54l_all_in_one
(scroll down or search saa7164_cmd_send() No free sequences)

Basically, it starts working but after a while I get an Event timed out 
message and several i2c errors and VDR shuts down (some hours after reboot). 
As the web page mentions, I tested downgrading the PCIe bandwith from GEN2 to 
GEN1 without success. But after playing with different BIOS options, what did 
the trick was limiting the power-saving C-states. If I select C7 as the 
maximum C-state, the card fails as described. After limiting the maximum 
C-state to C6, it has been working for a whole weekend.

The HVR-2200 was also tested in a GA-H67MA-UD2H-B3 board with an G1610 
Celeron, working without problems (although maximum C-state setup was not 
checked).

Probably the error is present in other saa7164 boards.

My VDR server is based on BayTrail J1900 (Asrock Q1900M).

PS: I'm still waiting for advice regarding my Cinergy T/cx23885 problems and 
debugging. 

--
---
dCrypt
--
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