[mythtv-users] Dual PVR 250s inexplicably stopped working
Larry K
lunchtimelarry at gmail.com
Tue Jul 26 21:52:12 EDT 2005
Cross-posted from ivtv-devel list:
Hello,
I have a FC3 based system with dual PVR-250s, and everything was working
just fine for several months.
Then something happened. I'm not sure what. The PVRs just stopped working
correctly
I fiddled around, switching the PVRs around into different PCI slots. I was
never able to determine that either card had gone bad using this musical
chairs scenario. That is, there was no rhyme or reason to what card would
work in what slot, so I thought maybe the MoBo went bad. I replaced the MoBo
with a new copy. That didn't seem to help.
I swapped out the power supply, too, just in case. That didn't help.
So, where it stands now is... if only one PVR is installed in the system, it
just does not work. Neither card. However, If I install both PVRs, one of
them works and the other doesn't.
By "work", I mean mean the test video capture via cat /dev/videoX > test.mpg,
then playback via mplayer, as described in Jarod's guide:
http://wilsonet.com/mythtv/fcmyth.php
FYI, I was able to run these same tests with success 2 months ago, so I'm
pretty sure I am doing it right.
When both cards are installed, only one works and the other produces static.
If only one card is installed, and it doesnt seem to matter which card or
which PCI slot, I get static.
Where can I find documentation describing the possible ivtv driver settings
that go into modprobe.conf?
What ivtv diagnostics tools are available to help me isolate the cause of
this problem?
Any ideas appreciated,
Larry
Below is reference information regarding my setup.
Here is the relevant portion of my lspci output:
01:07.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR 250
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at d8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
01:08.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR 250
Flags: bus master, medium devsel, latency 64, IRQ 3
Memory at dc000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
Here is the relevant portion of the /var/log/messages file:
Jul 24 20:44:06 mythtv kernel: ivtv: ==================== START INIT IVTV
====================
Jul 24 20:44:06 mythtv kernel: ivtv: version 0.2.0 (rc3j) loading
Jul 24 20:44:06 mythtv kernel: ivtv: Linux version: 2.6.10-1.770_FC3 686
REGPARM 4KSTACKS gcc-3.4
Jul 24 20:44:06 mythtv kernel: ivtv: In case of problems please include the
debug info
Jul 24 20:44:06 mythtv kernel: ivtv: between the START INIT IVTV and END
INIT IVTV lines when
Jul 24 20:44:06 mythtv kernel: ivtv: mailing the ivtv-devel mailinglist.
Jul 24 20:44:06 mythtv kernel: ivtv: User specified WinTV PVR 250 card
Jul 24 20:44:06 mythtv kernel: ivtv: Found an iTVC16 based chip
Jul 24 20:44:06 mythtv kernel: ACPI: PCI Interrupt Link [LNK2] enabled at
IRQ 11
Jul 24 20:44:06 mythtv kernel: ACPI: PCI interrupt 0000:01:07.0[A] -> GSI 11
(level, low) -> IRQ 11
Jul 24 20:44:06 mythtv kernel: ivtv: Unreasonably low latency timer, setting
to 64 (was 32)
Jul 24 20:44:06 mythtv kernel: ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
Jul 24 20:44:06 mythtv kernel: tveeprom: Hauppauge: model = 32032, rev =
B185, serial# = 2836567
Jul 24 20:44:06 mythtv kernel: tveeprom: tuner = TCL 2002N 6A (idx = 85,
type = 50)
Jul 24 20:44:06 mythtv kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08,
v4l2 = 0x00001000)
Jul 24 20:44:06 mythtv kernel: tveeprom: audio_processor = MSP3440 (type =
11)
Jul 24 20:44:06 mythtv kernel: ivtv: i2c attach [client=tveeprom[0],ok]
Jul 24 20:44:06 mythtv kernel: ivtv: Tuner Type 50, Tuner formats
0x00001000, Radio: yes, Model 0x00891615, Revision 0x00000000
Jul 24 20:44:06 mythtv kernel: ivtv: NTSC tuner detected
Jul 24 20:44:06 mythtv kernel: ivtv: Radio detected
Jul 24 20:44:06 mythtv kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv
i2c driver #0
Jul 24 20:44:06 mythtv kernel: ivtv: i2c attach [client=(tuner unset),ok]
Jul 24 20:44:06 mythtv kernel: saa7115: starting probe for adapter ivtv i2c
driver #0 (0x10005)
Jul 24 20:44:06 mythtv kernel: saa7115: detecting saa7115 client on address
0x42
Jul 24 20:44:06 mythtv kernel: saa7115: writing init values
Jul 24 20:44:06 mythtv kernel: ivtv: i2c attach [client=saa7115[0],ok]
Jul 24 20:44:06 mythtv kernel: saa7115: status: (1E) 0x48, (1F) 0xc0
Jul 24 20:44:06 mythtv kernel: msp34xx: ivtv version
Jul 24 20:44:06 mythtv kernel: msp34xx: init: chip=MSP3448W-A2, has NICAM
support, simple (D) mode, simpler (G) no-thread mode
Jul 24 20:44:06 mythtv kernel: msp34xx: $Id$ compiled on: Apr 21 2005
07:41:36
Jul 24 20:44:06 mythtv kernel: ivtv: i2c attach [client=MSP3448W-A2,ok]
Jul 24 20:44:06 mythtv kernel: ivtv: Encoder revision: 0x02040024
Jul 24 20:44:06 mythtv kernel: ivtv: Encoder Firmware may be buggy, use
version 0x02040011
Jul 24 20:44:06 mythtv kernel: ivtv: Configuring WinTV PVR 250 card with 5
streams
Jul 24 20:44:06 mythtv kernel: ivtv: Create DMA stream 0 using 256 16384
byte buffers 4194304 kbytes total
Jul 24 20:44:06 mythtv kernel: ivtv: Registered v4l2 device, streamtype 0
minor 0
Jul 24 20:44:06 mythtv kernel: ivtv: Create DMA stream 1
Jul 24 20:44:06 mythtv kernel: ivtv: Registered v4l2 device, streamtype 1
minor 32
Jul 24 20:44:06 mythtv kernel: ivtv: Create stream 2 using 40 52224 byte
buffers 2097152 kbytes total
Jul 24 20:44:06 mythtv kernel: ivtv: Registered v4l2 device, streamtype 2
minor 224
Jul 24 20:44:06 mythtv kernel: ivtv: Create DMA stream 3 using 455 4608 byte
buffers 2097152 kbytes total
Jul 24 20:44:06 mythtv kernel: ivtv: Registered v4l2 device, streamtype 3
minor 24
Jul 24 20:44:06 mythtv kernel: ivtv: Create stream 4
Jul 24 20:44:06 mythtv kernel: ivtv: Registered v4l2 device, streamtype 4
minor 64
Jul 24 20:44:06 mythtv kernel: ivtv: Setting Tuner 50
Jul 24 20:44:06 mythtv kernel: tuner: type set to 50 (TCL 2002N) by ivtv i2c
driver #0
Jul 24 20:44:06 mythtv kernel: saa7115: decoder set input (4)
Jul 24 20:44:06 mythtv kernel: saa7115: now setting Composite input
Jul 24 20:44:06 mythtv kernel: ivtv: Setting audio matrix to input 3, output
1
Jul 24 20:44:06 mythtv kernel: ivtv: Switching standard to NTSC.
Jul 24 20:44:06 mythtv kernel: ivtv: ivtv_enc_thread: pid = 2194, itv =
0xe0968da0
Jul 24 20:44:06 mythtv kernel: saa7115: decoder set norm NTSC
Jul 24 20:44:06 mythtv kernel: saa7115: set audio: 0x01
Jul 24 20:44:06 mythtv kernel: ivtv: Initialized WinTV PVR 250, card #0
Jul 24 20:44:06 mythtv kernel: ivtv: Autodetected WinTV PVR 250 card
Jul 24 20:44:06 mythtv kernel: ivtv: Found an iTVC16 based chip
Jul 24 20:44:06 mythtv kernel: ACPI: PCI Interrupt Link [LNK3] enabled at
IRQ 3
Jul 24 20:44:06 mythtv kernel: PCI: setting IRQ 3 as level-triggered
Jul 24 20:44:06 mythtv kernel: ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 3
(level, low) -> IRQ 3
Jul 24 20:44:06 mythtv kernel: ivtv: Unreasonably low latency timer, setting
to 64 (was 32)
Jul 24 20:44:06 mythtv kernel: ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
Jul 24 20:44:06 mythtv kernel: tveeprom: Hauppauge: model = 32032, rev =
B326, serial# = 7193996
Jul 24 20:44:06 mythtv kernel: tveeprom: tuner = Temic 4036FY5 (idx = 26,
type = 8)
Jul 24 20:44:06 mythtv kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08,
v4l2 = 0x00001000)
Jul 24 20:44:06 mythtv kernel: tveeprom: audio_processor = MSP3440 (type =
11)
Jul 24 20:44:06 mythtv kernel: ivtv: i2c attach [client=tveeprom[1],ok]
Jul 24 20:44:06 mythtv kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv
i2c driver #1
Jul 24 20:44:06 mythtv kernel: ivtv: i2c attach [client=(tuner unset),ok]
Jul 24 20:44:06 mythtv kernel: saa7115: starting probe for adapter ivtv i2c
driver #1 (0x10005)
Jul 24 20:44:06 mythtv kernel: saa7115: detecting saa7115 client on address
0x42
Jul 24 20:44:06 mythtv kernel: saa7115: writing init values
Jul 24 20:44:06 mythtv kernel: ivtv: i2c attach [client=saa7115[1],ok]
Jul 24 20:44:06 mythtv kernel: saa7115: status: (1E) 0x48, (1F) 0xc0
Jul 24 20:44:06 mythtv kernel: msp34xx: ivtv version
Jul 24 20:44:06 mythtv kernel: msp34xx: init: chip=MSP3448W-A2, has NICAM
support, simple (D) mode, simpler (G) no-thread mode
Jul 24 20:44:06 mythtv kernel: msp34xx: $Id$ compiled on: Apr 21 2005
07:41:36
Jul 24 20:44:06 mythtv kernel: ivtv: i2c attach [client=MSP3448W-A2,ok]
Jul 24 20:44:06 mythtv kernel: ivtv: Tuner Type 8, Tuner formats 0x00001000,
Radio: yes, Model 0x00893496, Revision 0x00000000
Jul 24 20:44:06 mythtv kernel: ivtv: NTSC tuner detected
Jul 24 20:44:06 mythtv kernel: ivtv: Radio detected
Jul 24 20:44:06 mythtv kernel: ivtv: Encoder revision: 0x02040024
Jul 24 20:44:06 mythtv kernel: ivtv: Encoder Firmware may be buggy, use
version 0x02040011
Jul 24 20:44:06 mythtv kernel: ivtv: Configuring WinTV PVR 250 card with 5
streams
Jul 24 20:44:06 mythtv kernel: ivtv: Create DMA stream 0 using 256 16384
byte buffers 4194304 kbytes total
Jul 24 20:44:06 mythtv kernel: ivtv: Registered v4l2 device, streamtype 0
minor 1
Jul 24 20:44:06 mythtv kernel: ivtv: Create DMA stream 1
Jul 24 20:44:06 mythtv kernel: ivtv: Registered v4l2 device, streamtype 1
minor 33
Jul 24 20:44:06 mythtv kernel: ivtv: Create stream 2 using 40 52224 byte
buffers 2097152 kbytes total
Jul 24 20:44:06 mythtv kernel: ivtv: Registered v4l2 device, streamtype 2
minor 225
Jul 24 20:44:06 mythtv kernel: ivtv: Create DMA stream 3 using 455 4608 byte
buffers 2097152 kbytes total
Jul 24 20:44:06 mythtv kernel: ivtv: Registered v4l2 device, streamtype 3
minor 25
Jul 24 20:44:06 mythtv kernel: ivtv: Create stream 4
Jul 24 20:44:06 mythtv kernel: ivtv: Registered v4l2 device, streamtype 4
minor 65
Jul 24 20:44:06 mythtv kernel: ivtv: Setting Tuner 8
Jul 24 20:44:06 mythtv kernel: tuner: type set to 8 (Temic NTSC (4036 FY5))
by ivtv i2c driver #1
Jul 24 20:44:06 mythtv kernel: saa7115: decoder set input (4)
Jul 24 20:44:06 mythtv kernel: saa7115: now setting Composite input
Jul 24 20:44:06 mythtv kernel: ivtv: Setting audio matrix to input 3, output
1
Jul 24 20:44:06 mythtv kernel: ivtv: Switching standard to NTSC.
Jul 24 20:44:06 mythtv kernel: ivtv: ivtv_enc_thread: pid = 2285, itv =
0xe097d240
Jul 24 20:44:06 mythtv kernel: saa7115: decoder set norm NTSC
Jul 24 20:44:06 mythtv kernel: saa7115: set audio: 0x01
Jul 24 20:44:06 mythtv kernel: ivtv: Initialized WinTV PVR 250, card #1
Jul 24 20:44:06 mythtv kernel: ivtv: ==================== END INIT IVTV
====================
Here is my /etc/modprobe.conf:
[root at mythtv etc]# more modprobe.conf
alias char-major-61 lirc_i2c
alias eth0 forcedeth
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options ivtv cardtype=1,1
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
# nvidia kernel module
alias char-major-195 nvidia-1_0-7174
alias nvidia nvidia-1_0-7174
#ivtv setup
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
alias tveeprom tveeprom-ivtv
alias msp3400 msp3400-ivtv
#lirc
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install
lirc_i2c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20050726/c4ff6704/attachment.htm
More information about the mythtv-users
mailing list