question

kristiant avatar image
kristiant asked

Extra USB 2 CAN

Hi,

I have a USB 2 CAN converter that get's can2 after plugging in when the system is booted. But when I plug in the module before boot it get's can1.

Dmesg output:
[Thu Dec 28 15:19:18 2023] usb 3-1: new full-speed USB device number 2 using ohci-platform

[Thu Dec 28 15:19:18 2023] usb 3-1: New USB device found, idVendor=1d50, idProduct=606f, bcdDevice= 0.00

[Thu Dec 28 15:19:18 2023] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[Thu Dec 28 15:19:18 2023] usb 3-1: Product: USB2CAN V3.3

[Thu Dec 28 15:19:18 2023] usb 3-1: Manufacturer: InnoMaker

[Thu Dec 28 15:19:18 2023] usb 3-1: SerialNumber: 003400335246571720393733

[Thu Dec 28 15:19:18 2023] gs_usb 3-1:1.0: Configuring for 1 interfaces

[Thu Dec 28 15:19:18 2023] usbcore: registered new interface driver gs_usb

[Thu Dec 28 15:19:18 2023] IPv6: ADDRCONF(NETDEV_CHANGE): can2: link becomes ready


This is the correct order:

can0 : sun4i_can

can1 : BusyBox v1.31.1 (2023-11-09 12:20:21 UTC) multi-call binary.

can2 : gs_usb

But on boot it is wrong:

can0 : sun4i_can

can1 : gs_usb


How can I fix this ?


Thanks.

Kristian

cerbo gxlinux
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

0 Answers

Related Resources