+ Reply to Thread
Results 1 to 2 of 2

Thread: Install latest drivers on Ubuntu 11.04

  1. #1
    Heber - Support nigelb's Avatar
    Join Date
    May 2010
    Posts
    26

    Install latest drivers on Ubuntu 11.04

    1. Download the drivers from Heber website. (you may need an updated xline_driver.c ask support@heber.co.uk for this)

    download Development Kit (Linux) and select save from this link.
    http://www.heber.co.uk/support/downl.../#x10isoftware


    2. Move and decompress the xline devkit.

    cd ~/Downloads/
    sudo cp -r ~/Downloads/xlinedevkit.tar.gz /usr/src/.
    cd /usr/src/
    sudo tar -xzvf xlinedevkit.tar.gz
    sudo rm xlinedevkit.tar.gz


    3. Build module source.

    cd /usr/src/xlinedevkit/driver/
    sudo make -C /usr/src/linux-headers-$(uname -r)/ SUBDIRS=`pwd` modules
    sudo make -C /usr/src/linux-headers-$(uname -r)/ SUBDIRS=`pwd` modules_install

    4. Installing the shared library.

    cd /usr/src/xlinedevkit/lib/
    sudo cp -a fflyusb.so /usr/lib
    sudo ln -s /usr/lib/fflyusb.so /usr/lib/libfflyusb.so

    5. Create x10i device permissions.

    cd /etc/udev/rules.d
    sudo touch 50-udev.rules
    sudo chmod 666 50-udev.rules
    edit and add the following line to the newly created rules file:
    KERNEL=="Xline?",SUBSYSTEM=="Xline",MODE="666"
    connect the x10i board.

    6. Load the x10i kernel module.

    modprobe xline

    7. Build and run C++ samples

    cd /usr/src/xlinedevkit/samples/
    sudo make -f makefile clean binaries
    ./fadedemo

    8. Build and run the C examples.

    cd /usr/src/xlinedevkit/samplesc/
    sudo make -f makefile clean binaries
    ./fadedemo
    Nigel Brown
    Product Support Engineer
    Heber Ltd.
    SKYPE: nigel_b_heber

  2. #2
    Junior Member
    Join Date
    Aug 2010
    Location
    San Jose, CA
    Posts
    9
    Unfortunately, "linux/smp_lock.h" is removed since Kernel v2.6.39 and this causes the latest Linux SDK not to compile on Kernels > v2.6.39. Do you have a patch for newer kernels which fixes this build issue ?

    Thanks,

    Miroslav

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts