← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 525703] Re: nodename is now devnode in 2.6.33 kernel - drivers don't compile

 

Devin Heitmueller posted the following answer on the linux-media mail
list which fixes the problem for me:

There were some changes made in the 2.6.33 mainline kernel which were
incompatible with the v4l-dvb tree (and the saa7164 tree on the
kernellabs hg is based off of a version of v4l-dvb that is several
months old).

The issue should have been fixed relatively recently in the v4l-dvb
trunk (which *does* contain pretty much all the hvr-2200 fixes).

I would recommend you do an "hg clone http://linuxtv.org/hg/v4l-dvb";
and do a compile and see if it works.  If it doesn't then post a
reply.  But to be clear, this has nothing to do with the HVR-2200
support in particular.

-- 
nodename is now devnode in 2.6.33 kernel - drivers don't compile
https://bugs.launchpad.net/bugs/525703
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.

Status in Mythbuntu, Ubuntu derivative focused upon MythTV: New

Bug description:
I'm using mythbuntu 9.10. I upgraded to kernel v2.6.33-rc8 because I have a DH55TC mobo (following the advice here https://wiki.ubuntu.com/Intel_DH55TC). This fixed a number of startup and slow video issues.

Now I can't rebuild the drivers for my hauppage 2200 as I did for my previous kernel. I've been following the instructions here:
http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-2200
I've been using the dev tree but I also get similar errors with the stable tree.

Initially I got a message complaining v4l/config-compat.h could not include autoconf.h. I got around that by changing the include to be:
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
#include <linux/autoconf.h>
#endif

Now I get the following error:
/home/john/local/src/hauppage-2200/saa7164-dev/v4l/dvbdev.c: In function 'init_dvbdev':
/home/john/local/src/hauppage-2200/saa7164-dev/v4l/dvbdev.c:516: error: 'struct class' has no member named 'nodename'
make[3]: *** [/home/john/local/src/hauppage-2200/saa7164-dev/v4l/dvbdev.o] Error 1
make[2]: *** [_module_/home/john/local/src/hauppage-2200/saa7164-dev/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.33-020633rc8-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/john/local/src/hauppage-2200/saa7164-dev/v4l'
make: *** [all] Error 2

As far as I can tell by googling, 'nodename' is now 'devnode' in 2.6.33 (perhaps 2.6.32 as well?) and has a different signature. I don't think I know enough to edit the driver source to reflect this. Has anyone got a solution? If the 2200 driver is not currently supported on 2.6.33 does anyone know when it might be?





References