$ sudo mount /dev/mmcblk0p1 /mnt/
$ cd /mnt
$ sudo touch SSH
$ sudo umount /mnt
2019年4月14日 星期日
2018年12月8日 星期六
Reduce Raspberry Pi Zero power consumption
# vi /etc/rc.local# Disable HDMI
/usr/bin/tvservice -o
# Disable LEDs
echo none > /sys/class/leds/led0/trigger
echo 1 > /sys/class/leds/led0/brightness
References :
Raspberry Pi Zero - Conserve power and reduce draw to 80mA
Controlling PWR and ACT LEDs on the Raspberry Pi
2018年11月2日 星期五
org.bluez.Error.Failed
# rfkill unblock bluetooth
# hciconfig hci0 up
References :
蓝牙设备上电提示Failed to set power on: org.bluez.Error.Blocked - pengrui18的专栏 - CSDN博客
2018年5月1日 星期二
pygattlib on Raspberry Pi
pkg-config
libboost-python-dev
libboost-thread-dev
libbluetooth-dev >= 4.101
libglib2.0-dev
python-dev
References :
mbientlab/pygattlib
筆記, 抓取小米花花草草監測儀的數據資料 (Mi Flora, Bluetooth Low Energy) - 大兵萊恩 一路直前
2017年8月17日 星期四
Turning off usb
power off
References :
Controlling a USB power supply (on/off) with linux - Stack Overflow
# echo "1-4.4.4" > /sys/bus/usb/drivers/usb/unbindpower on
# echo "1-4.4.4" > /sys/bus/usb/drivers/usb/bind
References :
Controlling a USB power supply (on/off) with linux - Stack Overflow
標籤:
linux,
Raspberry Pi,
USB
2017年4月21日 星期五
Linux disabling blank screen
$ xset s off
$ xset -dpms
$ xset s noblank
References :
How to Disable the Blank Screen on Raspberry Pi (Raspbian) | HackLab
2016年8月6日 星期六
Raspberry Pi DS3231 RTC clock
# vi /boot/config
dtparam=i2c_arm=on
# modprobe i2c-bcm2708
# echo ds3231 0x68 | sudo tee /sys/class/i2c-adapter/i2c-1/new_device
# vi /etc/rc.local
echo ds3231 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
hwclock -s
2016年6月4日 星期六
Raspberry Pi Wifi Adapter
# vi /etc/network/interfaces
auto wlan0# ifup wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
References :
Edimax EW-7811UN Wifi dongle on Raspbian
Gentoo Forums :: 觀看文章 - [Solved] WPA_Supplicant issues
2014年1月8日 星期三
Pd-extended on Raspberry Pi
# vi /etc/apt/sources.listdeb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free rpi$ wget https://puredata.info/downloads/pd-extended-0-43-3-on-raspberry-pi-raspbian-wheezy-armhf/releases/1.0/Pd-0.43.3-extended-20121004.deb
$ sudo dpkg -i Pd-0.43.3-extended-20121004.deb
$ sudo apt-get update
$ sudo apt-get -f install
References :
Pd-extended 0.43.3 on Raspberry Pi (Raspbian Wheezy) - armhf — PD Community Site
2013年12月9日 星期一
訂閱:
文章 (Atom)