On Thursday 18 August 2005 02:40, Chase Douglas wrote:
> I've been trying to get the pvr-500 to work in my mythtv backend and,
> unfortunately, whenever I try to use the card, it reboots after a few
> seconds. I have seen where some people have suggested that it is a hardware
> issue. I am using the 0.3.7 drivers configured as shown in the QuickStart
> file, excepting a few params for the cx and wm modules which are no longer
> present. Everything looks good in the log when I modprobe ivtv. Does anyone
> know how to fix this? If it's a hardware problem, where should I start to
> try to figure this out?
I came across a NULL pointer bug in the driver yesterday (see also the kernel
OOPS mail that just came in on the list). I wonder if this is the same
problem that's bugging you. The patch against 0.3.7f (driver/ivtv-fileops.c)
is attached. I'm curious if this fixes the problem.
If not, then see if there are some error messages in your kernel log file
(/var/log/kernel.log or something similar).
Hans
--- ivtv-fileops.c.org 2005-08-18 21:42:31.000000000 +0200
+++ ivtv-fileops.c 2005-08-18 21:42:43.000000000 +0200
@@ -216,12 +216,12 @@
int ivtv_reset_digitizer(struct ivtv *itv)
{
int x = 0, ret = 0;
- unsigned int *arg = 0;
+ unsigned int arg = 0;
if (itv->card->type == IVTV_CARD_PVR_150 ||
itv->card->type == IVTV_CARD_PG600)
{
- ivtv_cx25840(itv, DECODER_GET_VIDEO_STATUS, arg);
+ ivtv_cx25840(itv, DECODER_GET_VIDEO_STATUS, &arg);
if (!arg)
IVTV_DEBUG_WARN("Digitizer video is bad\n");
}