Greg Fruth <[email protected]> wrote: >Andy, > > >Thanks for the response. Is it media_tree or media_build that I need? >The instructions at > >http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers >and the message from Devin H. seem to suggest that it's media_build. >Plus I'd prefer to add a >module to my current kernel instead of building a whole new one, if >possible. > > >At any rate, when I follow the media_build instructions, the Kinect >driver gives compilation errors. > >/home/jetson/adm/v4l/media_build/v4l/kinect.c:38:19: error: 'D_ERR' >undeclared here (not in a function) >/home/jetson/adm/v4l/media_build/v4l/kinect.c:38:27: error: 'D_PROBE' >undeclared here (not in a function) >/home/jetson/adm/v4l/media_build/v4l/kinect.c:38:37: error: 'D_CONF' >undeclared here (not in a function) >/home/jetson/adm/v4l/media_build/v4l/kinect.c:38:46: error: 'D_STREAM' >undeclared here (not in a function) >/home/jetson/adm/v4l/media_build/v4l/kinect.c:38:57: error: 'D_FRAM' >undeclared here (not in a function) >/home/jetson/adm/v4l/media_build/v4l/kinect.c:38:66: error: 'D_PACK' >undeclared here (not in a function) >/home/jetson/adm/v4l/media_build/v4l/kinect.c:39:2: error: 'D_USBI' >undeclared here (not in a > function) >/home/jetson/adm/v4l/media_build/v4l/kinect.c:39:11: error: 'D_USBO' >undeclared here (not in a function) >/home/jetson/adm/v4l/media_build/v4l/kinect.c:39:20: error: 'D_V4L2' >undeclared here (not in a function) > > >I tried installing the OpenNI software from the Fedora 14 repo (openni, >openni-primesense, and > >openni-devel) but it doesn't seem to supply the missing symbols. >Perhaps the latest OpenNI Git >repo will supply the necessary bits, but short of that, I'd like to >just omit the Kinect driver. I tried the >"Manually Intensive" approach so that I could get to "make menuconfig" >but at the step > >make tar DIR=<some dir with media -git tree> > >I'm not sure what I'm supposed to supply in the DIR variable. > > > >>________________________________ >>Hi, >> >>You really do need the bleeding edge cx18 and tda8290 driver from the >media_tree git repository. The changes will be in either kernel >v2.6.39 or 2.6.40 (I can't remember which right now). >> >>The cx18 driver will report its version as 1.4.1 or greater. >> >>Regards, >>Andy >> >>
Greg, Yes media_tree is a whole kernel build; you likely don't want that. It is my understanding that the media_build pulls down a media_tree and tries to build only the v4l-dvb modules for your kernel version. I have no firsthand experience. Somewhere in the build area there should be a .config file that you can manually edit to inhibit the build of the kinect module. This cx18 change is unfortunately not a one module fix. You'll at least need, IIRC, a new cx18, tda8290, tda18271, and s5h1411 modules. Since there have been various updates to infrastructure, you'll also need modules that those depend on: tuner, v4l-common and likely others. Dependencies tend to snowball. :( Regards, Andy _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
