@doniks
Thanks for your kind advice.
I am trying to go through the link information you referred me to.
I am making some progress and seem to be getting by.
I will succeed in the near future and report the details here.
Best posts made by masao616
-
RE: How to compile the kernel to use USB serial adapters?
-
How to compile the kernel to use USB serial adapters?
I would like to use a USB serial adapter with Ubuntu Touch installed on a Pixel3A.
The USB serial adapter used is the following CH340.I tried to connect the USB serial adapter to the Pixel3A via a OTG adapter and executed the lsusb command, and it is recognized as follows.
$ susb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
However, /dev/serial* and /dev/ttyUSB* do not appear.
$ ls /dev/serial* /dev/ttyUSB* ls: cannot access '/dev/serial*': No such file or directory ls: cannot access '/dev/ttyUSB*': No such file or directory
I have tried using the following two OS versions with the same results.
- ubuntu touch 16.04 (OTA-24)
- ubuntu touch 20.04 (2022-W51)
According to information at the following webpage, the kernel in ubuntu touch does not support the use USB serial adapters and the kernel must be recompiled to use it.
https://askubuntu.com/questions/640003/ubuntu-touch-usb-serial-drivers-modules
I would like to know how to recompile the kernel to use the USB serial adapter with Ubuntu Touch on Pixel 3a.
If anyone knows how to do this, could you please help me?