From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45DD8B42.1020709@domain.hid> Date: Thu, 22 Feb 2007 13:23:30 +0100 From: Wolfgang Grandegger MIME-Version: 1.0 Subject: Re: [Xenomai-help] CAN driver References: <45DC1D05.1000206@domain.hid> <45DC2478.2020602@domain.hid> <45DC39DE.8050802@domain.hid> <45DC3E6C.8040905@domain.hid> <45DD5DC0.6040402@domain.hid> <45DD7C42.9070407@domain.hid> <45DD8438.4030306@domain.hid> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: roland Tollenaar Cc: Xenomai-help@domain.hid, Jan Kiszka roland Tollenaar wrote: > Hi Jan, Wolfgang, > >> Your devices have not yet show up on your system. I guess there is no >> entry in /proc/rtcan/devices. Check your boot log. > > There are no entries in /prc/rtcan/deices. > > dmesg | grep "rtcan" or > dmesg | grep "rtcan*" > > yields nothing. Can you post the compete dmesg output? > I have checked the .config for the kernel build and CAN is statically > built into it. > > I would prefer to statically build these things into the kernel due to > unwieldiness of my ditribution. If this is not possible I will make > modules. But is this the cause of problem I am having? The driver for the dongle will not start properly when statically linked into the kernel. There should be a log message, though. > I have no device hooked to my system (PEAK dongle on its way) and the > virtual driver and TX loopback ability has been excluded from the > kernel build. Is this possibly why i have no devices listed in > proc/rtcan/devices? Without device it will not register anyhow and see above. Wolfgang. > On 2/22/07, Wolfgang Grandegger wrote: >> roland Tollenaar wrote: >> > Hi Jan, >> > >> >> >> >> rtcanX are networking devices, but only visible in the context of >> >> RTDM/AF_CAN. >> > What is this? >> > >> > To enable them, use rtcanconfig as explained in the README. >> > Which README are you referring to? The only one I know of that says >> > something about rtcanconfig is in /src/utils/can and it does not >> > explain how to use ctrlmode and bittime. There is an example in it >> > >> > rtcanconfig rtcan0 --baudrate=125000 start. >> > >> > If I try >> > >> > rtcanconfig rtcan0 --baudrate=125000 start >> > >> > I get: >> > >> > "Can't get interface index for rtcan0, code=-19" >> > >> > Any idea what is wrong? >> >> Your devices have not yet show up on your system. I guess there is no >> entry in /proc/rtcan/devices. Check your boot log. >> >> Wolfgang. >> >> > >