[mythtv-users] current hd-pvr driver with Centos 5

Ian Forde ianforde at gmail.com
Wed Apr 8 03:53:16 UTC 2009


(sending to -users first...)

So I went to upgrade my CentOS 5 myth boxes from 5.2 to 5.3. Upgrade
went successfully. Next step, upgrade my myth trunk installation.  Ah,
but I have to upgrade my hd-pvr driver. Go to the wiki page... looks
like the driver is now in v4l-dvb trunk. No problem - download,
build... bzzt.  Looks like it requires 2.6.20.  Since CentOS uses
2.6.18 with a TON of backported fixes, I figured I'd give it a shot.
Remember that "bzzt" earlier?  Yeah - that's this error:

[myhost v4l-dvb]# make
make -C /usr/local/src/myth/v4l-dvb/v4l
make[1]: Entering directory `/usr/local/src/myth/v4l-dvb/v4l'
creating symbolic links...
Kernel build directory is /lib/modules/2.6.18-128.1.6.el5/build
make -C /lib/modules/2.6.18-128.1.6.el5/build
SUBDIRS=/usr/local/src/myth/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/kernels/2.6.18-128.1.6.el5-x86_64'
  CC [M]  /usr/local/src/myth/v4l-dvb/v4l/hdpvr-video.o
/usr/local/src/myth/v4l-dvb/v4l/hdpvr-video.c: In function
'hdpvr_alloc_buffers':
/usr/local/src/myth/v4l-dvb/v4l/hdpvr-video.c:158: warning: passing
argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/usr/local/src/myth/v4l-dvb/v4l/hdpvr-video.c:282:49: error: macro
"INIT_WORK" requires 3 arguments, but only 2 given
/usr/local/src/myth/v4l-dvb/v4l/hdpvr-video.c: In function
'hdpvr_start_streaming':
/usr/local/src/myth/v4l-dvb/v4l/hdpvr-video.c:282: error: 'INIT_WORK'
undeclared (first use in this function)
/usr/local/src/myth/v4l-dvb/v4l/hdpvr-video.c:282: error: (Each
undeclared identifier is reported only once
/usr/local/src/myth/v4l-dvb/v4l/hdpvr-video.c:282: error: for each
function it appears in.)
make[3]: *** [/usr/local/src/myth/v4l-dvb/v4l/hdpvr-video.o] Error 1
make[2]: *** [_module_/usr/local/src/myth/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-128.1.6.el5-x86_64'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/local/src/myth/v4l-dvb/v4l'
make: *** [all] Error 2

Seems to me that in order to get the hd-pvr driver into the Linux
kernel, it has to get into v4l first, which means development with the
current kernel. That makes sense.  Unfortunately, it locks out CentOS
users from using it without replacing their kernel. Which locks out
CentOS users from using the hd-pvr with current trunk, due to the note
in ticket 20276.  Any plans to backport some of the latest hd-pvr
updates the same way that ivtv maintained versions for multiple
kernels? Or am I SOL?

(And before I hear any "don't use trunk"-type comments, note that I'm
a newbie neither to UNIX/Linux nor this list.  I've been using myth
since 2003 continuously...)

  -I


More information about the mythtv-users mailing list