Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


Donate Now Goal amount for this month: 100 EUR, Received: 100 EUR (100%)
Donate to support this site...

Results 1 to 9 of 9

Thread: DVB under Linux

  1. #1
    Junior Member Teacher
    RDI - Board Default Avatar

    Join Date
    Apr 2005
    Location
    Moldova - Chisinau
    Posts
    316
    Posts Thanks / Likes

    Default DVB under Linux

    vreau sa instalez SS2 sau TT (mi e indiferent ce) sub linux

    lspci >>>>>>>>>>>>
    02:02.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
    >>>>>>>>
    02:04.0 Network controller: Techsan Electronics Co Ltd B2C2 Sky2PC PCI [SkyStar2] (rev 01)

    compilarea da asa ceva

    [email protected]:/LinInst/linuxtv-dvb-1.1.1a/build-2.6# make
    [ -L saa7146_video.c ] || ./getlinks
    rm -rf bt848.h
    ln -s /lib/modules/2.6.10/build/drivers/media/video/bt848.h bt848.h
    make -C /lib/modules/2.6.10/build SUBDIRS=/LinInst/linuxtv-dvb-1.1.1a/build-2.6 AV7110_FIRMWARE= AV7110_OSD=y
    make[1]: Entering directory `/usr/src/linux-2.6.10'
    CC [M] /LinInst/linuxtv-dvb-1.1.1a/build-2.6/dvb_net.o
    /LinInst/linuxtv-dvb-1.1.1a/build-2.6/dvb_net.c: In function `dvb_net_eth_type_trans':
    /LinInst/linuxtv-dvb-1.1.1a/build-2.6/dvb_net.c:145: error: union has no member named `ethernet'
    make[2]: *** [/LinInst/linuxtv-dvb-1.1.1a/build-2.6/dvb_net.o] Error 1
    make[1]: *** [_module_/LinInst/linuxtv-dvb-1.1.1a/build-2.6] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.10'
    make: *** [all] Error 2

    am facut si
    ./MAKEDEV-DVB.sh
    Creating DVB devices in /dev/dvb/adapter0
    Creating DVB devices in /dev/dvb/adapter1
    Creating DVB devices in /dev/dvb/adapter2
    Creating DVB devices in /dev/dvb/adapter3

    oricum - aceeasi eroare o capat

  2. #2
    Junior Member Junior
    RDI - Board Default Avatar

    Join Date
    Aug 2002
    Posts
    7
    Posts Thanks / Likes

    Default

    Ce distributie folosesti? De unde ai luat driverele, de pe cvs? Nu e acelasi lucru sa pui ss1 sau ss2. La ss1 trebuie sa ii pui si hot firmware-ul. In cele mai multe distributii in kernel nu e activat hardware osd asa ca iti recomand sa recompilezi kernelul cu ultimele drivere de DVB de pe cvs-ul de la linuxtv.org. De asemenea daca vrei sa folosesti sc ai nevoie de versiunea patchuita de firmware.

  3. #3
    Junior Member Friend
    RDI - Board Default Avatar

    Join Date
    Nov 2003
    Location
    Timisoara
    Posts
    25
    Posts Thanks / Likes

    Default

    in fedora core2 si 3 ss2 e gata instalat. Poti sa vezi tv daca folosesti playerul kaffeine. Are suport pentru dvb

  4. #4
    Junior Member Teacher
    RDI - Board Default Avatar

    Join Date
    Apr 2005
    Location
    Moldova - Chisinau
    Posts
    316
    Posts Thanks / Likes

    Default

    eu folosesc TT Buget (like nova) fara hardware si cu un singur CI interface si un SS2, Driverire sub Kernel 2.4.31 sunt compilate si instalate fare mari dificultati, prin metoda descrisa de mine, dar eu prefer Kernel 2.6.10 - sustine DualProcesor default. sistema instalata e Slackware 10.1 - dupa parerea mea e mai optimizata fata de gigantii fedora1,2,3,4.
    Driverile sunt downloadate de pe linuxtv.org - ultima versie

  5. #5
    Junior Member Teacher
    RDI - Board Default Avatar

    Join Date
    Nov 2003
    Posts
    178
    Posts Thanks / Likes

    Default



    /LinInst/linuxtv-dvb-1.1.1a/build-2.6/dvb_net.c: In function `dvb_net_eth_type_trans':
    /LinInst/linuxtv-dvb-1.1.1a/build-2.6/dvb_net.c:145: error: union has no member named `ethernet'


    salut,
    am avut si eu probleme pe fedora in special de la faptul ca compilarea "nu gasea" anumite *.h(fisiere header)

    daca papi oleaca C-ul baga un oki prin surse (uitate pe la cai)si poate te rezolvi.

  6. #6
    Member Mentor
    Join Date
    Mar 2003
    Location
    Romania
    Posts
    857
    Posts Thanks / Likes

    Default

    Kernelul 2.6 are suport ptr. SS2, nu mai este necesar sa patch-uiti kernelul cu driverele de pe linuxtv.org si nu trebuie recompilat kernelul, majoritatea distribitiilor au modulele DVB compilate, este suficient sa le incarcati:

    modprobe dvb-core
    modprobe mt312
    modprobe skystar2

    eventual mai trebuie trebuie create si device-urile DVB in /dev/dvb/adapter0/ ... /dev/dvb/adapter4/

  7. #7
    Junior Member Teacher
    RDI - Board Default Avatar

    Join Date
    Nov 2003
    Posts
    178
    Posts Thanks / Likes

    Default

    intr-adevar 2.6 vine cu support nativ dar tot mai ai compilat daca vrei VDR...FFDECSA..SCam

  8. #8
    Junior Member Teacher
    RDI - Board Default Avatar

    Join Date
    Apr 2005
    Location
    Moldova - Chisinau
    Posts
    316
    Posts Thanks / Likes

    Default

    2.6.10 care il pusesem adinioara avea careva conflicte, acum sa rezolvat totul schimbandul cu 2.6.12 - mi-o ramas sa ma clarific cu VDR-ul.
    multumesc tuturor
    chiar si device-urile automat le-a creat pentru TT si SS2

  9. #9
    Junior Member Teacher
    RDI - Board Default Avatar

    Join Date
    Apr 2005
    Location
    Moldova - Chisinau
    Posts
    316
    Posts Thanks / Likes

    Default

    as vrea sa va arat ce sa primit, mai stiu eu poate se mai intereseaza cineva


    dupa o serie de chinuiri am hotarat sa trec la 2.6.12-3

    dmesg penru 2.6.12

    drivers/media/dvb/b2c2/skystar2.c: FlexCopII(rev.130) chip found
    drivers/media/dvb/b2c2/skystar2.c: the chip has 6 hardware filters
    driver_initialize MAC address = xxxxxxxxx
    DVB: registering new adapter (SkyStar2).
    i2c_readbytes: i2c read error (addr 0a, err == -121)
    mt352_read_register: readreg error (reg=127, ret==-121)
    DVB: registering frontend 0 (Zarlink VP310 DVB-S)...
    b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
    ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 3
    PCI: setting IRQ 3 as level-triggered
    ACPI: PCI Interrupt 0000:02:03.0[A] -> Link [LNKD] -> GSI 3 (level, low) -> IRQ 3
    Model 1006 Rev 00000000 Serial 10061102
    saa7146: register extension 'budget_ci dvb'.
    ACPI: PCI Interrupt 0000:02:02.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
    saa7146: found saa7146 @ mem f9d46e00 (revision 1, irq 11) (0x13c2,0x100f).
    DVB: registering new adapter (TT-Budget/WinTV-NOVA-CI PCI).
    adapter has MAC addr = xxxxxxx
    budget_ci: CI interface initialised
    DVB: registering frontend 1 (ST STV0299 DVB-S)...


    In mapa dev am gasit asa ceva

    /dev

    -dvb0.demux0
    -dvb0.dvr0
    -dvb0.frontend0
    -dvb0.net0
    -dvb1.ca0
    -dvb1.demux0
    -dvb1.dvr0
    -dvb1.frontend0
    -dvb1.net0


    dar ca sa nu ma chinui mult am dat drumul si la scriptul standart

    #!/bin/sh
    # Create device nodes for the Linux DVB API with DVB_API_VERSION 2.
    # The devices created are suitable for most current PC DVB cards,
    # i.e. cards having one frontend, one demux and optionally one
    # MPEG decoder.
    # The script creates devices for four cards by default.

    if [ -e /dev/.devfsd ]; then
    echo "It seems you are using devfs. Good!"
    exit 0
    fi

    # get rid of old DVB API devices; do it twice for good measure...
    rm -rf /dev/ost
    rm -rf /dev/ost
    rm -rf /dev/dvb
    rm -rf /dev/dvb

    mkdir /dev/dvb
    chmod 755 /dev/dvb

    for i in `seq 0 3`; do
    echo "Creating DVB devices in /dev/dvb/adapter$i"
    mkdir /dev/dvb/adapter$i
    chmod 755 /dev/dvb/adapter$i
    mknod -m 0660 /dev/dvb/adapter$i/video0 c 212 `expr 64 \* $i + 0`
    mknod -m 0660 /dev/dvb/adapter$i/audio0 c 212 `expr 64 \* $i + 1`
    mknod -m 0660 /dev/dvb/adapter$i/frontend0 c 212 `expr 64 \* $i + 3`
    mknod -m 0660 /dev/dvb/adapter$i/demux0 c 212 `expr 64 \* $i + 4`
    mknod -m 0660 /dev/dvb/adapter$i/dvr0 c 212 `expr 64 \* $i + 5`
    mknod -m 0660 /dev/dvb/adapter$i/ca0 c 212 `expr 64 \* $i + 6`
    mknod -m 0660 /dev/dvb/adapter$i/net0 c 212 `expr 64 \* $i + 7`
    mknod -m 0660 /dev/dvb/adapter$i/osd0 c 212 `expr 64 \* $i + 8`
    chown root.video /dev/dvb/adapter$i/*
    done

    dupa care au mai aparut si mapele

    /adapter0/-audio0
    /adapter0/-ca0
    /adapter0/-demux0
    /adapter0/-dvr0
    /adapter0/-frontend0
    /adapter0/-net0
    /adapter0/-osd0
    /adapter0/-video0

    /adapter1/-audio0
    /adapter1/-ca0
    /adapter1/-demux0
    /adapter1/-dvr0
    /adapter1/-frontend0
    /adapter1/-net0
    /adapter1/-osd0
    /adapter1/-video0

    /adapter2/-audio0
    /adapter2/-ca0
    /adapter2/-demux0
    /adapter2/-dvr0
    /adapter2/-frontend0
    /adapter2/-net0
    /adapter2/-osd0
    /adapter2/-video0

    /adapter3/-audio0
    /adapter3/-ca0
    /adapter3/-demux0
    /adapter3/-dvr0
    /adapter3/-frontend0
    /adapter3/-net0
    /adapter3/-osd0
    /adapter3/-video0

    nu stiu cat e de corect ceia ce fac, dar am facut-o dupa instructia din read.me - linuxtv-dvb-1.1.1a

    acum ramane sa vad ce fac cu toate astea

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. DVB (SS1, SS2) sub linux
    By stailus in forum Placi DVB
    Replies: 197
    Last Post: 30th June 2013, 18:16
  2. Nou BOX cu Linux
    By onyx in forum DREAMBOX
    Replies: 6
    Last Post: 21st October 2005, 21:49
  3. Ss2 si Linux
    By platon in forum Placi DVB
    Replies: 8
    Last Post: 18th May 2005, 11:43
  4. SS2 IN LINUX
    By picieri in forum Placi DVB
    Replies: 2
    Last Post: 20th December 2003, 04:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to Top