Pico Max USB g_serial
-
Hello. Is there any way to run USB in Ubuntu distro on Pico Max with g_serial (or g_cdc) driver and redirect system console to ttyGSx?
We haven't conducted relevant tests. Please describe your application scenario and requirements, and we can discuss whether it is feasible.
I would like to use an existing USB port in serial mode for debugging. Without NDIS, and without using an additional USB-UART adapter. I understand that even if this is feasible, redirecting the system console will most likely become possible only after loading the operating system, but even this option is quite suitable for me.Luckfox Taylor wrote: ↑2024-05-04 13:47 We haven't conducted relevant tests. Please describe your application scenario and requirements, and we can discuss whether it is feasible.
Agreed, I would at least like the option for this. RNDIS doesn't work on mac, and the implementation LuckFox is using only seems to support Windows 10 for me, not Windows 11, nor Linux. If you supported USB over serial, then I could use any system, without adding drivers, disabling firewalls, etc etclugamodder wrote: ↑2024-05-04 15:29 I would like to use an existing USB port in serial mode for debugging. Without NDIS, and without using an additional USB-UART adapter.
I am glad to hear that, but I have two different mini B's purchased at different times, running the ubuntu image and they do not show up on my Raspberry Pi, nor my Windows 11 box. My Lichee RV Nano board does on both. So there is some issue clearly.
If you just exposed USB over serial it would be simpler and easier than disabling the firewall, manually setting the IP address, etc. RNDIS has little benefit in this situation, but it does add security and configuration issues
Last edited by jockm on 2024-05-22 1:37, edited 1 time in total.
I need to ammend my previous comment, on Windows 10 the RNDIS device shows up fairly quickly using the ubuntu image. However on Windows 11 of my pi, it will eventually show up but it take a very very long time. So it took about 11 minutes for to list the device at all. It took nearly 40 minutes to be able to connect to it after that.
I didn't time all the steps on my Windows 11 box, but it took somewhere between 45 minutes to an hour. But same board, same sd card, same image, was up and running in about a minute or so
Code: Select all
ip addr
I didn't time all the steps on my Windows 11 box, but it took somewhere between 45 minutes to an hour. But same board, same sd card, same image, was up and running in about a minute or so