je kdo car.. ?:) kako instalirat ful staro tv kartico na ubuntu ?

Imam Tv kartico, ki sem jo do pred kratkim uporabljal v winsih sedaj me pa zanima ce se jo dakko spravit v unix sistem.

Govorim pa o tejle zadevi Flyvideo Lifeview .. z Zoran chipsetom (ce bi mela btb848 bi bilo prevec preprosto)

ČE ma kdo zilico tocna oznaka chipseta je zoran ZR 36120PQc, zraven je pa še mislim da Philips tuner - saa7110WP
Kolko sem gledal in srfal, jo označujejo pod oznako LR25 1850 : 1851

Thenks za vse morebitne nasvete, trud ali dobro voljo ;)

Komentarji

  • Lahko poveš kaj reče dmesg o kartici?
  • zacetnik Član
    uredil/-a 13. October, 2007
    [17179573.364000] Boot video device is 0000:01:00.0
  • uporabljam, Ubuntu 6.10 , 2.6.17-10-generic

    lspci napise tole:

    04:01.0 Multimedia video controller: Zoran Corporation ZR36120 (rev 02)

    Nekaj sem iskal linuxtv.org
    in pa tlpd.org/howto

    samo mi zaenkrat se ni uspelo pogruntati kako bi naj to delovalo in kako vem da je driver namescen in v katerem programu lahkotv uporabljam. Hvala ce se bo še kdo odločil za pomoč. Izvedem vse kar mi naročite ;)
  • Hmmm....sicer nisem prepričan če je to pravi driver vendar poskusi z "modprobe zr36067"
    Več o tem driverju si preberi tule: http://mjpeg.sourceforge.net/driver-zoran/

    Glede programa pa vem za XawTV.
  • zacetnik Član
    uredil/-a 13. October, 2007
    Zivjo, hvala za trud pocasi ze tudi sam napredujem. Vendar se vidi da sem dolgoletni vindovs uporabnik. se dvojni v na tipkovnici mi ne dela :)

    Skratka, nasel sem dirver od neke Nizozemke , ki ustreza moji zadevi glede chipseta zr 36120 in saa7110
    http://www.polyware.nl/~middelin/En/hob-v4l.html

    zaj pa ce je kdo dusa in mi lahko malce po domace pove kaksne ukaze morem vpisat da bi tole instaliral. Kako vem na koncu da je driver uspesno instaliran in da ga bo program za tv prepoznal.

    Vsak ukaz bo dobrodosel in kratek pomen .. zakaj ta ukaz
    thenks

    PS: Pozna še kdo kak e-book v slovenscini za zacetnike, ko pise kaj o linuxu - ubuntu.
  • Ce bi mi kdo rad pomagal, navodila so takale..:

    INSTALL
    =======
    Read the file called TODO. Note its long list of limitations.

    First of all you need to have a kernel with BIGPHYSAREA
    compiled in. If you already have a BIGPHYSAREA aware
    kernel, skip this part

    1. Download the bigphysarea-....tar.gz, the version number does
    not have to match your kernel exactly, but must not be newer
    than the kernel version.
    2. Extract its contents.
    3. Now goto /usr/src/linux and give the command
    patch -p0 < [where-ever/your/bigphysarea.patch/may/be]
    After this patch was successfully completed, recompile
    the kernel, this time activating 'CONFIG_EXPERIMENTAL'
    and 'CONFIG_BIGPHYSAREA' in your .config file.
    4. Edit /sbin/lilo to contain the line
    append="bigphysarea=1024"
    (1024 means 1024 pages, == 4096KB)
    5. Boot the resulting kernel and verify you have a
    /proc/bigphysarea with the appropriate contents.

    Now build a kernel with VIDEO4LINUX enabled. Activate the
    BT848 driver; we need this because we need the
    other modules (i2c and videodev) it enables.
    Recompile and reboot the new kernel, you should now
    have a videodev and i2c in your kernel.
    (PS. You can combine this with the previous compile, if you are
    experienced enough)

    To install this software, extract it into a suitable directory.
    Examine the makefile and change anything you don't like. Currently
    that should only be the location of the kernel tree. Type "make".

    After making the modules check if you have the much needed
    /dev/video devices. If not, execute the following 10 lines:
    mknod /dev/video1 c 81 0
    mknod /dev/video2 c 81 1
    mknod /dev/video3 c 81 2
    mknod /dev/video4 c 81 3
    mknod /dev/vbi1 c 81 224
    mknod /dev/vbi2 c 81 225
    mknod /dev/vbi3 c 81 226
    mknod /dev/vbi4 c 81 227
    ln -sf /dev/video0 /dev/video
    ln -sf /dev/vbi0 /dev/vbi

    After makeing/checking the devices do:
    modprobe i2c
    modprobe videodev
    modprobe saa7110 (optional*)
    modprobe saa7111 (optional*)
    modprobe tuner (optional)
    insmod zoran cardtype=

    is the cardtype of the card you have. The cardnumber can
    be found in the source of zr36120. Look for tvcards. If your
    card is not there, please try if any other card gives some
    response, and mail me if you got a working tvcard addition.

    <*> You must choose either one, or both if you are not sure
    which video decoder your card has.

    You are now ready to test the framegrabber with your favorite
    video4linux compatible tool

    My favorite tool is streamer, since you have total control
    over the number of pictures you take, which is kind of
    important if it won't work and you have read the following
    section.

    IT WON'T WORK
    =============
    Too bad. There are a few reasons it possibly breaks:

    R1: You don't have a real zr36120/zr36125 based card
    A1: go away. you don't need this driver.

    R2: You are running a totally out-of-date driver.
    A2: check if my website contains a newer version.
    (http://www.polyware.nl/~middelin/En/hobbies.html)

    R3: You forgot to read the TODO file, and assumed
    wrongly audio and channel tuning (television)
    should work.
    A3: read the TODO file and send me patches to implement
    the tuning/audio part

    R4: Your card is not listed in the cardtypes.
    A4: (See below)

    Others:
    Email me at , and we try to work
    out why it fails. For me to help you, we need to do a
    few things to the driver and your computer to make it
    give sufficient information to help you.

    1. Edit syslogd.conf to log debug level information
    to a seperate file:
    *.=debug /var/log/debug
    ^^^^^^^^^^^^^^^^ there are two TABs!
    Restart syslogd:
    /etc/rc.d/init.d/syslog reload

    2. Recompile the zoran driver after you edited zr36120.h
    to contain the following line
    #define DEBUG(x...) x /* Debug driver */
    instead of
    #define DEBUG(x...) /* Debug driver */

    3. Insert the new modules.

    4. Run a single capture. The easiest way to do this:
    streamer -o image.jpeg
    (streamer comes from the xawtv package)

    5. Send me the relevant part of /var/log/messages and
    the entire /var/log/debug file from the open(dev,...)
    until the close(dev,...) lines

    YOUR CARD IS NOT LISTED
    =======================
    Ask yourself if you are capable of doing some investigating
    work. It involves a lot of recompiling and looking at the
    logfiles...

    1. You need access to a window machine. Check what channels
    are supported. Most of them have atleast a composite
    video and a SVHS video input. Some have a tuner onboard,
    but don't expect the current driver to switch frequencies!

    2. insert the i2c module full debugging:
    rmmod zoran
    rmmod saa7110
    insmod i2c scanbus=1 verbose=1
    insmod saa7110
    insmod zoran cardtype=
    In your logging you should see stuff like:
    i2c: initialized (i2c bus scan enabled)
    i2c: driver registered: saa7110
    i2c: bus registered: zoran-0
    i2c: scanning bus zoran-0: found device at addr=0x9c
    i2c: device attached: saa7110 (addr=0x9c, bus=zoran-0, driver=saa7110)
    If not, try to change the i2c connections, which are sometimes
    swapped on the chip itself. You do this by editing the
    third field in the tvcard entry:
    /*0*/ { "Trust Victor II",
    2, 0, T, T, T, T, 0x7F, 0x80, { 1, SVHS(6) }, { 0 } },
    ^
    +---- swap i2c lines
    Recompile, reload and try again, if you don't get these
    lines or something simular, email me. (You are in trouble.)

    3. Enable all video channels in your test tvcard entry,
    this gives you an opportunity to test which video channels
    are connected and try other things. See the zoran debugging
    entry in the cardlist for this. It has all inputs listed
    as composite, so don't be suprised if your tuner won't work.
    (As a matter of fact, _I_ will be suprised!)

    4. Enable IDEBUG in zr36120.h and recompile/reload the modules.
    When you try to capture an image, the log will show
    lines as:
    zoran-0(1): estat 40000000
    zoran-0(1): stat 40000000
    zoran-0(1): GIRQ0
    If you do not see the GIRQ line, but do see the estat/stat
    lines you need to tell the driver it must use the other
    GIRQ line. This you do by changing the second boolean
    or the fourth field in the tvcards struct:
    /*0*/ { "Trust Victor II",
    2, 0, T, T, T, T, 0x7F, 0x80, { 1, SVHS(6) }, { 0 } },
    ^
    +---- usegirq1
    After recompiling you should have GIRQ0 or GIRQ1 lines.
    If not, email me. (You are in trouble.)

    5. Disable the IDEBUG information. It won't do any good.
    Recompile/reload.

    6. Ok, now, when you try a capture, you should see lines
    in the log telling you all about set_geo and lots
    of other numbers. This /must/ happen, since the VSYNCS
    are beeing processed.
    Now you need to look for lines like:
    zoran-0(331): completed grab at c48265a8
    zoran-0(331): nothing in queue
    zoran-0(331): turning off
    This means the zoran chip completed the transfer of
    a frame (consisting of two fields) and is telling you
    is has no further work to do...
    If you don't get the 'completed' lines, don't despair,
    it could be you are looking at the wrong channel, just
    issue a extra -i
    streamer -i 0 -o image.jpeg
    And try all inputs 1..6.
    If you don't get any response, email me. (You are in trouble.)

    7. Have a look at the resulting image (xv, electric eyes,
    whatever). If the picture is not correctly in the middle
    of the image, you need to adjust the horizontal polarity
    (black frame at the left of your image) and/or the vertical
    polarity (black frame on top)
    You can also do this in the tvstruct for your cardtype:
    /*0*/ { "Trust Victor II",
    2, 0, T, T, T, T, 0x7F, 0x80, { 1, SVHS(6) }, { 0 } },
    ^ ^
    | +--- Hpol positive
    +------ Vpol positive

    8. Determine the mapping from logical number (used on the
    commandline) to physical connection on the video_decoder.
    Do this by inputing a known video source to the input
    and issueing:
    streamer -i -o image.jpeg
    with between 1 and 6 till you find the physical
    connection number.
    /*0*/ { "Trust Victor II",
    2, 0, T, T, T, T, 0x7F, 0x80, { 1, SVHS(6) }, { 0 } },
    ^ ^ ^
    +--- number of inputs | +--- SHVS on 6
    +------ Composite on 1
    So, the Trust card has 2 inputs, 0 is mapped to physical 1
    (composite mode) and 1 is mapped physical input 6 (SVHS mode)
    You can use the macro SHVS(x) to tell the driver it is
    a SVHS input (only a name change), or TUNER(x) to tell the
    driver it is a tuner (only one possible for now)

    Dont forget to set 'video_inputs' to the number of inputs
    you defined in the video_mux part of the tvcard definition.
    Its a common error to add a channel but not incrementing
    video_input and getting angry with me/v4l/linux/linus :(

    If you are satisfied with the cardentry, mail it to me and
    I will make sure the entry gets entered into the next release
    of the driver so you won't have to do this all again...
    (Please state clearly the name of the card and your email
    address I will add above the entry as a reference)

    Pauline Middelink
  • zacetnik Član
    uredil/-a 14. October, 2007
    Nekaj ukazov ki sem jih do zdaj zbrkal ni mi pa jasno kaj pocnejo :) ker je zadeva v francoscini
    http://www.lea-linux.org/cached/index/Hardware-hard_image-tv.html

    http://tldp.org/HOWTO/html_single/BTTV/#MODPROBE

    sudo mknod /dev/video0 c 81 0

    sudo ln -s /dev/video0 /dev/video


    ls -l /dev/video*

    sudo modprobe bttv card=8 type=5


    http://www.linuxdocs.org/HOWTOs/mini/BTTV-4.html


    http://www.ibiblio.org/pub/Linux/docs/HOWTO/BTTV

    /usr/share/doc/kernel/video4linux/zr36120.txt -- kao bi naj bla neka navodila



    ls -R /lib/modules/`uname -r`/kernel


    $lsmod mi javi nekaj bttv zadetkov

    Do sem sem ze prisel:..

    $ xawtv -hwscan
    This is xawtv-3.95, running on Linux/i686 (2.6.17-10-generic)
    looking for available devices
    port 73-73
    type : Xvideo, image scaler
    name : ATI Radeon Video Overlay

    /dev/video0: Permission denied
  • Žal nimaš sreče. V enem od kernel komentarjev je bilo omenjeno, da so ZR36120 drajverji leteli ven -> ker so pokvarjeni. Smola. :(

    Lp, M!
Za komentiranje se prijavite ali pa se vpišite.