From: Wolfgang Grandegger <wg@domain.hid>
To: Minh GIANG <giang.hminh@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Cross-link.c ---RTSER_RTIOC_WAIT_EVENT
Date: Wed, 11 Apr 2012 18:10:56 +0200 [thread overview]
Message-ID: <4F85AD10.90701@domain.hid> (raw)
In-Reply-To: <CAGq8jPhmG-Zad1EpcVitzW9aY0rvA-4asb2f9Ncfs8FZ6D2CyQ@mail.gmail.com>
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 <wg@domain.hid>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.
>>
>>
>
next prev parent reply other threads:[~2012-04-11 16:10 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-29 15:26 [Xenomai-help] Cross-link.c ---RTSER_RTIOC_WAIT_EVENT Minh GIANG
2012-03-30 6:43 ` Wolfgang Grandegger
[not found] ` <CAGq8jPioLnu+ehj+LA5dL6OWUpxQnUH+Nh01kB088FtsLsSrGA@mail.gmail.com>
[not found] ` <CAGq8jPi4S4TTBy9dLYYnWuWQdX_awhXxu0C93okgFO5vWv_20A@mail.gmail.com>
2012-03-30 13:31 ` Wolfgang Grandegger
2012-03-30 14:34 ` Minh GIANG
2012-03-30 14:48 ` Wolfgang Grandegger
2012-04-02 8:25 ` Minh GIANG
2012-04-02 16:38 ` Wolfgang Grandegger
2012-04-04 9:18 ` Minh GIANG
2012-04-05 10:56 ` Wolfgang Grandegger
2012-04-05 12:36 ` Minh GIANG
[not found] ` <CAGq8jPgON96yy7_wOCSs83QwxVrfSsTn-fe1P+EBZ8-KLMfj0A@mail.gmail.com>
2012-04-11 14:19 ` Wolfgang Grandegger
[not found] ` <CAGq8jPhmG-Zad1EpcVitzW9aY0rvA-4asb2f9Ncfs8FZ6D2CyQ@mail.gmail.com>
2012-04-11 16:10 ` Wolfgang Grandegger [this message]
2012-04-11 16:56 ` Gilles Chanteperdrix
2012-04-11 16:59 ` Gilles Chanteperdrix
2012-04-11 19:01 ` Wolfgang Grandegger
2012-04-11 20:51 ` Minh GIANG
2012-04-12 7:52 ` Wolfgang Grandegger
2012-04-12 8:51 ` Minh GIANG
2012-04-12 16:31 ` Wolfgang Grandegger
2012-04-25 9:11 ` Minh GIANG
2012-04-25 9:27 ` Wolfgang Grandegger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F85AD10.90701@domain.hid \
--to=wg@domain.hid \
--cc=giang.hminh@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.