PDA

View Full Version : 8.10 and PVR-500


ian dobson
November 2nd, 2008, 03:05 PM
Hi,

Just upgraded my backend to 8.10, almost everything went OK. But now I've found a major problem - My PVR-500 has stopped working.

When mythtv tries to tune to a channel on the PVR I see the following error in the mythbackend.log repeated every 5 seconds or so:

MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding

dmesg | grep ivtv

[ 16.857251] ivtv: Start initialization, version 1.4.0
[ 17.750072] ivtv0: Initializing card #0
[ 17.750079] ivtv0: Autodetected Hauppauge card (cx23416 based)
[ 17.750576] ivtv 0000:06:08.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[ 17.804513] ivtv0: Autodetected WinTV PVR 500 (unit #1)
[ 17.849261] cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
[ 17.872431] tuner 2-0060: chip found @ 0xc0 (ivtv i2c driver #0)
[ 17.955661] tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
[ 17.997151] tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[ 17.997184] wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
[ 21.772765] ivtv0: Registered device video1 for encoder MPG (9216 kB)
[ 21.772813] ivtv0: Registered device video32 for encoder YUV (2048 kB)
[ 21.772851] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
[ 21.772888] ivtv0: Registered device video24 for encoder PCM (320 kB)
[ 21.772923] ivtv0: Registered device radio0 for encoder radio
[ 21.772925] ivtv0: Initialized card #0: WinTV PVR 500 (unit #1)
[ 21.773006] ivtv1: Initializing card #1
[ 21.773017] ivtv1: Autodetected Hauppauge card (cx23416 based)
[ 21.773232] ivtv 0000:06:09.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 21.827197] ivtv1: Correcting tveeprom data: no radio present on second unit
[ 21.827199] ivtv1: Autodetected WinTV PVR 500 (unit #2)
[ 21.840490] cx25840 3-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
[ 21.845294] tuner 3-0043: chip found @ 0x86 (ivtv i2c driver #1)
[ 21.846646] tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
[ 21.846676] wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
[ 25.439044] ivtv1: Registered device video2 for encoder MPG (9216 kB)
[ 25.439092] ivtv1: Registered device video33 for encoder YUV (2048 kB)
[ 25.439153] ivtv1: Registered device vbi1 for encoder VBI (1024 kB)
[ 25.439190] ivtv1: Registered device video25 for encoder PCM (320 kB)
[ 25.439193] ivtv1: Initialized card #1: WinTV PVR 500 (unit #2)
[ 25.439225] ivtv: End initialization
[ 63.540109] ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[ 63.740664] ivtv0: Encoder revision: 0x02060039
[ 65.269183] ivtv1: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[ 65.469665] ivtv1: Encoder revision: 0x02060039


Any ideas?

Regards
Ian Dobson

ian dobson
November 2nd, 2008, 04:10 PM
Hi,

OK it looks as if it's a kernel problem. WhenI do a:-

ivtv-tune -f 140.25 -d /dev/video1
cat /dev/video1 > /data/test.mpg

It creates a 0 byte file. Channel 140.25MHz exists and has worked up until now. Maybe I'll try downloading a different firmware.

EDIT:
If I try
ivtv-tune -f 140.25 -d /dev/video2
cat /dev/video2 > /data/test1.mpg

I get a valid video stream. I know my PVR is video1 & video2 as my webcam is video0.

Regards
Ian Dobson

ian dobson
November 2nd, 2008, 04:45 PM
Hi,

I think I've solved the problem. It looks as if the firmware is screwedup. I just did a :-


wget http://dl.ivtvdriver.org/ivtv/firmware/ivtv-firmware.tar.gz
tar -xvf ivtv-firmware.tar.gz
mkdir /lib/firmware/backup
cp /lib/firmware/*.* /lib/firmware/backup/
cp *.* /lib/firmware/
rmmod ivtv
insmod ivtv


I didn't bother to check which files have changed but a cat /dev/video1 & /dev/video2 produces a valid mpeg stream.

I'll wait afew days and if everything's OK I mark this as solved.

Regards
Ian Dobson

ian dobson
November 2nd, 2008, 05:17 PM
Hi,

That didn't solve it, so I tried deleting the tuner cards in myth-setup and then recreated them but I'm still seeing.


2008-11-02 22:13:48.416 TVRec(11): HW Tuner: 11->11
2008-11-02 22:13:48.517 AutoExpire: CalcParams(): Max required Free Space: 51.0 GB w/freq: 15 min
2008-11-02 22:13:48.521 Started recording: Anne Will "Monopoly an der Brse -": channel 1 on cardid 11, sourceid 1
2008-11-02 22:13:49.491 MainServer::HandleAnnounce Monitor
2008-11-02 22:13:49.493 adding: alpha2 as a client (events: 0)
2008-11-02 22:13:51.940 MainServer::HandleAnnounce Monitor
2008-11-02 22:13:51.942 adding: alpha2 as a client (events: 0)
QDateTime::fromString: Parameter out of range
2008-11-02 22:13:52.404 MainServer::HandleAnnounce Monitor
2008-11-02 22:13:52.406 adding: alpha2 as a client (events: 0)
2008-11-02 22:13:52.419 MythSocket(1741fa0:-1): writeStringList: Error, socket went unconnected.
2008-11-02 22:13:53.953 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding
2008-11-02 22:13:59.393 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding
2008-11-02 22:14:04.833 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding
2008-11-02 22:14:10.273 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding
2008-11-02 22:14:15.709 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding
2008-11-02 22:14:21.145 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding


Any ideas?

Regards
Ian Dobson

ian dobson
November 3rd, 2008, 12:36 AM
Abit more info.

uname -a
Linux alpha2 2.6.27-7-generic #1 SMP Thu Oct 30 04:12:22 UTC 2008 x86_64 GNU/Linux

The PVR-500 has been running for almost 1 year now without any problem.

Just came across this:- http://swiss.ubuntuforums.org/showthread.php?p=6090739
looks as if the ivtv module is broken in 8.10

Regards
Ian Dobson

ian dobson
November 3rd, 2008, 01:44 PM
OK

I think I've solved the problem. It looks as if ivtv is really broken in 8.10. I installed the bleeding edge driver from the ivtv web site, rebooted and everything works :)

Code:

sudo apt-get install linux-headers-`uname -r`
sudo wget http://www.linuxtv.org/hg/v4l-dvb/archive/tip.tar.gz
sudo tar -xvf tip.tar.gz
sudo cd "directory created"
sudo make
sudo make install
sudo depmod


Regards
Ian Dobson

cenwesi
November 7th, 2008, 09:54 AM
Thanks, that fixed my problem.
Funny thing was that it was working fine and 2days ago i noticed that it was detecting my pvr-500 tunner1 as pvr-150. Anyway, i hope this also takes care of the hvr-1800 i have in the box.

the Goat
November 7th, 2008, 10:30 PM
For what it is worth my pvr-500 is working fine with ubuntu 8.10

I don't use mythbuntu or MCC. Maybe that is why it works.

ian dobson
November 8th, 2008, 04:24 AM
Hi,

My backend doesn't run Mythbuntu either. It's just a ubuntu 64bit installation and I think thats the problem. The version of ivtv included with the first release of 8.10 is screwed up abit.

edit: I've seen there's a kernel update in apt so maybe that'll fix it.

Regards
Ian Dobson

the Goat
November 8th, 2008, 06:58 AM
Hi,

My backend doesn't run Mythbuntu either. It's just a ubuntu 64bit installation and I think thats the problem. The version of ivtv included with the first release of 8.10 is screwed up abit.

Weird. Maybe our pvr-500 boards are different revisions. Because we seem to be doing the exact same thing but getting different results.

Good luck.

joho500
January 18th, 2009, 02:52 PM
OK

I think I've solved the problem. It looks as if ivtv is really broken in 8.10. I installed the bleeding edge driver from the ivtv web site, rebooted and everything works :)

Code:

sudo apt-get install linux-headers-`uname -r`
sudo wget http://www.linuxtv.org/hg/v4l-dvb/archive/tip.tar.gz
sudo tar -xvf tip.tar.gz
sudo cd "directory created"
sudo make
sudo make install
sudo depmod


Regards
Ian Dobson
@Ian,

Thank you for your work. I installed the bleeding edge driver and LiveTV works like a charm.

Cheers,
Joost

encom
January 18th, 2009, 06:56 PM
OK

I think I've solved the problem. It looks as if ivtv is really broken in 8.10. I installed the bleeding edge driver from the ivtv web site, rebooted and everything works :)

Code:

sudo apt-get install linux-headers-`uname -r`
sudo wget http://www.linuxtv.org/hg/v4l-dvb/archive/tip.tar.gz
sudo tar -xvf tip.tar.gz
sudo cd "directory created"
sudo make
sudo make install
sudo depmod


Regards
Ian Dobson


I was having "no audio" issues with two PVR 150's and manually installing the drivers fixed it.

Thanks.

Beezleblub
January 22nd, 2009, 10:46 PM
:popcorn:

Thanks !

I was facing the same problem using a PVR-150.
Recordings failed and live TV would not start either.

Installing the drivers as mentioned indeed fixed the problem.

Cheers ! :popcorn:

bigtreacle
January 28th, 2009, 07:54 AM
Hi there,

I wish I'd seen this post a couple of days ago. I've been wresling with a PVR 500 for a while now, would tune and lock on channels but they were just static with some sound. After much messing, and trying Mythdora and Knoppmyth, I thought I'd roll back the firmware to an older one, and found that the one from 2007 worked fine.

Have a look at my update in the PVR-500 page (http://www.mythtv.org/wiki/Hauppauge_PVR-500#User_Experiences) in the MythTV hardware wiki

I might try the bleeding edge drivers with the latest firmware to see if that works too.

Thanks,
Simon

hozhead
January 31st, 2009, 12:46 PM
I upgraded to Mythbuntu 8.10 from 8.04 about a month ago and REALLY regret the move for this issue as well as several others.

My PVR-500 was functioning just fine for a few weeks and then last week, after I ran a few updates, everything was working fine until the first tuner stopped responding. After a reboot, it would work fine and then die off again after a few hours.

Research led me to this thread and I was grateful to see that it wasn't a hardware issue.

Update drivers corrected my problem but I do need to comment that the bleeding edge isn't necessarily what people should be attempting to load. Yesterday's bleeding edge happened to be a set of code that would not build correctly (make errorred out after a while and make install didn't work at all). I checked the changelog and grabbed a reasonable version from about a day and a half back and those drivers loaded and are working perfectly for me!

aTraiTor
January 31st, 2009, 05:22 PM
Hi,

iīam from germany so iīll hope you can understand me and first of all can help me :).

After a automatic update from mythbuntu my pvr 500 stopped working. all records are 0 kb and i get the message that the recorded file isnīt ready right now.

i did had this problem in past. What helped me was:


sudo apt-get install linux-headers-`uname -r`
sudo wget http://www.linuxtv.org/hg/v4l-dvb/archive/tip.tar.gz
sudo tar -xvf tip.tar.gz
sudo cd "directory created"
sudo make
sudo make install
sudo depmod


But now, it doesnīt work. "make" ends with errors and the message that the kernel isnīt complete.


ivtv-tune -f 140.25 -d /dev/video1
cat /dev/video1 > /data/test.mpg


Sometimes work in terminal, sometimes the written test.mpg is empty and have a 0 kb size. Sometimes itīs an normal record stream which can be watch.

But what ever, in mythtv frontend the image stays black. By configurat the backend, the tuner donīt find even one single channel.

Not one single tipp from this thread worked for my and i donīt no what do to .... my loved mythtv stopped working after 1 year of happiness. some tipps ???

Thanks Andreas

hozhead
February 1st, 2009, 01:48 PM
Hi,

iīam from germany so iīll hope you can understand me and first of all can help me :).

After a automatic update from mythbuntu my pvr 500 stopped working. all records are 0 kb and i get the message that the recorded file isnīt ready right now.

i did had this problem in past. What helped me was:



But now, it doesnīt work. "make" ends with errors and the message that the kernel isnīt complete.



Sometimes work in terminal, sometimes the written test.mpg is empty and have a 0 kb size. Sometimes itīs an normal record stream which can be watch.

But what ever, in mythtv frontend the image stays black. By configurat the backend, the tuner donīt find even one single channel.

Not one single tipp from this thread worked for my and i donīt no what do to .... my loved mythtv stopped working after 1 year of happiness. some tipps ???

Thanks Andreas

See my post immediately above yours. The latest drivers won't compile properly so you'll need to get a previous version.
I'm not 100% positive since I'm working form a different machine right now but, I believe that I used rev 10396 from this page: http://linuxtv.org/hg/v4l-dvb/log/tip

Here's the direct link to that rev: http://linuxtv.org/hg/v4l-dvb/rev/b26e0f8ee6f6 and you can click on the bz2 or gz link at the top to download the file.

aTraiTor
February 1st, 2009, 02:23 PM
Hi,

thanks. First of all iīll make the hole system new. and used the mythbuntu 8.10a. Since that it work. But i didnīt made any kind of update mythbuntu want me to do, because im worried abaut the thinks that could happen.

But in case it will stop working, ill try this driver u postet. Did i have to install it like the other one, where i get the made errors?


sudo tar -xvf tip.tar.gz
sudo cd "directory created"
sudo make
sudo make install
sudo depmod


Andi

singedwings
February 6th, 2009, 06:34 AM
I had been having similar problems on my pvr-150 and for a few days the previous solution worked for me:-

sudo apt-get install linux-headers-`uname -r`
sudo wget http://www.linuxtv.org/hg/v4l-dvb/archive/tip.tar.gz
sudo tar -xvf tip.tar.gz
sudo cd "directory created"
sudo make
sudo make install
sudo depmod

However after some system updates I was back to square one. I tried re-installing the tip driver (several different versions in fact) but no joy. I solved this by installing the mercurial driver:-

sudo apt-get install mercurial
cd /usr/src
sudo hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
sudo make
sudo make install
sudo make unload
sudo make load

I also restarted the computer to be on the safe side (probably a windows hangover).

I hope this is useful.

challahc
February 10th, 2009, 02:11 AM
Has anyone had issues with the pvr500 not even showing up in lspci? I beleive I have some type of conflict, or possibly a bad card. Most of the time the card doesn't show up in lspci, but sometimes when I reboot its like I get lucky and it shows up. At which point it still seems unreliable. I can watch tv and record shows when the card is seen, but I left the machine running today and came home to it locked up.

Tonight I tried the card in another PC and installed mythbuntu. The system won't even boot when the card is installed. Does not even display the grub menu. Without the card it is fine.

This was an ol ebay special, so I'm thinking of sending it back at this point. I was trying to get a pvr350 anyways. If anyone has had a similar experience, I would love to hear what you did to resolve this.

ian dobson
February 11th, 2009, 01:06 AM
Has anyone had issues with the pvr500 not even showing up in lspci? I beleive I have some type of conflict, or possibly a bad card. Most of the time the card doesn't show up in lspci, but sometimes when I reboot its like I get lucky and it shows up. At which point it still seems unreliable. I can watch tv and record shows when the card is seen, but I left the machine running today and came home to it locked up.

Tonight I tried the card in another PC and installed mythbuntu. The system won't even boot when the card is installed. Does not even display the grub menu. Without the card it is fine.

This was an ol ebay special, so I'm thinking of sending it back at this point. I was trying to get a pvr350 anyways. If anyone has had a similar experience, I would love to hear what you did to resolve this.

Hi,
If it doesn't appear in lcpci then I'd say that the card is bad. Do you have a windows box that ou could stick it into to just see if it "might" work.

Regards
Ian Dobson