View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Apr 08, 2006 8:13 pm 
Offline
Joined: Sun Jul 24, 2005 1:37 am
Posts: 42
I had a working stable knoppmyth setup using a clean install of R5B7 with two one year old pvr-250 cards on an nforce2/athlon XP-m. I just added a brand new PVR-500 card to the system. Now, after rerunning mythtv-setup to add the two new tuners to mythtv, the original tuners still work fine, and the two additional ones provided by the pvr-500 just show static.

I've tried searching the forums on this topic for quite a while, but I haven't found anything that seems to be related to my issue enough to help me out. I'm hoping you will have some advice for me to get me unstuck.

Here is what I know of my situation:

I successfully followed the steps for compiling ivtv mentioned on http://knoppmythwiki.org/index.php?page=CompileIvtv hoping that it would solve my issue. It hasn't, but I am now running on 0.4.4.

I did verify that my coax into the pvr-500 was connected to tv in, and did actually work on a pvr-250.

I am concerned about the "tuner 5-0061: tuner type not set" type lines when the pvr-500 is being initialzied, but I'm obviously not sure what to do about it.

I have tried to take mythtv out of the picture by viewing video from my pvr-250s and 500 via mplayer like: mplayer /dev/video2 . A video pops up as expected. On the pvr-250s I get a channel, on the 500s, I get static. The mplayer logs don't indicate an issue when playing the streams.

One thing that I have noticed that I think may be odd is that in mythtv-setup, when configuring the capture cards, the "Default input" for the 250 cards is "Tuner 0", while it is just "Tuner" for the 500 card tuners.

Here is the IVTV initializing on my system starting with the two 250s, and then the 500s.

Code:
root@stern:~# sed -n '/= START INIT IVTV/,/=  END INIT IVTV/p' </var/log/messages
Apr  8 18:48:04 stern kernel: ivtv:  ==================== START INIT IVTV ====================
Apr  8 18:48:04 stern kernel: ivtv:  version 0.4.4 (tagged release) loading
Apr  8 18:48:04 stern kernel: ivtv:  Linux version: 2.6.15-chw-2 SMP preempt 586 gcc-3.3
Apr  8 18:48:04 stern kernel: ivtv:  In case of problems please include the debug info between
Apr  8 18:48:04 stern kernel: ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
Apr  8 18:48:04 stern kernel: ivtv:  any module options, when mailing the ivtv-users mailinglist.
Apr  8 18:48:04 stern kernel: ivtv0: Autodetected WinTV PVR 250 card (cx23416 based)
Apr  8 18:48:04 stern kernel: ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [APC3] -> GSI 18 (level, high) -> IRQ 16
Apr  8 18:48:04 stern kernel: ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
Apr  8 18:48:04 stern kernel: ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
Apr  8 18:48:04 stern kernel: tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
Apr  8 18:48:04 stern kernel: ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
Apr  8 18:48:05 stern kernel: saa7115 2-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
Apr  8 18:48:05 stern kernel: ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
Apr  8 18:48:05 stern kernel: msp3400 2-0040: chip=MSP3445G-B8 +nicam +simple +simpler +radio mode=simpler
Apr  8 18:48:05 stern kernel: msp3400 2-0040: msp34xxg daemon started
Apr  8 18:48:05 stern kernel: ivtv0: i2c attach to card #0 ok [client=MSP3445G-B8, addr=40]
Apr  8 18:48:05 stern kernel: tveeprom 2-0050: Hauppauge model 32062, rev C182, serial# 7912886
Apr  8 18:48:05 stern kernel: tveeprom 2-0050: tuner model is LG TAPC H791F (idx 82, type 39)
Apr  8 18:48:05 stern kernel: tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
Apr  8 18:48:05 stern kernel: tveeprom 2-0050: audio processor is MSP3445 (idx 12)
Apr  8 18:48:05 stern kernel: tveeprom 2-0050: decoder processor is SAA7115 (idx 19)
Apr  8 18:48:05 stern kernel: tveeprom 2-0050: has no radio, has IR remote
Apr  8 18:48:06 stern kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
Apr  8 18:48:06 stern kernel: ivtv0: Encoder revision: 0x02050032
Apr  8 18:48:06 stern kernel: ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
Apr  8 18:48:06 stern kernel: ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
Apr  8 18:48:06 stern kernel: ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
Apr  8 18:48:06 stern kernel: ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
Apr  8 18:48:06 stern kernel: tuner 2-0061: type set to 39 (LG NTSC (newer TAPC series))
Apr  8 18:48:07 stern kernel: ivtv0: Initialized WinTV PVR 250, card #0
Apr  8 18:48:07 stern kernel: ivtv:  ======================  NEXT CARD  ======================
Apr  8 18:48:07 stern kernel: ivtv1: Autodetected WinTV PVR 250 card (cx23416 based)
Apr  8 18:48:07 stern kernel: ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
Apr  8 18:48:07 stern kernel: ACPI: PCI Interrupt 0000:01:0a.0[A] -> Link [APC1] -> GSI 16 (level, high) -> IRQ 21
Apr  8 18:48:07 stern kernel: ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
Apr  8 18:48:07 stern kernel: ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
Apr  8 18:48:07 stern kernel: tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
Apr  8 18:48:07 stern kernel: ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61]
Apr  8 18:48:07 stern kernel: saa7115 3-0021: saa7115 found @ 0x42 (ivtv i2c driver #1)
Apr  8 18:48:07 stern kernel: ivtv1: i2c attach to card #1 ok [client=saa7115, addr=21]
Apr  8 18:48:07 stern kernel: msp3400 3-0040: chip=MSP3445G-B8 +nicam +simple +simpler +radio mode=simpler
Apr  8 18:48:07 stern kernel: msp3400 3-0040: msp34xxg daemon started
Apr  8 18:48:07 stern kernel: ivtv1: i2c attach to card #1 ok [client=MSP3445G-B8, addr=40]
Apr  8 18:48:07 stern kernel: tveeprom 3-0050: Hauppauge model 32062, rev C182, serial# 7912765
Apr  8 18:48:07 stern kernel: tveeprom 3-0050: tuner model is LG TAPC H791F (idx 82, type 39)
Apr  8 18:48:07 stern kernel: tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
Apr  8 18:48:07 stern kernel: tveeprom 3-0050: audio processor is MSP3445 (idx 12)
Apr  8 18:48:07 stern kernel: tveeprom 3-0050: decoder processor is SAA7115 (idx 19)
Apr  8 18:48:07 stern kernel: tveeprom 3-0050: has no radio, has IR remote
Apr  8 18:48:08 stern kernel: ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
Apr  8 18:48:08 stern kernel: ivtv1: Encoder revision: 0x02050032
Apr  8 18:48:08 stern kernel: ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
Apr  8 18:48:08 stern kernel: ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
Apr  8 18:48:08 stern kernel: ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
Apr  8 18:48:08 stern kernel: ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
Apr  8 18:48:08 stern kernel: tuner 3-0061: type set to 39 (LG NTSC (newer TAPC series))
Apr  8 18:48:09 stern kernel: ivtv1: Initialized WinTV PVR 250, card #1
Apr  8 18:48:09 stern kernel: ivtv:  ======================  NEXT CARD  ======================
Apr  8 18:48:09 stern kernel: ivtv2: Autodetected WinTV PVR 150 card (cx23416 based)
Apr  8 18:48:09 stern kernel: ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19
Apr  8 18:48:09 stern kernel: ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [APC4] -> GSI 19 (level, high) -> IRQ 22
Apr  8 18:48:09 stern kernel: ivtv2: Unreasonably low latency timer, setting to 64 (was 32)
Apr  8 18:48:09 stern kernel: ivtv2: i2c attach to card #2 ok [client=tveeprom, addr=50]
Apr  8 18:48:09 stern kernel: tuner 4-0060: TEA5767 detected.
Apr  8 18:48:09 stern kernel: tuner 4-0060: chip found @ 0xc0 (ivtv i2c driver #2)
Apr  8 18:48:09 stern kernel: ivtv2: i2c attach to card #2 ok [client=(tuner unset), addr=60]
Apr  8 18:48:09 stern kernel: tuner 4-0060: type set to 62 (Philips TEA5767HN FM Radio)
Apr  8 18:48:09 stern kernel: tuner 4-0061: chip found @ 0xc2 (ivtv i2c driver #2)
Apr  8 18:48:09 stern kernel: ivtv2: i2c attach to card #2 ok [client=(tuner unset), addr=61]
Apr  8 18:48:09 stern kernel: tveeprom 4-0050: Hauppauge model 23552, rev E587, serial# 8826262
Apr  8 18:48:09 stern kernel: tveeprom 4-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 4)
Apr  8 18:48:09 stern kernel: tveeprom 4-0050: TV standards NTSC(M) (eeprom 0x08)
Apr  8 18:48:09 stern kernel: tveeprom 4-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
Apr  8 18:48:09 stern kernel: tveeprom 4-0050: audio processor is CX25843 (idx 37)
Apr  8 18:48:09 stern kernel: tveeprom 4-0050: decoder processor is CX25843 (idx 30)
Apr  8 18:48:09 stern kernel: tveeprom 4-0050: has radio, has no IR remote
Apr  8 18:48:09 stern kernel: ivtv2: This is the first unit of a PVR500
Apr  8 18:48:09 stern kernel: cx25840 4-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #2)
Apr  8 18:48:12 stern kernel: cx25840 4-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
Apr  8 18:48:13 stern kernel: ivtv2: i2c attach to card #2 ok [client=cx25840, addr=44]
Apr  8 18:48:13 stern kernel: wm8775 4-001b: chip found @ 0x36 (ivtv i2c driver #2)
Apr  8 18:48:13 stern kernel: ivtv2: i2c attach to card #2 ok [client=wm8775, addr=1b]
Apr  8 18:48:13 stern kernel: ivtv2: Detected a TEA5767 radio tuner. Enabling radio support.
Apr  8 18:48:13 stern kernel: ivtv2: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
Apr  8 18:48:14 stern kernel: ivtv2: Encoder revision: 0x02050032
Apr  8 18:48:14 stern kernel: ivtv2: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
Apr  8 18:48:14 stern kernel: ivtv2: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
Apr  8 18:48:14 stern kernel: ivtv2: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
Apr  8 18:48:14 stern kernel: ivtv2: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
Apr  8 18:48:14 stern kernel: ivtv2: Create encoder radio stream
Apr  8 18:48:14 stern kernel: tuner 4-0061: tuner type not set
Apr  8 18:48:14 stern kernel: tuner 4-0061: tuner type not set
Apr  8 18:48:15 stern kernel: ivtv2: Initialized WinTV PVR 500 (unit #1), card #2
Apr  8 18:48:15 stern kernel: ivtv:  ======================  NEXT CARD  ======================
Apr  8 18:48:15 stern kernel: ivtv3: Autodetected WinTV PVR 150 card (cx23416 based)
Apr  8 18:48:15 stern kernel: ACPI: PCI Interrupt 0000:02:09.0[A] -> Link [APC1] -> GSI 16 (level, high) -> IRQ 21
Apr  8 18:48:15 stern kernel: ivtv3: Unreasonably low latency timer, setting to 64 (was 32)
Apr  8 18:48:15 stern kernel: ivtv3: i2c attach to card #3 ok [client=tveeprom, addr=50]
Apr  8 18:48:15 stern kernel: tuner 5-0061: chip found @ 0xc2 (ivtv i2c driver #3)
Apr  8 18:48:15 stern kernel: ivtv3: i2c attach to card #3 ok [client=(tuner unset), addr=61]
Apr  8 18:48:15 stern kernel: cx25840 5-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #3)
Apr  8 18:48:18 stern kernel: cx25840 5-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
Apr  8 18:48:18 stern kernel: ivtv3: i2c attach to card #3 ok [client=cx25840, addr=44]
Apr  8 18:48:18 stern kernel: wm8775 5-001b: chip found @ 0x36 (ivtv i2c driver #3)
Apr  8 18:48:18 stern kernel: ivtv3: i2c attach to card #3 ok [client=wm8775, addr=1b]
Apr  8 18:48:18 stern kernel: tveeprom 5-0050: Hauppauge model 23552, rev E587, serial# 8826262
Apr  8 18:48:18 stern kernel: tveeprom 5-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 4)
Apr  8 18:48:18 stern kernel: tveeprom 5-0050: TV standards NTSC(M) (eeprom 0x08)
Apr  8 18:48:18 stern kernel: tveeprom 5-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
Apr  8 18:48:18 stern kernel: tveeprom 5-0050: audio processor is CX25843 (idx 37)
Apr  8 18:48:18 stern kernel: tveeprom 5-0050: decoder processor is CX25843 (idx 30)
Apr  8 18:48:18 stern kernel: tveeprom 5-0050: has radio, has no IR remote
Apr  8 18:48:18 stern kernel: ivtv3: This is the second unit of a PVR500
Apr  8 18:48:18 stern kernel: ivtv3: Correcting tveeprom data: no radio present on second unit
Apr  8 18:48:19 stern kernel: ivtv3: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
Apr  8 18:48:19 stern kernel: ivtv3: Encoder revision: 0x02050032
Apr  8 18:48:19 stern kernel: ivtv3: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
Apr  8 18:48:19 stern kernel: ivtv3: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
Apr  8 18:48:19 stern kernel: ivtv3: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
Apr  8 18:48:19 stern kernel: ivtv3: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
Apr  8 18:48:19 stern kernel: tuner 5-0061: tuner type not set
Apr  8 18:48:19 stern kernel: tuner 5-0061: tuner type not set
Apr  8 18:48:19 stern kernel: ivtv3: Initialized WinTV PVR 500 (unit #2), card #3
Apr  8 18:48:19 stern kernel: ivtv:  ====================  END INIT IVTV  ====================


Here is my lspci -vv for the pvr-250s and then the pvr-500
Code:
0000:01:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR 250
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (32000ns min, 2000ns max), Cache Line Size: 0x08 (32 bytes)
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at d8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:01:0a.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR 250
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (32000ns min, 2000ns max), Cache Line Size: 0x08 (32 bytes)
        Interrupt: pin A routed to IRQ 21
        Region 0: Memory at dc000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:02:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc.: Unknown device e807
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (32000ns min, 2000ns max), Cache Line Size: 0x08 (32 bytes)
        Interrupt: pin A routed to IRQ 22
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:02:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc.: Unknown device e817
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (32000ns min, 2000ns max), Cache Line Size: 0x08 (32 bytes)
        Interrupt: pin A routed to IRQ 21
        Region 0: Memory at d4000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


Anyway, thanks for looking this over...

-Aubrey

_________________
My Always In Progress KnoppMyth Installation Article


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 09, 2006 4:30 am 
Offline
Joined: Sun Jul 24, 2005 1:37 am
Posts: 42
Ok, I've made some signifigant progress. I started searching for issues with PVR-150 cards and noticed somewhere that someone was stringing tuner types together in the modules/ivtv file.

I edited /etc/mythtv/modules/ivtv and put in:
Code:
options ivtv tuner=39,39,50,50


Below the commented out options lines, and now I have a picture on all the tuners.

The 39s represent the type for the two 250 cards in my system, and the 50s represent what people are supposed to put in for the 150s.

So, everything is good except the first tuner of the 500 has horrible sound. It is quieter than it should be, it sounds tinny, and there is a loud buzzing too. The second tuner in the 500 sounds great though.

I still need to do some research on this..

-Aubrey

_________________
My Always In Progress KnoppMyth Installation Article


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 09, 2006 9:16 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Given how those tuners are identified it might be worth trying type 4 too...


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 09, 2006 4:22 pm 
Offline
Joined: Sun Jul 24, 2005 1:37 am
Posts: 42
I did (just now) set the last two tuner options to 4 and rebooted, and the ivtv info says that the tuner type is not set for the pvr-500 ones.

So, to me it looks like ivtv isn't auto identifying my 500 card correctly and that is probably causing the issue. <shrug>

Thanks for the suggestion.

-Aubrey

_________________
My Always In Progress KnoppMyth Installation Article


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu