Author |
Message |
Blackberry
|
Posted: Tue Sep 06, 2005 9:59 am |
|
Joined: Mon Aug 15, 2005 6:01 pm
Posts: 20
Location:
Portland, OR
|
I've got KnoppMyth R5A16, a PVR250, and a PVR500. All works fine. Both cards and all three tuners are detected by ivtv at boot. I can switch between the two cards with "Y" and between the two tuners on the 500 with "C".
However, MythTV won't use the third tuner for anything. Even though I set it to run 3 jobs at once, it will only record 2 shows at a time, and then it won't let me watch TV at the same time. How can I configure ivtv to treat the second tuner as a third card?
|
|
Top |
|
 |
Blackberry
|
Posted: Tue Sep 06, 2005 1:08 pm |
|
Joined: Mon Aug 15, 2005 6:01 pm
Posts: 20
Location:
Portland, OR
|
For the record, I did the PVR500 setup steps from a post in this forum, except for the part that says "Skip this part for R5A16".
|
|
Top |
|
 |
wififun
|
Posted: Tue Sep 06, 2005 1:52 pm |
|
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location:
Ontario, CA
|
If you can switch through all three tuners, (I have this same setup right now) then the problem is something other than IVTV in my best guess. I would go back to mythtv-setup, and reconfigure the cards and input connections. A pay attention to the card priority (note another topic where I am confused about card priority, so this may be wrong). It is possible that the backend is choosing to record something at a later time, to avoid a recording conflict. This could explain it not using that last tuner.
|
|
Top |
|
 |
ryanpatterson
|
Posted: Tue Sep 06, 2005 2:17 pm |
|
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
|
I think you have the PVR-500 setup wrong in mythtv-setup. You shouldn't use "C". To switch between the two tuners on the PVR-500.
In mythtv-setup you should be seting up three cards. All of them should be using tuner0. Then when you assign the channels, agian only use tuner0 for each of the three cards.
Then while "watching live TV" use "Y" to switch between all three tuners. Never using "C".
It seems a little bit weird because physicaly the PVR-500 is one card. But to the IVTV drivers it is two seperate cards electronicaly.
|
|
Top |
|
 |
Jfox95
|
Posted: Tue Sep 06, 2005 4:59 pm |
|
Joined: Sat Jul 16, 2005 12:23 pm
Posts: 20
|
wat thread did u get the pvr 500 setup from?
|
|
Top |
|
 |
Blackberry
|
Posted: Wed Sep 07, 2005 7:44 am |
|
Joined: Mon Aug 15, 2005 6:01 pm
Posts: 20
Location:
Portland, OR
|
ryanpatterson wrote: I think you have the PVR-500 setup wrong in mythtv-setup. You shouldn't use "C". To switch between the two tuners on the PVR-500.
In mythtv-setup you should be seting up three cards. All of them should be using tuner0. Then when you assign the channels, agian only use tuner0 for each of the three cards.
Then while "watching live TV" use "Y" to switch between all three tuners. Never using "C".
It seems a little bit weird because physicaly the PVR-500 is one card. But to the IVTV drivers it is two seperate cards electronicaly.
I've done that.
I set up /dev/video0, Tuner0. Works.
I set up /dev/video1, Tuner0. Works.
I set up /dev/video2, Tuner0. When I watch it, it's a blank screen.
If I instead set up /dev/video1, Tuner0 and Tuner1, I can watch both tuners just fine. That's why I thought it was an ivtv setup issue.
|
|
Top |
|
 |
Blackberry
|
Posted: Wed Sep 07, 2005 7:45 am |
|
Joined: Mon Aug 15, 2005 6:01 pm
Posts: 20
Location:
Portland, OR
|
|
Top |
|
 |
ryanpatterson
|
Posted: Wed Sep 07, 2005 12:32 pm |
|
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
|
Blackberry wrote: I've done that.
I set up /dev/video0, Tuner0. Works. I set up /dev/video1, Tuner0. Works. I set up /dev/video2, Tuner0. When I watch it, it's a blank screen.
If I instead set up /dev/video1, Tuner0 and Tuner1, I can watch both tuners just fine. That's why I thought it was an ivtv setup issue.
Humm. I have a pvr-350 and a pvr-500. I set them up as three sepearte cards, and they have been working great.
What is the output from IVTV durring boot up? Find it in the output from running dmesg.
|
|
Top |
|
 |
Blackberry
|
Posted: Wed Sep 07, 2005 3:42 pm |
|
Joined: Mon Aug 15, 2005 6:01 pm
Posts: 20
Location:
Portland, OR
|
I tried setting up as three separate cards again, and it works -- sort of. I get great video on all three tuners, but on /dev/video1, the first tuner on the PVR500, I get no sound at all. The second tuner on the PVR500 gets sound, and so does the PVR250. I've swapped the coax cables around, so I know that's not the problem.
Here's my dmesg output:
Code: ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.3.8 (snapshot compiled on Sat Sep 3 19:08:46 2005) loading ivtv: Linux version: 2.6.11.9-chw-2 SMP preempt 586 gcc-3.3 ivtv: In case of problems please include the debug info ivtv: between the START INIT IVTV and END INIT IVTV lines when ivtv: mailing the ivtv-devel mailinglist. ivtv: Autodetected WinTV PVR 250 card (iTVC16 based) ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19 ACPI: PCI interrupt 0000:02:07.0[A] -> GSI 19 (level, low) -> IRQ 19 ivtv: Unreasonably low latency timer, setting to 64 (was 32) tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61] msp34xx: ivtv version msp34xx: init: chip=MSP3445G-B8, has NICAM support, simple (D) mode, simpler (G) no-thread mode msp34xx: $Id$ compiled on: Sep 3 2005 17:43:13 ivtv: i2c attach to card #0 ok [client=MSP3445G-B8, addr=40] ivtv: i2c attach to card #0 ok [client=saa7115[50], addr=21] tveeprom: Hauppauge: model = 32062, rev = C182, serial# = 7853902 tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio processor = MSP3445 (type = c) tveeprom: decoder processor = SAA7115 (type = 13) ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50] ivtv: loading /lib/modules/ivtv-fw-enc.bin eth0: no IPv6 routers present ivtv: Encoder revision: 0x02040011 ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total) ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total) ivtv: Create DMA encoder VBI stream: 0 x 17472 buffers (0KB total) ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total) tuner: type set to 39 (LG NTSC (newer TAPC series)) by ivtv i2c driver #0 ivtv warning: i2c client addr: 0x43 not found for command 0x40085618! ivtv warning: i2c client addr: 0x43 not found for command 0x402c5639! ivtv: Initialized WinTV PVR 250, card #0 ivtv: ====================== NEXT CARD ====================== ivtv: Autodetected WinTV PVR 150 card (iTVC16 based) ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17 ACPI: PCI interrupt 0000:03:08.0[A] -> GSI 17 (level, low) -> IRQ 17 ivtv: Unreasonably low latency timer, setting to 64 (was 32) tuner: chip found at addr 0xc0 i2c-bus ivtv i2c driver #1 TEA5767 detected. ivtv: i2c attach to card #1 ok [client=(tuner unset), addr=60] tuner: type set to 62 (Philips TEA5767HN FM Radio) by autodetect type set to 62 (Philips TEA5767HN FM Radio) tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1 ivtv: i2c attach to card #1 ok [client=(tuner unset), addr=61] tveeprom: Hauppauge: model = 23552, rev = D592, serial# = 8233898 tveeprom: tuner = Philips FQ1236A MK4 (idx = 92, type = 57) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio processor = CX25843 (type = 25) tveeprom: decoder processor = CX25843 (type = 1e) ivtv: i2c attach to card #1 ok [client=tveeprom[50], addr=50] tda9885/6/7: chip found @ 0x86 ivtv: i2c attach to card #1 ok [client=tda9887, addr=43] ivtv: This is the first unit of a PVR500 cx25840: loading /lib/modules/HcwMakoA.ROM ivtv: i2c attach to card #1 ok [client=cx25840[50], addr=44] ivtv: i2c attach to card #1 ok [client=wm8775[50], addr=1b] ivtv: Detected a TEA5767 radio tuner. Enabling radio support. ivtv: loading /lib/modules/ivtv-fw-enc.bin ivtv: Encoder revision: 0x02040011 ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total) ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total) ivtv: Create DMA encoder VBI stream: 0 x 17472 buffers (0KB total) ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total) ivtv: Create encoder radio stream tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #1 ivtv: Initialized WinTV PVR 500 (unit #1), card #1 ivtv: ====================== NEXT CARD ====================== ivtv: Autodetected WinTV PVR 150 card (iTVC16 based) ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18 ACPI: PCI interrupt 0000:03:09.0[A] -> GSI 18 (level, low) -> IRQ 18 ivtv: Unreasonably low latency timer, setting to 64 (was 32) tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #2 ivtv: i2c attach to card #2 ok [client=(tuner unset), addr=61] tveeprom: Hauppauge: model = 23552, rev = D592, serial# = 8233898 tveeprom: tuner = Philips FQ1236A MK4 (idx = 92, type = 57) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio processor = CX25843 (type = 25) tveeprom: decoder processor = CX25843 (type = 1e) ivtv: i2c attach to card #2 ok [client=tveeprom[50], addr=50] tda9885/6/7: chip found @ 0x86 ivtv: i2c attach to card #2 ok [client=tda9887, addr=43] cx25840: loading /lib/modules/HcwMakoA.ROM ivtv: i2c attach to card #2 ok [client=cx25840[50], addr=44] ivtv: i2c attach to card #2 ok [client=wm8775[50], addr=1b] ivtv: This is the second unit of a PVR500 ivtv: Correcting tveeprom data: no radio present on second unit ivtv: loading /lib/modules/ivtv-fw-enc.bin ivtv: Encoder revision: 0x02040011 ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total) ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total) ivtv: Create DMA encoder VBI stream: 0 x 17472 buffers (0KB total) ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total) tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #2 ivtv: Initialized WinTV PVR 500 (unit #2), card #2 ivtv: ==================== END INIT IVTV ==================== input: PC Speaker ivtv warning: i2c client addr: 0x43 not found for command 0x402c5639!
|
|
Top |
|
 |
ryanpatterson
|
Posted: Wed Sep 07, 2005 4:35 pm |
|
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
|
Okay I actually had the exact same problem on my setup. All tuners work except no sound on the first -pvr-500 tuner. I tried a lot to fix it. What I think finally did it thought was installing the newest ivtv driver (0.3.7k has been running great for me) and removing all the settings from the /etc/mythtv/modules/ivtv file. Then the driver was able to autodetect all of my tuners no problem.
Also make sure that every time you make a change and reboot you shut the machine down and unplug the power cord for ten seconds. The hauppauge cards need to be compleatly cold hard booted to reset the firmware.
this is my /etc/mythtv/modules/ivtv file:
Code: alias char-major-81 videodev alias char-major-61 lirc_i2c
alias char-major-81-0 ivtv #= /dev/video1 alias char-major-81-1 ivtv #= /dev/video2 alias char-major-81-2 ivtv #= /dev/video3
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3. . . remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sb. . . Also I would be worried about these lines in your ivtv inilization: Code: ivtv warning: i2c client addr: 0x43 not found for command 0x40085618! ivtv warning: i2c client addr: 0x43 not found for command 0x402c5639!
Make sure you put all three hauppauge firmware files in the /lib/modules directory.
|
|
Top |
|
 |
Blackberry
|
Posted: Wed Sep 07, 2005 5:44 pm |
|
Joined: Mon Aug 15, 2005 6:01 pm
Posts: 20
Location:
Portland, OR
|
I was running ivtv-0.3.8. I downgraded to 0.3.7k after deleting the bin files, tuner.ko, and all that, then replacing with the ones from the recompiled driver. It's all working now, but it took about five complete power-offs before it would work. I don't know which part fixed it, but thanks.
By the way, it did not work with the firmware files from the PVR500 CD. I had to use the ivtv-fw-enc.bin from the recompiled driver.
|
|
Top |
|
 |