From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Content-Type: multipart/alternative; boundary="_a2fe10f2-f6b3-4d53-937e-da90d6f75496_" From: Jan-Erik Lange Date: Sun, 15 Jan 2012 13:36:36 +0100 MIME-Version: 1.0 Subject: [Xenomai-core] realtime pipes List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org --_a2fe10f2-f6b3-4d53-937e-da90d6f75496_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C =20 it is possible to access a real-time pipe /dev/rtpx within the kernel space= of Linux? Since there is no open function?=20 =20 Is it therefore possible to communicate between the Xenomai Kernel space an= d the Linux Kernel space? =20 Best regards =20 Jan = --_a2fe10f2-f6b3-4d53-937e-da90d6f75496_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello=2C
 =3B
it is possible to access a real-time pipe /dev/rtpx within the kernel space= of Linux? Since there is no open function?
 =3B
Is it therefore =3Bpossible to communicate between the Xenomai Kernel s= pace and the Linux Kernel space?
 =3B
Best regards
 =3B
Jan
= --_a2fe10f2-f6b3-4d53-937e-da90d6f75496_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F130ED3.3030902@domain.hid> Date: Sun, 15 Jan 2012 18:37:23 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] realtime pipes List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan-Erik Lange Cc: xenomai@xenomai.org On 01/15/2012 01:36 PM, Jan-Erik Lange wrote: > > Hello, > > it is possible to access a real-time pipe /dev/rtpx within the kernel > space of Linux? Since there is no open function? Real-time pipes are deprecated. > > Is it therefore possible to communicate between the Xenomai Kernel > space and the Linux Kernel space? As mentioned several time, using anything else in kernel-space than the RTDM API is deprecated. If you are interested in the services the RTDM api offers, see: http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__driverapi.html For instance, you can see a section named "non-real-time signalling services", which probably answers your question. -- Gilles. From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Content-Type: multipart/alternative; boundary="_068309e1-0f17-4a46-91bd-f203bdff3dd1_" From: Jan-Erik Lange Date: Sun, 15 Jan 2012 19:55:44 +0100 In-Reply-To: References: , <4F130ED3.3030902@domain.hid>, MIME-Version: 1.0 Subject: [Xenomai-core] FW: realtime pipes List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org --_068309e1-0f17-4a46-91bd-f203bdff3dd1_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 From: jan0385@domain.hid To: gilles.chanteperdrix@xenomai.org Subject: RE: [Xenomai-core] realtime pipes Date: Sun=2C 15 Jan 2012 19:38:01 +0100 =20 > Date: Sun=2C 15 Jan 2012 18:37:23 +0100 > From: gilles.chanteperdrix@xenomai.org > To: jan0385@domain.hid > CC: xenomai@xenomai.org > Subject: Re: [Xenomai-core] realtime pipes >=20 > On 01/15/2012 01:36 PM=2C Jan-Erik Lange wrote: > >=20 > > Hello=2C > >=20 > > it is possible to access a real-time pipe /dev/rtpx within the kernel > > space of Linux? Since there is no open function? >=20 > Real-time pipes are deprecated. >=20 =20 =20 Are realtime pipes deprecated at all or only in kernel space? And why is the documentation so obsolete? I didn't heard this information = since yet.. =20 > >=20 > > Is it therefore possible to communicate between the Xenomai Kernel > > space and the Linux Kernel space? >=20 > As mentioned several time=2C using anything else in kernel-space than the > RTDM API is deprecated. If you are interested in the services the RTDM > api offers=2C see: >=20 > http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__driverap= i.html >=20 > For instance=2C you can see a section named "non-real-time signalling > services"=2C which probably answers your question. >=20 > --=20 > Gilles. = --_068309e1-0f17-4a46-91bd-f203bdff3dd1_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

 =3B

From: jan0385@domain.hid
To: gilles.chanteperdrix@xenomai.org
Subject= : RE: [Xenomai-core] realtime pipes
Date: Sun=2C 15 Jan 2012 19:38:01 +0= 100


 =3B
>=3B Date: Sun=2C 15 Jan 2012 18:37:23 +0100
>=3B From: gilles.= chanteperdrix@domain.hid
>=3B To: jan0385@domain.hid
>=3B CC: xe= nomai-core@domain.hid
>=3B Subject: Re: [Xenomai-core] realtime pipes
= >=3B
>=3B On 01/15/2012 01:36 PM=2C Jan-Erik Lange wrote:
>=3B= >=3B
>=3B >=3B Hello=2C
>=3B >=3B
>=3B >=3B it is= possible to access a real-time pipe /dev/rtpx within the kernel
>=3B = >=3B space of Linux? Since there is no open function?
>=3B
>= =3B Real-time pipes are deprecated.
>=3B
 =3B
 =3B
Are realtime pipes deprecated at all or only in kernel space?
 =3BAnd why is the documentation so obsolete? I didn't heard this = information since yet..
 =3B

>=3B >=3B
>=3B >=3B Is it therefore possible to commun= icate between the Xenomai Kernel
>=3B >=3B space and the Linux Kerne= l space?
>=3B
>=3B As mentioned several time=2C using anything e= lse in kernel-space than the
>=3B RTDM API is deprecated. If you are i= nterested in the services the RTDM
>=3B api offers=2C see:
>=3B <= BR>>=3B http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__= driverapi.html
>=3B
>=3B For instance=2C you can see a section n= amed "non-real-time signalling
>=3B services"=2C which probably answer= s your question.
>=3B
>=3B --
>=3B Gilles.
=
= --_068309e1-0f17-4a46-91bd-f203bdff3dd1_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F143351.6050406@domain.hid> Date: Mon, 16 Jan 2012 09:25:21 -0500 From: Makarand Pradhan MIME-Version: 1.0 References: <4F130ED3.3030902@domain.hid> In-Reply-To: <4F130ED3.3030902@domain.hid> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] realtime pipes List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Hi, "Real-time pipes are deprecated." We use a lot of rt pipes. So, can you pl elaborate on this? I would highly appreciate if you can comment on the following. 1. When will the rt pipe interface be removed? Any time frame? 2. Would like to understand the reason for deprecating the interface. Thanks and Rgds, Mak. On 15/01/12 12:37 PM, Gilles Chanteperdrix wrote: > Real-time pipes are deprecated. -- ___________________________________________________________________________ NOTICE OF CONFIDENTIALITY: This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this e-mail and any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. _____________________________________________________________________ From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F1435A9.6030609@domain.hid> Date: Mon, 16 Jan 2012 15:35:21 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <4F130ED3.3030902@domain.hid> <4F143351.6050406@domain.hid> In-Reply-To: <4F143351.6050406@domain.hid> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] realtime pipes List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Makarand Pradhan Cc: xenomai@xenomai.org On 01/16/2012 03:25 PM, Makarand Pradhan wrote: > Hi, > > "Real-time pipes are deprecated." > > We use a lot of rt pipes. So, can you pl elaborate on this? I would > highly appreciate if you can comment on the following. > > 1. When will the rt pipe interface be removed? Any time frame? Xenomai 3. Xenomai 2.x will keep them forever. > 2. Would like to understand the reason for deprecating the interface. > - Because there is a better socket-based API implemented by the RTIPC driver w/ the XDDP protocol, which does not require running application level code in kernel space (RT_PIPE is definitely an application level API). This new interface is available since Xenomai 2.5.x. It is functionally 100% equivalent to the legacy RT_PIPE API. - Because no support will be provided in Xenomai 3 for running application level code in kernel space, so RT_PIPE have to go from kernel space. However, RT_PIPE are still part of the user-space API of Xenomai 3, interfacing with XDDP endpoints in kernel space. I'm really referring to application level code, by contrast to RTDM driver level code which will obviously remain a first-class citizen in kernel space. See: o http://www.xenomai.org/index.php/Xenomai:Roadmap o http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__rtipc.html o examples/rtdm/profiles/ipc in the Xenomai distro > Thanks and Rgds, > Mak. > > > On 15/01/12 12:37 PM, Gilles Chanteperdrix wrote: >> Real-time pipes are deprecated. > > -- Philippe. From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F143DB9.70306@domain.hid> Date: Mon, 16 Jan 2012 10:09:45 -0500 From: Makarand Pradhan MIME-Version: 1.0 References: <4F130ED3.3030902@domain.hid> <4F143351.6050406@domain.hid> <4F1435A9.6030609@domain.hid> In-Reply-To: <4F1435A9.6030609@domain.hid> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] realtime pipes List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: "xenomai@xenomai.org" Thanks Philippe. To ensure that I understand correctly, let me rephrase my understanding. In 3.0, the rt_pipe_create and friends will cease to exist. We have to start using the sockets with domain AF_RTIPC and protocol IPCPROTO_XDDP instead. Is that a correct statement? Rgds, Mak. On 16/01/12 09:35 AM, Philippe Gerum wrote: > On 01/16/2012 03:25 PM, Makarand Pradhan wrote: >> Hi, >> >> "Real-time pipes are deprecated." >> >> We use a lot of rt pipes. So, can you pl elaborate on this? I would >> highly appreciate if you can comment on the following. >> >> 1. When will the rt pipe interface be removed? Any time frame? > Xenomai 3. Xenomai 2.x will keep them forever. > >> 2. Would like to understand the reason for deprecating the interface. >> > - Because there is a better socket-based API implemented by the RTIPC > driver w/ the XDDP protocol, which does not require running application > level code in kernel space (RT_PIPE is definitely an application level > API). This new interface is available since Xenomai 2.5.x. It is > functionally 100% equivalent to the legacy RT_PIPE API. > > - Because no support will be provided in Xenomai 3 for running > application level code in kernel space, so RT_PIPE have to go from > kernel space. However, RT_PIPE are still part of the user-space API of > Xenomai 3, interfacing with XDDP endpoints in kernel space. > > I'm really referring to application level code, by contrast to RTDM > driver level code which will obviously remain a first-class citizen in > kernel space. > > See: > > o http://www.xenomai.org/index.php/Xenomai:Roadmap > > o > http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__rtipc.html > > o examples/rtdm/profiles/ipc in the Xenomai distro > >> Thanks and Rgds, >> Mak. >> >> >> On 15/01/12 12:37 PM, Gilles Chanteperdrix wrote: >>> Real-time pipes are deprecated. >> > -- ___________________________________________________________________________ NOTICE OF CONFIDENTIALITY: This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this e-mail and any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. _____________________________________________________________________ From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F144123.9050904@domain.hid> Date: Mon, 16 Jan 2012 16:24:19 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <4F130ED3.3030902@domain.hid> <4F143351.6050406@domain.hid> <4F1435A9.6030609@domain.hid> <4F143DB9.70306@domain.hid> In-Reply-To: <4F143DB9.70306@domain.hid> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] realtime pipes List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Makarand Pradhan Cc: "xenomai@xenomai.org" On 01/16/2012 04:09 PM, Makarand Pradhan wrote: > Thanks Philippe. > > To ensure that I understand correctly, let me rephrase my understanding. > > In 3.0, the rt_pipe_create and friends will cease to exist. We have to > start using the sockets with domain AF_RTIPC and protocol IPCPROTO_XDDP > instead. > > Is that a correct statement? Basically, yes. In addition, X3 will keep the RT_PIPE interface for the -rt endpoint available on the application-side, by wrapping a XDDP socket to a RT_PIPE descriptor under the hood. In kernel space however, the RT_PIPE API to create -rt endpoints won't be available anymore, one will have to create them via the rtdm_socket/rt_dev_socket calls. In any case, the API for the non-rt side does not change, i.e. POSIX file I/O calls will still be the way to interface with the -rt endpoint. > > Rgds, > Mak. > > On 16/01/12 09:35 AM, Philippe Gerum wrote: >> On 01/16/2012 03:25 PM, Makarand Pradhan wrote: >>> Hi, >>> >>> "Real-time pipes are deprecated." >>> >>> We use a lot of rt pipes. So, can you pl elaborate on this? I would >>> highly appreciate if you can comment on the following. >>> >>> 1. When will the rt pipe interface be removed? Any time frame? >> Xenomai 3. Xenomai 2.x will keep them forever. >> >>> 2. Would like to understand the reason for deprecating the interface. >>> >> - Because there is a better socket-based API implemented by the RTIPC >> driver w/ the XDDP protocol, which does not require running application >> level code in kernel space (RT_PIPE is definitely an application level >> API). This new interface is available since Xenomai 2.5.x. It is >> functionally 100% equivalent to the legacy RT_PIPE API. >> >> - Because no support will be provided in Xenomai 3 for running >> application level code in kernel space, so RT_PIPE have to go from >> kernel space. However, RT_PIPE are still part of the user-space API of >> Xenomai 3, interfacing with XDDP endpoints in kernel space. >> >> I'm really referring to application level code, by contrast to RTDM >> driver level code which will obviously remain a first-class citizen in >> kernel space. >> >> See: >> >> o http://www.xenomai.org/index.php/Xenomai:Roadmap >> >> o >> http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__rtipc.html >> >> >> o examples/rtdm/profiles/ipc in the Xenomai distro >> >>> Thanks and Rgds, >>> Mak. >>> >>> >>> On 15/01/12 12:37 PM, Gilles Chanteperdrix wrote: >>>> Real-time pipes are deprecated. >>> >> > > -- Philippe. From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F1443EA.6050906@domain.hid> Date: Mon, 16 Jan 2012 10:36:10 -0500 From: Makarand Pradhan MIME-Version: 1.0 References: <4F130ED3.3030902@domain.hid> <4F143351.6050406@domain.hid> <4F1435A9.6030609@domain.hid> <4F143DB9.70306@domain.hid> <4F144123.9050904@domain.hid> In-Reply-To: <4F144123.9050904@domain.hid> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] realtime pipes List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: "xenomai@xenomai.org" Thanks. On 16/01/12 10:24 AM, Philippe Gerum wrote: > On 01/16/2012 04:09 PM, Makarand Pradhan wrote: >> Thanks Philippe. >> >> To ensure that I understand correctly, let me rephrase my understanding. >> >> In 3.0, the rt_pipe_create and friends will cease to exist. We have to >> start using the sockets with domain AF_RTIPC and protocol IPCPROTO_XDDP >> instead. >> >> Is that a correct statement? > Basically, yes. In addition, X3 will keep the RT_PIPE interface for the > -rt endpoint available on the application-side, by wrapping a XDDP > socket to a RT_PIPE descriptor under the hood. In kernel space however, > the RT_PIPE API to create -rt endpoints won't be available anymore, one > will have to create them via the rtdm_socket/rt_dev_socket calls. > > In any case, the API for the non-rt side does not change, i.e. POSIX > file I/O calls will still be the way to interface with the -rt endpoint. > >> Rgds, >> Mak. >> >> On 16/01/12 09:35 AM, Philippe Gerum wrote: >>> On 01/16/2012 03:25 PM, Makarand Pradhan wrote: >>>> Hi, >>>> >>>> "Real-time pipes are deprecated." >>>> >>>> We use a lot of rt pipes. So, can you pl elaborate on this? I would >>>> highly appreciate if you can comment on the following. >>>> >>>> 1. When will the rt pipe interface be removed? Any time frame? >>> Xenomai 3. Xenomai 2.x will keep them forever. >>> >>>> 2. Would like to understand the reason for deprecating the interface. >>>> >>> - Because there is a better socket-based API implemented by the RTIPC >>> driver w/ the XDDP protocol, which does not require running application >>> level code in kernel space (RT_PIPE is definitely an application level >>> API). This new interface is available since Xenomai 2.5.x. It is >>> functionally 100% equivalent to the legacy RT_PIPE API. >>> >>> - Because no support will be provided in Xenomai 3 for running >>> application level code in kernel space, so RT_PIPE have to go from >>> kernel space. However, RT_PIPE are still part of the user-space API of >>> Xenomai 3, interfacing with XDDP endpoints in kernel space. >>> >>> I'm really referring to application level code, by contrast to RTDM >>> driver level code which will obviously remain a first-class citizen in >>> kernel space. >>> >>> See: >>> >>> o http://www.xenomai.org/index.php/Xenomai:Roadmap >>> >>> o >>> http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__rtipc.html >>> >>> >>> o examples/rtdm/profiles/ipc in the Xenomai distro >>> >>>> Thanks and Rgds, >>>> Mak. >>>> >>>> >>>> On 15/01/12 12:37 PM, Gilles Chanteperdrix wrote: >>>>> Real-time pipes are deprecated. >> > -- ___________________________________________________________________________ NOTICE OF CONFIDENTIALITY: This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this e-mail and any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. _____________________________________________________________________