This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
raspberry [2015/01/18 17:47] – [SainSmart 3.2] admin | raspberry [2015/12/25 23:02] (current) – [Wifi Setup] admin | ||
---|---|---|---|
Line 26: | Line 26: | ||
network={ | network={ | ||
ssid=" | ssid=" | ||
- | psk="_wallstreet39_" | + | psk="xxxxxxxxx" |
key_mgmt=WPA-PSK | key_mgmt=WPA-PSK | ||
} | } | ||
</ | </ | ||
- | ===== SainSmart 3.2" ===== | + | ===== SainSmart 3.2" |
- | Follow this: https://github.com/notro/rpi-firmware/issues/6#issuecomment-63180647 | + | Follow this: http://www.raspberrypi.org/forums/viewtopic.php? |
+ | |||
+ | / | ||
+ | |||
+ | < | ||
+ | # / | ||
+ | # | ||
+ | # This file contains the names of kernel modules that should be loaded | ||
+ | # at boot time, one per line. Lines beginning with "#" | ||
+ | # Parameters can be specified after the module name. | ||
+ | |||
+ | snd-bcm2835 | ||
+ | ## TOUCH SCREEN MODULE | ||
+ | fbtft_device name=waveshare32b | ||
+ | </code> | ||
+ | |||
+ | /etc/ | ||
+ | |||
+ | < | ||
+ | #!/ | ||
+ | # | ||
+ | # rc.local | ||
+ | # | ||
+ | # This script is executed at the end of each multiuser runlevel. | ||
+ | # Make sure that the script will "exit 0" on success or any other | ||
+ | # value on error. | ||
+ | # | ||
+ | # In order to enable or disable this script just change the execution | ||
+ | # bits. | ||
+ | # | ||
+ | # By default this script does nothing. | ||
+ | |||
+ | ## TOUCH SCREEN IF HDMI OR TOUCH SCREEN | ||
+ | echo "is it HDMI or DVI?" > / | ||
+ | / | ||
+ | if (/ | ||
+ | echo "HDMI / DVI screen" | ||
+ | # below setting is default | ||
+ | # con2fbmap 1 0 | ||
+ | else | ||
+ | echo " | ||
+ | con2fbmap 1 1 | ||
+ | fi | ||
+ | |||
+ | |||
+ | # Print the IP address | ||
+ | _IP=$(hostname -I) || true | ||
+ | if [ " | ||
+ | printf "My IP address is %s\n" " | ||
+ | fi | ||
+ | |||
+ | exit 0 | ||
+ | </ | ||
+ | |||
+ | Run "sudo raspi-config" | ||
+ | |||
+ | ===== SainSmart 3.2" - touch ===== | ||
+ | |||
+ | |||
+ | ===== Disable screensaver/ | ||
+ | |||
+ | |||
+ | / | ||
+ | |||
+ | < | ||
+ | # NO BLANK SCREEN | ||
+ | @xset s noblank | ||
+ | @xset s off | ||
+ | @xset -dpms | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Enable screen to show/work on commandline ===== | ||
+ | |||
+ | This is to get the screen working while booting and show whats going on during boot time on your Pi! | ||
+ | |||
+ | Add the following after " | ||
+ | |||
+ | fbcon=map: |