From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <514FFFCF.3010102@xenomai.org> Date: Mon, 25 Mar 2013 08:42:07 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <514F79C2.6080807@xenomai.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] CAN bus on beaglebone List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Davide Faconti Cc: xenomai On 03/25/2013 12:25 AM, Davide Faconti wrote: > Hi, Hi, > > I tried but the output isn't very different (I hope I did everything > correctly...) > > >> mode: start (0x1) >> Can't get interface index for rtcan0, code = -19 The patch is supposed to fix the issue "Socket: protocol not supported" you would get when trying to use linux socketcan interface with a program compiled with xenomai posix skin flags. Which is why my answer quoted this error message. > > By the way, I also get this: > >> [ 4477.943935] Xenomai: RTDM: closing file descriptor 0. You get that because you exit from the program without closing the RTDM file descriptor 0. -- Gilles.