modified: README.md

This commit is contained in:
2025-12-20 17:36:36 +00:00
parent 159e2fcf17
commit 23c958b7da

View File

@@ -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
```