From 662d1f557fadbe1173a451a09bd8397fd03a48f4 Mon Sep 17 00:00:00 2001 From: Jacob Alexander Date: Fri, 15 Aug 2014 11:27:16 -0700 Subject: [PATCH] Updating udev rules to reflect the USB ID changes. - Fixed USB Vendor name as well --- 98-kiibohd.rules | 7 +++++++ Bootloader/_buildvars.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/98-kiibohd.rules b/98-kiibohd.rules index d1cfde5..5e28301 100644 --- a/98-kiibohd.rules +++ b/98-kiibohd.rules @@ -4,8 +4,15 @@ ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", ENV{MTP_NO_PROBE}="1" SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", MODE:="0666" # Kiibohd Serial Interface KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", MODE:="0666" +KERNEL=="ttyACM*", ATTRS{idVendor}=="1c11", ATTRS{idProduct}=="b04d", MODE:="0666" +# Kiibohd Device +SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c11", ATTRS{idProduct}=="b04d", MODE:="0666" # DFU Bootloader (MCHCK) ATTRS{idVendor}=="2323", ATTRS{idProduct}=="0001", ENV{ID_MM_DEVICE_IGNORE}="1" ATTRS{idVendor}=="2323", ATTRS{idProduct}=="0001", ENV{MTP_NO_PROBE}="1" SUBSYSTEMS=="usb", ATTRS{idVendor}=="2323", ATTRS{idProduct}=="0001", MODE:="0666" +# Kiibohd DFU Bootloader +ATTRS{idVendor}=="1C11", ATTRS{idProduct}=="b007", ENV{ID_MM_DEVICE_IGNORE}="1" +ATTRS{idVendor}=="1C11", ATTRS{idProduct}=="b007", ENV{MTP_NO_PROBE}="1" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c11", ATTRS{idProduct}=="b007", MODE:="0666" diff --git a/Bootloader/_buildvars.h b/Bootloader/_buildvars.h index c9ab483..17a3557 100644 --- a/Bootloader/_buildvars.h +++ b/Bootloader/_buildvars.h @@ -29,7 +29,7 @@ // ----- Defines ----- // You can change these to give your code its own name. -#define STR_MANUFACTURER u"@MANUFACTURER@" +#define STR_MANUFACTURER u"Kiibohd" #define STR_PRODUCT u"Kiibohd DFU Bootloader" #define STR_SERIAL u"@CHIP@"