All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brandt Erickson <berickso@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rtser not showing up
Date: Tue, 08 May 2007 15:45:57 -0600	[thread overview]
Message-ID: <1178660757.5074.15.camel@domain.hid> (raw)
In-Reply-To: <1178659440.5074.9.camel@domain.hid>


> Right now, it appears I can open the file (rt_dev_open returns 0) and
> configure the serial port (using rt_dev_ioctl), however, every call to
> rt_dev_write returns -1.  I'm using the configuration from the example
> code which basically has everything set to defaults.  Is there an
> equivalent of errno I can get to find out what's going wrong?  Thanks.
> -Brandt

Slight modification here, it does write correctly if I call rt_dev_write
from a task spawned by main, but not if I call it from main itself.  So
I guess this is less about rtser per se and more about the rtdm API.



  reply	other threads:[~2007-05-08 21:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-08 17:34 [Xenomai-help] rtser not showing up Brandt Erickson
2007-05-08 18:42 ` Gilles Chanteperdrix
2007-05-08 21:23   ` Brandt Erickson
2007-05-08 21:45     ` Brandt Erickson [this message]
2007-05-08 21:52     ` Gilles Chanteperdrix
2007-05-09  6:30       ` Jan Kiszka

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=1178660757.5074.15.camel@domain.hid \
    --to=berickso@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.