You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But even when commenting out the line completely (which would result in a Memory leak for now) it does still not work. Since the err of usb_submit_urb(urb, GFP_KERNEL); is ENOENT which indicates "specified interface or endpoint does not exist or is not enabled". I did not dig any deeper, do you have any idears, why it breaks here?
I am using a Kali VM (current as of now) with an USB2CAN interface.
Stefan
The text was updated successfully, but these errors were encountered:
Hello @sHorst .
I were also looking into getting this to work with kernel above 5.
Thanks to your code I were able to bring up the can interface on a laptop running native Ubuntu 20.04.
I remember trying to run ubuntu 16.04 on a VM (Virtualbox) with a Ixxat USB2CAN interface, but when attempting to bring up the can interface it resulted in the VM to crash. I never found a solution to this using a VM. Maybe this is related to running this inside a virtual enviroment?
I tried to adapt the Driver to Kernel 5.15. My fork can be found here: https://github.com/sHorst/socketcan-linux-5.0
It does compile, but will segfault on bringing the can0 Interface up.
I narrowed the bug down to ixx_usb_core.c Line 403. https://github.com/sHorst/socketcan-linux-5.0/blob/master/usb-to-can_socketcan/ixx_usb_core.c#L403
But even when commenting out the line completely (which would result in a Memory leak for now) it does still not work. Since the err of
usb_submit_urb(urb, GFP_KERNEL);
is ENOENT which indicates "specified interface or endpoint does not exist or is not enabled". I did not dig any deeper, do you have any idears, why it breaks here?I am using a Kali VM (current as of now) with an USB2CAN interface.
Stefan
The text was updated successfully, but these errors were encountered: