On 14.07.2011 10:32, tommy.hong wrote:

> [root@s3c6410 /]# ifconfig can0 up
> sja1000_platform sja1000_platform.0: bit-timing not yet defined
> ifconfig: SIOCSIFFLAGS: Invalid argument
> [root@s3c64xx /]# cat /proc/interrupts
> 
> there are no my CAN interrupt
> 
> according to above error,i need to use iproute to "ip link set can0 up type
> can bitrate 1000000"?

We formerly had a misconfiguration problem for the bitrate on ubuntu systems.

Please check whether CONFIG_CAN_CALC_BITTIMING=y in your kernel konfig

and - yes, you need to use iproute to set the bitrate.

Setting the bitrate is *mandatory* to set the interface to 'up'.

Regards,
Oliver
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to