Fedora does not recieve serial data from ATmega32U4 properly

I’ve got a project that involves using an Arduino Uno that sends data to a Pro Micro ATMEGA32U4 (which uses the ATmega32U4 micro controller) and the Pro Micro ATMEGA32U4 acts as a USB keyboard. The problem is that quite frequently when Fedora receives data from the Pro Micro ATMEGA32U4 the bits are flipped. I have tested this in Fedora 31, 32 and 33 and all those versions have the same problem. I’ve just update my Fedora 33 installation and it is currently using kernel 5.10.19-200.fc33.x86_64 but still has the problem. I think this is a Fedora problem because I don’t get that problem when I tested this on Ubuntu 18.04, Windows 10 and Windows Server 2019.

I’ve found the solution. It turns out that Wayland is the problem and switching to using Xorg fixes the problem. It also turn out that this isn’t a Fedora problem as using Wayland in Ubuntu also has the problem so this really is an issue with the Wayland protocol. I’m confused, I don’t understand what Wayland (being a communication protocol for displaying) has anything to do with receiving data from a USB device.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.