airvolute / dcs-deploy

GNU General Public License v3.0
1 stars 0 forks source link

CAN module is not enabled by default #32

Open redeexpressos opened 2 hours ago

redeexpressos commented 2 hours ago

Hi. We are integrating Dronecore 2 with our system but the CAN kernel module is not loaded on the Orin (we are running modprobe every boot in order to enable it). Would it be possible to provide it by default on the images? Or is there any automatic patch we can do in the dcs-deploy script in order to enable it?

Thank you.

eMrazSVK commented 2 hours ago

Hello!

Sure, if you wish, you can create executable (bash script) and systemd service. Take a look at files here: https://github.com/airvolute/dcs-deploy/tree/main/resources/usb3_control

Then you can copy them to the right places, agan using usb3_control as an example here: https://github.com/airvolute/dcs-deploy/blob/994c8af4766b06ddfcd6bf327f1c6a6865b6109d/dcs_deploy.py#L623

redeexpressos commented 2 hours ago

Thank you! Do you think this is relevant for your base images? (I can provide a PR if that is desired)