Tupf.
Needed HW
- Lenovo W500 (or other HW to programm your SD card)
- Raspberry Pi
- HDMI cable, ethernet cable, usb mouse and keyboard
- power supply with mini usb (I use Vivanco PAH3)
- Webcam Microsoft VX 800
- SD card SAMSUNG MB-SS8GA, or other
- wifi usb EW-7811UN
I read and heard a couple of times that I cannot use built in SD drives for SD card setup. It works for me though. But I had to follow the steps below.
Ref.: http://forums.lenovo.com/t5/W-Series-Th ... d-p/202550
- Start Windows XP and log on with a user ID authorized as an administrator
- Click Start and then click Control Panel
- Click Performance and Maintenance
- Click System
- Click the Hardware tab
- Click Device Manager
- Double-click the IDE ATA/ATAPI Controller section
- Double-click Ricoh SD Bus Host Adapter
- Click the Driver tab
- Click the Update Driver button
- Select No, not this time and click Next
- Select Install from a list or specific location and click Next
- Select Don't search. I will choose the driver to install and click Next
- Select SDA Standard Compliant SD Host Controller and click Next
- Follow the instructions on the screen to complete installation
- Restart the computer
Retrieve image
Ref.: http://www.raspberrypi.org/downloads
such as 2012-08-16-wheezy-raspbian.zip, this one works fine.
Setup SD card
Ref.: http://elinux.org/RPi_Easy_SD_Card_Setup
see Section "Copying the image to an SD Card on Windows if first option isn't successful"
- Download flashnul from http://shounen.ru/soft/flashnul
- flashnul.exe -p, check the drive
- flashnul.exe 1 -L 2012-08-16-wheezy-raspbian.img
- connect to tv, mouse, keyboard and power supply
- boot prompts for boot settings: change password + ssh server. You want ssh server enabled
Editor (emacs)
Ref.: http://romkey.com/2012/06/03/gnu-emacs-on-rasperry-pi/
- sudo apt-get update
- sudo apt-get install emacs
- sudo cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime
Ref.: http://www.raspberrypi.org/phpBB3/viewtopic.php?t=7395
- sudo apt-get install tightvncserver
- vncserver and enter password, and enter view only password
- cd /etc/init.d
- sudo emacs tightvncserver
- copy this into the file
# /etc/init.d/tightvncserver
#
# Carry out specific functions when asked to by the system
case "$1" in
start)
su pi -c '/usr/bin/vncserver'
echo "Starting VNC server "
;;
stop)
pkill vncserver
echo "VNC Server has been stopped (didn't double check though)"
;;
*)
echo "Usage: /etc/init.d/blah {start|stop}"
exit 1
;;
esac
exit 0
- Make script executable: sudo chmod +x tightvncserver
- Make it run during boottime: sudo update-rc.d tightvncserver defaults
- Kill previous vnc server: sudo pkill Xtightvnc and check if vnc is still runninh with exeuting ps aux | grep vnc.
- Start vnc again: sudo /etc/init.d/tightvncserver start
- Open vnc client on other computer ...
Ref.: http://www.chrisge.org/blog/2012-04-10/ ... iii_motion
- sudo apt-get install motion
- sudo apt-get install libv4l-0
- sudo apt-get install uvccapture
- dmesg | tail, you should see you camera attached in the output message, if it is connected to your HW
- edit /etc/default/motion and set "start_motion_daemon" to yes
- edit /etc/motion/motion.conf with the following settings (these are just examples, which work for me. You will need to do optimizations yourself)
set "minimum_frame_time 5", this can be modified, depending how often you want to take picture
set "pre_capture 2"
set "post_capture 2"
set "output_normal on"
set "quality 100"
set "ffmpeg_cap_new on"
set "ffmpeg_timelapse 30"
set "ffmpeg_variable_bitrate 2"
set "get_dir /media/webcam/motion"
set "webcam_port 8080"
set "control_port 8081", this matters!!!
set "webcam_localhost off"
set "width 320", this matters!!!
set "height 240", this matters!!!
note that webcam_port, control_port, width, height do matter. Wrong settings can cause the camera not to work.
- give /media dir access rights: sudo chmod 777 /media
- start motion with sudo /etc/init.d/motion start
- check if all is ok with tail -f /var/log/syslog
- if you want to stop motion: sudo /etc/init.d/motion stop
- check you browser if picture is displayed: http://xx.xx.xx.xx:8080/
- controls can be also set here: http://xx.xx.xx.xx:8081/
Ref.: http://www.raspberrypi.org/phpBB3/viewt ... =31&t=7471
Ref.: http://www.ctrl-alt-del.cc/2012/05/rasp ... s-ada.html
Ref.: http://dl.dropbox.com/u/80256631/install-rtl8188cus.txt
- cd /boot
- get script: sudo wget http://dl.dropbox.com/u/80256631/ install-rtl8188cus-latest.sh -O /boot/install-rtl8188cus-latest.sh
- plug in EW-7811UN
- run script
- enter SSID
- enter password