All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] rt_pipe_create() and P_MINOR_AUTO
@ 2006-01-12 23:02 Kent Borg
  2006-01-13  7:38 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Kent Borg @ 2006-01-12 23:02 UTC (permalink / raw)
  To: xenomai

Hello,

First things first: I am using version Xenomai 2.0.1 on a recompiled
Ubuntu kernel version 2.6.14.3.

I am confused by rt_pipe_create(), specifically, the "minor"
parameter.  The writeup at
http://snail.fsffrance.org/www.xenomai.org/documentation/branches/v2.0.x/html/api/group__pipe.html#ga20
says that:

  Passing P_MINOR_AUTO causes the minor number to be
  auto-allocated. In such a case, the name parameter must be valid so
  that user-space processes may subsequently follow the symbolic link
  that will be automatically created from
  /proc/xenomai/registry/pipes/name to the allocated pipe device entry
  (i.e. /dev/rtp*).

Sounds great, but it doesn't seem true.  <mope>  

So I have to manage minor usage be hand until P_MINOR_AUTO is
implemented, or did I miss something?


Thanks,

-kb, the Kent who hasn't had a chance to try the 2.6.15 kernel he
started playing with last week.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-core] rt_pipe_create() and P_MINOR_AUTO
  2006-01-12 23:02 [Xenomai-core] rt_pipe_create() and P_MINOR_AUTO Kent Borg
@ 2006-01-13  7:38 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2006-01-13  7:38 UTC (permalink / raw)
  To: Kent Borg; +Cc: xenomai

Kent Borg wrote:
> Hello,
> 
> First things first: I am using version Xenomai 2.0.1 on a recompiled
> Ubuntu kernel version 2.6.14.3.
> 
> I am confused by rt_pipe_create(), specifically, the "minor"
> parameter.  The writeup at
> http://snail.fsffrance.org/www.xenomai.org/documentation/branches/v2.0.x/html/api/group__pipe.html#ga20
> says that:
> 
>   Passing P_MINOR_AUTO causes the minor number to be
>   auto-allocated. In such a case, the name parameter must be valid so
>   that user-space processes may subsequently follow the symbolic link
>   that will be automatically created from
>   /proc/xenomai/registry/pipes/name to the allocated pipe device entry
>   (i.e. /dev/rtp*).
> 
> Sounds great, but it doesn't seem true.  <mope>  

eh. P_MINOR_AUTO appears in 2.0.2.

> 
> So I have to manage minor usage be hand until P_MINOR_AUTO is
> implemented, or did I miss something?
> 
> 
> Thanks,
> 
> -kb, the Kent who hasn't had a chance to try the 2.6.15 kernel he
> started playing with last week.
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
> 


-- 

Philippe.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-13  7:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-12 23:02 [Xenomai-core] rt_pipe_create() and P_MINOR_AUTO Kent Borg
2006-01-13  7:38 ` Philippe Gerum

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.