ngene & Satix-S2 dual problems
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):
Quoted 11 lines
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
Quoted 8 lines
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'
Quoted 12 lines
[ 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
Quoted 8 lines
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 :
Quoted 17 lines
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 <[email protected]> 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*
Quoted 8 lines
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" :
Quoted 26 lines
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
Quoted 1 line
adapter
You can see that adapter 2, 3 and 4 are registering and the is no need to.
Quoted 27 lines
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
Quoted 5 lines
/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,
Signature · 1 line
Ludovic BOUÉ
Quoted 7 lines · Ludovic BOUÉ
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):
Yes, if you read this thread back you will see why and that it doesn't prevent anything working.
Quoted 1 line
was working with stable driver dans 1.5 firmware.
Again back in the thread you will see that with the in kernel driver (I hesitate to use the description stable) there is a serious problem when both tuners are in use, this work in progress driver fixes that problem.
The extra nodes are a pain, especially when you have a lot of tuners in one machine but tuners that stop working mid recording are much more of a pain!
Andre
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Ludovic BOUE
Hi,
About the CI part, from what I’ve read, it seems that the stream must be get from dvr0, than passed to sec0. And the final decrypted stream must be read from sec0.
I use Mumudvb and will not be able to handle this setup.
I hadn't found mumudvb before, interesting software, thanks.
The mumudvb pages on scrambled channels makes some suggestions, sounds like sasc-ng would be a better fit for this type of software, it's much more stable than a year ago too!
The rest I don't know about.
Andre
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 14 lines · Ludovic BOUÉ
Quoted 11 lines · Andre
Quoted 7 lines · Ludovic BOUÉ
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):
Yes, if you read this thread back you will see why and that it doesn't prevent anything working.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
was working with stable driver dans 1.5 firmware.
Again back in the thread you will see that with the in kernel driver (I hesitate to use the description stable) there is a serious problem when both tuners are in use, this work in progress driver fixes that problem.
The extra nodes are a pain, especially when you have a lot of tuners in one machine but tuners that stop working mid recording are much more of a pain!
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 :-)
Thanks again Oliver, much appreciated.
Andre
Quoted 7 lines · Andre
Quoted 3 lines
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
Quoted 9 lines · On Sunday 26 December 2010 15:40:15 Ludovic BOUÉ wrote:
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):
...
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" ?
Yes.
Please note that this is an experimental repository. This bug will be fixed before the code will be submitted upstream. (It is more complicated that it might appear at the first glance.)
CU
Oliver
Signature · 5 lines
---------------------------------------------------------------- VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/ 4 MByte Mod: http://www.escape-edv.de/endriss/dvb-mem-mod/ Full-TS Mod: http://www.escape-edv.de/endriss/dvb-full-ts-mod/ ----------------------------------------------------------------
Quoted 11 lines · On Monday 27 December 2010 22:49:51 Oliver Endriss wrote:
Quoted 9 lines · On Sunday 26 December 2010 15:40:15 Ludovic BOUÉ wrote:
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):
...
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" ?
Quoted 5 lines
Yes.
Please note that this is an experimental repository. This bug will be fixed before the code will be submitted upstream. (It is more complicated that it might appear at the first glance.)
Meanwhile I reworked channel initialisation and shutdown, and the device nodes should be correct for all configurations.
Please re-test and report any remaining problems.
CU
Oliver
Signature · 5 lines
---------------------------------------------------------------- VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/ 4 MByte Mod: http://www.escape-edv.de/endriss/dvb-mem-mod/ Full-TS Mod: http://www.escape-edv.de/endriss/dvb-full-ts-mod/ ----------------------------------------------------------------
Fist of all, I would thank you about your work,
I will re-test and report if I found an issue.
2010/12/28 Oliver Endriss <[email protected]>:
Quoted 33 lines · On Monday 27 December 2010 22:49:51 Oliver Endriss wrote:
Quoted 11 lines · On Sunday 26 December 2010 15:40:15 Ludovic BOUÉ wrote:
Quoted 9 lines
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):
...
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" ?Quoted 5 lines
Yes.
Please note that this is an experimental repository. This bug will be fixed before the code will be submitted upstream. (It is more complicated that it might appear at the first glance.)
Meanwhile I reworked channel initialisation and shutdown, and the device nodes should be correct for all configurations.
Please re-test and report any remaining problems.
CU
Oliver--
----------------------------------------------------------------
VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/
4 MByte Mod: http://www.escape-edv.de/endriss/dvb-mem-mod/
Full-TS Mod: http://www.escape-edv.de/endriss/dvb-full-ts-mod/
----------------------------------------------------------------
Signature · 1 line
Ludovic BOUE
Fist of all, I would thank you about your work.
I have done a test again and it seems to work with your last change. I didn't found any major issue.
14:14 root@telstar /home/lboue # modprobe ngene one_adapter=0 debug=1
[ 584.013474] nGene PCIE bridge driver, Copyright (C) 2005-2007 Micronas [ 584.013495] ngene 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 584.013503] ngene: Found Mystique SaTiX-S2 Dual (v2) [ 584.014226] ngene 0000:04:00.0: setting latency timer to 64 [ 584.014305] ngene: Device version 1 [ 584.014339] ngene 0000:04:00.0: firmware: requesting ngene_18.fw [ 584.016649] ngene: Loading firmware file ngene_18.fw. [ 584.027625] ngene 0000:04:00.0: irq 33 for MSI/MSI-X [ 584.029106] error in i2c_read_reg [ 584.029179] No CXD2099 detected at 40 [ 584.342566] LNBx2x attached on addr=a [ 584.342659] stv6110x_attach: Attaching STV6110x [ 584.342662] DVB: registering new adapter (nGene) [ 584.342667] DVB: registering adapter 0 frontend 0 (STV090x Multistandard)... [ 584.343681] LNBx2x attached on addr=8 [ 584.343774] stv6110x_attach: Attaching STV6110x [ 584.343777] DVB: registering new adapter (nGene) [ 584.343782] DVB: registering adapter 1 frontend 0 (STV090x
Multistandard)...
There is two adapters with one frontend into each:
14:06 lboue@telstar ~ % ls /dev/dvb/adapter0 demux0 dvr0 frontend0 net0
14:06 lboue@telstar ~ % ls /dev/dvb/adapter1 demux0 dvr0 frontend0 net0
14:12 root@telstar /home/lboue # modprobe ngene one_adapter=1
[ 403.560150] nGene PCIE bridge driver, Copyright (C) 2005-2007 Micronas [ 403.560169] ngene 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 403.560177] ngene: Found Mystique SaTiX-S2 Dual (v2) [ 403.560873] ngene 0000:04:00.0: setting latency timer to 64 [ 403.560952] ngene: Device version 1 [ 403.560963] ngene 0000:04:00.0: firmware: requesting ngene_18.fw [ 403.563416] ngene: Loading firmware file ngene_18.fw. [ 403.574393] ngene 0000:04:00.0: irq 33 for MSI/MSI-X [ 403.575874] error in i2c_read_reg [ 403.575948] No CXD2099 detected at 40 [ 403.893231] LNBx2x attached on addr=a [ 403.893323] stv6110x_attach: Attaching STV6110x [ 403.893327] DVB: registering new adapter (nGene) [ 403.893332] DVB: registering adapter 0 frontend 0 (STV090x Multistandard)... [ 403.894359] LNBx2x attached on addr=8 [ 403.894451] stv6110x_attach: Attaching STV6110x [ 403.894456] DVB: registering adapter 0 frontend 0 (STV090x
Multistandard)...
14:13 root@telstar /home/lboue # ls /dev/dvb/adapter0/ demux0 demux1 dvr0 dvr1 frontend0 frontend1 net0 net1
The is only the needed adapters but I think there is a errror about the frontend number. It should be
DVB: registering adapter 0 frontend 1 (STV090x Multistandard) instead of: DVB: registering adapter 0 frontend 0 (STV090x Multistandard)
Best Regards
Quoted 24 lines · Oliver Endriss
Quoted 7 lines · On Monday 27 December 2010 22:49:51 Oliver Endriss wrote:
Quoted 6 lines · On Sunday 26 December 2010 15:40:15 Ludovic BOUÉ wrote:
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.Quoted 8 lines
Quoted 3 lines
It contains too much nodes (extra demuxes, dvrs & nets):
...
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" ?Yes.
Please note that this is an experimental repository. This bug will be fixed before the code will be submitted upstream. (It is more complicated that it might appear at the first glance.)
Meanwhile I reworked channel initialisation and shutdown, and the device nodes should be correct for all configurations.
Please re-test and report any remaining problems.
CU
Oliver
Signature · 1 line
Ludovic BOUÉ
Hi,
Quoted 11 lines · On Tuesday 28 December 2010 13:22:05 Ludovic BOUÉ wrote:
...
[ 403.893231] LNBx2x attached on addr=a [ 403.893323] stv6110x_attach: Attaching STV6110x [ 403.893327] DVB: registering new adapter (nGene) [ 403.893332] DVB: registering adapter 0 frontend 0 (STV090x Multistandard)... [ 403.894359] LNBx2x attached on addr=8 [ 403.894451] stv6110x_attach: Attaching STV6110x [ 403.894456] DVB: registering adapter 0 frontend 0 (STV090xMultistandard)...
Quoted 7 lines
14:13 root@telstar
/home/lboue# ls/dev/dvb/adapter0/demux0 demux1 dvr0 dvr1 frontend0 frontend1 net0 net1The is only the needed adapters but I think there is a errror about the frontend number. It should be
DVB: registering adapter 0 frontend 1 (STV090x Multistandard) instead of: DVB: registering adapter 0 frontend 0 (STV090x Multistandard)
Confirmed. There is a harmless bug in dvb_core:
The message is printed before the frontend number has been assigned. I will commit a fix for that later.
CU
Oliver
Signature · 5 lines
---------------------------------------------------------------- VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/ 4 MByte Mod: http://www.escape-edv.de/endriss/dvb-mem-mod/ Full-TS Mod: http://www.escape-edv.de/endriss/dvb-full-ts-mod/ ----------------------------------------------------------------
Hi Oliver,
Are you planning to merge your ngene development repository to the V4L-DVB Upstream repository ?
Ludovic,
Quoted 28 lines · Oliver Endriss
Hi,
Quoted 11 lines · On Tuesday 28 December 2010 13:22:05 Ludovic BOUÉ wrote:
...
[ 403.893231] LNBx2x attached on addr=a [ 403.893323] stv6110x_attach: Attaching STV6110x [ 403.893327] DVB: registering new adapter (nGene) [ 403.893332] DVB: registering adapter 0 frontend 0 (STV090x Multistandard)... [ 403.894359] LNBx2x attached on addr=8 [ 403.894451] stv6110x_attach: Attaching STV6110x [ 403.894456] DVB: registering adapter 0 frontend 0 (STV090xMultistandard)...
Quoted 7 lines
14:13 root@telstar
/home/lboue# ls/dev/dvb/adapter0/demux0 demux1 dvr0 dvr1 frontend0 frontend1 net0 net1The is only the needed adapters but I think there is a errror about the frontend number. It should be
DVB: registering adapter 0 frontend 1 (STV090x Multistandard) instead of: DVB: registering adapter 0 frontend 0 (STV090x Multistandard)Confirmed. There is a harmless bug in
dvb_core:
The message is printed before the frontend number has been assigned. I will commit a fix for that later.CU
Oliver
Signature · 1 line
Ludovic BOUÉ
Quoted 2 lines · On Monday 31 January 2011 15:46:30 Ludovic BOUÉ wrote:
Are you planning to merge your ngene development repository to the V4L-DVB Upstream repository ?
The patches have already been submitted. See
http://www.mail-archive.com/[email protected]/msg26813.html
CU
Oliver
Signature · 5 lines
---------------------------------------------------------------- VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/ 4 MByte Mod: http://www.escape-edv.de/endriss/dvb-mem-mod/ Full-TS Mod: http://www.escape-edv.de/endriss/dvb-full-ts-mod/ ----------------------------------------------------------------