linux-fusion icon indicating copy to clipboard operation
linux-fusion copied to clipboard

Official DirectFB GitHub Repository (linux-fusion)

Easy installation without kernel patch

  1. Run 'make' and 'make install'. It builds and installs the module for the running kernel version as reported by 'uname -r'. If you want to build for another kernel, edit the Makefile.

  2. Either run 'modprobe fusion' manually or add "fusion" to "/etc/modules".

  3. Create the fusion device(s) if not using devfs or udev:

    mkdir /dev/fusion mknod /dev/fusion/0 c 250 0

    ...if you need more than one session

    mknod /dev/fusion/1 c 250 1 mknod /dev/fusion/2 c 250 2

    ...and so on (currently limited to eight sessions)

  4. Add udev rules to /etc/udev/rules.d/40-fusion.rules if using udev:

    KERNEL=="fusion[0-9]*", NAME="fusion/%n", GROUP="video", MODE="0660"

    ...customize to suit your needs

Special arguments for cross builds

  1. Simple example:

    make KERNEL_VERSION=2.6.25.4 SYSROOT=/opt/sh7723 install

  2. Explicit source tree:

    make KERNEL_VERSION=2.6.25.4 SYSROOT=/opt/sh7723 KERNEL_BUILD=/home/sh7723/kernel install