commit 237f15ec81a455a1316a438374b5bf4ded6964aa
parent 38cc4a1ff1c302f0d19fb22feffccec25ea0fa65
Author: rbckman <robinbackman@gmail.com>
Date: Tue, 1 Nov 2016 15:09:26 +0000
Merge branch 'master' of https://bitbucket.org/rbckman/tarina
Diffstat:
A | INSTALL.md | | | 73 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
M | README.md | | | 63 | --------------------------------------------------------------- |
2 files changed, 73 insertions(+), 63 deletions(-)
diff --git a/INSTALL.md b/INSTALL.md
@@ -0,0 +1,73 @@
+## Installing Adafruit 3.5 pitft screen ##
+https://learn.adafruit.com/adafruit-pitft-3-dot-5-touch-screen-for-raspberry-pi/easy-install
+
+## Configurations Rasbian Wheezy ##
+Booting to Tarina on Raspbian Wheezy (init)
+```
+nano /etc/inittab
+```
+comment out line 54
+```
+#1:2345:respawn:/sbin/getty --noclear 38400 tty1
+```
+add this line instead
+```
+1:2345:respawn:/bin/login -f root tty1 </dev/tty1 >/dev/tty1 2>&1
+```
+place this to the end of /root/.bashrc:
+```
+if [ $(tty) == /dev/tty1 ]; then
+ cd /home/pi/tarina
+ echo -e '\033[?17;0;0c' > /dev/tty1
+ python tarina.py > /dev/tty2 2>err.log
+fi
+```
+## Configurations Rasbian Jessie ##
+open new unit file
+```
+sudo nano /etc/systemd/system/tarina.service
+```
+and put this in it:
+```
+[Unit]
+Description=Starts Tarina
+DefaultDependencies=false # Very important! Without this line, the service
+ # would wait until networking.service
+ # has finished initialization. This could add 10
+ # more seconds because of DHCP, IP attribution, etc.
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/python /home/pi/tarina/tarina.py
+WorkingDirectory=/home/pi/tarina/
+StandardInput=tty
+#StandardOutput=tty
+TTYPath=/dev/tty5
+TTYReset=yes
+TTYVHangup=yes
+
+[Install]
+WantedBy=local-fs.target
+```
+Then run this
+```
+sudo chmod 664 /etc/systemd/system/tarina.service && sudo systemctl daemon-reload
+```
+
+if USB soundcard
+
+add this to /etc/modprobe.d/alsa-base.conf
+```
+#set index value
+options snd_usb_audio index=0
+options snd_bcm2835 index=1
+
+#reorder
+options snd slots=snd_usb_audio, snd_bcm2835
+```
+
+## Known problems ##
+
+* Seems like the whole thing runs better on Wheezy, even if it's the pi 2. I don't know why?
+* Systemd issue? or something else...
+* thumbnails is wierd looking on pi 3 with Jessie. Possible bug in python-picamera??
diff --git a/README.md b/README.md
@@ -29,69 +29,6 @@ git clone https://rbckman@bitbucket.org/rbckman/tarina.git
cd tarina
sudo ./install.sh
```
-
-## Installing Adafruit 3.5 pitft screen ##
-https://learn.adafruit.com/adafruit-pitft-3-dot-5-touch-screen-for-raspberry-pi/easy-install
-
-## Configurations Rasbian Wheezy ##
-Booting to Tarina on Raspbian Wheezy (init)
-```
-nano /etc/inittab
-```
-comment out line 54
-```
-#1:2345:respawn:/sbin/getty --noclear 38400 tty1
-```
-add this line instead
-```
-1:2345:respawn:/bin/login -f root tty1 </dev/tty1 >/dev/tty1 2>&1
-```
-place this to the end of /root/.bashrc:
-```
-if [ $(tty) == /dev/tty1 ]; then
- cd /home/pi/tarina
- echo -e '\033[?17;0;0c' > /dev/tty1
- python tarina.py > /dev/tty2 2>err.log
-fi
-```
-## Configurations Rasbian Jessie ##
-open new unit file
-```
-sudo nano /etc/systemd/system/tarina.service
-```
-and put this in it:
-```
-[Unit]
-Description=Starts Tarina
-DefaultDependencies=false # Very important! Without this line, the service
- # would wait until networking.service
- # has finished initialization. This could add 10
- # more seconds because of DHCP, IP attribution, etc.
-
-[Service]
-Type=simple
-ExecStart=/usr/bin/python /home/pi/tarina/tarina.py
-WorkingDirectory=/home/pi/tarina/
-StandardInput=tty
-#StandardOutput=tty
-TTYPath=/dev/tty5
-TTYReset=yes
-TTYVHangup=yes
-
-[Install]
-WantedBy=local-fs.target
-```
-Then run this
-```
-sudo chmod 664 /etc/systemd/system/tarina.service && sudo systemctl daemon-reload
-```
-
-## Known problems ##
-
-* Seems like the whole thing runs better on Wheezy, even if it's the pi 2. I don't know why?
-* Systemd issue? or something else...
-* thumbnails is wierd looking on pi 3 with Jessie. Possible bug in python-picamera??
-
## Couldn't have been done without these ##
Sending <3 to all