All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Marco Jackel <ich@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Re: read data from serial device
Date: Thu, 23 Mar 2006 14:22:19 +0100	[thread overview]
Message-ID: <4422A10B.90508@domain.hid> (raw)
In-Reply-To: <dvu5ud$90v$1@domain.hid>

Marco Jackel wrote:
> Hi,
> 
> Philippe Gerum wrote:
> 
>>Marco Jackel wrote:
>>
>>>"rt_dev_read" gives negative Results. Whats wrong?
>>
>>Which negative code is returned exactely?
> 
> It returns -5

-EIO. Except for traditional RTOS skins like VxWorks, VRTX and so on 
which have their own error list, we tend to normalize on POSIX error 
codes in all other parts of the codebase.

Regarding the EIO issue, it looks like a transmission error has been 
detected on the read-side by the 16650A driver. Jan will likely tell you 
more when time allows.

> 
> Are the error-codes documented somewehere?
> 

Yes, the documentation link on our website is a good starting point. For 
the particular EIO issue on the serial driver, I'm not sure there is a 
lot more explanations than the one above, though.

> Thanks
> Maggo
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 

Philippe.


  reply	other threads:[~2006-03-23 13:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-22 15:46 [Xenomai-help] read data from serial device Marco Jackel
2006-03-23 10:08 ` [Xenomai-help] " Marco Jackel
2006-03-23 12:41 ` Marco Jackel
2006-03-23 12:49   ` Philippe Gerum
2006-03-23 12:56     ` Marco Jackel
2006-03-23 13:22       ` Philippe Gerum [this message]
2006-03-24 12:20         ` Jan Kiszka
2006-03-23 12:56   ` Gilles Chanteperdrix
2006-03-23 13:21     ` Marco Jackel
2006-03-24 12:36 ` [Xenomai-help] " Jan Kiszka
2006-03-24 17:09   ` [Xenomai-help] " Marco Jackel
2006-03-24 17:23     ` Jan Kiszka
2006-03-24 17:42       ` Marco Jackel
2006-03-25  1:06       ` Marco Jackel

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=4422A10B.90508@domain.hid \
    --to=rpm@xenomai.org \
    --cc=ich@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.