顯示具有 Raspberry Pi 標籤的文章。 顯示所有文章
顯示具有 Raspberry Pi 標籤的文章。 顯示所有文章

2019年4月14日 星期日

Raspbian enable SSH when creating SD card

$ sudo mount /dev/mmcblk0p1 /mnt/
$ cd /mnt
$ sudo touch SSH
$ sudo umount /mnt

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

2017年8月17日 星期四

Turning off usb

power off
# echo "1-4.4.4" > /sys/bus/usb/drivers/usb/unbind
power on
# echo "1-4.4.4" > /sys/bus/usb/drivers/usb/bind




References :
Controlling a USB power supply (on/off) with linux - Stack Overflow 

2016年8月6日 星期六

2016年6月4日 星期六

Raspberry Pi Wifi Adapter

# vi /etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
# ifup wlan0




References :
Edimax EW-7811UN Wifi dongle on Raspbian
Gentoo Forums :: 觀看文章 - [Solved] WPA_Supplicant issues

2014年1月8日 星期三

build Debian image for Raspberry Pi



References :
build your own Raspberry Pi SD card (original post from http://blog.kmp.or.at/2012/05/build-your-own-raspberry-pi-image/)

Pd-extended on Raspberry Pi

# vi /etc/apt/sources.list
deb-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