From mboxrd@z Thu Jan 1 00:00:00 1970 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C75756.F77E91ED" Date: Fri, 23 Feb 2007 15:29:03 +0100 Message-ID: From: "Lauener Nathan" Subject: [Xenomai-help] error after timeout on serial port List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C75756.F77E91ED Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I am polling on a serial port during an init sequence of a positioning device. Every once in a while I get a return code indicating that a timeout occured, code -110 (ETIMEDOUT). After a timeout occured I can't read the port anymore. Whenever I call rt_dev_read() again the function returns the error code -14 (EFAULT). Is there a flag I must clear to get the port operatioanl again? Regards Nathan =20 ------_=_NextPart_001_01C75756.F77E91ED Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable error after timeout on serial port

Hi,

I am polling on a serial port during an = init sequence of a positioning device. Every once in a while I get a = return code indicating that a timeout occured, code -110 (ETIMEDOUT). = After a timeout occured I can't read the port anymore. Whenever I call = rt_dev_read() again the function returns the error code -14 (EFAULT). Is = there a flag I must clear to get the port operatioanl again?

Regards
Nathan  


------_=_NextPart_001_01C75756.F77E91ED--