diff --git a/README.md b/README.md index 0935989..67840ca 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # wiki.brainux.org -[How to edit](https://wiki.brainux.org/meta/meta-how-to-edit-wiki/) +[How to edit](https://wiki.brainux.org/meta/how-to-edit-wiki/) diff --git a/collections/_linux/brain-config.md b/collections/_linux/brain-config.md index 00b8fd1..3283e42 100644 --- a/collections/_linux/brain-config.md +++ b/collections/_linux/brain-config.md @@ -26,3 +26,13 @@ $ sudo brain-config 4. "Back" を押しトップメニューに戻ります 5. "Finish" を選択すると再起動が促されるため再起動します 6. 再起動したら容量が増えていることを `lsblk` コマンドを使って確認します + + +# USB コントローラの動作モードを変更する + +上下左右キーと Enter キー(決定キー)を使って以下の手順に従って操作します。 + +1. "Interface Options" を選択します +2. "USB Switch the role of the USB Host Controller" を選択します +3. USB ホストにしたい場合は "host" を、USB Gadget にしたい場合は "peripheral" を選択します +4. トップメニューの "Finish" を選択、再起動します diff --git a/collections/_meta/how-to-edit-wiki.md b/collections/_meta/how-to-edit-wiki.md index 5673de8..35aa13a 100644 --- a/collections/_meta/how-to-edit-wiki.md +++ b/collections/_meta/how-to-edit-wiki.md @@ -101,8 +101,8 @@ $ npm run mdlint - master ブランチを pull して最新の本文を取得します - 新たにブランチを作成します - 後で Pull Request として提出するため、`master` ブランチには直接コミットしないでください -- `_posts` ディレクトリにあるほかのファイルを参考にして md ファイルを追加します - - 例: `2038-1-19-doomsday.md` +- `collections` ディレクトリにあるほかのファイルを参考にして md ファイルを追加します + - 例: `doomsday.md` - 記事内容を記述します - `npm run textlint` と `npm run mdlint` を実行し、エラーが出ないことを確認します - もし誤検知があった場合はルールを修正するかレビュアーと相談してください diff --git a/collections/_tips/usb-ethernet-gadget.md b/collections/_tips/usb-ethernet-gadget.md index a582dcc..0f3a57a 100644 --- a/collections/_tips/usb-ethernet-gadget.md +++ b/collections/_tips/usb-ethernet-gadget.md @@ -21,7 +21,11 @@ excerpt: PC と USB ケーブル1本で接続できる便利な仕組みとそ # USB コントローラの動作モードを変更する 初期状態では Brain の USB コントローラはホストとして動作するため、このままではデバイスになることができません。 -2022年1月8日現在ではまだありませんが、コントローラの動作モードを簡単に切り替えるスクリプトを用意する予定です。 +コントローラの動作モードを切り替えるには brain-config というツールを使います。 +詳しい使い方は[brain-config](/linux/brain-config)のページで確認してください。 + + +# 手動での変更 手動で変更するには、以下の手順に従ってください。