www.8devices.com
View unanswered posts | View active topics It is currently 27 Apr 2024, 07:28



Reply to topic  [ 2 posts ] 
 /dev/can0 missing 
Author Message

Joined: 20 Jan 2017, 10:01
Posts: 5
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


09 Jan 2019, 13:33
Profile

Joined: 20 Jan 2017, 10:01
Posts: 5
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


10 Jan 2019, 10:02
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.