Re: Problem in Drivers installation under Linux-Kernel 3.2.0
Posted: Wed 20. Aug 2014, 20:14
ok, now, with the API guide, i'm getting a little bit better. I thought I was supposed to find everything on the linux guide.
Btw, what dou tou mean for "fake"?? is exacly the output of my system....nothing faked.
Ps. comes out after the change of the baudrate (that i did also previously, but it seems that i have to do it everytime i call cat /dev/pcan32)...still i don't understand what these "m s" are...at the position where the message ID is supposed to be written.
Also here, according to the API guide: what is x x?
should 0x00000000 be the msgtype....
in both cases the long hex number seems to me to be the ID...but, in this case...where is the msgtype
Thanks
Btw, what dou tou mean for "fake"??
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
Ps.
Code: Select all
m s 0x000002d0 6 0x01 0x01 0x00 0x01 0x00 0x00 516492425 570
Also here
Code: Select all
x x 0x00000000 4 0x00 0x00 0x00 0x08 155466769 065
should 0x00000000 be the msgtype....

Code: Select all
typedef struct
{
DWORD ID;
BYTE MSGTYPE;
BYTE LEN;
BYTE DATA[8];
} TPCANMsg;

Thanks