Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems wish tv-card (hauppage pvr150)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
MrZoltan00
n00b
n00b


Joined: 08 Nov 2005
Posts: 41

PostPosted: Wed Apr 26, 2006 8:05 pm    Post subject: Problems wish tv-card (hauppage pvr150) Reply with quote

Hi all,

I recently got my hands on a hauppage pvr150 card. I installed it following the GENTOO WIKI HARDWARE PVR500. The test cat /dev/video0 > vid0.mpg worked an I could play the output with mplayer (however the picture was bad quality). Now I try to run a program like mythtv or kdetv. Mythtv does not recognize my card, kdetv hangs and xawtv returns:

Code:
This is xawtv-3.95, running on Linux/x86_64 (2.6.15-gentoo-r5)
WARNING: v4l-conf is compiled without DGA support.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway


dmesg|grep tuner:
Code:
tveeprom 0-0050: tuner model is TCL MFPE05 2 (idx 89, type 38)
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
tuner 0-0061: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4))


I have no idea what is wrong. I searched the forums, but could found no answer. Hope anyone can help !!
Back to top
View user's profile Send private message
bemis
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2004
Posts: 136
Location: USA

PostPosted: Thu Apr 27, 2006 12:11 am    Post subject: Reply with quote

the only time i've ever seen that error is when i set up the card as a V4L card instead of an MPEG card (ivtv cards are MPEG-encoders - so you're getting an MPEG stream instead of raw YUV data) -- check mythtv-setup to make sure your card is configured as an MPEG card.

it's also possible that one or more of the kernel-built modules got left in /lib/modules/ so it go loaded before the ivtv-built modules -- you'll need to verify this yourself.
_________________
Y'know, somewhere along the line, my brain got wired directly to my fingers .. I'm not even consulted anymore in the decision making processes.
-bemis
Back to top
View user's profile Send private message
MrZoltan00
n00b
n00b


Joined: 08 Nov 2005
Posts: 41

PostPosted: Thu Apr 27, 2006 9:16 am    Post subject: Reply with quote

The card does not show up in mythtv at all so I can't configure it as MPEG card. I don't exactly know what you mean with your hint on /lib/modules. What exactly do I have to check?

Furthermore, I noticed that kdetv also spits an error message that the device (/dev/video0) is not a v4l device. So I suppose the problem is somewhere in that area.

My output of dmesg:
Code:

ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.2 (tagged release) loading
ivtv:  Linux version: 2.6.15-gentoo-r5 gcc-3.4
ivtv:  In case of problems please include the debug info between
ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
ivtv:  any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
GSI 22 sharing vector 0xD9 and IRQ 22
ACPI: PCI Interrupt 0000:00:0d.0[A] -> GSI 18 (level, low) -> IRQ 217
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tveeprom 0-0050: Hauppauge model 26559, rev F089, serial# 9375252
tveeprom 0-0050: tuner model is TCL MFPE05 2 (idx 89, type 38)
tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom 0x74)
tveeprom 0-0050: audio processor is CX25843 (idx 37)
tveeprom 0-0050: decoder processor is CX25843 (idx 30)
tveeprom 0-0050: has radio, has no IR remote
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 0-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0: Create encoder radio stream
tuner 0-0061: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4))
ivtv0: Initialized WinTV PVR 150, card #0
ivtv:  ====================  END INIT IVTV  ====================


I'm not sure if the (tuner unset) in ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61] is a problem?

I noticed something else.
When I do
Code:
ivtv-tune --frequency=736.000
mplayer /dev/video0

i get a clear channel with perfect sound and video.

I hope someone can help me. Thanks!
Back to top
View user's profile Send private message
bemis
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2004
Posts: 136
Location: USA

PostPosted: Fri Apr 28, 2006 1:28 am    Post subject: Reply with quote

check out this link: http://ivtvdriver.org/index.php/Howto

it covers the bit i was talking about /lib/modules -- it sounds like the tuner unset problem is the key here.

regarding other apps - i'm not sure about kdetv or many of the others - but i know several tv apps have issues with the MPEG cards vs the YUV cards (a lot of the software-encoder cards (bttv) spit out raw YUV - and several apps seem to expect this by default) - you may be able to configure your app to use an MPEG card - but I couldn't say -- also make sure the permissions on /dev/video/ are set such that your user can read them.
_________________
Y'know, somewhere along the line, my brain got wired directly to my fingers .. I'm not even consulted anymore in the decision making processes.
-bemis
Back to top
View user's profile Send private message
monkey89
Guru
Guru


Joined: 08 Mar 2004
Posts: 596

PostPosted: Fri Apr 28, 2006 4:07 am    Post subject: Reply with quote

Yeah, I know for sure xawtv doesn't support ivtv. You just need a mpeg2 player.

mplayer /dev/video0 works.
Back to top
View user's profile Send private message
simeli
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 193
Location: Switzerland, Zurich

PostPosted: Fri Apr 28, 2006 9:39 am    Post subject: Reply with quote

i've never had a problem with the ivtv cards. Can you post your /etc/modules.d/ivtv file as well as the output of lsmod?

this is my dmesg output of the first tuner of my pvr500:
Code:
ivtv:  version 0.4.2 (tagged release) loading
ivtv:  Linux version: 2.6.14-gentoo-r5 preempt PENTIUMM gcc-3.3
ivtv:  In case of problems please include the debug info between
ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
ivtv:  any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
tveeprom: ivtv version
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc0 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=60]
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
cx25840 0-0044: ivtv driver
cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
wm8775 0-001b: ivtv driver
wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv0: This is the first unit of a PVR500
ivtv0: Detected a TEA5767 radio tuner. Enabling radio support.
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0: Create encoder radio stream
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c driver #0
ivtv0: Initialized WinTV PVR 500 (unit #1), card #0


make sure that you have the correct firmware in place.

Code:
/lib/firmware/v4l-cx2341x-enc.fw
/lib/firmware/v4l-cx2341x-dec.fw
/lib/firmware/v4l-cx25840.fw
/lib/firmware/v4l-cx2341x-init.mpg

_________________
Pentium M 740 on MSI 915GM SPEEDSTER-FA4, 2x512MB Corsair XMS2 DDR2 667 Memory, Zalman CNPS7000B AlCu, Samsung SpinPoint P120 250GB SATAII, Hauppauge WinTV PVR-500, Enermaxx Liberty 400, Antec P180

Husaberg FS650e Force Edition [http://www.husaberg.se]


Last edited by simeli on Fri Apr 28, 2006 9:45 am; edited 1 time in total
Back to top
View user's profile Send private message
simeli
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 193
Location: Switzerland, Zurich

PostPosted: Fri Apr 28, 2006 9:44 am    Post subject: Reply with quote

I believe yo could also be using the v4l tveeprom module instead of the one supplied with ivtv. There are other modules installed with the v4l drivers that are also supplied with ivtv and are duplicate. you need to make sure those are deleted or renamed, so the ivtv modules get used. If I recall correctly these are tveeprom, tuner, tda9887 and msp3400.
_________________
Pentium M 740 on MSI 915GM SPEEDSTER-FA4, 2x512MB Corsair XMS2 DDR2 667 Memory, Zalman CNPS7000B AlCu, Samsung SpinPoint P120 250GB SATAII, Hauppauge WinTV PVR-500, Enermaxx Liberty 400, Antec P180

Husaberg FS650e Force Edition [http://www.husaberg.se]
Back to top
View user's profile Send private message
MrZoltan00
n00b
n00b


Joined: 08 Nov 2005
Posts: 41

PostPosted: Fri Apr 28, 2006 6:15 pm    Post subject: Reply with quote

ok, the tuner unset message in dmesg can't be the issue, because it also appears in simeli's output.
I actually didn't use the modules supplied by ivtv, so that could be the problem. The reason for this is, because I couldn't find the ivtv modules. Where should they be located after ivtv is emerged? I could find the kernel modules though, so I suppose I need the ivtv modules and copy them over the kernel modules?

Second, mplayer /dev/video0 works perefctly at the moment. Are there any other tv-programs that support mpeg2 cards other than mythtv, so I could try those.
Back to top
View user's profile Send private message
simeli
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 193
Location: Switzerland, Zurich

PostPosted: Sat Apr 29, 2006 3:33 pm    Post subject: Reply with quote

the modules get installed automatically in the right place but in a different folder. use find to see where they are. not in fron of my box at the moment...
_________________
Pentium M 740 on MSI 915GM SPEEDSTER-FA4, 2x512MB Corsair XMS2 DDR2 667 Memory, Zalman CNPS7000B AlCu, Samsung SpinPoint P120 250GB SATAII, Hauppauge WinTV PVR-500, Enermaxx Liberty 400, Antec P180

Husaberg FS650e Force Edition [http://www.husaberg.se]
Back to top
View user's profile Send private message
MrZoltan00
n00b
n00b


Joined: 08 Nov 2005
Posts: 41

PostPosted: Tue May 02, 2006 8:10 pm    Post subject: Reply with quote

i can only find them in /lib64/modules/2.6.15-gentoo-r5/kernel/drivers/media/video/ and in /usr/src/linux-2.6.15-gentoo-r5/drivers/media/video/.
Which ones should i copy over to which directory? The modules in the directories have the same size. Aren't they the same?

Thanks
Back to top
View user's profile Send private message
simeli
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 193
Location: Switzerland, Zurich

PostPosted: Fri May 05, 2006 3:40 pm    Post subject: Reply with quote

/usr/src is the location of the kernel sources. all gets compiled in there and then copied over to /lib. thus you'd have to look in /lib
_________________
Pentium M 740 on MSI 915GM SPEEDSTER-FA4, 2x512MB Corsair XMS2 DDR2 667 Memory, Zalman CNPS7000B AlCu, Samsung SpinPoint P120 250GB SATAII, Hauppauge WinTV PVR-500, Enermaxx Liberty 400, Antec P180

Husaberg FS650e Force Edition [http://www.husaberg.se]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum