public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* hauppage 2200 on 2.6.33 kernel : nodename is now devnode
@ 2010-02-22 11:28 John Reid
  2010-02-22 15:08 ` Devin Heitmueller
  0 siblings, 1 reply; 2+ messages in thread
From: John Reid @ 2010-02-22 11:28 UTC (permalink / raw)
  To: linux-media

Hi,

Sorry if this is a duplicate. My previous post didn't seem to appear.

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' 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?

Thanks for any help!
John.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: hauppage 2200 on 2.6.33 kernel : nodename is now devnode
  2010-02-22 11:28 hauppage 2200 on 2.6.33 kernel : nodename is now devnode John Reid
@ 2010-02-22 15:08 ` Devin Heitmueller
  0 siblings, 0 replies; 2+ messages in thread
From: Devin Heitmueller @ 2010-02-22 15:08 UTC (permalink / raw)
  To: John Reid; +Cc: linux-media

On Mon, Feb 22, 2010 at 6:28 AM, John Reid <johnbaronreid@netscape.net> wrote:
> Hi,
>
> Sorry if this is a duplicate. My previous post didn't seem to appear.
>
> 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' 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?

Hello John,

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.

Devin


-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-22 15:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-22 11:28 hauppage 2200 on 2.6.33 kernel : nodename is now devnode John Reid
2010-02-22 15:08 ` Devin Heitmueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox