I tried this solution on my ubuntu distro (ubuntu studio)tom18 wrote: ↑Fri Jan 04, 2019 2:27 am My setup for using xTIMEcomposer Community 14.3.3 under 64-bit Ubuntu 16.04 and 18.04:
1. install Java runtime from https://java.com/en/download/linux_manual.jsp. I have uninstalled the OpenJDK comes with the system before that.
2.Create /etc/udev/rules.d/99-xmos-xtag.rules with following content to allow Ubuntu to detect xTAG2 or xTAG3 hardware. Remember to change "tom18" to your ID.Plug your xTAG debugger to you PC and run "ls -lR /dev/bus/usb". You should see a device owned by you :Code: Select all
SUBSYSTEM=="usb",ATTR{idVendor}=="20b1",ATTR{idProduct}=="f7d1",ACTION=="add",OWNER="tom18",MODE="0664" SUBSYSTEM=="usb",ATTR{idVendor}=="20b1",ATTR{idProduct}=="f7d4",ACTION=="add",OWNER="tom18",MODE="0664"
3. As described earlier in the thread, comment out line 144 inside xTIMEcomposer/Community_14.3.3/bin/xtimecomposer to fix the square character issue:Code: Select all
crw-rw-r-- 1 root root 189, 5 Jan 4 08:03 006 crw-rw-r-- 1 root root 189, 6 Jan 4 08:03 007 crw-rw-r-- 1 root root 189, 7 Jan 4 08:03 008 crw-rw-r-- 1 tom18 root 189, 9 Jan 4 09:22 010
Code: Select all
# $ENV{LD_LIBRARY_PATH} = "$installpath/xtimecomposer_bin/swtbrowserlibs:$ENV{LD_LIBRARY_PATH}";
Added udev rule as above suggested by copy-paste and editing my username to it and listed connected usb devices.
Code: Select all
ls -lR /dev/bus/usb/
Code: Select all
crw-rw-r-- 1 root root 189, 128 huhti 22 07:32 001
crw-rw-r-- 1 root root 189, 129 huhti 22 07:32 002
crw-rw-rw- 1 user root 189, 131 huhti 22 07:32 004
crw-rw-r-- 1 root root 189, 132 huhti 22 07:32 005
Code: Select all
cd /pathtocomposerrootdirectory/
source SetEnv
xtimecomposer