modified: README.md

This commit is contained in:
2026-01-01 23:06:07 +00:00
parent 23c958b7da
commit 20e8b54289

View File

@@ -318,14 +318,24 @@ Thanks for: <https://github.com/stanford-scs/hid-g20s>, for the real solution.
For now: For now:
- i have to execute this after each kernel update; Execute this after each kernel update;
- And automatic setup from original repo not working;
``` bash
apt install proxmox-headers-$(uname -r)
dkms build -m hid-g20s -v 1.0
dkms install -m hid-g20s -v 1.0
modprobe hid-g20s
```
**Clean install:**
```bash ```bash
apt install dkms apt install dkms
apt install proxmox-headers-$(uname -r) apt install proxmox-headers-$(uname -r)
git clone https://github.com/stanford-scs/hid-g20s.git git clone https://github.com/stanford-scs/hid-g20s.git
cd hid-g20s cd hid-g20s
# patch hid-g20s.c
# edit and replace function with this # edit and replace function with this
# static const __u8 *g20s_report_fixup(struct hid_device *hdev, __u8 *rdesc, # static const __u8 *g20s_report_fixup(struct hid_device *hdev, __u8 *rdesc,
# unsigned int *rsize) # unsigned int *rsize)