problem with xtimecomposer on ubuntu 16.04

If you have a simple question and just want an answer.
troldenstein
Member
Posts: 9
Joined: Tue Feb 04, 2020 1:33 pm

Re: problem with xtimecomposer on ubuntu 16.04

Postby troldenstein » Wed Apr 22, 2020 5:45 am

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.

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"
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

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
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

#            $ENV{LD_LIBRARY_PATH} = "$installpath/xtimecomposer_bin/swtbrowserlibs:$ENV{LD_LIBRARY_PATH}";
I tried this solution on my ubuntu distro (ubuntu studio)

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
Now i started xtimecomposer with:

Code: Select all

cd /pathtocomposerrootdirectory/
source SetEnv
xtimecomposer
and still.. xtag is not detected by the composer studio. Any suggestions?
troldenstein
Member
Posts: 9
Joined: Tue Feb 04, 2020 1:33 pm

Postby troldenstein » Fri Apr 24, 2020 5:24 am

okay.. libncurses5 was missing somehow:

sudo apt install libncurses5

Now everything is smooth. ':D
Gsmith
Newbie
Posts: 1
Joined: Tue Apr 28, 2020 1:50 am

Postby Gsmith » Tue Apr 28, 2020 2:45 am

What is the purpose of the OWNER="tom18"?
User avatar
akp
Respected Member
Posts: 406
Joined: Thu Nov 26, 2015 11:47 pm

Postby akp » Tue Apr 28, 2020 3:00 pm

I'm pretty sure he/she just set the owner to their Ubuntu username, if you refer to the statement 'Remember to change "tom18" to your ID.'

Who is online

Users browsing this forum: No registered users and 3 guests