Menu

#3 Patch that adds 2.6.0 support

open
nobody
None
5
2003-08-24
2003-08-24
Rob Caelers
No

This patch allows ivtv to be build for linux-2.6.0
(-test4). The patch is heavily based on the patch from
Steven Fuerst. However, this patch does not sacrifice
support for 2.4 and can be build outside kernel
sources. Furthermore, this patch does not add any
updates to msp3400 from the 2.6.0 kernel sources.

To build the 2.6.0 modules run:

cd ivtv/driver
mv Makefile Makefile.old
mv Makefile2.6 Makefile
make -C <location of your kernel sources> SUBDIRS=`pwd`
modules

Discussion

  • Chris Morgan

    Chris Morgan - 2003-10-11

    Logged In: YES
    user_id=567001

    For test7:

    home/cmorgan/downloads/ivtv/driver/ivtv-api.c: In function
    `ivtv_v4l2_open': I think should be changed from 'minor' to 'iminor'

    How are the modules supposed to be installed under the 2.6 kernels?
    The ivtv faq mentions using modprobe but modprobe doesn't seem able
    to find any of the modules I specify:

    # modprobe msp3400
    FATAL: Module msp3400 not found.

    Thanks,
    Chris

     
  • Rob Caelers

    Rob Caelers - 2003-10-18

    Logged In: YES
    user_id=592792

    I always use the following command to load all the modules.

    modprobe i2c-core
    modprobe i2c-algo-bit
    insmod saa7115.ko
    insmod msp3400.ko
    modprobe tuner type=29
    modprobe videodev
    insmod ivtv.ko

    A attached a new patch for the decoder branch. Not very well
    tested....

     
  • Kevin A. Elliott

    Logged In: YES
    user_id=530232

    For my system after applying this patch, running 2.6.0-test8,
    I had to edit like 1190 of driver/ivtv-api.c and change from:

    minor = minor(inode->i_rdev);

    to:

    minor = MINOR(inode->i_rdev);

     
  • Rob Caelers

    Rob Caelers - 2003-11-21

    linux 2.6 patch for Axboe's 031118A

     

Log in to post a comment.