Search found 6 matches

by alexanderg
Wed 16. Nov 2016, 08:12
Forum: Linux
Topic: PCAN-USB: build as netdev for kernel 3.13
Replies: 9
Views: 10194

Re: PCAN-USB: build as netdev for kernel 3.13

Michael, Thank you a lot!
Alex
by alexanderg
Tue 15. Nov 2016, 10:23
Forum: Linux
Topic: PCAN-USB: build as netdev for kernel 3.13
Replies: 9
Views: 10194

Re: PCAN-USB: build as netdev for kernel 3.13

Hi, Stephane
Sorry for troubling you again.
Now I see can0 interface at 'ifconfig -a' output:
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 ...
by alexanderg
Mon 14. Nov 2016, 16:54
Forum: Linux
Topic: PCAN-USB: build as netdev for kernel 3.13
Replies: 9
Views: 10194

Re: PCAN-USB: build as netdev for kernel 3.13

Hi,
Thank you, Stephane! Now I see 'can0' netdev interface.
I still have an errors ("RTNETLINK answers: Invalid argument") but suppose, its an application problem.
Thank you a lot.

Alex
by alexanderg
Mon 14. Nov 2016, 15:11
Forum: Linux
Topic: PCAN-USB: build as netdev for kernel 3.13
Replies: 9
Views: 10194

Re: PCAN-USB: build as netdev for kernel 3.13

Hi,

I have checked. No "can" interface in "ifconfig -a" output.
Does it mean, that socket CAN interface is not supported?

Alex.
by alexanderg
Mon 14. Nov 2016, 14:51
Forum: Linux
Topic: PCAN-USB: build as netdev for kernel 3.13
Replies: 9
Views: 10194

Re: PCAN-USB: build as netdev for kernel 3.13

Hi, Stephane,
Thank you for your response. I tried your solution, it does not work, sorry:

>ip -s link show type can
Error: either "dev" is duplicate, or "can" is a garbage.

Probably, something more to be done.

Alex
by alexanderg
Mon 14. Nov 2016, 09:38
Forum: Linux
Topic: PCAN-USB: build as netdev for kernel 3.13
Replies: 9
Views: 10194

PCAN-USB: build as netdev for kernel 3.13

Hello!
I can not build 'netdev' driver for PCAN-USB device.
The build fails because of CAN_CTRLMODE_FD is not defined in Linux/include/uapi/linux/can/netlink.h. Also I found that a lot of other CAN definitions are lacks in this file.
What is the problem? Can it be "patched"?
'chardev' device can ...