From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4FEC46B5.7060700@grandegger.com> Date: Thu, 28 Jun 2012 13:57:41 +0200 From: Wolfgang Grandegger MIME-Version: 1.0 References: , <4FE60190.5000108@xenomai.org> <4FEC3FF0.1050307@grandegger.com>, <4FEC4245.9090804@grandegger.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Peak PCI CAN card RTCAN problem List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kronander Klas Cc: "xenomai@xenomai.org" Hello, On 06/28/2012 01:45 PM, Kronander Klas wrote: > Hi, > > I still get the same error: > > mode: start(0x1) > Cannot open RTDM CAN Socket. Maybe Driver not loaded? > > I guess this error message is related to this line in my syslog (?) : > > Jun 28 11:58:14 wam-desktop kernel: [ 13.017820] Xenomai: xnintr_shirq_handler: IRQ17 not handled. Disabling IRQ line. > > the CAN card is on IRQ 17. I don't think so. It's an unrelated issue. There is a problem with the protocol in the first place. Could you please hack "rtcanconfig.c" to print the return value of rt_dev_socket? Most likely it will return -EPROTONOSUPPORT. Wolfgang.