ifconfig can0 up时出错
各位大牛,我打开 ifconfig can0 up时, 出现错误:flexcan imx6q-flexcan.0: bit-timing not yet defined ifconfig: SIOCSIFFLAGS: Invalid argument。从错误信息来看,好像意思是波特率没有设置。然后我用ip 命令设置波特率:ip link set can0 type can bitrate 250000 但是出现了错误信息:
ip: either "dev" is duplicate, or "type" is garbage。不知道怎么打开can0节点了,求指导 没弄过,需要自己研究了 顶顶,求大神 没人吗,一直在线等ing。。。 chen_chuang 发表于 2014-6-26 08:39
没人吗,一直在线等ing。。。
hi,楼主,问题解决了吗,
和你遇到了一样的问题,也是困扰了很久,不知道您有没有找到解决方法 我也遇到同样问题,谁解决了,请说一下 试试下面的命令
ifconfig can0 down
ip link set can0 type can bitrate 100000 triple-sampling on
ifconfig can0 up
接收:
candump can0
发送:
cansend can0 123#DEADBEEF
页:
[1]