Page 1 of 1

How to enable ACM functionality.

Posted: 2024-10-10 1:59
by cocoa
By default, RNDIS and ADB are enabled on the Luckfox Pico Max.
I would like to know how to configure the USB Gadget to enable ACM.
Even after changing the setting to ACM_EN=on in /etc/init.d/S50usbdevice and rebooting, ACM is still not enabled.
I would appreciate advice from anyone who has successfully enabled and used ACM.

Re: How to enable ACM functionality.

Posted: 2024-10-10 7:13
by Alenwowo
Hello, since the ACM function is not enabled by default, you need to go to the kernel to enable it manually, the location is as follows: Device Drivers > USB support > USB Modem (CDC ACM) support && > Device Drivers > USB support > Search (ACM) > USB support > Search (ACM) > USB Gadget functions configurable through configfs > Abstract Control Model (CDC ACM) Once done, recompile and download to see the /dev/ttyGS0 device.

Re: How to enable ACM functionality.

Posted: 2024-10-10 7:16
by Alenwowo
Forgot one step, you also need ACM_EN=on in /etc/init.d/S50usbdevice to turn it on, then you can see the virtual serial port in the computer device manager

Re: How to enable ACM functionality.

Posted: 2024-10-11 5:27
by cocoa
Thank you for explaining how to enable the ACM functionality.
After following the procedure, I was able to confirm that it is working properly.