Hmm...no i am confused...
Code: Select all
*n -type- ndev --base-- irq --btr- --read-- --write- --irqs-- -errors- status
0 pci can2 f7d00000 209 0x001c 00000000 00000000 00000000 00000000 0x0000
you post now a list of an installed driver for a SocketCAN PCI CAN card ?
Could you please go step by step...
you have a PCAN-USB - right?
you have installed as CharDev - right?
you have compiled also the samples - right?
if you have all this done - it look s like this when you type
cat /proc/pcan
Code: Select all
*------------- PEAK-System CAN interfaces (www.peak-system.com) -------------
*------------- Release_20140723_n (7.12.0) Aug 13 2014 18:20:29 --------------
*---------------- [mod] [isa] [pci] [dng] [par] [usb] [pcc] -----------------
*--------------------- 1 interfaces @ major 250 found -----------------------
*n -type- ndev --base-- irq --btr- --read-- --write- --irqs-- -errors- status
32 usb -NA- ffffffff 255 0x001c 00000000 00000000 0000010c 00000000 0x0000
this shows you that the ChgarDev driver is installed and one PCAN-USB is detected.
It does not show you any CAN Messages - its the list of the instlled devices and which driver type is used.
Now you could see if on the CAN Bus are any messages by typing
cat /dev/pcan32
This post all incomming messages to your console - if there are only errors - you see the errors (see my last post) - if there are nothing - you see nothing.
Try to use the receivetest which comes with the samples and study the source code, but up in front try to understand how the CAN-Bus work, what a CAN Message looks like, etc. This forum is for CAN users - the Linux driver for Linux users. We are not able to make basic support for beginners- sorry - you need to read manuals.