[mythtv-users] Two tuner cards, second channels off by one

Vince Busam vince at busam.com
Tue Sep 2 19:58:49 EDT 2003


I have two tuner cards and one of the has the channels off by one.  Section
19.17 of the Myth documentation clearly indicates that I almost certainly have
the wrong tuner type, but I can't figure out why.  It is time for another set of
eyes to look at my configuration and point out what I'm doing wrong.

/dev/video0 is an AverMedia card (using bttv)
/dev/video1 is a PVR 250 (using ivtv)

My tuner card settings in modules.conf is below.
I also have output from /var/log/messages which I think shows that bttv is
setting to NTSC.
I also have output from test_ioctl for the PVR250 which I think shows it is also
set to NTSC.

I believe that /dev/video0 (AverMedia, bttv) is showing the correct channels.  I
am fairly confident that the PVR350 is the video card showing one channel too
low (e.g. 4 instead of 5).

I've looked in mythconverg and nothing jumps out at me as looking wrong.

Can anyone see my error?  I'll be glad to provide more info if wanted.

Thanks,
Vince

PS:  I live in California, thus need NTSC.

#Start IVTV  (vab added 5/27/03, added bttv 8/17/03)
alias char-major-81 videodev
alias char-major-81-0 ivtv
options ivtv debug=0 mpg_buffers=30
options tuner type=2
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 tuner lirc_dev lirc_i2c

alias char-major-81-1 bttv
#possible AverMedia card types 6, 13, 41
options bttv card=13 radio=0 pll=1
options tuner type=2 debug=0
options bttv debug=2
#options btaudio debug=2 digital=1 analog=0 rate=32000
#options bttv audiomux=4,4,8,4,0
#End IVTV


Sep  1 15:57:44 a22g kernel: Linux video capture interface: v1.00
Sep  1 15:57:44 a22g kernel: lirc_dev: IR Remote Control driver registered, at
major 61
Sep  1 15:57:45 a22g kernel: bttv: driver version 0.7.104 loaded
Sep  1 15:57:45 a22g kernel: bttv: using 4 buffers with 2080k (8320k total) for
capture
Sep  1 15:57:45 a22g kernel: bttv: Host bridge is VIA Technologies, Inc. VT8377
[KT400 AGP] Host Bridge
Sep  1 15:57:45 a22g kernel: bttv: Bt8xx card found (0).
Sep  1 15:57:45 a22g kernel: PCI: Enabling device 00:0b.0 (0004 -> 0006)
Sep  1 15:57:45 a22g kernel: PCI: Assigned IRQ 10 for device 00:0b.0
Sep  1 15:57:45 a22g kernel: PCI: Sharing IRQ 10 with 00:0b.1
Sep  1 15:57:45 a22g kernel: bttv0: Bt878 (rev 17) at 00:0b.0, irq: 10, latency:
32, mmio: 0xef000000
Sep  1 15:57:45 a22g kernel: bttv0: detected: AVerMedia TVCapture 98 [card=13],
PCI subsystem ID is 1461:0004
Sep  1 15:57:45 a22g kernel: bttv0: using: BT878(AVerMedia TVCapture 98)
[card=13,autodetected]
Sep  1 15:57:45 a22g kernel: bttv0: Hauppauge/Voodoo msp34xx: reset line init
[11]
Sep  1 15:57:45 a22g kernel: i2c-core.o: adapter bt848 #0 registered as adapter
0.
Sep  1 15:57:45 a22g kernel: bttv0: Avermedia eeprom[0x4002]: tuner=2 radio:no
remote control:no
Sep  1 15:57:45 a22g kernel: bttv0: using tuner=2
Sep  1 15:57:45 a22g kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not
found
Sep  1 15:57:45 a22g kernel: bttv0: i2c: checking for MSP34xx (alternate
address) @ 0x88... not found
Sep  1 15:57:45 a22g kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not
found
Sep  1 15:57:45 a22g kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not
found
Sep  1 15:57:45 a22g kernel: tvaudio: TV audio decoder + audio/video mux driver
Sep  1 15:57:45 a22g kernel: tvaudio: known chips:
tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54
(PV951)
Sep  1 15:57:45 a22g kernel: i2c-core.o: driver generic i2c audio driver
registered.
Sep  1 15:57:45 a22g kernel: i2c-core.o: driver i2c TV tuner driver registered.
Sep  1 15:57:45 a22g kernel: tuner: probing bt848 #0 i2c adapter [id=0x10005]
Sep  1 15:57:45 a22g kernel: tuner: chip found @ 0xc2
Sep  1 15:57:45 a22g kernel: tuner(bttv): type forced to 2 (Philips NTSC
(FI1236,FM1236 and compatibles)) [insmod]
Sep  1 15:57:45 a22g kernel: tuner: type already set (2)
Sep  1 15:57:45 a22g kernel: i2c-core.o: client [Philips NTSC (FI1236,FM1236
and ] registered to adapter [bt848 #0](pos. 0).
Sep  1 15:57:45 a22g kernel: bttv0: PLL: 28636363 => 35468950 .. ok
Sep  1 15:57:45 a22g kernel: bttv0: registered device video0
Sep  1 15:57:45 a22g kernel: bttv0: registered device vbi0
Sep  1 15:57:45 a22g insmod: Warning: ignoring debug=2, no such parameter in
this module
Sep  1 15:57:45 a22g insmod: Module bttv loaded, with warnings
Sep  1 15:57:45 a22g modprobe: modprobe: Can't locate module rivatv
Sep  1 15:57:45 a22g kernel: i2c-core.o: driver i2c ir driver registered.
Sep  1 15:57:45 a22g kernel: i2c-core.o: driver saa7115 registered.
Sep  1 15:57:45 a22g kernel: saa7114.c: starting probe for adapter bt848 #0
(0x10005)
Sep  1 15:57:45 a22g kernel: i2c-core.o: driver i2c msp3400 driver registered.
Sep  1 15:57:45 a22g kernel: PCI: Enabling device 00:0e.0 (0014 -> 0016)
Sep  1 15:57:45 a22g kernel: PCI: Assigned IRQ 10 for device 00:0e.0
Sep  1 15:57:45 a22g kernel: tuner: probing ivtv i2c driver #0 i2c adapter
[id=0x10005]
Sep  1 15:57:45 a22g kernel: tuner: chip found @ 0xc2
Sep  1 15:57:45 a22g kernel: tuner(bttv): type forced to 2 (Philips NTSC
(FI1236,FM1236 and compatibles)) [insmod]
Sep  1 15:57:45 a22g kernel: i2c-core.o: client [Philips NTSC (FI1236,FM1236
and ] registered to adapter [ivtv i2c driver #0](pos. 0).
Sep  1 15:57:45 a22g kernel: lirc_i2c: chip found @ 0x18 (Hauppauge IR)
Sep  1 15:57:45 a22g kernel: i2c-core.o: client [Hauppauge IR] registered to
adapter [ivtv i2c driver #0](pos. 1).
Sep  1 15:57:45 a22g kernel: lirc_dev: lirc_register_plugin:sample_rate: 10
Sep  1 15:57:45 a22g kernel: saa7114.c: starting probe for adapter ivtv i2c
driver #0 (0x10005)
Sep  1 15:57:45 a22g kernel: saa7114.c: detecting saa7114 client on address 0x42
Sep  1 15:57:45 a22g kernel: saa7115.c: writing init values
Sep  1 15:57:47 a22g kernel: status: (1E) 0x89, (1F) 0xb1
Sep  1 15:57:47 a22g kernel: i2c-core.o: client [saa7115[0]] registered to
adapter [ivtv i2c driver #0](pos. 2).
Sep  1 15:57:47 a22g kernel: msp34xx: init: chip=MSP3435G-B6, has NICAM support
Sep  1 15:57:47 a22g kernel: msp3410: daemon started
Sep  1 15:57:47 a22g kernel: i2c-core.o: client [MSP3435G-B6] registered to
adapter [ivtv i2c driver #0](pos. 3).
Sep  1 15:57:47 a22g kernel: i2c-core.o: adapter ivtv i2c driver #0 registered
as adapter 1.
...
Sep  1 15:57:53 a22g kernel: saa7115[0]: decoder set size
Sep  1 15:57:53 a22g kernel: Setting full NTSC width
Sep  1 15:57:53 a22g kernel: Setting full NTSC height
...
Sep  1 15:57:56 a22g mythbackend: mythbackend startup succeeded

[root at a22g vince]# test_ioctl -t -d /dev/video1
ioctl: VIDIOC_G_STD
Standard = 0x00003000
[root at a22g vince]# test_ioctl -o -d /dev/video1
ioctl: VIDIOC_G_INPUT
Input = 4
[root at a22g vince]# test_ioctl -e -d /dev/video1
ioctl: VIDIOC_G_FMT
        Type   : Video Capture
        Width  : 480
        Height : 480




More information about the mythtv-users mailing list