First I am using 32 bit version at the moment so I downloaded the 32 bit Linux redhat version from XMOS downloads, if you are not sure open a terminal window and run 'arch' if it shows *-64 you will need the 64 bit version instead mine reported a plain 'i686'. If you use the 64 bit version you may need to add 32bit compatible libraries see xmos FAQ.
Once downloaded decompress (or have Firefox unarchive it automagically), the dir structure will be like this XMOS/DesktopTools/version/ mine was XMOS/DesktopTools/9.9.1 .You will need to open a terminal and cd into it e.g
Code: Select all
cd XMOS/DesktopTools/9.9.1
Next you need to edit your fstab file (this controls how file systems are mounted among other things, this can include usb devices.
Code: Select all
sudo nano /etc/fstab
Add these two lines at the bottom:
none /proc/bus/usb usbfs defaults,devmode=0666 0 0
none /dev/bus/usb usbfs defaults,devmode=0666 0 0
Then save (Control-O)
Make sure the changes are loaded by issuing the following commands in the terminal
Code: Select all
sudo umount /proc/bus/usb
sudo mount /proc/bus/usb
sudo umount /dev/bus/usb
sudo mount /dev/bus/usb
Code: Select all
source SetEnv
xrun --listdevices
If it doesn't try physically reconnecting the XC-2, if problems persist you may even need to restart the system
Assuming you can see you XC-2 using xrun you now need to get the XMOS Developement Environment (XDE) up, this is where you could run into issues like myself.
First try to run the XDE
Code: Select all
./XDE
If you get a unhelpful small empty dialog box up (xde.exe) you are going to need to take steps because you have run into the XULRunner issue, heres a way to get around it.
The version of Eclipse you are using within XDE uses XulRunner part of Firefox's dev environment to bring up a splash screen the very first time you run it (this is and Eclipse/XulRunner issue). The simplest way to I found to get around this was found on an Linkers thread, which is to deinstall XulRunner temporarily, run XDE, quit XDE and reinstall Firefox. beware this may also deinstall a bunch of other stuff like your Ubuntu documentation!! I am waiting for a better suggestion but here is what I did :
Code: Select all
sudo apt-get remove xulrunner-*
./XDE
Code: Select all
apt-get install firefox
Bingo you now ROCK, pat yourself on the back you are now an Ubuntu XMOS developer Jedi please pass on you valuable knowledge to your Padawan, and don't forget to join XEOS ;-)
regards
Al