Hauppauge WinTV PCI FM stopped working - no stations found!

From: dan garton (danzvash_at_yahoo.com)
Date: 08/27/03


Date: 27 Aug 2003 09:15:45 -0700

Hi,

I have a Hauppauge WinTV PCI FM card that worked fine a month or so
ago when I last watched TV.
Now I can't pick up a single station, even though the aerial has a
strong signal. I have not seriously changed any major software
component (MAYBE I updated the kernel since then, MAYBE devfs - but
everything has the same options and basic configuration)

Replication:
- Unplug antenna cable from TV (sitting next to computer, all channels
stong reception)
- Plug antenna cable into TV-in antenna socket on WinTV PCI FM
- Check bttv etc modules loaded (see dmesg output below)
- Run xawtv: set to
        - PAL (for UK)
        - europe-west
        - Television input

====> RESULT: static on all channels when attempting to tune.

scantv finds "no station" on all channels. tvtime also finds no
stations.

So I thought: maybe the card or tuner settings are wrong?
bttv autodetect:
        card=10 - Hauppauge (bt878)
        type=5 - Philips PAL_BG (FI1216 and compatibles)
(this info from /usr/src/linux/Documentation/video4linux/bttv/CARDLIST)

Maybe tuner setting is wrong?
=> autodetect sets to type=5, or FI1216 according to
/usr/src/linux/Documentation/video4linux/bttv/CARDLIST
=> in /usr/src/linux/Documentation/video4linux/bttv/Tuners it says
        FI12x6: Tuner Series
        ...
        1216: PAL BG
But my card has an FM Tuner, and I live in the UK, so maybe it should
be:
        FM12x6: Tuner + FM
        1246: PAL I (I think this is the PAL type in UK)
So I tried setting the tuner type=1, but this made no difference.
Maybe I still need to play a bit with the other tuner settings?

If ANYBODY has ANY ideas I would love to hear them.
Thanks,
Dan

*** KERNEL
dan@yukka dan $ uname -a
Linux yukka 2.4.20-gentoo-r5 #2 Thu Jun 12 13:25:27 BST 2003 i686 AMD
Athlon(tm) XP 1800+ AuthenticAMD GNU/Linux

*** KERNEL MESSAGES
# dmesg
-----
Linux video capture interface: v1.00
i2c-core.o: i2c core module version 2.7.0 (20021208)
i2c-algo-bit.o: i2c bit algorithm module version 2.7.0 (20021208)
bttv: driver version 0.7.106 loaded
bttv: using 4 buffers with 2080k (8320k total) for capture
bttv: Host bridge is PCI device 1039:0746 (Silicon Integrated Systems
[SiS])
bttv: Bt8xx card found (0).
PCI: Found IRQ 4 for device 00:0a.0
PCI: Sharing IRQ 4 with 00:0a.1
PCI: Sharing IRQ 4 with 00:0e.0
bttv0: Bt878 (rev 17) at 00:0a.0, irq: 4, latency: 32, mmio:
0xcfcfe000
bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is
0070:13eb
bttv0: using: BT878(Hauppauge (bt878)) [card=10,autodetected]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
bttv0: Hauppauge eeprom: model=44354, tuner=Philips FM1216 (5),
radio=yes
bttv0: using tuner=5
bttv0: i2c: checking for MSP34xx @ 0x80... found
msp34xx: init: chip=MSP3415D-B3 +nicam +simple
msp3410: daemon started
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips:
tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54
(PV951),ta8874z
tuner: probing bt848 #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc2
tuner: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
KERNEL: assertion (newsk->state != TCP_SYN_RECV) failed at tcp.c(2229)
KERNEL: assertion ((1<<sk2->state)&(TCPF_ESTABLISHED|TCPF_CLOSE_WAIT|TCPF_CLOSE))
failed at af_inet.c(695)
bttv0: PLL can sleep, using XTAL (28636363).
bttv0: PLL: 28636363 => 35468950 .. ok
tuner: TV freq (0.00) out of range (44-958)
-----

*** MODULES LOADED
yukka root # lsmod
Module Size Used by Not tainted
sg 29324 0 (autoclean)
udf 89664 0 (autoclean)
tuner 10912 1 (autoclean)
tvaudio 14236 0 (autoclean) (unused)
msp3400 18156 1 (autoclean)
bttv 78688 0
i2c-algo-bit 8360 1 [bttv]
i2c-core 15816 0 [tuner tvaudio msp3400 bttv
i2c-algo-bit]
videodev 6336 3 [bttv]
snd-pcm-oss 39524 1 (autoclean)
snd-mixer-oss 13688 1 (autoclean) [snd-pcm-oss]
rtc 7644 0 (autoclean)
supermount 13920 3 (autoclean)
sr_mod 18264 0 (autoclean)
mousedev 4372 0 (unused)
hid 13992 0 (unused)
input 3648 0 [mousedev hid]
ehci-hcd 15688 0 (unused)
usb-ohci 19720 0 (unused)
ide-scsi 8912 0
scsi_mod 87444 3 [sg sr_mod ide-scsi]
via-rhine 13712 1
mii 2544 0 [via-rhine]
snd-fm801 9004 2 (autoclean)
snd-mpu401-uart 3808 0 (autoclean) [snd-fm801]
snd-rawmidi 15040 0 (autoclean) [snd-mpu401-uart]
snd-pcm 64960 0 (autoclean) [snd-pcm-oss snd-fm801]
snd-page-alloc 6772 0 (autoclean) [snd-pcm]
snd-ac97-codec 41880 0 (autoclean) [snd-fm801]
snd-opl3-lib 6628 0 (autoclean) [snd-fm801]
snd-hwdep 5216 0 (autoclean) [snd-opl3-lib]
snd-seq-device 4352 0 (autoclean) [snd-rawmidi
snd-opl3-lib]
snd-timer 15812 0 (autoclean) [snd-pcm snd-opl3-lib]
snd 32964 0 (autoclean) [snd-pcm-oss
snd-mixer-oss snd-fm801 snd-mpu401-uart snd-rawmidi snd-pcm
snd-ac97-codec snd-opl3-lib snd-hwdep snd-seq-device snd-timer]
soundcore 4260 6 (autoclean) [bttv snd]

*** MODULES - relevant lines in /etc/modules.conf
alias char-major-81 bttv
# Support for i2c and lm_sensors
alias char-major-89 i2c-dev

*** HARDWARE
dan@yukka dan $ /sbin/lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device
0746 (rev 02)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev
25)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0
Controller
00:09.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 43)
00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 11)
00:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio
Capture (rev 11)
00:0d.0 Multimedia audio controller: Fortemedia, Inc Xwave QS3000A
[FM801] (rev b2)
00:0d.1 Input device controller: Fortemedia, Inc Xwave QS3000A [FM801
game port] (rev b2)
00:0e.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II]
(rev 43)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100
QY [Radeon 7000/VE]

*** DEVICES - /etc/devfsd.conf (my user is member of video group)
# Video4Linux devices
REGISTER v4l/.* PERMISSIONS root.video 660

dan@yukka dan $ ll /dev/v4l/
crw-rw---- 1 root video 81, 64 Jan 1 1970 radio0
crw-rw---- 1 root video 81, 224 Jan 1 1970 vbi0
crw-rw---- 1 root video 81, 0 Jan 1 1970 video0

*** example verbose xawtv output
dan@yukka dan $ xawtv -v 1
This is xawtv-3.88, running on Linux/i686 (2.4.20-gentoo-r5)
visual: id=0x21 class=4 (TrueColor), depth=24
visual: id=0x22 class=5 (DirectColor), depth=24
x11: color depth: 24 bits, 3 bytes - pixmap: 4 bytes
x11: color masks: red=0x00ff0000 green=0x0000ff00 blue=0x000000ff
x11: server byte order: little endian
x11: client byte order: little endian
check if the X-Server is local ... **** ok
x11 socket: me=localhost, server=localhost
main: dga extention...
DGA version 2.0
main: xinerama extention...
main: xvideo extention [video]...
Xvideo: 1 adaptors available.
Xvideo: ATI Radeon Video Overlay: input image, ports 53-53
Xvideo: no usable video port found
main: xvideo extention [image]...
  image format list for port 53
    0x32595559 (YUY2) packed [ok: 16 bit YUV 4:2:2 (packed, YUYV)]
    0x59565955 (UYVY) packed [ok: 16 bit YUV 4:2:2 (packed, UYVY)]
    0x32315659 (YV12) planar
    0x30323449 (I420) planar [ok: 12 bit YUV 4:2:0 (planar)]
main: init main window...
main: install signal handlers...
main thread [pid=11259]
main: open grabber device...
x11: 1280x1024, 32 bit/pixel, 5120 byte/scanline, DGA
v4l-conf: using X11 display :0.0
dga: version 2.0
mode: 1280x1024, depth=24, bpp=32, bpl=5120, base=0xc0000000
/dev/v4l/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument
/dev/v4l/video0 [v4l]: configuration done
got sigchild
waitpid: No child processes
vid-open: trying: v4l2-old...
vid-open: failed: v4l2-old
vid-open: trying: v4l2...
vid-open: failed: v4l2
vid-open: trying: v4l...
v4l: open: /dev/v4l/video0 (BT878(Hauppauge (bt878)))
  capabilities: capture tuner overlay clipping frameram scales
  size : 48x32 => 924x576
  channels: 4
    Television: 1 tuner audio tv
    Composite1: 0 audio camera
    S-Video: 0 audio camera
    Composite3: 0 audio camera
  audios : 1
    4 (TV): muted=yes volume=65535 bass=32768 treble=32768
  tuner : Television 0-4294967295 PAL NTSC SECAM
v4l: bttv version 0.7.106
  fbuffer : base=0x0xc0000000 size=1280x1024 depth=32 bpl=5120
  picture : brightness=32768 hue=32768 colour=32512 contrast=27648
  picture : whiteness=0 depth=32 palette=rgb32
  mbuf: size=8519680 frames=4
  v4l: using mapped buffers for capture
vid-open: ok: v4l
v4l: 1280x1024, 32 bit/pixel, 5120 byte/scanline
main: checking wm...
wmhooks: netwm state stays_on_top
main: creating windows ...
Warning: Cannot convert string
"-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
main: init frequency tables ...
freq: reading /usr/share/xawtv/Index.map
main: read config file ...
xt: checking for randr extention ...
xrandr: 1280x1024 640x480 1280x960 1152x864 1024x768 832x624 800x600
416x312 400x300 320x240
xt: checking for vidmode extention ...
xt: checking for lirc ...
xawtv: could not connect to socket
xawtv: No such file or directory
lirc: no infrared remote support available
xt: checking for joystick ...
xt: checking for midi ...
xt: adding kbd hooks ...
main: mapping main window ...
main: initialize hardware ...
main: parse channels from config file ...
xt: handle_pending: start ...
gd: init
blit: init
blit: gl: init
Xlib: extension "GLX" missing on display ":0.0".
blit: gl: can't get visual (rgb,db)
blit: resize 384x288
gd: config 384x288 win=2400049
v4l: setformat
v4l: capture probe 16 bit YUV 4:2:2 (packed, YUYV)... ok
setformat: 16 bit YUV 4:2:2 (packed, YUYV) (384x288): ok
grabdisplay: using "16 bit YUV 4:2:2 (packed, YUYV)"
xt: handle_pending: ... done
cmd: "setfreqtab" "europe-west"
freq: newtab 5
freq: reading /usr/share/xawtv/europe-west.list
freq: reading /usr/share/xawtv/ccir-i-iii.list
freq: reading /usr/share/xawtv/ccir-sl-sh.list
freq: reading /usr/share/xawtv/ccir-h.list
freq: reading /usr/share/xawtv/uhf.list
cmd: "capture" "overlay"
cmd: "setchannel" "69"
v4l: overlay off
v4l: freq: 855.250
main: known station tuned, not changing
xt: enter main event loop...
clip: final - 0 clips
v4l: overlay win=384x288+4+20, 0 clips
expose count=0
keypad: timeout



Relevant Pages

  • Hauppauge WinTV PCI FM stopped working
    ... Plug antenna cable into TV-in antenna socket on WinTV PCI FM ... are the TV card and tuner type settings ... bttv0: Hauppauge/Voodoo msp34xx: reset line init ... 00:03.0 USB Controller: Silicon Integrated Systems USB 1.0 ...
    (comp.os.linux.hardware)
  • [BUG 2.6.23-rc6-mm1] NMI Watchdog detected LOCKUP on CPU 0
    ... 00:01.0 PCI bridge: Intel Corporation 82975X PCI Express Root Port ... 04:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller ... # IPVS transport protocol load balancing support ... # Device Drivers ...
    (Linux-Kernel)
  • [BUG] 2.6.11-rc2 ALSA
    ... AC'97 Audio Controller ... 0000:02:02.0 Network controller: Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI ... Enabling unmasked SIMD FPU exception support... ... Initializing Cryptographic API ...
    (Linux-Kernel)
  • Kernel 2.6.11-1.27_FC3smp panic with 4Gb of RAM
    ... ACPI: Local APIC address 0xfee00000 ... Allocating PCI resources starting at e8000000 ... PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 ... SELinux: Registering netfilter hooks ...
    (Fedora)
  • Sound not working correctly as of 2.6.15-rc1
    ... 00:00.0 Host bridge: VIA Technologies, ... 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge ... VIA VT6420 SATA RAID Controller ...
    (Linux-Kernel)