| Zeile 1: |
Zeile 1: |
| | {{TOCRight}} | | {{TOCRight}} |
| | + | == Benoetigte Pakete == |
| | | | |
| | + | usb und video-Module installieren |
| | + | |
| | + | <pre> |
| | + | ipkg install kmod-usb-ohci oder kmod-usb-uhci (abhängig vom Gerät) |
| | + | ipkg install kmod-usb2 (nur bei Gerät mit USB 2.0 nötig) |
| | + | ipkg install libpthread |
| | + | ipkg install kmod-videodev |
| | + | </pre> |
| | + | |
| | + | danach Neustart. USB-module werden selbsttätig geladen. |
| | + | |
| | == Driver == | | == Driver == |
| | es gibt mittlerweile 4 Webcam-Driver von openwrt | | es gibt mittlerweile 4 Webcam-Driver von openwrt |
| Zeile 19: |
Zeile 31: |
| | cd /lib/modules/2.4.30/ | | cd /lib/modules/2.4.30/ |
| | gunzip spca5xx_lite.o.gz | | gunzip spca5xx_lite.o.gz |
| − | </pre>
| |
| − |
| |
| − | nun noch video-modul und .jpg unterstützung laden
| |
| − |
| |
| − | <pre>
| |
| − | ipkg install libpthread
| |
| − | ipkg install kmod-videodev
| |
| | </pre> | | </pre> |
| | | | |
| | danach Neustart.<br> | | danach Neustart.<br> |
| − | Die Module leider nicht beim Neustart selbstständig geladen. | + | Die Module werden leider nicht beim Neustart selbstständig geladen. |
| | Webcammodule laden mit | | Webcammodule laden mit |
| | | | |
| Zeile 136: |
Zeile 141: |
| | # motion starten | | # motion starten |
| | motion | | motion |
| | + | </pre> |
| | + | |
| | + | === setpwc === |
| | + | * Tool zum einstellen der Kamera |
| | + | * Hilfe: |
| | + | <pre> |
| | + | setpwc -h |
| | + | |
| | + | setpwc v1.2, (C) 2003-2006 by folkert@vanheusden.com |
| | + | -d device device to use (default: /dev/video0) |
| | + | -p dump current settings |
| | + | -f x set framerate (0...63) |
| | + | -S w,h,x set width/height/framerate |
| | + | -b store settings in nonvolatile RAM |
| | + | -r restore settings from nonvolatile RAM |
| | + | -x restore factory settings |
| | + | -c x set compression preference (0-3) |
| | + | -g x set automatic gain control (0...65535) |
| | + | -s x set shutter speed (1...65535) |
| | + | -w auto/manual/indoor/outdoor/fl |
| | + | set automatic white balance mode |
| | + | -a x red-balance (only if -w manual) (0...65535) |
| | + | -e x blue-balance (idem) (0...65535) |
| | + | -i x speed of automatic white balance (1...65535) |
| | + | -j x delay for automatic white balance (1...65535) |
| | + | -k x set led on-time (0...25500ms |
| | + | -l x set led off-time |
| | + | -m x set electronic sharpness (0...65535) |
| | + | -n x set backlight compensation (0=0ff, other=on) |
| | + | -o x set antiflicker mode (0=0ff, other=on) |
| | + | -q x set noise reduction mode (0=none...3=high) |
| | + | -t x reset pan(bit 0) and/or tilt(bit 1) |
| | + | -u query pan/tilt status |
| | + | -y x set pan position |
| | + | -z x set tilt position |
| | + | -h this help |
| | </pre> | | </pre> |
| | | | |