LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-17-2006, 05:44 AM   #1
warshke
LQ Newbie
 
Registered: Mar 2006
Location: Vilnius, Lithuania
Distribution: debian unstable / win98se
Posts: 8

Rep: Reputation: 0
leadtek winfast tv 2000 xp rm edition problem


Hi, i have a problem with my"leadtek winfast tv 2000 xp rm edition" tv card.
It seems to be recognized, but scantv and tvtime-scanner produces no results.
Here's some output
Code:
    >>dmesg
    >><...>
    >>Linux video capture interface: v1.00
    >>bttv: driver version 0.9.16 loaded
    >>bttv: using 8 buffers with 2080k (520 pages) each for capture
    >>bttv: Bt8xx card found (0).
    >>ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
    >>PCI: setting IRQ 5 as level-triggered
    >>ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
    >>bttv0: Bt878 (rev 17) at 0000:00:0b.0, irq: 5, latency: 32, mmio: 0xdf002000
    >>bttv0: detected: Leadtek TV 2000 XP [card=34], PCI subsystem ID is 107d:6609
    >>bttv0: using: Leadtek WinFast 2000/ WinFast 2000 XP [card=34,autodetected]
    >>bttv0: gpio: en=00000000, out=00000000 in=003ff500 [init]
    >>bttv0: using tuner=5
    >>bttv0: i2c: checking for MSP34xx @ 0x80... not found
    >>bttv0: i2c: checking for TDA9875 @ 0xb0... not found
    >>bttv0: i2c: checking for TDA7432 @ 0x8a... not found
    >>bttv0: i2c: checking for TDA9887 @ 0x86... found
    >>tda9887 0-0043: chip found @ 0x86 (bt878 #0 [sw])
    >>tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
    >>tuner 0-0061: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
    >>tuner 0-0063: chip found @ 0xc6 (bt878 #0 [sw])
    >>bttv0: registered device video0
    >>bttv0: registered device vbi0
    >>bttv0: registered device radio0
    >>bttv0: PLL: 28636363 => 35468950 .. ok
    >>bttv0: add subdevice "remote0"
    >>bt878: AUDIO driver version 0.0.0 loaded
    >>bt878: Bt878 AUDIO function found (0).
    >><...>
Code:
    >>lsmod|grep bt
    >>bt878                   9720  0
    >>bttv                  151888  1 bt878
    >>video_buf              19972  1 bttv
    >>firmware_class          9984  1 bttv
    >>i2c_algo_bit            8392  1 bttv
    >>v4l2_common             5696  1 bttv
    >>btcx_risc               4616  1 bttv
    >>tveeprom               13840  1 bttv
    >>i2c_core               19408  8 via686a,i2c_isa,i2c_viapro,tuner,tda9887,bttv,i2c_algo_bit,tveeprom
    >>videodev                8832  1 bttv
Code:
    >>lspci|grep Multimedia
    >>0000:00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
    >>0000:00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Composite and s-video inputs works with no problems. I've tried tuner=38 etc. but with no luck.

mplayer's window is green, and some output is here

Code:
    >>mplayer -tv freq=551.250 tv://dev/video0      (there is a channel on this frequency in windows)
    >><...>
    >>Playing tv://dev/video0.
    >>TV detected! ;-)
    >>Selected driver: dummy
    >> name: NULL-TV
    >> author: alex
    >>Selected input hasn't got a tuner!
    >><...>
can anyone help? this tuner remains the only reason i have a dual boot machine
 
Old 05-25-2006, 12:04 AM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
I have this exact card working with tvtime. I noticed that no matter what tuner I told it to use it used 5 and that wouldn't work for me. I had to edit the source for the kernel driver.

/usr/src/linux/drivers/media/video/bttv-cards.c

on my system

in the section marked:
Code:
        [BTTV_BOARD_WINFAST2000] = {
                .name           = "Leadtek WinFast 2000/ WinFast 2000 XP",
starts at line 867 for me with 2.6.16

change the line that looks like this:
Code:
.tuner_type     = 5, /* default for now, gpio reads BFFF06 for Pal bg+dk */
line 896 for me.

I changed the 5 to 43 (ntsc works for me in the us with broadcast tv you may need another tuner number)

then I recompiled my kernel (I avoid modules when possible to keep things simple if bttv is a module you may only need to do the modules) and it works fine. let me know if this works for you.
 
Old 05-27-2006, 12:26 PM   #3
warshke
LQ Newbie
 
Registered: Mar 2006
Location: Vilnius, Lithuania
Distribution: debian unstable / win98se
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks, it worked, with tuner type 38
but now i have another problem - i get no sound, just loud noise. The noise is changing a bit, so my guess is wrong audio standart, but changing it doesn't seem to work. I had same problem with mandrakelinux, and wasn't able to solve it. Can default audio standart be edited in the kernel source too?
p.s. on windows application my tv standart is "pal-d"

Last edited by warshke; 05-27-2006 at 12:27 PM.
 
Old 05-27-2006, 01:23 PM   #4
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
AFAIK the v4l drivers don't do sound. my card has a cable inside the computer that runs from the tv card to the cd input on my motherboard. then I had to tell tvtime to use the cd input for the volume.

in /etc/tvtime/tvtime.xml
Code:
  <option name="MixerDevice" value="/dev/mixer:cd"/>
now tvtime's volume adjusts the cd in level on my soundcard. or you could just go into alsamixer and adjust it yourself, but then tvtimes volume will do nothing. if you have a .tvtime/tvtime.xml in your home directory it might use that instead of the one in /etc/tvtime. so either edit that one too or copy the one in /etc/tvtime over it. if your card is on another input you may have to alter this somewhat.
 
Old 05-28-2006, 05:58 AM   #5
warshke
LQ Newbie
 
Registered: Mar 2006
Location: Vilnius, Lithuania
Distribution: debian unstable / win98se
Posts: 8

Original Poster
Rep: Reputation: 0
I'm using cd input, but IMHO the problem is sound not getting encoded, i've tried even connecting tv card's audio output cable directly to amplifier, but got only same noise (on win this method produced nice sound).
 
Old 05-28-2006, 07:52 PM   #6
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
I would try other tuner numbers that are similar to 38
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Leadtek Winfast 2000 Delux on Mandriva LE 2005 in KDE - not recognized, SOS! Newbe. myongoh Linux - Hardware 0 06-19-2005 07:22 PM
Leadtek Winfast 2000 XP Expert TV Card Nightmare FPxX Linux - Hardware 6 11-02-2004 06:44 AM
Serious Tvtuner Problem PLEASE HELP ME! - Leadtek Winfast 2000 XP Deluxe Jonescity Mandriva 2 10-24-2004 02:58 AM
Serious Tvtuner Problem PLEASE HELP ME! - Leadtek Winfast 2000 XP Deluxe Jonescity Linux - Hardware 2 08-10-2004 10:16 PM
Leadtek Winfast TV 2000 XP Expert and Linux LeHardi Linux - Hardware 0 04-05-2004 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration