Uploading a sketch in the arduino IDE does not work with kernel 5.5.x Reproducible: Always Steps to Reproduce: 1. Start Arduino IDE 2. select sketch to upload Actual Results: Upload fails with: avrdude: stk500_getparm(): (a) protocol error, expect=0x14 Expected Results: Upload success
This is a known bug see: https://bugs.archlinux.org/task/65368 By patching ch341.c in the gentoo-sources-5.5.5 the problem is resolved see: https://www.spinics.net/lists/linux-usb/msg190759.html See my next post for a patch of the gentoo-sources
Created attachment 615350 [details, diff] Patch for gentoo-sources-5.5.5 to get Arduino working again Place the patch in /etc/portage/patches/sys-kernel/gentoo-sources-5.5.5/ch341.patch and re-emerge gentoo-sources, compile and install the kernel. Then you can upload sketches to the arduino-uno again
Created attachment 615352 [details] Error-Message from uploading to an arduino uno
bug is fixed in gentoo-kernel-5.5.7 can be closed