Aktuelle Treiber für Octopus(ddbridge), CineS2(ngene/ddbridge), DuoFlex-S2, DuoFlex-CT, CineCT sowie TT S2-6400 (Teil 1)

  • Hallo Oliver
    Du hast noch einige Updates im ddbridge gemacht. Allerdings gab es schon lange keine commits in linux-media, sprich im Kernel.
    Was sind deine Pläne. Welcher Kernelversion wird anvisiert. Zeithorizont.


    Ich habe derzeit nicht vor, etwas an v4ldvb zu submitten.


    Die letzte Aktion war frustrierend. Der Subsystem-Maintainer betrachtet das Master-Directory als seine private Spielwiese. Kaum war der DRXK-Treiber upstream, wurde er so umgemodelt, daß ein Abgleich mit dem Original-Treiber kaum noch möglich ist. Mehrfach wurde der Support für die DD-Karten kaputt gepatcht. D.h. für die Karten, denen die Existenz des Treibers im Kernel überhaupt zu verdanken ist. Einfach inakzeptabel!


    Für mich gibt es interessantere Tätigkeiten als zu überwachen, was die Jungs upstream gerade so treiben. :wand


    stv0367dd und tda18212dd müßten erst noch an den Kernel-Coding-Style angepaßt werden. Möglicherweise würden sie dennoch nicht akzeptiert, da es bereits Treiber für diese Chips gibt (die allerdings nicht so ohne weiteres verwendet werden können).


    Daher bleibt dieser Treiber in nächster Zeit der Referenztreiber. :wow


    CU
    Oliver

  • Hallo Leute,


    ich sehe gerade im Artikel des Threadstarters, dass man initial

    Code
    hg clone http://linuxtv.org/hg/~endriss/media_build_experimental


    aufrufen soll. Doch da kommt:

    Code
    WARNING: You're using an obsolete driver! You shouldn't be using it!
             If you want anything new, you can use:
                    http://git.linuxtv.org/media_build.git.
             The tree is still here just to preserve the development history.
             You've been warned.


    Wann kommt diese Meldung? Bestimmt nicht bei o.g. "hg clone" - jedenfalls nicht bei mir.


    Zitat

    Kann man den ersten Artikel aktualisieren oder gibt es eine aktuellere Anleitung irgend wo?


    Der Artikel _ist_ aktuell.


    CU
    Oliver


  • VDR 1.7.23 kann den Tuner umschalten - definitiv.
    Für mich sieht es so aus, als ob streamdev es nicht könnte. (Oder es stimmt noch etwas an der Plugin-Schnittstelle nicht.)


    CU
    Oliver

  • I was hoping someone here could help me.
    I have installed mythbuntu 11.10 with 64bit 3.0.0 kernel.
    I have Digital Devices mini pcie DVB-S2 installed.
    The card was working straight out of the box with mythtv after I had installed the ngene_18.fw


    Ok.


    Zitat

    I could tune the card and watch tv. However mythbackend had a continuous
    log of errors including "warning: unsupported fec_inner parameter"


    Not very meaningful unless there is more info, which value caused the problem.


    Zitat

    "frequency ....... out of range"


    Attempt to tune to an invalid frequency. Not a driver problem.


    Zitat

    "cannot count uncorrected blocks"


    The kernel driver does not support this function yet.


    Zitat

    "wrong pmt"


    Not a driver problem.



    It is a bad idea to deselect "Load and Attach frontend as needed" - unless you know exactly what you are doing. :)
    "LNBP21/LNBH24 SEC controllers" is missing in the list above.



    You probably mixed modules from the kernel with modules from this driver.
    This will likely cause strange errors or a crash. lnbp21 might be the problem in this case.


    Zitat


    used to say "ngene: Found Digital Devices Duoflex miniPCIe" now it says
    "ngene: Found Digital Devices Duoflex PCIe or miniPCIe"


    That's fine.



    Select "Load and Attach frontend as needed", then enable just the bridge driver(s) that you need (in your case "Micronas nGene support"). All dependencies will be enabled automatically.


    CU
    Oliver

  • Vielen dank Oliver!


    So just to make sure,
    I need to cd media_build_experimental
    make distclean
    make untar
    and then start again with make menuconfig, make, make install?


    Yes, this should work.

  • Ok, I included lnbp21 in the menuconfig, and after rebooting the DVB card no longer crashed, but I could not tune with it. So I instead included all modules in the menuconfig but now card is not recognised.
    Dmesg:
    ngene: disagrees about version of symbol cxd2099_attach
    Unknown symbol cxd2099_attach


    I renamed the cxd2099.ko in /lib/modules/3.0.0-12-generic/kernel/drivers/staging/cxd2099/ to cxd2099.old
    There is now only one in /lib/modules/3.0.0-15-generic/kernel/drivers/staging/cxd2099/


    These errors are still there:
    ngene: disagrees about version of symbol cxd2099_attach


    Unknown symbol cxd2099_attach


    How can I revert to vanilla kernel and modules? I'm not having any luck with these treibers. Its probably my fault being a noob and not doing something right.


    Thanks again.

  • Zitat

    nun ist auch der stv0367dd-Treiber auf Multifrontend-Mode umgestellt,
    d.h. es gibt nun bei allen Cine CT/DuoFlex CT-Varianten nur noch ein
    gemeinsames Frontend für DVB-C und DVB-T. Default ist DVB-C.


    Leider gibst ein Problem mit dem USE_API3 definierten Code (also -kein- gemeinsames Frontend) in 'set_parameters', wodurch Tuning für DVB-C (QAM) nicht gelingen wird.
    Der Grund dafür ist, dass der Code eine gültige Bandbreite überprüft. Allerdings ist die Bandbreite kein Teil des QAM/DVB-C 'Union', sondern ist Teil des OFDM/DVB-T 'Union'.
    Für QAM/DVB-C wird beim überprüfen die Symbolrate (die sich im selben "Raum" als die OFDM/DVB-T-Bandbreite befindet) verwendet, und scheitert.




    Eine mögliche Lösung ist die folgende:




    Nach der Anwendung dieser Änderungen konnte ich Tunen.

  • Ok, I included lnbp21 in the menuconfig, and after rebooting the DVB card no longer crashed, but I could not tune with it. So I instead included all modules in the menuconfig but now card is not recognised.
    Dmesg:
    ngene: disagrees about version of symbol cxd2099_attach
    Unknown symbol cxd2099_attach


    I renamed the cxd2099.ko in /lib/modules/3.0.0-12-generic/kernel/drivers/staging/cxd2099/ to cxd2099.old


    Has no effect: If you run 3.0.0-15, the 3.0.0-12 directory does not matter.


    Zitat


    There is now only one in /lib/modules/3.0.0-15-generic/kernel/drivers/staging/cxd2099/


    These errors are still there:
    ngene: disagrees about version of symbol cxd2099_attach


    Unknown symbol cxd2099_attach


    You _must_not_use_ an old driver module from the kernel!
    Look into the v4l subdirectory and verify that
    1. ngene.ko, stv090x.ko etc. were installed under /lib/modules/3.0.0.15/...
    2. there are no old versions of these files under /lib/modules/3.0.0.15/...


    Did you enable the "CXD2099AR Common Interface driver" under "Staging"?
    cxd2099.ko must also come from the driver, not the kernel.


    Zitat


    How can I revert to vanilla kernel and modules? I'm not having any luck with these treibers. Its probably my fault being a noob and not doing something right.


    This depends on your distribution. Re-install the package, which contains the kernel modules.


    CU
    Oliver


  • Danke, da habe ich Mist gebaut. Merkwürdig - hätte ich eigentlich sehen müssen. :wand
    Werde es korrigieren.


    Nur zur Warnung:
    Wenn man das alte Repository http://linuxtv.org/hg/~endriss/ngene-octopus-test direkt verwendet, hat man - bis auf ngene, octopus + Konsorten - keine aktuellen Treiber. dvb-core & Co werden dort nicht mehr aktualisiert.


    CU
    Oliver

  • Danke Oliver again. You guessed it correctly, I had not included cxd2099 from the staging drivers in menuconfig
    I included it and saw that a new cxd2099.ko was created in /lib/modules/3.0.0-15-generic/kernel/drivers/linux/drivers/staging/media/cxd2099
    I renamed the old cdx2099.ko in /lib/modules/3.0.0-15-generic/kernel/drivers/staging/cxd2099/ to cxd2099.ko.old and unloaded the cxd2099.ko module.
    Modprobe cxd2099 showed a not found error so I moved the new module from /drivers/linux/drivers/staging... to /kernel/drivers/staging/ and this time at boot ngene was loaded without errors:



    DVB: registering new adapter (nGene)
    DVB: registering adapter 0 frontend 0 (STV090x Multistandard)...
    DVB: registering new adapter (nGene)
    DVB: registering adapter 1 frontend 0 (STV090x Multistandard)...



    ngene 0000:03:00.0: PCI INT A -> Link[LN3A] -> GSI 17 (level, low) -> IRQ 17
    ngene: Found Digital Devices DuoFlex PCIe or miniPCIe
    ngene 0000:03:00.0: setting latency timer to 64
    ngene: Device version 1
    ngene: Loading firmware file ngene_18.fw.
    ngene 0000:03:00.0: irq 47 for MSI/MSI-X


    BUT, there is always a "but" :] ....
    Now the device is half recognised by Mythtv, however the switch, diseq, LNB options are missing when I try to create the new adaptor. Trying to watch or tune channels doesn't work and mythbackend shows the following errors:


    New DB connection, total: 2
    Connected to database 'mythconverg' at host: localhost
    DiSEqCDevTree, Warning: No device tree for cardid 3
    New DB connection, total: 3
    Connected to database 'mythconverg' at host: localhost
    DVBChan(3:/dev/dvb/adapter1/frontend0) Warning: Unsupported fec_inner parameter.
    DiSEqCDevTree, Error: No root device tree node!
    DVBChan(3:/dev/dvb/adapter1/frontend0) Error: Tune(): Failed to setup DiSEqC devices
    DVBChan(3:/dev/dvb/adapter1/frontend0) Error: SetChannelByString(1): Tuning to frequency.
    DVBChan(4:/dev/dvb/adapter1/frontend0) Warning: Your frequency setting (12000000) is out of range. (min/max:950000/2150000)
    DVBChan(4:/dev/dvb/adapter1/frontend0) Warning: Unsupported fec_inner parameter.
    DiSEqCDevTree, Error: No root device tree node!
    DVBChan(3:/dev/dvb/adapter1/frontend0) Error: Tune(): Failed to setup DiSEqC devices
    DVBChan(4:/dev/dvb/adapter1/frontend0) Error: SetChannelByString(1): Tuning to frequency.
    DiSEqCDevTree, Warning: No device tree for cardid 5


    These are repeated many times for both tuners, also this is repeated many times:


    SignalMonitor: channel change failed


    Any ideas as to what I'm missing?
    As always your help is much appreciated, thank you!

  • Danke Oliver again. You guessed it correctly, I had not included cxd2099 from the staging drivers in menuconfig
    I included it and saw that a new cxd2099.ko was created in /lib/modules/3.0.0-15-generic/kernel/drivers/linux/drivers/staging/media/cxd2099
    I renamed the old cdx2099.ko in /lib/modules/3.0.0-15-generic/kernel/drivers/staging/cxd2099/ to cxd2099.ko.old and unloaded the cxd2099.ko module.
    Modprobe cxd2099 showed a not found error so I moved the new module from /drivers/linux/drivers/staging... to /kernel/drivers/staging/ and this time at boot ngene was loaded without errors:


    I guess, a "depmod -a" would have fixed the "not found" error.



    Looks perfect. :tup



    These error messages do not come from the driver.
    I suspect that Myth is not configured correctly.


    Frequency 12000000 [kHz] is way too high, 950000..2150000 [kHz] is the allowed range for all DVB-S/DVB-S2 tuners.
    Check the LOF (local oscillator frequency) setting: Universal LNBs use 9750 MHz for low band, 10600 MHz for high band.


    Sorry, I never used Myth, so I cannot provide much help in this area.


    CU
    Oliver

  • Thanks again for all your help Oliver. I finally realised the cause of my problems......


    Permissions!


    demux0 dvr0 frontend0 net0 all had owner root, read write, group read, but "other" nothing.


    Once I changed that mythtv could use the card properly! :rolleyes:


    I am an idiot....

  • Hallo, habe hier nen Problem mit der CineS2 V6 (DVB-S/S2)
    Rechner ganz normal gestartet (Yavdr 0.4)
    Cine S2 läuft perfekt
    Rechner Runtergefahren und nach ner Weile wieder angestellt -> kein Bild (Kanal nicht verfügbar)


    dmesg | grep DVB
    bringt auf einmal


    [ 13.058371] 72565224609a23a60d10fcdf42f87a2fa8f7b16d [media] cxd2820r: sleep on DVB-T/T2 delivery system switch
    [ 13.116131] 72565224609a23a60d10fcdf42f87a2fa8f7b16d [media] cxd2820r: sleep on DVB-T/T2 delivery system switch
    [ 13.427681] DDBridge driver detected: Digital Devices Cine S2 V6 DVB adapter


    ??? was isn da auf einmal los???

    Easyvdr 1.0 - MSI H61M-P25 (B3) - Core i3 2120T - CineS2 v6
    yaVDR 0.4 - Zotac Synergy Ion G-E - Skystar USB HD - TT S2-3600

  • Rechner Runtergefahren und nach ner Weile wieder angestellt


    S3 oder S5?


    Albert

  • soweit ich sehe müsste es S3 sein (Mainboard is nen Asrock K10N78 FullHD Rev3 ->S5 sollte das olle Board nicht können)
    eben noch mal Rechner vom Netz getrennt ne Weile gewartet ->


    [ 13.486971] 72565224609a23a60d10fcdf42f87a2fa8f7b16d [media] cxd2820r: sleep on DVB-T/T2 delivery system switch
    [ 13.561544] DDBridge driver detected: Digital Devices Cine S2 V6 DVB adapter
    [ 13.563117] Port 0 (TAB 1): DUAL DVB-S2
    [ 13.566092] DVB: registering new adapter (DDBridge)
    [ 13.566096] DVB: registering new adapter (DDBridge)
    [ 13.600905] 72565224609a23a60d10fcdf42f87a2fa8f7b16d [media] cxd2820r: sleep on DVB-T/T2 delivery system switch
    [ 14.536528] DVB: registering adapter 0 frontend 0 (STV090x Multistandard)...
    [ 14.580504] DVB: registering adapter 1 frontend 0 (STV090x Multistandard)...


    -> wunderbarer SAT Empfang


    ok, irgendwas läuft falsch


    nach nem reboot


    liefert dmesg wieder ->


    [ 12.367305] 72565224609a23a60d10fcdf42f87a2fa8f7b16d [media] cxd2820r: sleep on DVB-T/T2 delivery system switch
    [ 12.417397] 72565224609a23a60d10fcdf42f87a2fa8f7b16d [media] cxd2820r: sleep on DVB-T/T2 delivery system switch
    [ 12.558025] DDBridge driver detected: Digital Devices Cine S2 V6 DVB adapter


    lasse nochmal die Installation durchlaufen


    habe "nur" die ngenxx.fw nach /lib/firmware kopiert, mal sehen was dann kommt

    Easyvdr 1.0 - MSI H61M-P25 (B3) - Core i3 2120T - CineS2 v6
    yaVDR 0.4 - Zotac Synergy Ion G-E - Skystar USB HD - TT S2-3600

    2 Mal editiert, zuletzt von Killerken ()

  • soweit ich sehe müsste es S3 sein (Mainboard is nen Asrock K10N78 FullHD Rev3 ->S5 sollte das olle Board nicht können)


    Eher andersrum. S5 ist soft-off also aus, S3 ist str Suspend-to-RAM.


    Albert

  • so, treiber nochmal neu gebaut ->


    dmesg | grep DVB
    [ 12.815809] 72565224609a23a60d10fcdf42f87a2fa8f7b16d [media] cxd2820r: sleep on DVB-T/T2 delivery system switch
    [ 12.826405] 72565224609a23a60d10fcdf42f87a2fa8f7b16d [media] cxd2820r: sleep on DVB-T/T2 delivery system switch


    lspci
    00:00.0 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (rev a2)
    00:01.0 ISA bridge: nVidia Corporation MCP78S [GeForce 8200] LPC Bridge (rev a2)
    00:01.1 SMBus: nVidia Corporation MCP78S [GeForce 8200] SMBus (rev a1)
    00:01.2 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
    00:01.3 Co-processor: nVidia Corporation MCP78S [GeForce 8200] Co-Processor (rev a2)
    00:01.4 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
    00:02.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
    00:02.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
    00:04.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
    00:04.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
    00:08.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
    00:09.0 IDE interface: nVidia Corporation MCP78S [GeForce 8200] SATA Controller (non-AHCI mode) (rev a2)
    00:0a.0 Ethernet controller: nVidia Corporation MCP77 Ethernet (rev a2)
    00:0b.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
    00:10.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
    00:12.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
    00:13.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
    00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
    00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
    00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
    00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
    00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
    01:09.0 Multimedia audio controller: Creative Labs SB X-Fi
    02:00.0 VGA compatible controller: nVidia Corporation C77 [GeForce 8200] (rev a2)
    03:00.0 Multimedia controller: Device dd01:0003


    wobei der dd01:003 ja die CineS2 sein sollte


    lspci -vvvnn
    03:00.0 Multimedia controller [0480]: Device [dd01:0003]
    Subsystem: Device [dd01:0020]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 10
    Region 0: Memory at febf0000 (64-bit, non-prefetchable) [size=64K]
    Capabilities: [50] Power Management version 3
    Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
    Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [70] MSI: Enable- Count=1/2 Maskable- 64bit+
    Address: 0000000000000000 Data: 0000
    Capabilities: [90] Express (v1) Endpoint, MSI 00
    DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
    ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
    DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
    RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
    MaxPayload 128 bytes, MaxReadReq 512 bytes
    DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
    LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 unlimited, L1 <1us
    ClockPM- Surprise- LLActRep- BwNot-
    LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
    ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
    LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
    Capabilities: [100 v1] Vendor Specific Information: ID=0000 Rev=0 Len=00c <?>
    Kernel modules: ddbridge


    habe das Spiel gerade nochmal durch mit original 2.6.38´er Kernel und 2.6.39´er Kernel


    nen
    modprobe ngene
    bringt
    FATAL: Error inserting ngene (/lib/modules/2.6.39-020639-generic/kernel/drivers/media/dvb/ngene/ngene.ko): Invalid argument


    make lief aber ohne Fehlermeldung durch

    Easyvdr 1.0 - MSI H61M-P25 (B3) - Core i3 2120T - CineS2 v6
    yaVDR 0.4 - Zotac Synergy Ion G-E - Skystar USB HD - TT S2-3600

    Einmal editiert, zuletzt von Killerken ()

  • Hi guys. I use cineCT (v6) and I installed the drivers (media_build_experimental). I justthrew a frontend. How can I switched to DVB-T? Dvblast I use for streaming. DVB-Cworks to me what is the default setting. Thank you.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!