From 17a9fd98e3bd141d4deacfe805cd5a60ee05497e Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Tue, 22 Nov 2022 06:35:00 +0100 Subject: [PATCH 1/2] Add udev rule for GMMK2 p65 ANSI Tested and it works correctly, it avoids having to manually chown the device file when flashing. The vendor id and product id were extracted from lsusb with the keyboard in bootloader mode, here's the relevant output line: ``` Bus 005 Device 008: ID 342d:dfa0 Westberry Tech. WB Device in DFU Mode ``` --- util/udev/50-qmk.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/udev/50-qmk.rules b/util/udev/50-qmk.rules index 86f1dc9004f5..95c71a4d4e41 100644 --- a/util/udev/50-qmk.rules +++ b/util/udev/50-qmk.rules @@ -81,3 +81,6 @@ SUBSYSTEMS=="usb", ATTRS{idVendor}=="314b", ATTRS{idProduct}=="0106", TAG+="uacc # GD32V DFU SUBSYSTEMS=="usb", ATTRS{idVendor}=="28e9", ATTRS{idProduct}=="0189", TAG+="uaccess" + +# GMMK2 p65 ANSI DFU +SUBSYSTEMS=="usb", ATTRS{idVendor}=="342d", ATTRS{idProduct}=="dfa0", TAG+="uaccess" From ecda5a9365262093c2935cca3d66220801d3c138 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Tue, 22 Nov 2022 06:48:10 +0100 Subject: [PATCH 2/2] Update util/udev/50-qmk.rules Co-authored-by: Ryan --- util/udev/50-qmk.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/udev/50-qmk.rules b/util/udev/50-qmk.rules index 95c71a4d4e41..1cc19b41428c 100644 --- a/util/udev/50-qmk.rules +++ b/util/udev/50-qmk.rules @@ -82,5 +82,5 @@ SUBSYSTEMS=="usb", ATTRS{idVendor}=="314b", ATTRS{idProduct}=="0106", TAG+="uacc # GD32V DFU SUBSYSTEMS=="usb", ATTRS{idVendor}=="28e9", ATTRS{idProduct}=="0189", TAG+="uaccess" -# GMMK2 p65 ANSI DFU +# WB32 DFU SUBSYSTEMS=="usb", ATTRS{idVendor}=="342d", ATTRS{idProduct}=="dfa0", TAG+="uaccess"