Hi, On 04/05/2012 02:46 PM, Minh GIANG wrote: > i'm sorry sir, what i displayed just in the last mail, isn't good, because > i removed rt_dev_ioctl(...) in cross-link program > And then, with rt_dev_ioctl( RTSER_RTIOC_WAIT_EVENT ). > > [93076.465077] base=0x2f8 iir=0x4 > [93076.465082] base=0x2f8 status=0x0 > [93076.465084] base=0x2f8 iir=0x1
TX on rtser0: > [93076.556794] base=0x3f8 iir=0x2 > [93076.556799] base=0x3f8 status=0x0 > [93076.556801] base=0x3f8 iir=0x1 RX of 8 chars on rtser1: > [93076.557819] base=0x2f8 iir=0x4 > [93076.557823] base=0x2f8 status=0x0 > [93076.557825] base=0x2f8 iir=0x1 > [93076.558860] base=0x2f8 iir=0x4 > [93076.558865] base=0x2f8 status=0x0 > [93076.558867] base=0x2f8 iir=0x1 > [93076.559898] base=0x2f8 iir=0x4 > [93076.559901] base=0x2f8 status=0x0 > [93076.559903] base=0x2f8 iir=0x1 > [93076.560943] base=0x2f8 iir=0x4 > [93076.560946] base=0x2f8 status=0x0 > [93076.560948] base=0x2f8 iir=0x1 > [93076.561969] base=0x2f8 iir=0x4 > [93076.561971] base=0x2f8 status=0x0 > [93076.561973] base=0x2f8 iir=0x1 > [93076.563006] base=0x2f8 iir=0x4 > [93076.563009] base=0x2f8 status=0x0 > [93076.563011] base=0x2f8 iir=0x1 > [93076.564012] base=0x2f8 iir=0x4 > [93076.564012] base=0x2f8 status=0x0 > [93076.564012] base=0x2f8 iir=0x1 > [93076.564012] base=0x2f8 iir=0x4 > [93076.564012] base=0x2f8 status=0x0 > [93076.564012] base=0x2f8 iir=0x1 TX on rtser0: > [93076.656766] base=0x3f8 iir=0x2 > [93076.656770] base=0x3f8 status=0x0 > [93076.656772] base=0x3f8 iir=0x1 RX on rtser1: > [93076.657793] base=0x2f8 iir=0x4 > [93076.657795] base=0x2f8 status=0x0 > [93076.657797] base=0x2f8 iir=0x1 ... and so on. This looks completely normal and I'm really puzzled why the rt_dev_ioctl(RTSER_RTIOC_WAIT_EVENT) does not work as expected. Ah, I just realized that the following patch was not yet applied: https://mail.gna.org/public/xenomai-core/2011-11/msg00009.html I think it will fix your problem. Wolfgang. _______________________________________________ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help