git: 9front

Download patch

ref: afbf5d1e59b986b12094ce9c40ea1c2bffffa72c
parent: 44a8e8072dffd1ed24407922356a62a4fa6446d4
author: sl <sl@y>
date: Wed Mar 27 22:58:47 EDT 2024

/sys/src/cmd/nusb/kb/kb.c: increase uchar rep from 512 to 1024, makes thinkpad x280 usb touchscreen work

--- a/sys/src/cmd/nusb/kb/kb.c
+++ b/sys/src/cmd/nusb/kb/kb.c
@@ -50,7 +50,7 @@
 	 * use odd size as some devices ignore the high byte of
 	 * wLength in control transfer reads.
 	 */
-	uchar	rep[512-1];
+	uchar	rep[1024-1];
 };
 
 typedef struct Hidreport Hidreport;
--