Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 615350 Details for
Bug 710588
dev-embedded/arduino-1.8.5 Upload sketch fails with kernel <=5.5.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for gentoo-sources-5.5.5 to get Arduino working again
ch341.patch (text/plain), 492 bytes, created by
Martin Zwicknagl
on 2020-02-23 16:46:26 UTC
(
hide
)
Description:
Patch for gentoo-sources-5.5.5 to get Arduino working again
Filename:
MIME Type:
Creator:
Martin Zwicknagl
Created:
2020-02-23 16:46:26 UTC
Size:
492 bytes
patch
obsolete
>--- a/drivers/usb/serial/ch341.c 2020-01-27 01:23:03.000000000 +0100 >+++ b/drivers/usb/serial/ch341.c 2020-02-23 17:03:49.782794134 +0100 >@@ -205,6 +205,19 @@ > 16 * speed - 16 * CH341_CLKRATE / (clk_div * (div + 1))) > div++; > >+/* >+ * Prefer lower base clock (fact = 0) if even divisor. >+ * >+ * Note that this makes the receiver more tolerant to errors. >+ */ >+ if (fact == 1 && div % 2 == 0) { >+ div /= 2; >+ fact = 0; >+ } >+ >+ >+ >+ > return (0x100 - div) << 8 | fact << 2 | ps; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 710588
: 615350 |
615352