Skip to contentSkip to conversation

10 CAN interfaces on ECAN-527d

Socketcan-users Oliver Hartkopp 1 participant 1 message Nov 23, 2011 2 messages not in the archive CAN network drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 13 lines · Marc Kleine-Budde
Quoted 7 lines · IreneV

Hello,
I'm a newbie in CAN-interface and I have to write some programs for MicroPC with ECAN-527D board under Ubuntu. After installing drivers from disk 10 CAN-interfaces appear in /dev/ and datasheet says that it must be so. Can anyone tell me why there are 10 interface instead of 2 (the board is dual-channel)?

I don't know the driver, and it's not using the official linux socketcan interface. The driver you're using is probably not so well written and supports up to 10 CAN interfaces this is why 10 interfaces pop up in /dev.

Quoted 8 lines

About three years ago Alexey Serov[1] (Cc'ed) was using the same board, but a socketcan driver. I don't know if the driver is mainline meanwhile. I suggest to use the socketcan driver and not the vendor specific one.

cheers, Marc

[1] http://old.nabble.com/problem-with-82527-PC-104-board-td19020937.html

I think the referenced i82527-iomem driver

http://svn.berlios.de/wsvn/socketcan/trunk/kernel/2.6/drivers/net/can/old/i82527/?#ac21816bb2f78cb7e7b7b1a75f2ecfed0

is *really* very old ... don't know, if it still works.

AFAIK Wolfgang created the CC770 driver which is the successor of the i82527:

http://svn.berlios.de/wsvn/socketcan/trunk/kernel/2.6/drivers/net/can/cc770/?#a12c70fb51cbd498d785ad6d2ee65ff67

This one is more up to date - but only available in the SVN and not in mainline.

Regards,
Oliver