[转帖]xTimeComposer无法检测startKit - Linux Mint 15
Hello,我昨天收到一个xmos startkit,和我尝试把它联机。
很遗憾,我不能让composer识别它,关于这个我有点失望。我的内核版本是
ico@work ~ $ uname -r
3.8.0-19-generic
我跟着你的教程加入支持USBFS与udev规则,我觉得你提供你的网站一个是不完整的,因为今天(释放2-3天后),我发现了一个教程,增加了在xmos.rules另一条规则。
提供的一个:
SUBSYSTEM!="usb|usb_device", GOTO="xmos_rules_end"
ACTION!="add", GOTO="xmos_rules_end"
# 20b1:f7d1 for xmos xtag2
ATTRS{idVendor}=="20b1", ATTRS{idProduct}=="f7d1", MODE="0666", SYMLINK+="xtag2-%n"
# 0403:6010 for XC-1 with FTDI dual-uart chip
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="0666", SYMLINK+="xc1-%n"
LABEL="xmos_rules_end"
:
SUBSYSTEM!="usb|usb_device", GOTO="xmos_rules_end"
ACTION!="add", GOTO="xmos_rules_end"
# 20b1:f7d1 for xmos xtag2
ATTRS{idVendor}=="20b1", ATTRS{idProduct}=="f7d1", MODE="0666", SYMLINK+="xtag2-%n"
# 20b1:f7d3 for xmos startkit
ATTRS{idVendor}=="20b1", ATTRS{idProduct}=="f7d3", MODE="0666", SYMLINK+="startkit-%n"
# 0403:6010 for XC-1 with FTDI dual-uart chip
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="0666", SYMLINK+="xc1-%n"
LABEL="xmos_rules_end"
我试着用这两个udev的规则集,但是什么也没有改变。
我下载了代码,和运行命令作为一个根:
work Community_13.0.1 # source SetEnv
work Community_13.0.1 # ./xtimecomposer
但它仍然说“xTIMEcomposer无法检测连接到系统中的硬件。”。
虽然现在它显示在终端的警告:
(xTIMEcomposer:3919): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GConf Error: No D-BUS daemon running
回复:
我的解决办法,使这项工作在Linux Mint 15:
sudo usermod -a -G dialout [your_username]
重新启动或注销/登录这里进行组更新活动;
sudo gedit /etc/udev/rules.d/99-xmos.rules
SUBSYSTEM!="usb|usb_device", GOTO="xmos_rules_end"
ACTION!="add", GOTO="xmos_rules_end"
# 20b1:f7d1 for xmos xtag2
ATTR{idVendor}=="20b1", ATTR{idProduct}=="f7d1", MODE="0666", SYMLINK+="xtag2-%n", GROUP="dialout"
# 0403:6010 for XC-1 with FTDI dual-uart chip
ATTR{idVendor}=="0403", ATTR{idProduct}=="6010", MODE="0666", SYMLINK+="xc1-%n", GROUP="dialout"
# 20b1:f7d3 for xmos startkit
ATTR{idVendor}=="20b1", ATTR{idProduct}=="f7d3", MODE="0666", SYMLINK+="startkit-%n", GROUP="dialout"
LABEL="xmos_rules_end"
sudo restart udev
gedit ~/.bashrc
和附加的内容SETENV文件到文件的末尾。编辑XMOS_TOOL_PATH 同时重新连接设备,如果它被连接起来。
希望这会有所帮助
发表时间:2014年8月16日15:35:06