From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Hartkopp Subject: Re: Problem with Eurotech COM1273 Dual Channel CAN PC104 Module. Date: Tue, 15 Apr 2014 12:50:40 +0200 Message-ID: <534D0F00.7000202@hartkopp.net> References: <164afc991761b9eeb0eec6902814d00e@grandegger.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.219]:23277 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751232AbaDOKvD (ORCPT ); Tue, 15 Apr 2014 06:51:03 -0400 In-Reply-To: <164afc991761b9eeb0eec6902814d00e@grandegger.com> Sender: linux-can-owner@vger.kernel.org List-ID: To: Wolfgang Grandegger , khurram gulzar Cc: linux-can@vger.kernel.org Hello Khurram, we're obviously in a time loop :-) See your same request ~5 years ago: http://socket-can.996257.n3.nabble.com/Support-needed-for-Eurotech-COM1273-Dual-Channel-CAN-PC104-Module-td1524.html I assume the sja1000_isa driver will be the right one for this old card. It is part of mainline Linux - so no need to compile old SocketCAN sources from the SVN. Regards, Oliver On 15.04.2014 11:55, Wolfgang Grandegger wrote: > Hi Khurram, > > we have switched to a new mailing list some time ago, which I have > therefore added to the CC. > > On Tue, 15 Apr 2014 11:07:15 +0300, khurram gulzar > wrote: >> Hi Oliver and Wolfgang, >> Thanks for your support in advance >> I have recently updated the system from Kernel 2.6 to use the new kernel >> 3.2 for linux. I have noticed that the socket-can is integrated in the >> kernel. I enabled the driver in the kernel from the kernel config. >> The drivers are loaded successfully and both the CAN are transmitting > the >> packets. However its unable to receive any packets on any of the CAN. >> The system configurations are still the same loaded drivers >> -> can.ko-> can-raw.ko-> sja1000-iomux > > There is now module named "sja1000-iomux" in the mainline kernel. > Where did you get it from? > >> The address of can is configured to base=0x200,0x204 and irq=10,11 with >> speed=1000,1000 i.e. 1Mbits/sec >> I have checked the irq in /proc/interrupts. IRQ 10 and 11 are showing >> connected to CAN0 and CAN1. > > Do the IRQ counts increase when you send messages? > >> Can you please tell me what seems to be wrong- Waiting for your >> reply > > Could you switch to a recent mainline kernel version? > > Wolfgang. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-can" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >