2016年3月14日 星期一

linux內部sensor相關指令

thermal sensor數值
cat /sys/class/thermal/thermal_zone0/temp

wm8962
input: WM8962 Beep Generator as /devices/platform/imx-i2c.0/i2c-0/0-001a/input/input

<Disable all displays>
echo 1 > /sys/class/graphics/fb0/blank
echo 1 > /sys/class/graphics/fb1/blank
echo 1 > /sys/class/graphics/fb2/blank
echo 1 > /sys/class/graphics/fb3/blank
echo 1 > /sys/class/graphics/fb4/blank


<Enable LVDS display>
After disable all displays,
echo 0 > /sys/class/graphics/fb0/blank

<Enable HDMI display>
After disable all displays,
echo 0 > /sys/class/graphics/fb2/blank

VI 用到的指令設定

在 ~ 下新增檔案 ".vimrc"

內容如下

set nocompatible
set backspace=2
set number
set tabstop=4

2016年3月7日 星期一

Windows update卡住

有關於 WindowsUpdate 檢查更新卡住、下載更新卡住、安裝更新卡住、不管怎樣的卡住沒進度 0%
更新好久的問題都可以使用這個方式來解決看看!!! 
 
解決辦法:
首先找到 C:\Windows 的「SoftwareDistribution 」將裏頭的資料夾全刪除
 
重開機後再重回 WindowsUpdate 重新更新,雖然速度還是比較久一點,但絕對會順利下載!