Hi,

I am trying to set the bit-rate in i.Mx6 processor in android.
I am using iproute2 utility to set bitrate for CAN controller. The command 
used to set the bitrate is given below:

#*ip link set can0 type can bitrate 125000

*
While I am trying to set the bitrate in android using below command, I am 
getting error message.
 
#*ip link set can0 type can bitrate 125000*
** 
The error message is given below:
 
*Garbage instead of arguments \"bitrate ...\". " "Try \"ip link help\""

*
I analysed and debugged inside the source code of this utility and compared 
with the Linux utility source. I found that the error was occurred in the 
system call *dlsym().*
** 
*       l = dlsym(dlh, buf);
        if (l == NULL)
                return NULL;*
** 
This function suppose to return some valid address. But in my case, its 
returning the NULL.

Please suggest me any solution to solve this issue. I am struggling with 
this one for 3 weeks.

Thanks in advance,

regards,
Salih




-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to