linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ngene & Satix-S2 dual problems
@ 2010-11-20 15:52 Robert Longbottom
  2010-11-20 19:22 ` Oliver Endriss
  0 siblings, 1 reply; 22+ messages in thread
From: Robert Longbottom @ 2010-11-20 15:52 UTC (permalink / raw)
  To: linux-media

Hi all,

I have a Satix-S2 Dual that I'm trying to get to work properly so that I 
can use it under MythTv however I'm running into a few issues.  I 
previously posted about the problems I'm having here to the mythtv 
list[1], but didn't really get anywhere.  I've had chance to have a bit 
more of a play and I now seem to have a definite repeatable problem.

The problem is when a recording stops on one of the inputs, after about 
40s it causes the other input to loose it's signal lock and stop the 
recording as well.


Steps to demonstrate the problem (My Satix card is adapters 5 and 6)

In 3 seperate terminals set up femon/szap/cat to make a recording from 
one of the inputs:

1 - femon -a 6 -f 0 -H
2 - szap -a 6 -f 0 -d 0 -r -H -p -c scanResult07Oct2010_Satix -l 
UNIVERSAL "BBC 1 London"
3 - cat /dev/dvb/adapter6/dvr0 > ad6.mpg

In 2 seperate terminals tune in the other input:

4 - femon -a 5 -f 0 -H
5 - szap -a 5 -f 0 -d 0 -r -H -p -c scanResult07Oct2010_Satix -l 
UNIVERSAL "ITV1 London"

Both inputs are fine, signal is good, recording from adapter 6 works.

6 - Ctrl-C the szap process created in (5).

femon in (4) still reports status=SCVYL and decent signal strengh as if 
the adapter is still tuned and FE_HAS_LOCK.  After approximately 40 
seconds, either:

a) the signal drops significantly but the status remains at SCVYL and 
FE_HAS_LOCK

or

b) the signal drops and the status goes blank with no lock.

It doesn't seem to matter which of these two happen, but at the same 
time the recording on the other tuner looses it signal and stops 
recording, despite the fact that szap is still running in (2).  femon in 
(1) no longer reports FE_HAS_LOCK.

Strangely if I then try to restart the szap process created in terminal 
2 (to try and retune it) it just waits after printing out "using 
'/dev/dvb/....".  However if I then restart the szap process in terminal 
5, the one in terminal 2 suddenly kicks in and gets a lock.

Interestingly I found a link describing a 60s period the card is kept 
open for [2], which seems to be similar to my ~40s delay.  So it looks 
like when the second input on the card is closed the first input looses 
it's lock.

This obviously makes it pretty useless for MythTv and as a result it's 
not currently being used, which is a shame!

I'm using the ngene driver from the stock 2.6.35.4 kernel on Gentoo.

Does anyone else see this problem?  Is there anything I can do to try 
and fix / debug it?  Are there any bug fixes in the latest kernel that 
might help, or in the linux-dvb drivers that would help?

Any help or advice much appreciated.

Thanks,
Robert.

[1] - 
http://www.mailinglistarchive.com/html/mythtv-users@mythtv.org/2010-10/msg00725.html

[2] - https://patchwork.kernel.org/patch/87392/

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: ngene & Satix-S2 dual problems
@ 2010-12-26 14:40 Ludovic BOUÉ
  2010-12-27  9:07 ` Andre
  2010-12-27 21:49 ` Oliver Endriss
  0 siblings, 2 replies; 22+ messages in thread
From: Ludovic BOUÉ @ 2010-12-26 14:40 UTC (permalink / raw)
  To: linux-media, linux-media; +Cc: o.endriss

Hi all,

I have a Satix-S2 Dual and I'm trying to get to work without his CI in a first time. I'm trying ngene-test2 
from http://linuxtv.org/hg/~endriss/ngene-test2/ under 
2.6.32-21-generic.

It contains too much nodes (extra demuxes, dvrs & nets):

> ubuntu@ubuntu:~/ngene-test2/v4l$ ls -l /dev/dvb/adapter*
> total 0
> crw-rw----+ 1 root video 212,  0 2010-12-26 13:08 demux0
> crw-rw----+ 1 root video 212,  4 2010-12-26 13:08 demux1
> crw-rw----+ 1 root video 212,  8 2010-12-26 13:08 demux2
> crw-rw----+ 1 root video 212, 11 2010-12-26 13:08 demux3
> crw-rw----+ 1 root video 212, 14 2010-12-26 13:08 demux4
> crw-rw----+ 1 root video 212,  1 2010-12-26 13:08 dvr0
> crw-rw----+ 1 root video 212,  5 2010-12-26 13:08 dvr1
> crw-rw----+ 1 root video 212,  9 2010-12-26 13:08 dvr2
> crw-rw----+ 1 root video 212, 12 2010-12-26 13:08 dvr3
> crw-rw----+ 1 root video 212, 15 2010-12-26 13:08 dvr4
> crw-rw----+ 1 root video 212,  3 2010-12-26 13:08 frontend0
> crw-rw----+ 1 root video 212,  7 2010-12-26 13:08 frontend1
> crw-rw----+ 1 root video 212,  2 2010-12-26 13:08 net0
> crw-rw----+ 1 root video 212,  6 2010-12-26 13:08 net1
> crw-rw----+ 1 root video 212, 10 2010-12-26 13:08 net2
> crw-rw----+ 1 root video 212, 13 2010-12-26 13:08 net3
> crw-rw----+ 1 root video 212, 16 2010-12-26 13:08 net4
Is it connected to this commit (http://linuxtv.org/hg/~endriss/ngene-test2/rev/eb4142f0d0ac) about "Support up to 4 tuners for cineS2 v5, duoflex & mystique v2" ?

Here is what dmesg reports I do 'modprobe ngene'

> [ 3248.072496] nGene PCIE bridge driver, Copyright (C) 2005-2007 Micronas
> [ 3248.072533] ngene 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [ 3248.072548] ngene: Found Mystique SaTiX-S2 Dual (v2)
> [ 3248.075765] ngene 0000:02:00.0: setting latency timer to 64
> [ 3248.075926] ngene: Device version 1
> [ 3248.075938] ngene 0000:02:00.0: firmware: requesting ngene_18.fw
> [ 3248.079319] ngene: Loading firmware file ngene_18.fw.
> [ 3248.090194]   alloc irq_desc for 28 on node -1
> [ 3248.090197]   alloc kstat_irqs on node -1
> [ 3248.090212] ngene 0000:02:00.0: irq 28 for MSI/MSI-X
> [ 3248.091778] error in i2c_read_reg
> [ 3248.091781] No CXD2099 detected at 40	<---- No dedicated ASIC is a
> Sony CXD2099AR
> [ 3248.091943] DVB: registering new adapter (nGene)
> [ 3248.414997] LNBx2x attached on addr=a
> [ 3248.421091] stv6110x_attach: Attaching STV6110x
> [ 3248.421095] DVB: registering adapter 0 frontend 0 (STV090x Multistandard)...
> [ 3248.422500] LNBx2x attached on addr=8
> [ 3248.422568] stv6110x_attach: Attaching STV6110x
> [ 3248.422571] DVB: registering adapter 0 frontend 0 (STV090x Multistandard)...
About the module :
> ubuntu@ubuntu:~/ngene-test2/v4l$ modinfo ngene
> filename:
> /lib/modules/2.6.32-21-generic/kernel/drivers/media/dvb/ngene/ngene.ko
> license:        GPL
> author:         Micronas, Ralph Metzler, Manfred Voelkel
> description:    nGene
> license:        GPL
> author:         Ralph Metzler <rjkm@metzlerbros.de>
> description:    cxd2099
> srcversion:     AC815F965A079912E969015
> alias:          pci:v000018C3d00000720sv00001461sd0000062Ebc*sc*i*
> alias:          pci:v000018C3d00000720sv000018C3sd0000DD20bc*sc*i*
> alias:          pci:v000018C3d00000720sv000018C3sd0000DD10bc*sc*i*
> alias:          pci:v000018C3d00000720sv000018C3sd0000DD00bc*sc*i*
> alias:          pci:v000018C3d00000720sv000018C3sd0000DB02bc*sc*i*
> alias:          pci:v000018C3d00000720sv000018C3sd0000DB01bc*sc*i*
> alias:          pci:v000018C3d00000720sv000018C3sd0000ABC4bc*sc*i*
> alias:          pci:v000018C3d00000720sv000018C3sd0000ABC3bc*sc*i*
> depends:        dvb-core
> vermagic:       2.6.32-21-generic SMP mod_unload modversions 586
> parm:           one_adapter:Use only one adapter. (int)
> parm:           shutdown_workaround:Activate workaround for shutdown
> problem with some chipsets. (int)
> parm:           debug:Print debugging information. (int)
> parm:           adapter_nr:DVB adapter numbers (array of short)

When I put the option "one_adapter=0" :

> sudo modprobe ngene debug=1 one_adapter=0

> [ 6077.066311] ngene 0000:02:00.0: PCI INT A disabled
> [ 6101.525377] nGene PCIE bridge driver, Copyright (C) 2005-2007 Micronas
> [ 6101.525405] ngene 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [ 6101.525418] ngene: Found Mystique SaTiX-S2 Dual (v2)
> [ 6101.530520] ngene 0000:02:00.0: setting latency timer to 64
> [ 6101.530683] ngene: Device version 1
> [ 6101.530692] ngene 0000:02:00.0: firmware: requesting ngene_18.fw
> [ 6101.532043] ngene: Loading firmware file ngene_18.fw.
> [ 6101.542919] ngene 0000:02:00.0: irq 28 for MSI/MSI-X
> [ 6101.545199] error in i2c_read_reg
> [ 6101.545206] No CXD2099 detected at 40
> [ 6101.545374] DVB: registering new adapter (nGene)
> [ 6101.844886] LNBx2x attached on addr=a
> [ 6101.845092] stv6110x_attach: Attaching STV6110x
> [ 6101.845101] DVB: registering adapter 0 frontend 0 (STV090x Multistandard)...
> [ 6101.846175] DVB: registering new adapter (nGene)
> [ 6101.850023] LNBx2x attached on addr=8
> [ 6101.850231] stv6110x_attach: Attaching STV6110x
> [ 6101.850238] DVB: registering adapter 1 frontend 0 (STV090x Multistandard)...
> [ 6101.850584] DVB: registering new adapter (nGene) <---- No need to register this 
> adapter
> [ 6101.852948] DVB: registering new adapter (nGene) <---- No need to register this 
> adapter 
> [ 6101.855690] DVB: registering new adapter (nGene) <---- No need to register this 
> adapter
You can see that adapter 2, 3 and 4 are registering and the is no need to.
> ubuntu@ubuntu:~/ngene-test2/v4l$ ls -l /dev/dvb/adapter*
> /dev/dvb/adapter0:
> total 0
> crw-rw----+ 1 root video 212, 0 2010-12-26 12:52 demux0
> crw-rw----+ 1 root video 212, 1 2010-12-26 12:52 dvr0
> crw-rw----+ 1 root video 212, 3 2010-12-26 12:52 frontend0
> crw-rw----+ 1 root video 212, 2 2010-12-26 12:52 net0
>
> /dev/dvb/adapter1:
> total 0
> crw-rw----+ 1 root video 212, 4 2010-12-26 12:52 demux0
> crw-rw----+ 1 root video 212, 5 2010-12-26 12:52 dvr0
> crw-rw----+ 1 root video 212, 7 2010-12-26 12:52 frontend0
> crw-rw----+ 1 root video 212, 6 2010-12-26 12:52 net0
>
> /dev/dvb/adapter2:
> total 0
> crw-rw----+ 1 root video 212,  8 2010-12-26 12:52 demux0
> crw-rw----+ 1 root video 212,  9 2010-12-26 12:52 dvr0
> crw-rw----+ 1 root video 212, 10 2010-12-26 12:52 net0
>
> /dev/dvb/adapter3:
> total 0
> crw-rw----+ 1 root video 212, 11 2010-12-26 12:52 demux0
> crw-rw----+ 1 root video 212, 12 2010-12-26 12:52 dvr0
> crw-rw----+ 1 root video 212, 13 2010-12-26 12:52 net0
>
> /dev/dvb/adapter4:
> total 0
> crw-rw----+ 1 root video 212, 14 2010-12-26 12:52 demux0
> crw-rw----+ 1 root video 212, 15 2010-12-26 12:52 dvr0
> crw-rw----+ 1 root video 212, 16 2010-12-26 12:52 net0
Is the no test to check how many andapters are needed with the card ? I
was working with stable driver dans 1.5 firmware.

Ludovic,


-- 
Ludovic BOUÉ


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: ngene & Satix-S2 dual problems
@ 2011-01-22 17:04 Robert Longbottom
  0 siblings, 0 replies; 22+ messages in thread
From: Robert Longbottom @ 2011-01-22 17:04 UTC (permalink / raw)
  To: linux-media@vger.kernel.org

On 11 Jan 2011, at 15:25, Andre wrote:

>On 28 Dec 2010, at 17:25, Andre wrote:
>>/>  /
>>/>  I seems to work with the last patch commited by Oliver Endriss. Did you/
>>/>  try with a CI ?/
>>/  /
>>/  No I didn't, I don't have a CI./
>>/  /
>>/  I'll try Olivers latest commit in a few days, I'm a long way from my Myth system right now :-)/
>
>  Finally got chance to try the latest commits, no extra nodes now and drivers work fine with several simultaneous HD recordings across both tuners.
>
>  Satix S2 dual v2 on Ubuntu 10.0.4.1 kernel 2.6.32-25-generic
>
>  Thanks
>
>  Andre

Hi,
I've finally gotten round to trying the latest commits as well
and I can also report success.  No extra nodes, drivers appear to be working
ok after a very quick test.  I'll see how it goes over the next few days.

Satix S2 dual on Gentoo with kernel 2.6.35.4.

Cheers,
Robert.
  <http://vger.kernel.org/majordomo-info.html>


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2011-01-31 16:44 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-20 15:52 ngene & Satix-S2 dual problems Robert Longbottom
2010-11-20 19:22 ` Oliver Endriss
2010-11-21  9:38   ` Andre
2010-11-21 11:40   ` Andre
2010-11-21 13:07     ` Robert Longbottom
2010-11-21 13:15       ` Andre
2010-11-21 17:23         ` Robert Longbottom
2010-11-21 19:23           ` Andre
2010-11-21 19:48             ` Robert Longbottom
  -- strict thread matches above, loose matches on Subject: below --
2010-12-26 14:40 Ludovic BOUÉ
2010-12-27  9:07 ` Andre
     [not found]   ` <AANLkTik4-U7oEAvDgyKe+ptM1B3Q14h5we0TUXh5txip@mail.gmail.com>
2010-12-27 12:14     ` Andre
     [not found]   ` <4D19D8A0.6010606@gmail.com>
2010-12-28 17:25     ` Andre
2011-01-11 15:25       ` Andre
2010-12-27 21:49 ` Oliver Endriss
2010-12-28  7:57   ` Oliver Endriss
2010-12-28  8:54     ` Ludovic BOUE
2010-12-28 12:22     ` Ludovic BOUÉ
2010-12-28 15:01       ` Oliver Endriss
2011-01-31 14:46         ` Ludovic BOUÉ
2011-01-31 16:38           ` Oliver Endriss
2011-01-22 17:04 Robert Longbottom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).