Re: [mythtv-users] PVR-150

2005-10-31 Thread John Cartwright
Hello,

I've got a PVR-150.  Sometimes for whatever reason mine gets
recognized as a PVR-250 like your dmesg output says in which case I
lose video.  The only solution I've found to this problem has been
to turn the machine completely off for about 10 - 30 seconds and then
try again.  I think I read somewhere that the registers in the
tuner take a while to completely clear hence the 10 - 30 second
wait.  Hope this helps.  Let us know if you find something
that works out better.On 10/29/05, Chris Ribe <[EMAIL PROTECTED]> wrote:
I'm having a difficult time getting a new PVR-150 to work in my
system.   Presently, I am not getting any output out of
/dev/video0.

There is a lot going on here, so I'll try to lay it out as clearly as possible.

My system: 

-1002 Mhz PIII w/ 284 MB of RAM
-Running FC4, kernel 2.6.13_1.1532_FC4
-PVR-150
-Old Pinnacle bttv card
-Moto DCT-6200 attached via Firewire

Background:  
-Last year I had this system running as a backend on FC3 using the Bttv
card as my only capture card.   Then Comcast cut off my free
cable so I went back to my trusty DirecTiVo.  I bought 2 of these
in March 2002  for $100.  Best $100 I ever spent.  God,
I love those things.  I'm still using my DirecTivo, but I'm
considering moving to Myth when I make the transition to HDTV, 
and I'm trying to get a Myth box back up and running before shelling
out for an HD capable frontend.

Timeline:

Sat. 10/22:  Following Jarrod Wilson's uberguide, I do a fresh
install of FC4 and Myth.  I skip the capture card setup steps for
now.  

Tues-Wed:  After some difficulty involving kernel release versions
and ivtv build versions, I get matching kernel and ivtv versions
installed.  At this point,  I am able to get static from "cat
dev/video1 > test.mpg"   After searching for solutions to
this problem and finding nothing definitive,  I try capturing via
the composite out from the DCT-6200.  Game 4 of the World Series
is under way and time is of the essance.  

Wed, ca. 9:00 PM:  Success!  I am now watching the
game.  The PVR-150 is much better at capturing video that the
Houston bats, and hits just as well, too!

Wed, ca. 10:00 PM:  As long as I'm at my computer and watching the
game, I'll see if I can continue the install process while watching the
game.  I still have to get LIRC and Firewire capture
working.  

My Other Computer:
   -PII 450Mhz w/ 458MB of RAM (it has to run iTunes and Rhapsody)
   -Win2K (previously KnoppMyth, used as a frontend)

While I am watching the game, I SSH into the Myth box and begin to
install the necesary packages for Firewire capture.  
Mythfrontend chokes hard  during the install process, but the
install finishes fine.  System is rebooted  after install. 

Wed, ca. 11:30: White Sox win World Series.  Good times.  I
leave frontend running in LiveTV mode, turn off monitor, and go to bed.

Thurs.:  Frontend is frozen.  After reboot, not only is
capture no longer working, but /dev/video1 doesn't even exist
anymore.  Regardless, I am able to get LIRC up and running using
the Hauppage remote.  

Sat. 10/29:  After much frustrastion, I have firewire capture
working.  I now have a remote and something to control. 
LIttle progress made with the PVR-150, though.  I have removed the
bttv card and was able to capture static  from /dev/video0 
one time.  Have not been able to repeat that meagre success. 


Here is the relevant section from dmesg:

ivtv:   START INIT IVTV 
ivtv:  version 0.4.0 (tagged release) loading
ivtv:  Linux version: 2.6.13-1.1532_FC4 686 REGPARM 4KSTACKS gcc-4.0
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.
ivtv0: Autodetected WinTV PVR 250 card (iTVC16 based)
PCI: Enabling device :02:0a.0 (0014 -> 0016)
PCI: IRQ 0 for device :02:0a.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: setting IRQ 5 as level-triggered
PCI: Assigned IRQ 5 for device :02:0a.0
ivtv0: Unreasonably low latency timer, setting to 64 (was 0)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tveeprom: Hauppauge: model = 26032, rev = C199, serial# = 8182601
tveeprom: tuner =  (idx = 99, type = 0)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x1000)
tveeprom: audio_processor = TDA9850 (type = 3)
 : chip found @ 0xc2 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
msp3400: error while reading chip version
ivtv0: loading /lib/modules/ivtv-fw-enc.bin
ivtv0: Encoder revision: 0x02040024
ivtv0 warning: Encoder Firmware can be buggy, use version 0x02040011 or 0x02050032.
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0: Create encoder ra

Re: [mythtv-users] Blank screen on live tv with pvr 150

2005-10-11 Thread John Cartwright
On 10/11/05, John Cartwright <[EMAIL PROTECTED]> wrote:
 (I guess)

I just booted up my system for the um-teenth time and live tv is
working.  There seems to be pausing in the sound but I'll take
that for now.  My only guess is that maybe there is some
inconsistency in the way my modules are loading on bootup.  Thank
you guys for all the MythTV howtos and mailing lists.  Very
helpful and informative. On 10/11/05, Kirk Bocek <
[EMAIL PROTECTED]> wrote:
Does anyone have a hint for John? I've run into the same thing and wouldlove to hear any suggestions.My PVR-350 *was* working fine, live tv, recording, and everything. Itried to add an saa7133 based card which I am now going to give up on.
But now my PVR-350 gives a black screen when selecting 'Watch TV'.I've removed and added the card several times in myth-setup. I have thecorrect input selected -- I get video when doing the "cat /dev/video0 >
file.mpg" test.Is there something I've missed in MythTV that I can reset or clear?KirkJohn Cartwright wrote:> Hello all,>> Sorry to put up another blank screen post.  I've been following Jared's
> MythTV how to guide for Fedora 4 with the following setup:>> Fedora 4> kernel - 2.6.13-1.1526_FC4> Capture Card - Hauppauge WinTV PVR 150> Video Card - ATI Radeon 7500> System - P4 
2.4 Ghz, D850EMV2L Motherboard , 512 MB RAM, onboard audio>> Currently, when I try to watch live tv I get a blank screen with audio.> I'm pretty new to MythTv and am unsure where the problem> may lie.  I saw one thread that seemed to say this could be because of
> the audio drivers being used.  Any feedback on how I can confirm that> would be greatly appreciated.  I thinks it's worth it to note that when> I try to watch tv using the following command:>
> mplayer -vo  x11 /dev/video0>> I get really good video playback and audio.  Using the xv as the -vo> option produces a blank screen with audio like mythtv does.  Below is> some output that may be helpful.
>> ct 10 21:19:21 localhost kernel: ivtv:  START INIT> IVTV > Oct 10 21:19:21 localhost kernel: ivtv: version 0.3.8 (tagged release)> loading
> Oct 10 21:19:21 localhost kernel: ivtv: Linux version: 
2.6.13-1.1526_FC4> 686 REGPARM 4KSTACKS gcc-4.0> Oct 10 21:19:21 localhost kernel: ivtv: In case of problems please> include the debug info> Oct 10 21:19:21 localhost kernel: ivtv: between the START INIT IVTV and
> END INIT IVTV lines when> Oct 10 21:19:21 localhost kernel: ivtv: mailing the ivtv-devel mailinglist.> Oct 10 21:19:21 localhost kernel: ivtv: Autodetected WinTV PVR 150 card> (iTVC16 based)

> Oct 10 21:19:21 localhost kernel: ACPI: PCI Interrupt Link [LNKH]> enabled at IRQ 5> Oct 10 21:19:21 localhost kernel: PCI: setting IRQ 5 as level-triggered> Oct 10 21:19:21 localhost kernel: ACPI: PCI Interrupt :02:
0b.0[A] ->> Link [LNKH] -> GSI 5 (level, low) -> IRQ 5> Oct 10 21:19:21 localhost kernel: ivtv: Unreasonably low latency timer,> setting to 64 (was 32)> Oct 10 21:19:21 localhost kernel: tveeprom: Hauppauge: model = 26032,
> rev = C199, serial# = 8238318> Oct 10 21:19:21 localhost kernel: tveeprom: tuner = TCL 2002N 5H (idx => 99, type = 50)> Oct 10 21:19:21 localhost kernel: tveeprom: tuner fmt = NTSC(M) (eeprom
> = 0x08, v4l2 = 0x1000)> Oct 10 21:19:21 localhost kernel: tveeprom: audio processor = CX25841> (type = 23)> Oct 10 21:19:21 localhost kernel: tveeprom: decoder processor = CX25841> (type = 1c)
> Oct 10 21:19:21 localhost kernel: ivtv: i2c attach to card #0 ok> [client=tveeprom[50], addr=50]> Oct 10 21:19:21 localhost kernel: tuner: chip found at addr 0xc2 i2c-bus> ivtv i2c driver #0

> Oct 10 21:19:21 localhost kernel: ivtv: i2c attach to card #0 ok> [client=(tuner unset), addr=61]> Oct 10 21:19:21 localhost kernel: cx25840: loading /lib/modules/HcwMakoA.ROM> Oct 10 21:19:21 localhost kernel: ivtv: i2c attach to card #0 ok
> [client=cx25840[50], addr=44]> Oct 10 21:19:21 localhost kernel: ivtv: i2c attach to card #0 ok> [client=wm8775[50], addr=1b]> Oct 10 21:19:21 localhost kernel: ivtv: loading /lib/modules/ivtv-
fw-enc.bin> Oct 10 21:19:21 localhost kernel: ivtv: Encoder revision: 0x02040024> Oct 10 21:19:21 localhost kernel: ivtv warning: Encoder Firmware can be> buggy, use version 0x02040011> Oct 10 21:19:21 localhost kernel: ivtv: Allocate DMA encoder MPEG
> stream: 128 x 32768 buffers (4096KB total)> Oct 10 21:19:21 localhost kernel: ivtv: Allocate DMA encoder YUV stream:
 
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Blank screen on live tv with pvr 150

2005-10-10 Thread John Cartwright
Hello all,


Sorry to put up another blank screen post.  I've been
following Jared's MythTV how to guide for Fedora 4 with the following
setup:



Fedora 4

kernel - 2.6.13-1.1526_FC4

Capture Card - Hauppauge WinTV PVR 150

Video Card - ATI Radeon 7500

System - P4 2.4 Ghz, D850EMV2L Motherboard , 512 MB RAM, onboard audio



Currently, when I try to watch live tv I get a blank screen with
audio.  I'm pretty new to MythTv and am unsure where the problem 

may lie.  I saw one thread that seemed to say this could be
because of the audio drivers being used.  Any feedback on how I
can confirm that would be greatly appreciated.  I thinks it's
worth it to note that when I try to watch tv using the following
command:



mplayer -vo  x11 /dev/video0 



I get really good video playback and audio.  Using the xv as the
-vo option produces a blank screen with audio like mythtv does. 
Below is some output that may be helpful.



ct 10 21:19:21 localhost kernel: ivtv:  START INIT IVTV 

Oct 10 21:19:21 localhost kernel: ivtv: version 0.3.8 (tagged release) loading

Oct 10 21:19:21 localhost kernel: ivtv: Linux version: 2.6.13-1.1526_FC4 686 REGPARM 4KSTACKS gcc-4.0

Oct 10 21:19:21 localhost kernel: ivtv: In case of problems please include the debug info

Oct 10 21:19:21 localhost kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when

Oct 10 21:19:21 localhost kernel: ivtv: mailing the ivtv-devel mailinglist.

Oct 10 21:19:21 localhost kernel: ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)

Oct 10 21:19:21 localhost kernel: ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 5

Oct 10 21:19:21 localhost kernel: PCI: setting IRQ 5 as level-triggered

Oct 10 21:19:21 localhost kernel: ACPI: PCI Interrupt :02:0b.0[A] -> Link [LNKH] -> GSI 5 (level, low) -> IRQ 5

Oct 10 21:19:21 localhost kernel: ivtv: Unreasonably low latency timer, setting to 64 (was 32)


Oct 10 21:19:21 localhost kernel: tveeprom: Hauppauge: model = 26032, rev = C199, serial# = 8238318

Oct 10 21:19:21 localhost kernel: tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50)

Oct 10 21:19:21 localhost kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x1000)

Oct 10 21:19:21 localhost kernel: tveeprom: audio processor = CX25841 (type = 23)

Oct 10 21:19:21 localhost kernel: tveeprom: decoder processor = CX25841 (type = 1c)

Oct 10 21:19:21 localhost kernel: ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50]

Oct 10 21:19:21 localhost kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0

Oct 10 21:19:21 localhost kernel: ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]

Oct 10 21:19:21 localhost kernel: cx25840: loading /lib/modules/HcwMakoA.ROM

Oct 10 21:19:21 localhost kernel: ivtv: i2c attach to card #0 ok [client=cx25840[50], addr=44]

Oct 10 21:19:21 localhost kernel: ivtv: i2c attach to card #0 ok [client=wm8775[50], addr=1b]

Oct 10 21:19:21 localhost kernel: ivtv: loading /lib/modules/ivtv-fw-enc.bin

Oct 10 21:19:21 localhost kernel: ivtv: Encoder revision: 0x02040024

Oct 10 21:19:21 localhost kernel: ivtv warning: Encoder Firmware can be buggy, use version 0x02040011

Oct 10 21:19:21 localhost kernel: ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)

Oct 10 21:19:21 localhost kernel: ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)

Oct 10 21:19:21 localhost kernel: ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)

Oct 10 21:19:21 localhost kernel: ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)

Oct 10 21:19:21 localhost kernel: tuner: type set to 50 (TCL 2002N) by ivtv i2c driver #0

Oct 10 21:19:21 localhost kernel: ivtv: Initialized WinTV PVR 150, card #0

Oct 10 21:19:21 localhost kernel: ivtv:   END INIT IVTV  




# lspci -vv



02:0b.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)

    Subsystem: Hauppauge computer works Inc. WinTV PVR 150

    Control: I/O- Mem+
BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+
FastB2B-

    Status: Cap+ 66Mhz- UDF-
FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 

    Latency: 64 (32000ns min, 2000ns max), Cache Line Size 08

    Interrupt: pin A routed to IRQ 5

    Region 0: Memory at f000 (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-



# ivtvctl -a



ioctl IVTV_IOC_G_CODEC ok

Codec parameters

aspect  : 2

audio   : 0x00e9

bframes : 3

bitrate_mode: 0

bitrate : 450

bitrate_peak: 600

dnr_mode    : 0

dnr_spatial : 0

dnr_temporal: 8

dnr_type    : 0

framerate   : 0

framespergop: 15

gop_closure : 1

pulldown    : 0

stream