8devices Community
https://www.8devices.com/community/

/dev/can0 missing
https://www.8devices.com/community/viewtopic.php?f=16&t=1221
Page 1 of 1

Author:  juerg5524 [ 09 Jan 2019, 13:33 ]
Post subject:  /dev/can0 missing

Hi

I plug usb2can in. dmesg:

[10666.567363] usb 1-1.2: new full-speed USB device number 20 using xhci_hcd
[10666.647570] usb 1-1.2: device descriptor read/64, error -32
[10666.860222] usb 1-1.2: New USB device found, idVendor=0483, idProduct=1234
[10666.860230] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[10666.860235] usb 1-1.2: Product: USB2CAN converter
[10666.860241] usb 1-1.2: Manufacturer: edevices
[10666.860245] usb 1-1.2: SerialNumber: ED000200
[10666.862603] usb_8dev 1-1.2:1.0 can0: firmware: 1.7, hardware: 1.0

then

sudo ip link set can0 up type can bitrate 20000

after that, ip address:

20: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN group default qlen 10
link/can

Unfortunately, there is no "/dev/can0"!

Please, can you give me a hint?

Greetings
Jürg

Author:  juerg5524 [ 10 Jan 2019, 10:02 ]
Post subject:  Re: /dev/can0 missing

I also tried to use the source files from github. The script I used as root:

ip link set can0 down
rmmod usb_8dev

make clean
make

modprobe can-raw
modprobe can-dev
insmod usb_8dev.ko

ip link set can0 up type can bitrate 20000

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/