Search found 4 matches

by bernhard.hoeckner
Mon 30. Nov 2020, 16:24
Forum: Linux
Topic: SocketCAN device mapping to hardware CAN port
Replies: 6
Views: 6727

Re: SocketCAN device mapping to hardware CAN port

Perfect!

Awesome support, thanks for your help!

Bernhard
by bernhard.hoeckner
Mon 30. Nov 2020, 16:12
Forum: Linux
Topic: SocketCAN device mapping to hardware CAN port
Replies: 6
Views: 6727

Re: SocketCAN device mapping to hardware CAN port

hi,

Sorry for my slow comprehension ;)


in case of two seperate Peak PCI CAN cards

we should use the PCAN-Linux driver in NetDev mode, and use the assign-parameter by setting the device-id for the single-channel cards as we need them.

in case of a two channel Peak PCI CAN card, we have two ...
by bernhard.hoeckner
Fri 27. Nov 2020, 15:07
Forum: Linux
Topic: SocketCAN device mapping to hardware CAN port
Replies: 6
Views: 6727

Re: SocketCAN device mapping to hardware CAN port

Hi,

some more questions came up regarding your answer:

Regarding two different cards:
when using the main line kernel driver with two different cards, it is not safe that the SocketCAN network device is consistently mapped to the same hardware port.

Would checking the PCI bus mappings and ...
by bernhard.hoeckner
Tue 17. Nov 2020, 12:01
Forum: Linux
Topic: SocketCAN device mapping to hardware CAN port
Replies: 6
Views: 6727

SocketCAN device mapping to hardware CAN port

Hi,

until now i had a single PCI Express Peak CAN device which i use with the kernel main line driver and SocketCan. This works pretty smooth!

Now we add another physically separated CAN bus which results either in two PCI Express CAN cards or in one PCI Express CAN card with two ports.

How can i ...