差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
retropie:030-010initialconf [2017/07/18 05:43]
admin
retropie:030-010initialconf [2017/07/18 06:09] (現在)
admin
ライン 5: ライン 5:
 参考) http://​eagle0wl.hatenadiary.jp/​entry/​2016/​09/​06/​225219 参考) http://​eagle0wl.hatenadiary.jp/​entry/​2016/​09/​06/​225219
  
-=====最初の設定===== 
  
-====ユーザ設定====+=====ユーザ設定=====
 <​code>​ <​code>​
 $ sudo su - $ sudo su -
ライン 18: ライン 17:
 pi ALL=(ALL) ALL pi ALL=(ALL) ALL
 rpi ALL=(ALL) ALL rpi ALL=(ALL) ALL
-<・こで>+</​code>​
  
-====SSH root ログイン制限====+=====root ログイン制限=====
 # vi /​etc/​ssh/​sshd_config # vi /​etc/​ssh/​sshd_config
 <​code>​ <​code>​
ライン 27: ライン 26:
 </​code>​ </​code>​
  
-====ネットワーク設定==== +=====ネットワーク設定=====
-<​code>​+
 # vi /​etc/​resolv.conf # vi /​etc/​resolv.conf
 # vi /​etc/​network/​interfaces # vi /​etc/​network/​interfaces
 +<​code>​
 allow-hotplug wlan0 allow-hotplug wlan0
 iface wlan0 inet manual iface wlan0 inet manual
   wpa-conf /​etc/​wpa_supplicant/​wpa_supplicant.conf   wpa-conf /​etc/​wpa_supplicant/​wpa_supplicant.conf
 +</​code>​
  
 # vi /​etc/​wpa_supplicant/​wpa_supplicant.conf # vi /​etc/​wpa_supplicant/​wpa_supplicant.conf
 +
 +=====swap停止=====
 # update-rc.d dphys-swapfile remove # update-rc.d dphys-swapfile remove
-</​code>​ 
  
 =====bash設定===== =====bash設定=====
 +
 +.bashrcの設定
 <code bash bashrc> <code bash bashrc>
 export PATH=~/​bin:​${PATH} export PATH=~/​bin:​${PATH}
ライン 63: ライン 66:
 </​code>​ </​code>​
  
 +.bas_aliasesの設定
 <code bash bash_aliases>​ <code bash bash_aliases>​
 alias lsa="​\ls -lsAF --color=auto"​ alias lsa="​\ls -lsAF --color=auto"​
ライン 77: ライン 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]]
  
-=====スクリプト=====+=====メンテ用スクリプト=====
 ・celeanlog ・celeanlog
 ・maintenance_reboot ・maintenance_reboot
  
-=====config.txt===== +[[raspberry_pi:​0090script]]
-dtparam=i2c_arm=on,​spi=on +
-dtoverlay=pitft28-resistive,​rotate=90,​speed=48000000,​fps=30+
  
-=====fbcp===== +=====画面設定=====
-https://​github.com/​howardqiao/​zpod +
- +
-# wget https://​github.com/​howardqiao/​zpod/​raw/​master/​zpod_res/​fbcp +
-# chmod a+x fbcp +
-# cp /​usr/​local/​bin +
-#vi /​etc/​rc.local +
-<​code>​ +
-/​usr/​local/​bin/​fbcp&​ +
-</​code>​+
  
-=====HDMI設定===== 
 # 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>​
 hdmi_drive=2 hdmi_drive=2
 </​code>​ </​code>​
  
-# vi /​opt/​retropie/​configs/​all/​emulationstation/​es_input.cfg +<​code>​ 
-<​code ​cfg es_input.cfg+dtparam=i2c_arm=on,spi=on 
-<?xml version="​1.0"?>​ +dtoverlay=pitft28-resistive,​rotate=90,speed=48000000,fps=30
-<​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>​ </​code>​
  
-コントローラBー=J・コントローラA=Kにするならば次の様に設定 +=====fbcp===== 
-<code cfg es_input.cfg>​ +https://​github.com/​howardqiao/​zpod 
-    <input name="​a"​ type="​key"​ id="​13"​ value="​1"/>​ + 
-    <input name="​b"​ type="​key"​ id="​27"​ value="​1"​/>+# wget https://​github.com/​howardqiao/​zpod/​raw/​master/​zpod_res/​fbcp 
 +# chmod a+x fbcp 
 +# cp /​usr/​local/​bin 
 +# vi /​etc/​rc.local 
 +<code> 
 +/​usr/​local/​bin/​fbcp&​
 </​code>​ </​code>​
 +
  
retropie/030-010initialconf.1500356593.txt.gz · 最終更新: 2017/07/18 05:43 by admin
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0