Peripheral devices connection (COM connection) problem with Win 11 - serial-port

After upgrading to Windows 11 I realize that there is no COM-Port to connect to, as it has become legacy software. And now I cannot find my device connecting through a USB port anymore
As I try to install the driver again, there was errors. Seems like some software to install driver is missing. It also said that even if the driver is installed, they might not be installed correctly.
And now when I try to connect my device and use pyserial on it it can not recognize any ports free to use. When I connect my device, it seems that they don't appear at Ports(COM and LPT) anymore, but instead in in Universal Serial Bus Controller. Still pyserial have problem to find available COM and my peripheral devices also cannot be found(As I think they often try to find COM port to connect to) What can I do to solve this? Please specify any clarification if you find my question somewhat misleading. Thank you in advance and have a great week!

Related

Using the serial port in a Ubuntu for W10 (WSL)

I'd like to know if it is possible to establish communication via a serial port in an Ubuntu for W10 terminal using the USB interface.
Concretely, I am using a Sparkfun edge board and in this tutorial, it is explained how to detect if the device is connected by checking /dev/tty*. However, it does not work in my testbed, nothing new appears in the directory.
Probably, it is related to using Ubuntu over Windows, but I'd like to be sure before moving to another system.
This is a bit old, but it should've worked then... New devices don't show up in the directory, they're already all there, so you need to know what COM port it's on, let's say it's on COM4, then your device will be /dev/ttyS4 in linux.
I've been using this for well over a year to upload files to my MCU boards kinda like what you want to do, and as long as the device shows up as a COM interface in Windows, and isn't in use, you should be able to connect it to it in WSL as /dev/ttyS[COM#].
Hope this helps, even if it's a bit delayed.

How to Enable Linux Kernel Driver for 81ry52 chip for Network over Usb

How do you enable the linux kernel driver for a network adaptor based on a 81ry52 chip?
The development board I'm using states the support is enabled by default. It implies this chip is popular. However it is not working, I can see the USB device is inserted but no network interface is created. And I could not find the adapter/chip model in the kernel source. Nor much information could be found on the net either.
So far, this model of the USB to network adapter does not work for Linux. The comments following the original question have many insights and shared experiences on USB in general. There might be many things to be fixed but not clear for now. I'll keep these in mind and hopefully explore more and find out a solution.
Though if somebody else find out a solution. I'll be very glad to know.

Issue mBot and 2.4G WiFi dongle. No upload possible

Have an issue with mBot and 2.4G dongle.
Device is mBot V1.1 WiFI 2.4G.
Using original SW mBlock v3.4.11
Having operating system Windows 10
I can control mBot via Wireless dongle by keyboard, but cannot upload code. I get error:
avrdude: ser_open(): can't open device "HID": The system cannot find
the file specified.
I do not know what to do. I am not a programmer.
Please help me to enable it for my son.
I recommend that you use the latest version of mBlock:
https://mblock.makeblock.com/en-us/download/
However, if you do not wish to download it, you can use the mBlock web IDE:
https://ide.mblock.cc/
Make sure that you are connecting to the right port, too. If you are connecting to a port named “Com1”, you are most likely connecting to the wrong port.
Also, be sure to ask your question on the official mBlock Forum:
https://forum.makeblock.com/
I've found a similar topic on there here:
https://forum.makeblock.com/t/code-not-uploading-to-my-mbot-ranger/20879/
Thanks for your time,
Best Codes

Internet for Raspberry Pi 3 running on Android Things via a GSM modem

Has anyone figured a way of installing PPPD or something similar in order to have an active internet connection via a GSM modem on a Raspberry Pi 3 running on Android Things DP5?
Thank you!
Seems DP5 of Android Things still didn't support Internet connections via USB modem dongles (and it's impossible to add support manually, because as in this answer of Blundell described: the source code is not available for Developer Preview). But You can use UART and AT commands like AT+SAPBR.

Nuvoton NUC120 Communication via Build in USB

I just bough NUC120, and there is nothing less than expected. What sparked my interest is, as stated on page 17-18 on the datasheet, It able to do UART communication. So far, I only use the USB port to uploading the firmware via ISP using NuMicro ISP Programming Tools. I've noticed (correct me if I'm wrong) that its the same concept with Arduino boards, where the USB port can be used to both programming and communication. I have do my research for several days, but still can't find how to do serial communication between Nuvoton and PC, since when I do programming using NuMicro, I use "USB" connection type, and on my PC, there is no COM PORT listed.
My question, Is it possible to do serial communication via Nuvoton USB port? If its possible, can you please point me where to look?
Thanks in advance. Please tell if I should add more details about this question.
You can find the examples in the BSP documentation. Look for samples of USBD_VCOM. To be able to communicate with your PC, you have to install the driver of Virtual COM manually

Resources