树莓派3(Raspberry pi 3)刷kali+3.5寸微雪屏
1.点亮微雪3.5寸屏幕
需要的工具1:https://github.com/swkim01/waveshare-dtoverlays
1 | git clone https://github.com/swkim01/waveshare-dtoverlays.git waveshare-dtoverlays |
编辑/boot/config.txt添加
1 | dtoverlay=waveshare35a |
需要的工具2:https://github.com/adafruit/Adafruit-PITFT-Helper
1 | git clone https://github.com/adafruit/Adafruit-PiTFT-Helper.git |
全选y
reboot,屏幕可以用了。
2.换源
编辑/etc/apt/sources.list文件
对于Kali 2.0,使用ipv4网络添加如下内容
1 | deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib |
3.屏幕校准
apt-get install -y xinput-calibrator
DISPLAY=:0.0 xinput_calibrator
终端输出一组4个数字的数据,修改到/etc/X11/xorg.conf.d/99-calibration.conf
如果触摸不正常请把此文件改成如下
Section “InputClass”
Identifier “calibration”
MatchProduct “ADS7846 Touchscreen”Option “Calibration” “3946 229 164 3881”Option “SwapAxes” “1”
EndSection
4.安装raspi-config
1 | wget http://archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20160527_all.deb |