What is the problem?
Octoprint fails to connect to printer after installing touchscreen drivers
What did you already try to solve it?
Re-installed Octoprint, and Octoprint connected to printer without any problems, but after installing touchscreen drivers and rebooting, the printer fails to connect.
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, what kind of hardware precisely, ...)
Creality Ender 3
This is the touchscreen I've installed - OSOYOO Touchscreen LCD Monitor HDMI Display 3,5" TFT audio output with Stylus and Manual for Raspberry Pi 4 3 Modell B+ : Amazon.co.uk: Computers & Accessories
and this is the link to the drivers I've installed - Raspberry Pi 3.5″ HDMI Touch Screen Installation for Linux Driver (2) « osoyoo.com
The results of dmesg | tail -n 20 after disconnecting and reconnecting the printer are-
[ 28.362375] bcmgenet fd580000.genet: configuring instance for external RGMII (no delay)
[ 28.362674] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 29.431770] bcmgenet fd580000.genet eth0: Link is Down
[ 33.461191] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 34.169711] Bluetooth: Core ver 2.22
[ 34.169792] NET: Registered protocol family 31
[ 34.169802] Bluetooth: HCI device and connection manager initialized
[ 34.169823] Bluetooth: HCI socket layer initialized
[ 34.169840] Bluetooth: L2CAP socket layer initialized
[ 34.169887] Bluetooth: SCO socket layer initialized
[ 34.182898] Bluetooth: HCI UART driver ver 2.3
[ 34.182912] Bluetooth: HCI UART protocol H4 registered
[ 34.182991] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 34.183207] Bluetooth: HCI UART protocol Broadcom registered
[ 34.348069] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 34.348075] Bluetooth: BNEP filters: protocol multicast
[ 34.348086] Bluetooth: BNEP socket layer initialized
[ 38.551682] Bluetooth: hci0: command 0x1003 tx timeout
[ 40.631695] Bluetooth: hci0: command 0x1001 tx timeout
[ 42.711684] Bluetooth: hci0: command 0x1009 tx timeout
I'm guessing the touchscreen drivers are somehow killing the USB ports, but my knowledge of linux is quite limited, so I have no idea how to fix this.
Log files are attached below.