+ Reply to Thread
Results 1 to 1 of 1

Thread: Installing using devkit ARM

Hybrid View

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

    Installing using devkit ARM

    Installing x10i driver on rasbian (squeeze/wheezy) fresh install.
    -----------------------------------------------------

    Tips:

    1. At your own risk use sudo -s, and you will be able to forget the sudo at the start of each line.


    1. Download the drivers from Heber website.

    download "Development Kit(Raspberry Pi (Squeeze/Wheezy))" and select save from this link.
    http://www.heber.co.uk/support/downl.../#x10isoftware


    2. Move and decompress the xline devkit, using the teminal.

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

    3. copy the xline driver.

    cd /usr/src/xlinedevkit_arm/driver/
    sudo mkdir /lib/modules/3.1.9+/extra
    sudo cp xline.ko /lib/modules/3.1.9+/extra/.
    sudo depmod

    4. Installing the shared library...

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

    5. Create x10i device permissions.

    cd /etc/udev/rules.d
    sudo touch 50-udev.rules
    sudo chmod 666 50-udev.rules
    sudo pico 50-udev.rules

    *edit and add the following line to the newly created rules file:
    KERNEL=="Xline_?",SUBSYSTEM=="Xline",MODE="666"

    *save ^O RETURN
    *exit ^X
    *connect the x10i board.

    6. Load the x10i kernel module.

    sudo modprobe xline

    7. Build and run C++ samples

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

    8. Build and run the C examples.

    cd /usr/src/xlinedevkit_arm/samplesc/
    sudo make -f makefile.linux clean binaries
    ./fadedemo
    Last edited by nigelb; 07-24-2012 at 12:55 PM. Reason: update
    Nigel Brown
    Product Support Engineer
    Heber Ltd.
    SKYPE: nigel_b_heber

+ 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