Device /dev/ttyACM0 missing in version 1.1.3

In the milkv-duo-v1.0.5-2023-1019 operating system version I had the ttyACM0 device to connect the arduino IDE and program the secondary processor from my PC with Ubuntu. In the new operating system version 1.1.3 that port is no longer available. Can someone confirm this and tell me why it happens?
Thanks

1 Like

I’ve not seen issues. What does journalctl -kf show while booting the Duo?

1 Like

With the version milkv-duo-v1.0.5-2023-1019 I get the following:
PC kernel: usb 5-1.6: Product: RNDIS
oct 07 19:38:13 j-PC kernel: usb 5-1.6: Manufacturer: Cvitek
oct 07 19:38:13 j-PC kernel: usb 5-1.6: SerialNumber: 0123456789
oct 07 19:38:14 j-PC kernel: rndis_host 5-1.6:1.0 usb0: register ‘rndis_host’ at usb-0000:00:10.0-1.6, RNDIS device, 62:36:3a:43:44:3e
oct 07 19:38:14 j-PC kernel: cdc_acm 5-1.6:1.2: ttyACM0: USB ACM device

with version 1.1.3:

n-PC kernel: usb 5-1.6: Manufacturer: Cvitek
oct 07 19:45:03 j-PC kernel: usb 5-1.6: SerialNumber: 0123456789
oct 07 19:45:03 j-PC kernel: cdc_ncm 5-1.6:1.0: MAC-Address: ea:d1:6c:73:c5:62
oct 07 19:45:03 j-PC kernel: cdc_ncm 5-1.6:1.0 usb0: register ‘cdc_ncm’ at usb-0000:00:10.0-1.6, CDC NCM, ea:d1:6c:73:c5:62
oct 07 19:45:03 j-PC kernel: cdc_ncm 5-1.6:1.0 enxead16c73c562: renamed from usb0
oct 07 19:45:04 j-PC kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enxead16c73c562: link becomes ready

CDC class not recognized on my PC as a ttyACM0 port The drivers installed in version 1.1.3 seem to be different

1 Like

I have also tested on a PC with Windows 11 and with the DUO 256M the result is the same With system version 1.1.3 the CDC USB to serial interface has disappeared and therefore the secondary processor can no longer be programmed with the Arduino IDE. With version 1.0.5-2023-101 everything works fine. The test is easy…can you tell me if the same thing happens to you?

1 Like

I checked out tag v1.1.3, built the image, wrote to SD and tested on a spare Duo 256. Same result as you in the kernel logs.

However if you wish to use Arduino you need to checkout the arduino branch instead. Confirming:

kernel: cdc_acm 1-6.2.1:1.2: ttyACM1: USB ACM device

I see the ttyACM1 (in my case) in the kernel logs with a build from the arduino branch.

1 Like

Thanks for doing the test and for the information, I will try to do a new compilation.

1 Like

I have managed to compile the image through the Arduino branch and I already have the ttyACM0 interface on my PC (Ubuntu) but this branch seems to be discontinued and does not have the new tools installed that are in the main branch. Does anyone know if they have stopped supporting it? I really don’t understand it since the official page still offers the documentation to program the small processor with the Arduino IDE.

1 Like

You can freely rebase those changes on top of the main branch. Git VCS easily allows this:

git checkout develop && git checkout -b develop-my-arduino &&  git cherry-pick c8e3597df4738973326fa5ee4e0d30af39e90409 c697ee4e9296eb28e6982f83bce7162aa2b5083d 9a27b346e4a3e6aeb347cf2e66049307adb158e5 20038f68c0e7da474197384733fead15b6508508

This will give you everything in the develop branch, and all those commits by which the branch for supporting Arduino IDE and all differs from the main one.

Moreover, you can git checkout develop && git rebase && git checkout develop-my-arduino && git rebase develop most of the time and have all the updates from the branch develop.

1 Like

Thanks for your answer, I’ll try it. But that wasn’t my question, what I’d like to know is if a problem has been detected in the Arduino branch for which the developers have stopped putting the compiled image in the repository as it was before.

1 Like

Glad that you corrected me.
I have built such an image back in September when they released v1.1.3, and it has that Serial-over-USB driver, which spawns a tty by /dev/ttyACMx
I wrote it onto my Duo microSD and can confirm this interface is there.

No, I don’t program in Arduino.