On 02/27/2013 08:04 PM, Daniel M. Drucker, Ph.D. wrote: > Hello all, > > We have a PC/104 computer with a PEAK PC/104-PLUS card which we are > successfully using to talk CAN from within Xenomai. For various reasons, we > want to switch to using a mini-ITX board. > > We're trying to use the PEAK PCAN-miniPCIe card on the mini-ITX board, but > we are having no luck - the card doesn't seem to get seen by Xenomai. > > We're not sure if this is an IRQ problem or something else. On the PC104 > system, we had an IRQ conflict which we were able to solve by changing a > jumper - the new card has no jumpers to change, and our motherboard's BIOS > does not have any settings that allow changing of daughterboard IRQs. > > Both systems are running the same OS install with the same kernel. The > 'latency' command in the Xenomai testsuite runs correctly on both systems. > > I have put together a comparison of command outputs on the old (working) > and new (non-working) systems: http://goo.gl/GBy8h
"lspci" list different PCI device IDs for the cards on the old and new system. The new card with the ID 001c:0008 is not (yet) supported. > Any insight into what's wrong in our new system and how to get it working > would be greatly appreciated! As this new card is already supported in the mainline Linux driver [1], does have just two channels and does not need special handling, simply adding that vendor:device ID here should work: http://www.rts.uni-hannover.de/xenomai/lxr/source/ksrc/drivers/can/sja1000/rtcan_peak_pci.c#0079 [1] http://lxr.linux.no/#linux+v3.8/drivers/net/can/sja1000/peak_pci.c#L72 Wolfgang. _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
