On 04/11/2012 06:00 PM, Minh GIANG wrote:
> thank you, it means that i have to apply this patch to my Xenomai tree, and
> rebuild the kernel since the beginning. Ok, i will try it and keep you
> posted.

Yes. At a closer look I realized that cross-link.c does set it's own
configuration. Therefore I have a few questions:

- do you use an *unmodified* version of cross-link.c?

- What Xenomai version do you use?

- What Linux kernel version do you use?

- How do you build "cross-link"?

And please do not drop the CC to the list.

Wolfgang.

> On Wed, Apr 11, 2012 at 4:19 PM, Wolfgang Grandegger 
> <[email protected]>wrote:
> 
>> 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
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to