FS#65368 - [linux] Uploading to Arduino via USB broken in kernel 5.5
Attached to Project:
Arch Linux
Opened by Ashcon Mohseninia (rnd_ash) - Tuesday, 04 February 2020, 12:14 GMT
Last edited by freswa (frederik) - Tuesday, 03 March 2020, 20:03 GMT
Opened by Ashcon Mohseninia (rnd_ash) - Tuesday, 04 February 2020, 12:14 GMT
Last edited by freswa (frederik) - Tuesday, 03 March 2020, 20:03 GMT
|
Details
Description:
Tested on Kernel 5.5, 5.4 and 4.19 LTS. On 5.5 avrdude will complain with the following error upon trying to upload a sketch: avrdude: stk500_getsync(): not in sync: resp=0x88 Upload was working in kernel 5.4, and tried the LTS kernel as well (It still worked) Steps to reproduce: 1. Install kernel 5.5 from core 2. Have working Arduino at hand (mine was a Uno, but different models should yield the same result) 3. Install Arduino package, and install necessary Arduino avr platform libraries from board manager within IDE 4. Select correct ttyUSB port for Arduino in IDE (mine was /dev/ttyUSB0) 5. try to upload a sketch - And observe avrdude error message Downgrade to kernel 5.4, and observe that avrdude now does not complain and sketches can be uploaded successfully |
This task depends upon
Closed by freswa (frederik)
Tuesday, 03 March 2020, 20:03 GMT
Reason for closing: Fixed
Additional comments about closing: 5.5.7.arch1-1
Tuesday, 03 March 2020, 20:03 GMT
Reason for closing: Fixed
Additional comments about closing: 5.5.7.arch1-1
(edit) And octoprint doesn't seem to work with my Ender 5, so probably a bug in the CH340 driver.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=35714565089e5e8b091c1155517b67e29118f09d
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4d5ef53f75c22d28f490bcc5c771fcc610a9afa4
This issue is not present on the 5.4 Kernel.