From your dmesg
output you suffer from two RPi hardware issues that are most likely big contributor in spoiling your fun:
Undervoltage
In my home I’m running 8 RPis from Gen 1 to Gen 3 for various tasks. Each and every time I had undervolt warnings it was related to either the power-supply or the cable between power-supply and RPi. You need to solve this.
ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped
This is an error from your Linux system pointing to a problem between RPi and the USB chip on your board. Mostly reported with FTDI Chips.
Possible causes:
- Flaky USB cable or port
- Driver / RPi firmware issue
Possible solutions:
- Change USB cable and / or USB port
- Update your system
sudo apt update
sudo apt upgrade -y
sudo reboot
after the reboot:
sudo rpi-eeprom-update -a
sudo reboot
- Update RPi firmwares via
sudo rpi-update
. WARNING: This command is initially only intended for Raspberry Pi OS. On other distributions it can kill your system. In any case it will push you to the bleeding edge firmwares / kernel so be careful and have a backup.