Re: Hauppauge HVR 4000 in Ubuntu 7.10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Jan 2008 15:06:46 +0100
"ga ver" <gavermer@xxxxxxxxx> wrote:

> Hello,
> 
> In Ubuntu 7.10 with kernel 2.6.22-14.47 in will install a Hauppauge HVR4000.
> This card is not recognized in the standard kernel.
> I download the latest DVB/V4L sources from
> hg clone http://linuxtv.org/hg/v4l-dvb
> with patch v4l-dvb-hg-2007-12-26.diff<http://dev.kewl.org/hauppauge/v4l-dvb-hg-2007-12-26.diff>
> from http://dev.kewl.org/hauppauge/
> 
> the make gives
> :/usr/local/v4l-dvb# make
> make -C /usr/local/v4l-dvb/v4l
> make[1]: Map '/usr/local/v4l-dvb/v4l' wordt binnengegaan
> creating symbolic links...
> Kernel build directory is /lib/modules/2.6.22-14-generic/build
> make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/usr/local/v4l-dvb/v4l
> modules
> make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
>   CC [M]  /usr/local/v4l-dvb/v4l/stk-webcam.o
> /usr/local/v4l-dvb/v4l/stk-webcam.c:60: warning: implicit declaration of
> function 'USB_DEVICE_AND_INTERFACE_INFO'
> /usr/local/v4l-dvb/v4l/stk-webcam.c:60: error: initializer element is not
> constant
> /usr/local/v4l-dvb/v4l/stk-webcam.c:60: error: (near initialization for
> 'stkwebcam_table[0].match_flags')
> /usr/local/v4l-dvb/v4l/stk-webcam.c:61: error: initializer element is not
> constant
> /usr/local/v4l-dvb/v4l/stk-webcam.c:61: error: (near initialization for
> 'stkwebcam_table[1].match_flags')
> make[3]: *** [/usr/local/v4l-dvb/v4l/stk-webcam.o] Error 1
> make[2]: *** [_module_/usr/local/v4l-dvb/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
> make[1]: *** [default] Fout 2
> make[1]: Map '/usr/local/v4l-dvb/v4l' wordt verlaten
> make: *** [all] Fout 2
> 
> what is missing hier, or is their a better solution

What happens is that stk driver (just added) is requiring a newer kernel
version, since it needs a kernel with this patch applied:
http://kerneltrap.org/mailarchive/linux-usb-devel/2007/7/12/339476

I've just updated v4l/versions.txt to add the driver version dependency. If you
update your tree (hg pull -u") and do "make distclean allmodconfig", the tree
should now be compile fine with 2.6.22.

An alternative would be to do make menuconfig and unselect V4L USB STK driver.

Cheers,
Mauro

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux