shithub: riscv

Download patch

ref: 5622b0bbd878dbc34045cc6fd37cffa64461eabe
parent: 027f579f43cdc908bf8d51c27bdf5da8e7773940
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;