From 23c958b7da49519bb53789f43ee6a62a56af7441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sat, 20 Dec 2025 17:36:36 +0000 Subject: [PATCH] modified: README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 9cf58a0..96463ec 100644 --- a/README.md +++ b/README.md @@ -326,6 +326,15 @@ apt install dkms apt install proxmox-headers-$(uname -r) git clone https://github.com/stanford-scs/hid-g20s.git cd hid-g20s +# edit and replace function with this +# static const __u8 *g20s_report_fixup(struct hid_device *hdev, __u8 *rdesc, +# unsigned int *rsize) +#{ +# /* Always fix G20S descriptors based on VID/PID, ignore exact size */ +# hid_info(hdev, "fixing G20S report descriptor (size=%u)\n", *rsize); +# *rsize = sizeof(g20s_rdesc_fixed); +# return g20s_rdesc_fixed; +#} ./install.sh ```