forked from mfulz_github/qmk_firmware
		
	[Update] Japanese Translation of docs/faq_build.md (#9458)
* update docs/ja/faq_build.md * update docs/ja/faq_build.md to 0.9.10 * Update docs/ja/faq_build.md Co-authored-by: shela <shelaf@users.noreply.github.com> Co-authored-by: shela <shelaf@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									58af0305f5
								
							
						
					
					
						commit
						1ab8f969f6
					
				@ -1,8 +1,8 @@
 | 
				
			|||||||
# よくあるビルドの質問
 | 
					# よくあるビルドの質問
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!---
 | 
					<!---
 | 
				
			||||||
  original document: 0f43c2652:docs/faq_build.md
 | 
					  original document: 0.9.10:docs/faq_build.md
 | 
				
			||||||
  git diff 0f43c2652 HEAD -- docs/faq_build.md | cat
 | 
					  git diff 0.9.10 HEAD -- docs/faq_build.md | cat
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
このページは QMK のビルドに関する質問を説明します。まだビルドをしていない場合は、[ビルド環境のセットアップ](ja/getting_started_build_tools.md) および [Make 手順](ja/getting_started_make_guide.md)ガイドを読むべきです。
 | 
					このページは QMK のビルドに関する質問を説明します。まだビルドをしていない場合は、[ビルド環境のセットアップ](ja/getting_started_build_tools.md) および [Make 手順](ja/getting_started_make_guide.md)ガイドを読むべきです。
 | 
				
			||||||
@ -32,33 +32,30 @@ sudo udevadm trigger
 | 
				
			|||||||
**/etc/udev/rules.d/50-atmel-dfu.rules:**
 | 
					**/etc/udev/rules.d/50-atmel-dfu.rules:**
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
# Atmel ATMega32U4
 | 
					# Atmel ATMega32U4
 | 
				
			||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff4", MODE:="0666"
 | 
					SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff4", TAG+="uaccess", RUN{builtin}+="uaccess"
 | 
				
			||||||
# Atmel USBKEY AT90USB1287
 | 
					# Atmel USBKEY AT90USB1287
 | 
				
			||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ffb", MODE:="0666"
 | 
					SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ffb", TAG+="uaccess", RUN{builtin}+="uaccess"
 | 
				
			||||||
# Atmel ATMega32U2
 | 
					# Atmel ATMega32U2
 | 
				
			||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff0", MODE:="0666"
 | 
					SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff0", TAG+="uaccess", RUN{builtin}+="uaccess"
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
**/etc/udev/rules.d/52-tmk-keyboard.rules:**
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
# tmk keyboard products     https://github.com/tmk/tmk_keyboard
 | 
					 | 
				
			||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="feed", MODE:="0666"
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
**/etc/udev/rules.d/54-input-club-keyboard.rules:**
 | 
					**/etc/udev/rules.d/54-input-club-keyboard.rules:**
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
# Input Club keyboard bootloader
 | 
					# Input Club keyboard bootloader
 | 
				
			||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c11", MODE:="0666"
 | 
					SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c11", ATTRS{idProduct}=="b007", TAG+="uaccess", RUN{builtin}+="uaccess"
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
**/etc/udev/rules.d/55-caterina.rules:**
 | 
					**/etc/udev/rules.d/55-caterina.rules:**
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
# ModemManager should ignore the following devices
 | 
					# ModemManager should ignore the following devices
 | 
				
			||||||
ATTRS{idVendor}=="2a03", ENV{ID_MM_DEVICE_IGNORE}="1"
 | 
					SUBSYSTEMS=="usb", ATTRS{idVendor}=="2a03", ATTRS{idProduct}=="0036", TAG+="uaccess", RUN{builtin}+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1"
 | 
				
			||||||
ATTRS{idVendor}=="2341", ENV{ID_MM_DEVICE_IGNORE}="1"
 | 
					SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0036", TAG+="uaccess", RUN{builtin}+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1"
 | 
				
			||||||
 | 
					SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b4f", ATTRS{idProduct}=="9205", TAG+="uaccess", RUN{builtin}+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1"
 | 
				
			||||||
 | 
					SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b4f", ATTRS{idProduct}=="9203", TAG+="uaccess", RUN{builtin}+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1"
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
**注意:** ModemManager フィルタリングは厳格モードでは無い場合のみ動作します。以下のコマンドでその設定を変更することができます:
 | 
					**注意:** 古い(1.12以前の) ModemManager では、フィルタリングは厳密なモードではない場合にのみ動作し、以下のコマンドはその設定を更新することができます。
 | 
				
			||||||
```console
 | 
					```console
 | 
				
			||||||
sudo sed -i 's/--filter-policy=strict/--filter-policy=default/' /lib/systemd/system/ModemManager.service
 | 
					sudo sed -i 's/--filter-policy=strict/--filter-policy=default/' /lib/systemd/system/ModemManager.service
 | 
				
			||||||
sudo systemctl daemon-reload
 | 
					sudo systemctl daemon-reload
 | 
				
			||||||
@ -68,15 +65,15 @@ sudo systemctl restart ModemManager
 | 
				
			|||||||
**/etc/udev/rules.d/56-dfu-util.rules:**
 | 
					**/etc/udev/rules.d/56-dfu-util.rules:**
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
# stm32duino
 | 
					# stm32duino
 | 
				
			||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1eaf", ATTRS{idProduct}=="0003", MODE:="0666"
 | 
					SUBSYSTEMS=="usb", ATTRS{idVendor}=="1eaf", ATTRS{idProduct}=="0003", TAG+="uaccess", RUN{builtin}+="uaccess"
 | 
				
			||||||
# Generic stm32
 | 
					# Generic stm32
 | 
				
			||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666"
 | 
					SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", TAG+="uaccess", RUN{builtin}+="uaccess"
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
**/etc/udev/rules.d/57-bootloadhid.rules:**
 | 
					**/etc/udev/rules.d/57-bootloadhid.rules:**
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
# bootloadHID
 | 
					# bootloadHID
 | 
				
			||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05df", MODE:="0666"
 | 
					SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05df", TAG+="uaccess", RUN{builtin}+="uaccess"
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Linux のブートローダモードで Serial デバイスが検知されない
 | 
					### Linux のブートローダモードで Serial デバイスが検知されない
 | 
				
			||||||
@ -116,23 +113,14 @@ OPT_DEFS += -DBOOTLOADER_SIZE=2048
 | 
				
			|||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## MacOS での `avr-gcc: internal compiler error: Abort trap: 6 (program cc1)` 
 | 
					## MacOS での `avr-gcc: internal compiler error: Abort trap: 6 (program cc1)` 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
これは brew での更新に関する問題で、avr-gcc が依存するシンボリックリンクを壊します。
 | 
					これは brew での更新に関する問題で、avr-gcc が依存するシンボリックリンクを壊します。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
解決法は全ての影響を受けたモジュールを削除し再インストールすることです。
 | 
					解決法は全ての影響を受けたモジュールを削除し再インストールすることです。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
brew rm avr-gcc
 | 
					brew rm avr-gcc avr-gcc@8 dfu-programmer dfu-util gcc-arm-none-eabi arm-gcc-bin@8 avrdude qmk
 | 
				
			||||||
brew rm avr-gcc@8
 | 
					brew install qmk/qmk/qmk
 | 
				
			||||||
brew rm dfu-programmer
 | 
					 | 
				
			||||||
brew rm dfu-util
 | 
					 | 
				
			||||||
brew rm gcc-arm-none-eabi
 | 
					 | 
				
			||||||
brew rm arm-gcc-bin@8
 | 
					 | 
				
			||||||
brew rm avrdude
 | 
					 | 
				
			||||||
brew install avr-gcc@8
 | 
					 | 
				
			||||||
brew install dfu-programmer
 | 
					 | 
				
			||||||
brew install dfu-util
 | 
					 | 
				
			||||||
brew install arm-gcc-bin@8
 | 
					 | 
				
			||||||
brew install avrdude
 | 
					 | 
				
			||||||
brew link --force avr-gcc@8
 | 
					brew link --force avr-gcc@8
 | 
				
			||||||
brew link --force arm-gcc-bin@8
 | 
					brew link --force arm-gcc-bin@8
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user