diff options
author | tmk <tmk@users.noreply.github.com> | 2015-01-14 09:35:19 +0900 |
---|---|---|
committer | tmk <tmk@users.noreply.github.com> | 2015-01-14 09:35:19 +0900 |
commit | 12e5912c9a5e970244e8aa3f23f6029c31a36ea9 (patch) | |
tree | 3dd69b7eb247f89913bc4dbb1819b651e8d941e8 | |
parent | 756706a704d8f90c4285c5d1bbf208070bef9bc0 (diff) |
Updated FAQ Build (markdown)
-rw-r--r-- | FAQ-Build.md | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/FAQ-Build.md b/FAQ-Build.md index cfd8465d70..948a23a3fc 100644 --- a/FAQ-Build.md +++ b/FAQ-Build.md @@ -66,4 +66,24 @@ https://github.com/tmk/tmk_keyboard/issues/150 You can buy a really unique VID:PID here. I don't think you need this for personal use. - http://www.obdev.at/products/vusb/license.html -- http://www.mcselec.com/index.php?page=shop.product_details&flypage=shop.flypage&product_id=92&option=com_phpshop&Itemid=1
\ No newline at end of file +- http://www.mcselec.com/index.php?page=shop.product_details&flypage=shop.flypage&product_id=92&option=com_phpshop&Itemid=1 + + +## Linux udev rules +On Linux you need proper privilege to access device file of MCU, you'll have to use `sudo` when flashing firmware. You can circumvent this with placing these files in `/etc/udev/rules.d/`. + +**/etc/udev/rules.d/50-atmel-dfu.rules:** +``` +# Atmel ATMega32U4 +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff4", MODE:="0666" +# Atmel USBKEY AT90USB1287 +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ffb", MODE:="0666" +# Atmel ATMega32U2 +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff0", MODE:="0666" +``` + +**/etc/udev/rules.d/52-tmk-keyboard.rules:** +``` +# tmk keyboard products https://github.com/tmk/tmk_keyboard +SUBSYSTEMS=="usb", ATTRS{idVendor}=="feed", MODE:="0666" +```
\ No newline at end of file |