差分
この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
retropie:030-010initialconf [2017/07/18 05:50] admin |
retropie:030-010initialconf [2017/07/18 06:09] (現在) admin |
||
---|---|---|---|
ライン 19: | ライン 19: | ||
</code> | </code> | ||
- | =====リモートでのroot ログイン制限===== | + | =====root ログイン制限===== |
# vi /etc/ssh/sshd_config | # vi /etc/ssh/sshd_config | ||
<code> | <code> | ||
ライン 81: | ライン 81: | ||
参考) https://arakan60.com/?p=3075 | 参考) https://arakan60.com/?p=3075 | ||
+ | |||
+ | メモ: | ||
+ | これでどのような表示がされる? | ||
+ | # systemctl status rc-local.service -l" | ||
+ | |||
+ | 参考) https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=122207 | ||
=====overlayfs===== | =====overlayfs===== | ||
[[raspberry_pi:0060overlayfs]] | [[raspberry_pi:0060overlayfs]] | ||
- | =====メンテナンス用スクリプト===== | + | =====メンテ用スクリプト===== |
・celeanlog | ・celeanlog | ||
・maintenance_reboot | ・maintenance_reboot | ||
- | =====config.txt===== | + | [[raspberry_pi:0090script]] |
- | 画面設定 | + | |
- | # vi /boot/config.txt | + | =====画面設定===== |
+ | # vi /boot/config.txt | ||
<code> | <code> | ||
#disable_overscan=1 | #disable_overscan=1 | ||
+ | </code> | ||
+ | <code> | ||
hdmi_force_hotplug=1 | hdmi_force_hotplug=1 | ||
+ | </code> | ||
+ | <code> | ||
framebuffer_width=320 | framebuffer_width=320 | ||
framebuffer_height=240 | framebuffer_height=240 | ||
</code> | </code> | ||
- | |||
<code> | <code> | ||
hdmi_drive=2 | hdmi_drive=2 | ||
ライン 121: | ライン 130: | ||
</code> | </code> | ||
- | =====joypad設定===== | ||
- | |||
- | # vi /opt/retropie/configs/all/emulationstation/es_input.cfg | ||
- | <code cfg es_input.cfg> | ||
- | <?xml version="1.0"?> | ||
- | <inputList> | ||
- | <inputAction type="onfinish"> | ||
- | <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command> | ||
- | </inputAction> | ||
- | <inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1"> | ||
- | <input name="start" type="key" id="122" value="1"/> | ||
- | <input name="up" type="key" id="1073741906" value="1"/> | ||
- | <input name="a" type="key" id="106" value="1"/> | ||
- | <input name="b" type="key" id="107" value="1"/> | ||
- | <input name="down" type="key" id="1073741905" value="1"/> | ||
- | <input name="right" type="key" id="1073741903" value="1"/> | ||
- | <input name="x" type="key" id="117" value="1"/> | ||
- | <input name="select" type="key" id="120" value="1"/> | ||
- | <input name="y" type="key" id="105" value="1"/> | ||
- | <input name="left" type="key" id="1073741904" value="1"/> | ||
- | </inputConfig> | ||
- | <inputConfig type="joystick" deviceName="USB Gamepad " deviceGUID="03000000790000001100000010010000"> | ||
- | <input name="pageup" type="button" id="4" value="1"/> | ||
- | <input name="start" type="button" id="7" value="1"/> | ||
- | <input name="up" type="axis" id="1" value="-1"/> | ||
- | <input name="a" type="button" id="3" value="1"/> | ||
- | <input name="b" type="button" id="2" value="1"/> | ||
- | <input name="down" type="axis" id="1" value="1"/> | ||
- | <input name="pagedown" type="button" id="5" value="1"/> | ||
- | <input name="right" type="axis" id="0" value="1"/> | ||
- | <input name="x" type="button" id="1" value="1"/> | ||
- | <input name="select" type="button" id="6" value="1"/> | ||
- | <input name="y" type="button" id="0" value="1"/> | ||
- | <input name="left" type="axis" id="0" value="-1"/> | ||
- | </inputConfig> | ||
- | <inputConfig type="joystick" deviceName="HORI CO.,LTD HORI PAD 3 TURBO" deviceGUID="030000000d0f00000900000011010000"> | ||
- | <input name="pageup" type="button" id="4" value="1"/> | ||
- | <input name="start" type="button" id="9" value="1"/> | ||
- | <input name="up" type="hat" id="0" value="1"/> | ||
- | <input name="a" type="button" id="2" value="1"/> | ||
- | <input name="b" type="button" id="1" value="1"/> | ||
- | <input name="down" type="hat" id="0" value="4"/> | ||
- | <input name="pagedown" type="button" id="5" value="1"/> | ||
- | <input name="right" type="hat" id="0" value="2"/> | ||
- | <input name="x" type="button" id="3" value="1"/> | ||
- | <input name="select" type="button" id="8" value="1"/> | ||
- | <input name="y" type="button" id="0" value="1"/> | ||
- | <input name="left" type="hat" id="0" value="8"/> | ||
- | </inputConfig> | ||
- | </inputList> | ||
- | </code> | ||
- | |||
- | コントローラBー=J・コントローラA=Kにするならば次の様に設定 | ||
- | <code cfg es_input.cfg> | ||
- | <input name="a" type="key" id="13" value="1"/> | ||
- | <input name="b" type="key" id="27" value="1"/> | ||
- | </code> | ||