linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bcmserver.c usage and preconditions
@ 2016-03-30  6:01 Patrick Menschel
  2016-03-30  7:57 ` Misra Pankaj Kumar (RBEI/EEA2)
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick Menschel @ 2016-03-30  6:01 UTC (permalink / raw)
  To: linux-can

[-- Attachment #1: Type: text/plain, Size: 958 bytes --]

Hi,

I'd like to ask what preconditions are necessary for the bcmserver.c
example to work.

1. I setup can0

~$ sudo ip link set can0 up type can bitrate 500000

2. then start bcmserver

~$ bcmserver

3. and input the line

~$ can0 A 1 0 123 8 11 22 33 44 55 66 77 88

but unfortunately I don't get any output at all.

I believe it's my fault since this is the result on both BananaPi and
BeagleBoneBlack. The Bpi has the bcm compiled into the kernel and the
BBB has the can-bcm.ko properly loaded.

~$ modinfo can-bcm
filename:       /lib/modules/4.1.15-ti-rt-r43/kernel/net/can/can-bcm.ko
alias:          can-proto-2
author:         Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
license:        Dual BSD/GPL
description:    PF_CAN broadcast manager protocol
depends:        can
intree:         Y
vermagic:       4.1.15-ti-rt-r43 SMP preempt mod_unload modversions
ARMv7 thumb2 p2v8

Thanks and Best Regards,
Patrick


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3709 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-30 13:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-30  6:01 bcmserver.c usage and preconditions Patrick Menschel
2016-03-30  7:57 ` Misra Pankaj Kumar (RBEI/EEA2)
2016-03-30  8:32   ` Patrick Menschel
2016-03-30 11:59     ` Oliver Hartkopp
2016-03-30 13:49       ` Patrick Menschel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).