Difference between revisions of "Pi"

From Vague Hope Wiki
Jump to: navigation, search
(1-Wire)
Line 56: Line 56:
  
 
* http://www.raspberrypi.org/phpBB3/viewtopic.php?f=44&t=27379
 
* http://www.raspberrypi.org/phpBB3/viewtopic.php?f=44&t=27379
 +
 +
== frame buffers ==
 +
 +
$ setterm -cursor off
 +
$ mplayer -vo fbdev:/dev/fb1 -vf scale=-2:240 -sws 4 video.avi
 +
 +
* http://www.raspberrypi.org/phpBB3/viewtopic.php?f=93&t=48956&p=385092#p385092

Revision as of 09:00, 3 November 2013

Wifi

148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
/sbin/iwlist scan
/sbin/iwconfig

Setup: http://wiki.debian.org/WiFi/HowToUse#Command_Line

/etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "testwlan"
wpa-psk "testwlan"

DHCP cache: /var/lib/dhcp

Alt:

apti wicd wicd-cursors wicd-cli

Bluetooth

hcitool dev
hcitool scan
sudo /etc/init.d/bluetooth restart
sudo hidd --connect <BT_Address>

1-Wire

lsmod
sudo modinfo ds2490
sudo modprobe -r ds2490
sudo digitemp_DS2490 -i
sudo digitemp_DS2490 -q -a

Blacklist:

$ cat /etc/modprobe.d/ds2490
blacklist ds2490
blacklist ds9490r
blacklist wire

frame buffers

$ setterm -cursor off
$ mplayer -vo fbdev:/dev/fb1 -vf scale=-2:240 -sws 4 video.avi