LinHES Forums http://forum.linhes.org/ |
|
PVR350 Not Tuning All Else works fine http://forum.linhes.org/viewtopic.php?f=2&t=6029 |
Page 1 of 1 |
Author: | blunderdog [ Tue Sep 13, 2005 12:08 pm ] |
Post subject: | PVR350 Not Tuning All Else works fine |
I installed KnoppixMyth on an Athlon XP 1900 system, ASUS Mobo, 300 GB drive, 512 MB Ram. Thanks to serveral good articles and some trial and error I have everything working now, at least all the basic stuff, including using hardware encoder TV out. The major problem remaining is that I cannot tune cable channels. When I watch TV I get a black and white image of some channel that is very distorted or noisy and no sound. I can change channels with the remote and the overlays work fine but the tv image remains the same as far as I can tell. I searched repeatedly and this seems to be a tuner type problem. I suspect that my tuner is not being properly recognized but I have been unsuccessful in finding a solution. My pvr350 was purchased in October 2003 and has worked fine in a windows box since then. My tuner type seems to be determined as type 0. But things I would expect to see like the acknowledgement of the fm tuner does not appear. Here is the output from a suggestion I found in another message: ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.2.0 (rc3j) 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 350 card ivtv: Found an iTVC15 based chip ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 9 (level, low) -> IRQ 9 ivtv: Unreasonably low latency timer, setting to 64 (was 32) ivtv: XXX PCI device: 0x700e vendor: 0x1022 ivtv: i2c attach [client=tveeprom,ok] ivtv: i2c attach [client=(tuner unset),ok] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0) msp34xx: ivtv version msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode, simpler (G) no-thread mode msp34xx: $Id$ compiled on: May 24 2005 00:43:28 ivtv: i2c attach [client=MSP3448W-A2,ok] saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005) saa7115: detecting saa7115 client on address 0x42 saa7115: writing init values ivtv: i2c attach [client=saa7115[0],ok] saa7115: status: (1E) 0x00, (1F) 0xc0 ivtv: Tuner Type 0, Tuner formats 0xe0b577c0, Radio: no, Model 0x00000000, Revision 0x00000001 ivtv: PAL tuner detected ivtv: NTSC tuner detected ivtv: SECAM tuner detected ivtv: Radio not detected saa7127: Ignoring new-style parameters in presence of obsolete ones saa7127: video encoder driver version V 0.3 loaded saa7127: detecting saa7127 client on address 0x88 saa7127: Selecting NTSC video Standard saa7127: Selecting S-Video+Composite saa7127: Turn WSS off saa7127: Widescreen Mode 4:3 Full Format saa7127: Selecting Normal Encoder Input saa7127: Enable Video Output ivtv: i2c attach [client=saa7127[0],ok] ivtv: Encoder revision: 0x02040011 ivtv: Decoder revision: 0x02020023 ivtv: Configuring WinTV PVR 350 card with 9 streams ivtv: Create DMA stream 0 using 256 16384 byte buffers 4194304 kbytes total ivtv: Registered v4l2 device, streamtype 0 minor 0 ivtv: Create DMA stream 1 ivtv: Registered v4l2 device, streamtype 1 minor 32 ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total ivtv: Registered v4l2 device, streamtype 2 minor 224 ivtv: Create DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total ivtv: Registered v4l2 device, streamtype 3 minor 24 ivtv: Create stream 4 ivtv: Registered v4l2 device, streamtype 4 minor 64 ivtv: Create DMA stream 5 using 16 65536 byte buffers 1048576 kbytes total ivtv: Registered v4l2 device, streamtype 5 minor 16 ivtv: Create stream 6 using 1024 2048 byte buffers 262144 kbytes total ivtv: Registered v4l2 device, streamtype 6 minor 228 ivtv: Create stream 7 ivtv: Registered v4l2 device, streamtype 7 minor 232 ivtv: Create DMA stream 8 ivtv: Registered v4l2 device, streamtype 8 minor 48 ivtv: Setting Tuner 0 tuner 0-0061: type set to 0 (Temic PAL (4002 FH5)) saa7115: decoder set input (4) saa7115: now setting Composite input ivtv: Setting audio matrix to input 3, output 1 ivtv: Switching standard to NTSC. ivtv: ivtv_enc_thread: pid = 2291, itv = 0xe0c2faa0 ivtv: ivtv_dec_thread: pid = 2292, itv = 0xe0c2faa0 saa7115: decoder set norm NTSC saa7115: set audio: 0x01 saa7127: Setting Encoder Video Standard saa7127: Set NTSC Video Mode saa7127: Selecting NTSC video Standard ivtv: Initialized WinTV PVR 350, card #0 ivtv: ==================== END INIT IVTV ==================== Any help is appreciated. |
Author: | srahrens [ Wed Sep 14, 2005 11:29 am ] |
Post subject: | |
Hmm, if you think you have the wrong tuner type you might try <code>tail /var/log/messages -n 1000 | grep tveeprom</code> and see what tveeprom spits out. That should tell you what tuner type you have. You could then try setting your tuner type explicity in /etc/mythtv/modules/ivtv Another suggestion: black and white fuzzy screen can also occurr if you accidentally have your card set up for PAL when it should be NTSC (or vice versa) in /etc/mythtv/modules/ivtv. |
Author: | tjc [ Wed Sep 14, 2005 7:39 pm ] |
Post subject: | |
This can also happen if you have the wrong frequency set selected (e.g. - us-cable vs. us-cable-hrc) Run mythtv-setup and check on the 3rd page under "General". |
Author: | blunderdog [ Wed Sep 14, 2005 8:26 pm ] |
Post subject: | |
When I enter tail /var/log/messages -n 1000 | grep tveeprom I get the following: Sep 14 21:58:28 mythtv kernel: ivtv: i2c attach [client=tveeprom,ok] and nothing more. In my unmodified /etc/mythtv/modules/ivtv the "options tuner type=X" was remarked out. When I removed # sign and set it to 0 or 2 or 39 The watch TV screen is completely black. When I attempt to change channels the overlays show but the tuner is obviously not working. The mythtv-setup is set to NTSC and I don't see anything in /etc/mythtv/modules/ivtv that indicates otherwise. Anything else I should try? I've sort of figured that a card that was two years old did not use the "new tuner" I've read about. Should I try the latest ivtv driver? srahrens wrote: Hmm, if you think you have the wrong tuner type you might try
<code>tail /var/log/messages -n 1000 | grep tveeprom</code> and see what tveeprom spits out. That should tell you what tuner type you have. You could then try setting your tuner type explicity in /etc/mythtv/modules/ivtv Another suggestion: black and white fuzzy screen can also occurr if you accidentally have your card set up for PAL when it should be NTSC (or vice versa) in /etc/mythtv/modules/ivtv. |
Author: | blunderdog [ Wed Sep 14, 2005 8:47 pm ] |
Post subject: | |
I switched from us-cable to us-cable-hrc but had the same results. tjc wrote: This can also happen if you have the wrong frequency set selected (e.g. - us-cable vs. us-cable-hrc) Run mythtv-setup and check on the 3rd page under "General".
|
Author: | blunderdog [ Wed Sep 14, 2005 10:32 pm ] |
Post subject: | |
I updated the ivtv driver and get this now: You can see that it reports now that no tuner was detected. root@mythtv:~# dmesg | grep ivtv ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.3.8 (tagged release) 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 350 card (iTVC15 based) ivtv: Unreasonably low latency timer, setting to 64 (was 32) ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50] ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0) msp34xx: ivtv version ivtv: i2c attach to card #0 ok [client=MSP3448W-A2, addr=40] ivtv: i2c attach to card #0 ok [client=saa7115[50], addr=21] ivtv: No tuner detected, default to NTSC saa7127 0-0044: saa7127 found @ 0x88 (ivtv i2c driver #0) ivtv: i2c attach to card #0 ok [client=saa7127, addr=44] ivtv: loading /lib/modules/ivtv-fw-enc.bin ivtv: loading /lib/modules/ivtv-fw-dec.bin ivtv: Encoder revision: 0x02040011 ivtv: Decoder revision: 0x02020023 ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) ivtv: Create encoder radio stream ivtv: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total) ivtv: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total) ivtv: Create decoder VOUT stream ivtv: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total) ivtv: Initialized WinTV PVR 350, card #0 ivtv: ==================== END INIT IVTV ==================== ivtv-osd: Framebuffer module loaded (attached to ivtv card id 0) ivtv-osd warning: Framebuffer is at decoder-relative address 0x00510000 and has 1704960 bytes. ivtv-osd: screen coords: [0 0] -> [720 480] ivtv-osd: original global alpha = 208 ivtv-osd: current OSD state = 39 ivtv-osd: new global alpha = 208 (1 255 0) ivtv-osd: framebuffer at 0xe1510000, mapped to 0xe1a10000, size 1350k ivtv-osd: mode is 720x480x32, linelength=2880 ivtv-osd: fb0: iTVC15 TV out frame buffer device ivtv: Allocate DMA decoder OSD stream: 16 x 65536 buffers (1024KB total) ivtv: i2c attach to card #0 ok [client=Hauppauge IR, addr=18] Still does not work. Can someone send a typicla output to the suggested command below: tail /var/log/messages -n 1000 | grep tveeprom I'm not perfectly sure of what I should see. |
Author: | srahrens [ Wed Sep 14, 2005 10:52 pm ] |
Post subject: | |
Yeah, here's what I get: Code: Sep 12 20:27:46 mythtv kernel: tveeprom: Hauppauge: model = 48132, rev = J323, serial# = 7112712 Sep 12 20:27:46 mythtv kernel: tveeprom: tuner = Philips FM1236 (idx = 23, type= 2) Sep 12 20:27:46 mythtv kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) Sep 12 20:27:46 mythtv kernel: tveeprom: audio_processor = MSP3440 (type = 11) Sep 12 20:27:46 mythtv kernel: ivtv: i2c attach [client=tveeprom[50],ok] Sep 12 20:27:46 mythtv kernel: tveeprom: Hauppauge: model = 32031, rev = B110, serial# = 6151093 Sep 12 20:27:46 mythtv kernel: tveeprom: tuner = Philips FI1236 MK2 (idx = 10, type = 2) Sep 12 20:27:46 mythtv kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) Sep 12 20:27:46 mythtv kernel: tveeprom: audio_processor = MSP3435 (type = 10) Sep 12 20:27:46 mythtv kernel: ivtv: i2c attach [client=tveeprom[50],ok] Here's the ivtv file I use: Code: alias char-major-81 videodev
alias char-major-61 lirc_serial #options saa7127 i2c_enable=-1,-1,-1,-1 #options cx25840 i2c_enable=1,1,1,1 no_black_magic=1 #options wm8775 mixer=2 #options ivtv ivtv_debug=1 tuner=2,2,2,2 options ivtv ivtv_debug=1 tuner=2 options msp3400 once=0 simpler=1 simple=0 add below ivtv msp3400 saa7115 tuner saa7127 modprobe v4l1-compat options lirc_serial irq=4 io=0x3f8 install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa711 5; /sbin/modprobe --ignore-install ivtv remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner (keep in mind I use a serial remote instead of the pvr-350's i2c receiver, so ignore the lirc_serial stuff) At this point I think someone who knows more then I might be better suited to help you, but in my "professional" opinion (for what that's worth) it looks like some major stuff isn't initing. Do you have all that modprobe stuff in your ivtv file? |
Author: | tjc [ Wed Sep 14, 2005 10:53 pm ] |
Post subject: | |
Actually there's a better scrap of code that I whipped up for extracting that information floating around here somewhere. Hang on while I search... OK, here you go: http://mysettopbox.tv/phpBB2/viewtopic.php?t=5691&start=7 |
Author: | srahrens [ Wed Sep 14, 2005 10:54 pm ] |
Post subject: | |
oh yeah, i have 2 tuners as well (a 250 and a 350) so you should only see half the tveeprom output... |
Author: | blunderdog [ Thu Sep 15, 2005 5:59 pm ] |
Post subject: | Sume Success! |
I modeled my ivtv file after yours to get this: Code: alias char-major-81 videodev alias char-major-61 lirc_i2c #options ivtv debug=1 #options tuner type=2 options ivtv ivtv_debug=1 tuner=2 options msp3400 once=0 simpler=1 simple=0 add below ivtv msp3400 saa7115 tuner saa7127 modprobe v4l1-compat #options msp3400 once=1 simple=1 install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115; /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb; /sbin/modprobe lirc_i2c remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner && /sbin/modprobe -r ivtv-fb && /sbin/modprobe -r lirc_i2c Now, the tuner is delivering cable tv. The channel change is extremely slow. Is that to be expected? Remaining problem is no audio on TV. I do get audio when playing music files. I'm using the hardware encoder to display everything and there must be something wrong with the audio out. I may be mistaken but it seems like I read someone else upgraded ivtv drivers and lost audio. I'll dig on it. When I grep on tveeprom I still get just what I did last night, nothing like what you have. srahrens wrote: Yeah, here's what I get:
Code: Sep 12 20:27:46 mythtv kernel: tveeprom: Hauppauge: model = 48132, rev = J323, serial# = 7112712 Sep 12 20:27:46 mythtv kernel: tveeprom: tuner = Philips FM1236 (idx = 23, type= 2) Sep 12 20:27:46 mythtv kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) Sep 12 20:27:46 mythtv kernel: tveeprom: audio_processor = MSP3440 (type = 11) Sep 12 20:27:46 mythtv kernel: ivtv: i2c attach [client=tveeprom[50],ok] Sep 12 20:27:46 mythtv kernel: tveeprom: Hauppauge: model = 32031, rev = B110, serial# = 6151093 Sep 12 20:27:46 mythtv kernel: tveeprom: tuner = Philips FI1236 MK2 (idx = 10, type = 2) Sep 12 20:27:46 mythtv kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) Sep 12 20:27:46 mythtv kernel: tveeprom: audio_processor = MSP3435 (type = 10) Sep 12 20:27:46 mythtv kernel: ivtv: i2c attach [client=tveeprom[50],ok] Here's the ivtv file I use: Code: alias char-major-81 videodev alias char-major-61 lirc_serial #options saa7127 i2c_enable=-1,-1,-1,-1 #options cx25840 i2c_enable=1,1,1,1 no_black_magic=1 #options wm8775 mixer=2 #options ivtv ivtv_debug=1 tuner=2,2,2,2 options ivtv ivtv_debug=1 tuner=2 options msp3400 once=0 simpler=1 simple=0 add below ivtv msp3400 saa7115 tuner saa7127 modprobe v4l1-compat options lirc_serial irq=4 io=0x3f8 install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa711 5; /sbin/modprobe --ignore-install ivtv remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner (keep in mind I use a serial remote instead of the pvr-350's i2c receiver, so ignore the lirc_serial stuff) At this point I think someone who knows more then I might be better suited to help you, but in my "professional" opinion (for what that's worth) it looks like some major stuff isn't initing. Do you have all that modprobe stuff in your ivtv file? |
Author: | blunderdog [ Thu Sep 15, 2005 6:18 pm ] |
Post subject: | Re: Sume Success! |
YeeHaw! It working. As I found in the wiki on pvr350 decoder output, I had to run aumix and then move the line volume all the way to the right. Now the remote will control volume and I'm recording survivor now! Can anyone let me know if the slow channel change is normal? Thanks [quote="blunderdog"]I modeled my ivtv file after yours to get this: Code: alias char-major-81 videodev
alias char-major-61 lirc_i2c #options ivtv debug=1 #options tuner type=2 options ivtv ivtv_debug=1 tuner=2 options msp3400 once=0 simpler=1 simple=0 add below ivtv msp3400 saa7115 tuner saa7127 modprobe v4l1-compat #options msp3400 once=1 simple=1 install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115; /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb; /sbin/modprobe lirc_i2c remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner && /sbin/modprobe -r ivtv-fb && /sbin/modprobe -r lirc_i2c Now, the tuner is delivering cable tv. The channel change is extremely slow. Is that to be expected? Remaining problem is no audio on TV. I do get audio when playing music files. I'm using the hardware encoder to display everything and there must be something wrong with the audio out. I may be mistaken but it seems like I read someone else upgraded ivtv drivers and lost audio. I'll dig on it. When I grep on tveeprom I still get just what I did last night, nothing like what you have. |
Author: | srahrens [ Thu Sep 15, 2005 8:14 pm ] |
Post subject: | |
yeah channel change is deffinately pokey. You'll find this on any PVR. my mythbox changes channels about every 5 seconds or so. Just for reference, my tivo only does slightly better (probably about 3). Cool, glad we were able to get things working for you. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |