All appears fine with the vcan interface - tst_rcv_own_msgs runs with both echo=1 or echo=0. I suspected this would be case, since the CAN utilities candump and cansend work as expected when run on the vcan interface as well.

On 07/18/2011 09:37 AM, Oliver Hartkopp wrote:
On 18.07.2011 15:37, Mike Brown wrote:
I'll try the testcode you recommended.  I do however have the following test
code that does work as expected (default is loopback on according to the
SocketCAN documentation).  This test takes
two arguments - write can interface, and the read can interface.

If write = read = vcan2, all is good.
if write = can0, read = can1, all is good
if write = read = can0, the read never sees anything, same if can1 is used.
Yes, looks like the known issue.

Please check with the recommended tools.

When you load the vcan module with 'echo=1' you should get the problem with
your programm too.

Regards,
Oliver

ps. please check your mail client - you sent your reply to a pretty broken
destination ;-)
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to