[ Marko Medojević @ 03.06.2007. 11:49 ] @
Tv tuner je Leadtek 2k XP global. Distribucija Ubuntu 7.04. Karticu sam instalirao na sledeći način:
- u fajl /etc/modules sam dodao
Code:

bttv

- kreirao sam fajl /etc/modprobe.d/bttv i dodao:
Code:

# i2c
alias char-major-89 i2c-devb
options i2c-algo-bit bit_test=1
# bttv
alias char-major-81 videodev
alias char-major-81-0 bttv
# My TV Card
options bttv card=34 tuner=38 pll=1 adc_crush=0

Međutim, kao izlaz dmesg komande dobijam:
Code:

...
[   28.259467] Linux video capture interface: v2.00
[   28.288252] cx2388x v4l2 driver version 0.0.6 loaded
[   28.288687] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 19
[   28.288697] ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [LNKA] -> GSI 19 (level, low) -> IRQ 19
[   28.288749] cx88[0]: Your board isn't known (yet) to the driver.  You can
[   28.288751] cx88[0]: try to pick one of the existing card configs via
[   28.288752] cx88[0]: card=<n> insmod option.  Updating to the latest
[   28.288754] cx88[0]: version might help as well.
[   28.288757] cx88[0]: Here is a list of valid choices for the card=<n> insmod option:
[   28.288759] cx88[0]:    card=0 -> UNKNOWN/GENERIC
[   28.288762] cx88[0]:    card=1 -> Hauppauge WinTV 34xxx models
[   28.288764] cx88[0]:    card=2 -> GDI Black Gold
[   28.288766] cx88[0]:    card=3 -> PixelView
[   28.288768] cx88[0]:    card=4 -> ATI TV Wonder Pro
[   28.288770] cx88[0]:    card=5 -> Leadtek Winfast 2000XP Expert
[   28.288773] cx88[0]:    card=6 -> AverTV Studio 303 (M126)
[   28.288775] cx88[0]:    card=7 -> MSI TV-@nywhere Master
[   28.288777] cx88[0]:    card=8 -> Leadtek Winfast DV2000
[   28.288779] cx88[0]:    card=9 -> Leadtek PVR 2000
[   28.288781] cx88[0]:    card=10 -> IODATA GV-VCP3/PCI
[   28.288784] cx88[0]:    card=11 -> Prolink PlayTV PVR
[   28.288786] cx88[0]:    card=12 -> ASUS PVR-416
[   28.288788] cx88[0]:    card=13 -> MSI TV-@nywhere
[   28.288790] cx88[0]:    card=14 -> KWorld/VStream XPert DVB-T
[   28.288792] cx88[0]:    card=15 -> DViCO FusionHDTV DVB-T1
[   28.288794] cx88[0]:    card=16 -> KWorld LTV883RF
[   28.288797] cx88[0]:    card=17 -> DViCO FusionHDTV 3 Gold-Q
[   28.288799] cx88[0]:    card=18 -> Hauppauge Nova-T DVB-T
[   28.288801] cx88[0]:    card=19 -> Conexant DVB-T reference design
[   28.288804] cx88[0]:    card=20 -> Provideo PV259
[   28.288806] cx88[0]:    card=21 -> DViCO FusionHDTV DVB-T Plus
[   28.288808] cx88[0]:    card=22 -> pcHDTV HD3000 HDTV
[   28.288811] cx88[0]:    card=23 -> digitalnow DNTV Live! DVB-T
[   28.288813] cx88[0]:    card=24 -> Hauppauge WinTV 28xxx (Roslyn) models
[   28.288816] cx88[0]:    card=25 -> Digital-Logic MICROSPACE Entertainment Center (MEC)
[   28.288818] cx88[0]:    card=26 -> IODATA GV/BCTV7E
[   28.288820] cx88[0]:    card=27 -> PixelView PlayTV Ultra Pro (Stereo)
[   28.288823] cx88[0]:    card=28 -> DViCO FusionHDTV 3 Gold-T
[   28.288825] cx88[0]:    card=29 -> ADS Tech Instant TV DVB-T PCI
[   28.288828] cx88[0]:    card=30 -> TerraTec Cinergy 1400 DVB-T
[   28.288830] cx88[0]:    card=31 -> DViCO FusionHDTV 5 Gold
[   28.288833] cx88[0]:    card=32 -> AverMedia UltraTV Media Center PCI 550
[   28.288835] cx88[0]:    card=33 -> Kworld V-Stream Xpert DVD
[   28.288837] cx88[0]:    card=34 -> ATI HDTV Wonder
[   28.288840] cx88[0]:    card=35 -> WinFast DTV1000-T
[   28.288842] cx88[0]:    card=36 -> AVerTV 303 (M126)
[   28.288844] cx88[0]:    card=37 -> Hauppauge Nova-S-Plus DVB-S
[   28.288846] cx88[0]:    card=38 -> Hauppauge Nova-SE2 DVB-S
[   28.288849] cx88[0]:    card=39 -> KWorld DVB-S 100
[   28.288851] cx88[0]:    card=40 -> Hauppauge WinTV-HVR1100 DVB-T/Hybrid
[   28.288853] cx88[0]:    card=41 -> Hauppauge WinTV-HVR1100 DVB-T/Hybrid (Low Profile)
[   28.288856] cx88[0]:    card=42 -> digitalnow DNTV Live! DVB-T Pro
[   28.288859] cx88[0]:    card=43 -> KWorld/VStream XPert DVB-T with cx22702
[   28.288861] cx88[0]:    card=44 -> DViCO FusionHDTV DVB-T Dual Digital
[   28.288864] cx88[0]:    card=45 -> KWorld HardwareMpegTV XPert
[   28.288866] cx88[0]:    card=46 -> DViCO FusionHDTV DVB-T Hybrid
[   28.288868] cx88[0]:    card=47 -> pcHDTV HD5500 HDTV
[   28.288871] cx88[0]:    card=48 -> Kworld MCE 200 Deluxe
[   28.288873] cx88[0]:    card=49 -> PixelView PlayTV P7000
[   28.288875] cx88[0]:    card=50 -> NPG Tech Real TV FM Top 10
[   28.288878] cx88[0]:    card=51 -> WinFast DTV2000 H
[   28.288880] cx88[0]:    card=52 -> Geniatech DVB-S
[   28.288882] cx88[0]:    card=53 -> Hauppauge WinTV-HVR3000 TriMode Analog/DVB-S/DVB-T
[   28.288885] cx88[0]:    card=54 -> Norwood Micro TV Tuner
[   28.288887] cx88[0]:    card=55 -> Shenzhen Tungsten Ages Tech TE-DTV-250 / Swann OEM
[   28.288890] cx88[0]:    card=56 -> Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder
[   28.288894] CORE cx88[0]: subsystem: 107d:6f18, board: UNKNOWN/GENERIC [card=0,autodetected]
[   28.288897] TV tuner -1 at 0x1fe, Radio tuner -1 at 0x1fe
...
[  109.754297] tuner 2-0061: tuner type not set
[  109.943141] tuner 2-0061: tuner type not set
[  123.767342] tuner 2-0061: tuner type not set
[  123.962353] tuner 2-0061: tuner type not set
[  313.492039] tuner 2-0061: tuner type not set
[  313.679277] tuner 2-0061: tuner type not set
[  324.303426] tuner 2-0061: tuner type not set
[  326.500137] tuner 2-0061: tuner type not set
[  327.335655] tuner 2-0061: tuner type not set
[  327.775004] tuner 2-0061: tuner type not set
[  328.254148] tuner 2-0061: tuner type not set
[  328.693494] tuner 2-0061: tuner type not set
[  329.969416] tuner 2-0061: tuner type not set
[  330.448696] tuner 2-0061: tuner type not set
[  330.927784] tuner 2-0061: tuner type not set
[  331.646721] tuner 2-0061: tuner type not set
[  332.884859] tuner 2-0061: tuner type not set
[  333.444040] tuner 2-0061: tuner type not set
[  337.278106] tuner 2-0061: tuner type not set
[  338.036982] tuner 2-0061: tuner type not set
[  339.514793] tuner 2-0061: tuner type not set
[  342.350541] tuner 2-0061: tuner type not set
[  343.269163] tuner 2-0061: tuner type not set
[  344.507316] tuner 2-0061: tuner type not set

E sada mene buni to što svuda za ovu moju karticu piše da je card=34, a u dmesg poruci piše za istu karticu da je card=5.
Code:

card=34 - Leadtek WinFast 2000/ WinFast 2000 XP
http://www.linuxtv.org/v4lwiki/index.php/Cardlist.BTTV
[ Not now, John! @ 05.06.2007. 11:01 ] @
Pogrešan drajver učitavaš. Ta kartica ima Conexant CX2388x čip, pa zahtijeva modul cx8800.

Ako modul sam ne prepozna karticu, vjerovatno joj treba proslijediti card=5.

Evo sadržaj fajla linux-2.6.14.7/Documentation/video4linux/README.cx88:

Code:
cx8800 release notes
====================

This is a v4l2 device driver for the cx2388x chip.


current status
==============

video
    - Basically works.
    - Some minor image quality glitches.
    - For now only capture, overlay support isn't completed yet.

audio
    - The chip specs for the on-chip TV sound decoder are next
      to useless :-/
    - Neverless the builtin TV sound decoder starts working now,
          at least for PAL-BG.  Other TV norms need other code ...
          FOR ANY REPORTS ON THIS PLEASE MENTION THE TV NORM YOU ARE
          USING.
    - Most tuner chips do provide mono sound, which may or may not
      be useable depending on the board design.  With the Hauppauge
      cards it works, so there is mono sound available as fallback.
    - audio data dma (i.e. recording without loopback cable to the
      sound card) should be possible, but there is no code yet ...

vbi
    - some code present.  Doesn't crash any more, but also doesn't
      work yet ...


how to add support for new cards
================================

The driver needs some config info for the TV cards.  This stuff is in
cx88-cards.c.  If the driver doesn't work well you likely need a new
entry for your card in that file.  Check the kernel log (using dmesg)
to see whenever the driver knows your card or not.  There is a line
like this one:

    cx8800[0]: subsystem: 0070:3400, board: Hauppauge WinTV \
        34xxx models [card=1,autodetected]

If your card is listed as "board: UNKNOWN/GENERIC" it is unknown to
the driver.  What to do then?

 (1) Try upgrading to the latest snapshot, maybe it has been added
     meanwhile.
 (2) You can try to create a new entry yourself, have a look at
     cx88-cards.c.  If that worked, mail me your changes as unified
     diff ("diff -u").
 (3) Or you can mail me the config information.  I need at least the
     following informations to add the card:

     * the PCI Subsystem ID ("0070:3400" from the line above,
       "lspci -v" output is fine too).
     * the tuner type used by the card.  You can try to find one by
       trial-and-error using the tuner=<n> insmod option.  If you
       know which one the card has you can also have a look at the
       list in CARDLIST.tuner


Nešto mi se ne čini da obećava. Da li je bolje sa novijim kernelom, ne znam.
[ anon139614 @ 14.06.2007. 00:04 ] @
Na Slackware 2.6.17.13 koji dolazi na extra cd-u radi druga kartica ali isto sa cx2888x chipom
bez problema bez ikakve instalacije posebne i podesavanja.
Ja sam imao veliki problem nasao driver kad sam imo 2.4 kernel ali on nije predvidjen za 2,4 kernele pa sam se prestelao na 2.6.
[ Milos_SD @ 11.12.2007. 16:26 ] @
Imam istu karticu sa istim conexant chip-om. Imam Ubuntu 7.10 sa 2.6.22 kernel-om. Na sledeci nacin sam pokusavao da namestim karticu:
rmmod cx88xx
rmmod cx8800
rmmod btcx_risc
rmmod bttv

I nakon toga uradim sledece:

modprobe cx88xx card=5 tuner=43
modprobe cx8800

Ali dmesg kaze da je ucitan card=5 i tuner=38, a nisam mu dao taj parametar. I izgleda zbog toga ne moze da nadje nijedan kanal preko tvtime-a. Da li ima pomoci ovoj kartici ili da pokusam da je zamenim za expert verziju?
[ Bastard @ 12.12.2007. 08:57 ] @
Mislim da je, bez obzira što ima koneksant chip, ta kartica bttv.
Sa cx88 modulom radi winfast expert i još neke dve winfast karte.U bttv modulu winfast je kartica 34.Sad i mene buni tabela tunera na dole sajtu jer meni radi rm kao card 34 tuner 43 a pal kartica
Na ovoj stranici gpio pins za global karticu su valjda za daljinac
http://www.linuxtv.org/v4lwiki/index.php/Leadtek_WinFast_2000

Tuneri po broju su definisani ovde
/usr/src/linux/include/media/tuner.h
Code:

#ifndef _TUNER_H
#define _TUNER_H

#include <linux/videodev2.h>
#include <linux/i2c.h>
#include <media/tuner-types.h>

extern int tuner_debug;

#define ADDR_UNSET (255)

#define TUNER_TEMIC_PAL            0        /* 4002 FH5 (3X 7756, 9483) */
#define TUNER_PHILIPS_PAL_I        1
#define TUNER_PHILIPS_NTSC        2
#define TUNER_PHILIPS_SECAM        3    /* you must actively select B/G, L, L` */

#define TUNER_ABSENT            4
#define TUNER_PHILIPS_PAL        5
#define TUNER_TEMIC_NTSC        6    /* 4032 FY5 (3X 7004, 9498, 9789)  */
#define TUNER_TEMIC_PAL_I        7    /* 4062 FY5 (3X 8501, 9957) */

#define TUNER_TEMIC_4036FY5_NTSC    8    /* 4036 FY5 (3X 1223, 1981, 7686) */
#define TUNER_ALPS_TSBH1_NTSC        9
#define TUNER_ALPS_TSBE1_PAL        10
#define TUNER_ALPS_TSBB5_PAL_I        11

#define TUNER_ALPS_TSBE5_PAL        12
#define TUNER_ALPS_TSBC5_PAL        13
#define TUNER_TEMIC_4006FH5_PAL        14    /* 4006 FH5 (3X 9500, 9501, 7291) */
#define TUNER_ALPS_TSHC6_NTSC        15

#define TUNER_TEMIC_PAL_DK        16    /* 4016 FY5 (3X 1392, 1393) */
#define TUNER_PHILIPS_NTSC_M        17
#define TUNER_TEMIC_4066FY5_PAL_I    18    /* 4066 FY5 (3X 7032, 7035) */
#define TUNER_TEMIC_4006FN5_MULTI_PAL    19    /* B/G, I and D/K autodetected (3X 7595, 7606, 7657) */

#define TUNER_TEMIC_4009FR5_PAL        20    /* incl. FM radio (3X 7607, 7488, 7711) */
#define TUNER_TEMIC_4039FR5_NTSC    21    /* incl. FM radio (3X 7246, 7578, 7732) */
#define TUNER_TEMIC_4046FM5        22    /* you must actively select B/G, D/K, I, L, L` !  (3X 7804, 7806, 8103, 8104) */
#define TUNER_PHILIPS_PAL_DK        23

#define TUNER_PHILIPS_FQ1216ME        24    /* you must actively select B/G/D/K, I, L, L` */
#define TUNER_LG_PAL_I_FM        25
#define TUNER_LG_PAL_I            26
#define TUNER_LG_NTSC_FM        27

#define TUNER_LG_PAL_FM            28
#define TUNER_LG_PAL            29
#define TUNER_TEMIC_4009FN5_MULTI_PAL_FM 30    /* B/G, I and D/K autodetected (3X 8155, 8160, 8163) */
#define TUNER_SHARP_2U5JF5540_NTSC    31

#define TUNER_Samsung_PAL_TCPM9091PD27    32
#define TUNER_MT2032            33
#define TUNER_TEMIC_4106FH5        34    /* 4106 FH5 (3X 7808, 7865) */
#define TUNER_TEMIC_4012FY5        35    /* 4012 FY5 (3X 0971, 1099) */

#define TUNER_TEMIC_4136FY5        36    /* 4136 FY5 (3X 7708, 7746) */
#define TUNER_LG_PAL_NEW_TAPC        37
#define TUNER_PHILIPS_FM1216ME_MK3    38
#define TUNER_LG_NTSC_NEW_TAPC        39

#define TUNER_HITACHI_NTSC        40
#define TUNER_PHILIPS_PAL_MK        41
#define TUNER_PHILIPS_ATSC        42
#define TUNER_PHILIPS_FM1236_MK3    43

#define TUNER_PHILIPS_4IN1        44    /* ATI TV Wonder Pro - Conexant */
/* Microtune merged with Temic 12/31/1999 partially financed by Alps - these may be similar to Temic */
#define TUNER_MICROTUNE_4049FM5     45
#define TUNER_PANASONIC_VP27        46
#define TUNER_LG_NTSC_TAPE        47

#define TUNER_TNF_8831BGFF        48
#define TUNER_MICROTUNE_4042FI5        49    /* DViCO FusionHDTV 3 Gold-Q - 4042 FI5 (3X 8147) */
#define TUNER_TCL_2002N            50
#define TUNER_PHILIPS_FM1256_IH3    51

#define TUNER_THOMSON_DTT7610        52
#define TUNER_PHILIPS_FQ1286        53
#define TUNER_PHILIPS_TDA8290        54
#define TUNER_TCL_2002MB        55    /* Hauppauge PVR-150 PAL */

#define TUNER_PHILIPS_FQ1216AME_MK4    56    /* Hauppauge PVR-150 PAL */
#define TUNER_PHILIPS_FQ1236A_MK4    57    /* Hauppauge PVR-500MCE NTSC */
#define TUNER_YMEC_TVF_8531MF        58
#define TUNER_YMEC_TVF_5533MF        59    /* Pixelview Pro Ultra NTSC */

#define TUNER_THOMSON_DTT761X        60    /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */
#define TUNER_TENA_9533_DI        61
#define TUNER_TEA5767            62    /* Only FM Radio Tuner */
#define TUNER_PHILIPS_FMD1216ME_MK3    63

#define TUNER_LG_TDVS_H06XF        64    /* TDVS H061F, H062F, H064F */
#define TUNER_YMEC_TVF66T5_B_DFF    65    /* Acorp Y878F */
#define TUNER_LG_TALN            66
#define TUNER_PHILIPS_TD1316        67

#define TUNER_PHILIPS_TUV1236D        68    /* ATI HDTV Wonder */
#define TUNER_TNF_5335MF                69    /* Sabrent Bt848   */
#define TUNER_SAMSUNG_TCPN_2121P30A     70     /* Hauppauge PVR-500MCE NTSC */
#define TUNER_XCEIVE_XC3028        71

#define TUNER_THOMSON_FE6600        72    /* DViCO FusionHDTV DVB-T Hybrid */
#define TUNER_SAMSUNG_TCPG_6121P30A     73     /* Hauppauge PVR-500 PAL */
#define TUNER_TDA9887                   74      /* This tuner should be used only internally */
[ Milos_SD @ 12.12.2007. 21:52 ] @
Eh, kada bih ja ovde nesto razumeo. :)
Ajde, molim te ako znas, reci mi step-by-step kako da namestim ovu karticu? :)
Dosad sam imao Gigabyte DVB-T sa philips chip-om i koristi saa7134 drajver, tako da sam tu karticu lako namestio. Ali posto sam uzeo nov komp, uzeo sam i novu karticu za koju sam se nadam da ce da proradi out-of-the-box. :( Ako ne moze ova da se namesti, reci mi za koju da je zamenim, a da radi out-of-the-box. :D

Hvala. :)
[ Bastard @ 13.12.2007. 05:47 ] @
Odstrani sve module vezane za karticu sa rmmod
Isto i tuner modul

Probaj
modprobe bttv card=34 tuner=56

Probaj i druge tunere sa linka iz moje predhodne poruke (2,3,5,24,38,43,56)
Kad loadujes modul pokreni dmesg|grep bt

Nadamse da radi ova kartica zbog toga što je spomenuta na tom linku
Inače ja nisam hteo global početkom godine prvenstveno zbog nekih problema koje je ta kartica imala sa v4l2 (a i koštala više od drugih)
[ Milos_SD @ 13.12.2007. 13:46 ] @
Pokusavao sam i to modprobe bttv card=34 tuner=56. Ali kada uradim to nikada ne napravi video0 device u /dev/ folderu. Ne moze, pokusao sam sve, i nikada ne napravi /dev/video0 u dmesg-u pokaze samo ovo:

Code:

[177135.583235] bttv: driver version 0.9.17 loaded
[177135.583239] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ Milos_SD @ 15.12.2007. 12:42 ] @
Da li mozda neko ima jos neki predlog?

[Ovu poruku je menjao Milos_SD dana 15.12.2007. u 14:33 GMT+1]
[ Bastard @ 16.12.2007. 12:15 ] @
http://www.sk.co.yu/forum/showthread.php?p=416244

Da bi promenio kernel modul nemoraš da kompiluješ kernel već samo drajver a stari odklonis sa rm i depmod -a
Samo što nema sursa koji ima ovu karticu još uvek ili ga nisam našo
[ Milos_SD @ 16.12.2007. 12:45 ] @
Ima na mailing listi v4l kod koji treba da se doda u cx88-cards.c i cx88.c da bi ova kartica radila. Ali ovo se nalazi u kernel source-u, ne znam kako da instaliram samo drajver. :(
[ Bastard @ 17.12.2007. 15:35 ] @
Pa skini source drajvera i ispravi
Onda odes gde su moduli .ko i obriši ih.
Pokreneš depmod -a
Kompilujes novi ko za tvoj kernel i prekopiraš na mesto starog
I open uradis depmod -a


Ovaj surs ima make install te bi trebalo da sama skripta ubaci ko fajlove.Možda posle make odstrani ko fajlove kod tvog kernela i uradi depmod -a

http://dl.bytesex.org/releases/video4linux/cx88-0.0.4.tar.gz

Neznam jel ovo poslednja verzija cx88 drajvera

.ko fajlovi su ovde /lib/modules/2.6.xx.xx/kernel/drivers/media/video/cx88

[Ovu poruku je menjao Bastard dana 17.12.2007. u 16:49 GMT+1]
[ Bastard @ 17.12.2007. 16:52 ] @
Pošto je ovaj surs sa linka iz predhodne poruke stari a nemogu sad da nađem noviji (vido sam negde) možda bolje prepravi surs u kernelu i uradi
make menuconfig old
make
make modules install
[ Milos_SD @ 17.12.2007. 17:58 ] @
Hvala svima na trudu. Ipak sam lishio sebe muka i zamenio za Leadtek Winfast 2000/XP Expert, koja je odmah bila prepoznata. :)