Webcam-Howto.: Unterschied zwischen den Versionen

Aus Weimarnetz Wiki
Zur Navigation springen Zur Suche springen
 
(84 dazwischenliegende Versionen von 5 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
es gibt mittlerweile 4 Webcam-Driver von openwrt
+
{{TOCRight}}
  
== spca5xx/spca5xx_LE ==
+
Dies ist eine Anleitung, wie man aus Freifunk Geräten eine mobile Webcam bastelt. Diese Anleitung ist aktueller als [http://wiki.leipzig.freifunk.net/Asus_WL-HDD2.5 die aus Leipzig]<p>
 +
 
 +
== Benoetigte Pakete ==
 +
 
 +
usb und video-Module installieren
 +
<pre>
 +
ipkg install kmod-usb-ohci (abhängig vom Gerät:USB chips BCM4710 oder BCM4712)
 +
oder
 +
ipkg install kmod-usb-uhci (für Asus wl500gd und Asus wl500gp)
 +
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.
 +
 +
== Webcam-Driver ==
 +
=== spca5xx/spca5xx_LE - Driver===
 +
* Welches DriverModul ihr braucht kommt auf Eure Kamera an --> [http://mxhaard.free.fr/spca5xx.html Uebersicht]
 
* Installation:
 
* Installation:
:Welches Driver-modul ihr braucht kommt auf Eure Kamera an --> [http://mxhaard.free.fr/spca5xx.html Uebersicht]
 
 
 
<pre>
 
<pre>
# spca5xx-Modul
+
# spca5xx-Modul (nur Driver)
ipkg install http://ping02.stura.uni-weimar.de/dave/kmod-spca5xx_2.4.30+20060501-brcm-1_mipsel.ipk
+
ipkg install http://weimarnetz.de/ipkg/packages/kmod-spca5xx_2.4.30+20060501-brcm-1_mipsel.ipk
 
 
  
# spca5xx/LE-Modul
+
# spca5xx/LE-Modul (nur Driver)
 
cd /tmp
 
cd /tmp
wget http://ping02.stura.uni-weimar.de/dave/spca5xx_lite.o.gz
+
wget http://ping02.stura.uni-weimar.de/dave/spca5xx_le.o
mv spca5xx_lite.o.gz /lib/modules/2.4.30
+
mv spca5xx_le.o /lib/modules/2.4.30
cd /lib/modules/2.4.30/
 
gunzip spca5xx_lite.o.gz
 
</pre>
 
 
 
nun noch video-modul und .jpg unterstützung laden
 
  
<pre>
+
# spca5xx/LE-Paket (Driver, Spcacat, Servfox, JavaApplet, Startscript ...)
ipkg install libpthread
+
ipkg install http://weimarnetz.de/ipkg/packages/spca5xx-le-webcam_1_mipsel.ipk
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
  
 
<pre>
 
<pre>
 
insmod videodev
 
insmod videodev
insmod spca5xx oder insmod spca5xx_lite
+
insmod spca5xx oder insmod spca5xx_le
 
</pre>
 
</pre>
  
Zeile 50: Zeile 58:
  
 
<pre>
 
<pre>
root@dave_yakumo:~# dmesg
+
....
Creating 5 MTD partitions on "Physically mapped flash":
 
0x00000000-0x00040000 : "cfe"
 
0x00040000-0x003f0000 : "linux"
 
0x000b5fec-0x00180000 : "rootfs"
 
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
 
0x003f0000-0x00400000 : "nvram"
 
0x00180000-0x003f0000 : "OpenWrt"
 
diag boardtype: 0000041a
 
Probing device eth0: No Robo switch in managed mode found
 
Probing device eth1: No Robo switch in managed mode found
 
Probing device eth2: No such device
 
Probing device eth3: No such device
 
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
 
eth2: Broadcom BCM4320 802.11 Wireless Controller 3.90.37.0
 
usb.c: registered new driver usbdevfs
 
usb.c: registered new driver hub
 
usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
 
usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
 
usb.c: new USB bus registered, assigned bus number 1
 
hub.c: USB hub found
 
hub.c: 2 ports detected
 
SCSI subsystem driver Revision: 1.00
 
Initializing USB Mass Storage driver...
 
usb.c: registered new driver usb-storage
 
USB Mass Storage support registered.
 
uhci.c: USB Universal Host Controller Interface driver v1.1
 
Linux video capture interface: v1.00
 
 
usb.c: registered new driver spca5xx
 
usb.c: registered new driver spca5xx
 
drivers/usb/spca5xx.c: spca5xx driver 00.57.07 registered
 
drivers/usb/spca5xx.c: spca5xx driver 00.57.07 registered
Zeile 87: Zeile 68:
 
</pre>
 
</pre>
  
interessant ist für uns eigentlich nur "Gerät erkannt"
+
also Driver gefunden, Webcam erkannt. Und das mit der Aldi-Cam super!
 +
 
 +
=== pwc/pwcx - Driver===
 +
* Alle gängigen Cams stehen in dieser [http://www.cs.umu.se/~c00ahs/exjobb/philips/index.html Uebersicht]
 +
* Installation:
 +
<pre>
 +
# pwc-Paket (Driver, setpwc, Mvc, Camsrv, JavaApplet, Startscript ...)
 +
ipkg install http://weimarnetz.de/ipkg/packages/philips-webcam_0.2_mipsel.ipk
 +
</pre>
 +
 
 +
bei der Installation wird automatisch ein startscript '''/etc/init.d/S90webcam''' angelegt.
 +
 
 +
<pre>
 +
cd /etc/init.d/
 +
vi S90webcam
 +
</pre>
 +
 
 +
<pre>
 +
#!/bin/sh
 +
 
 +
# unload drivers in case the were loaded
 +
killall camsrv; rmmod pwcx; rmmod pwc; rmmod videodev
 +
 
 +
# load webcam driver modules (it can be assumed that the USB drivers are compiled into the kernel or were installed & autoloaded)
 +
insmod videodev || exit 1
 +
insmod pwc || exit 2
 +
insmod pwcx || exit 3
 +
 
 +
sleep 1
 +
 
 +
# check if video device was allocated
 +
if [ ! -e /dev/v4l/video0 ]; then exit 4; fi
 +
 
 +
camsrv -D /dev/v4l/video0 -r VGA -c 0 -F 5 &
 +
</pre>
 +
 
 +
'''Tipp:''' Um die Kontrolllampe aus zu machen muss beim laden des Drivers noch die Option
 +
<pre>
 +
insmod pwc leds=0,0
 +
</pre>
 +
übergeben werden. Alle anderen Optionen sind [http://marc.info/?l=linux-usb-devel&m=109356599003427&w=2 hier] gelistet.
 +
 
 +
==== 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>
 +
 +
* Projektseiten:
 +
** [http://www.saillard.org/linux/pwc/ http://www.saillard.org/linux/pwc/]
 +
** [http://www.smcc.demon.nl/webcam/ http://www.smcc.demon.nl/webcam/]
 +
** [http://www.vanheusden.com/setpwc/ http://www.vanheusden.com/setpwc/]
 +
 +
=== ov511/ov51x - Driver===
 
<pre>
 
<pre>
usb.c: registered new driver spca5xx
+
ipkg install http://weimarnetz.de/ipkg/packages/ov511_1_mipsel.ipk
drivers/usb/spca5xx.c: spca5xx driver 00.57.07 registered
+
 
hub.c: new USB device 00:04.0-1, assigned address 2
+
oder
drivers/usb/spca5xx.c: USB SPCA5XX camera found. Qtec Webcam 100 Pac207-BCA
+
 
drivers/usb/spca5xx.c: [spca5xx_probe:8380] Camera type GBRG
+
ipkg install http://weimarnetz.de/ipkg/packages/kmod-ov51x-2.4.30+1.65-1.12-mark-brcm_1_mipsel.ipk
drivers/usb/pac207.h: [pac207_config:148] Find Sensor PAC207
+
</pre>
drivers/usb/spca5xx.c: [spca5xx_getcapability:2207] maxw 352 maxh 288 minw 160 minh 120
+
* beinhaltet ov511_decomp und ov518_decomp Module
 +
 
 +
* Projektseite:
 +
** [http://ovcam.org/ov511/ http://ovcam.org/ov511/]
 +
 
 +
=== Logitech Quickcam Messenger - Driver ===
 +
<pre>
 +
ipkg install http://weimarnetz.de/ipkg/packages/qc-usb-messenger-1.6_1_mipsel.ipk
 +
</pre>
 +
* Projektseite:
 +
** [http://home.mag.cx/messenger/ http://home.mag.cx/messenger/]
 +
 
 +
=== Linux-UVC Treiber ===
 +
Die Linux UVC Treiber unterstuetzen mittlerweile eine recht ansehnliche Anzahl an Webcams. Eine Liste der Webcams ist auf der Projektseite zu finden. Besonders interessant sind die Webcams, die die Kompression nach JPEG in der Webcam selbst vornehmen und damit den Prozessor des Routers von dieser Aufgabe entlasten. Es sind so MJPEG Streams mit bis zu 30 frames pro Sekunde moeglich. Die Logitech QC Sphere AF und die Logitech Quickcam Pro 9000 grabben zum Beispiel mit eine Aufloesung von 960x720 Pixeln und 15 frames pro Sekunde auf einem Asus WL-500gP.
 +
 
 +
Da Linux-UVC aber nur fuer Kernel 2.6 und darueber verfuegbar ist, kann es noch Probleme geben.
 +
 
 +
==== Kompilieren und installieren ====
 +
<pre>
 +
 
 
</pre>
 
</pre>
  
also Driver gefunden, Webcam erkannt. Und das mit der Aldi-Cam super!
+
==== Links ====
 +
* Projektwebseite: http://linux-uvc.berlios.de/
 +
 
 +
== Programme ==
 +
=== MJPG-Streamer ===
 +
MJPG-Streamer trumpft mit dem Linux-UVC Treiber und kompatiblen Webcams so richtig auf, es kann aber auch mit GSPCAV1 kompatiblen Webcams benutzt werden.
  
{| {{Prettytable}}
+
==== Installation ====
!Programm '''spcacat'''
 
!Programm '''motion'''
 
|-
 
|
 
Installation:
 
 
<pre>
 
<pre>
cd /tmp
+
svn co https://mjpg-streamer.svn.sourceforge.net/svnroot/mjpg-streamer mjpg-streamer
wget http://ping02.stura.uni-weimar.de/dave/spcacat.gz
+
cd mjpg-streamer/mjpg-streamer
mv spcacat.gz /usr/bin
+
export CC=mipsel-linux-gcc
cd /usr/bin
+
make clean all
gunzip spcacat.gz
 
chmod +x spcacat
 
 
</pre>
 
</pre>
|
+
 
 +
=== SpcaCat - Bildgrabber===
 
Installation:
 
Installation:
 
<pre>
 
<pre>
ipkg install http://ping02.stura.uni-weimar.de/dave/libjpeg_6b-1_mipsel.ipk
+
cd /tmp
ipkg install http://ping02.stura.uni-weimar.de/dave/motion_3.2.6-1_mipsel.ipk
+
wget http://ping02.stura.uni-weimar.de/dave/spcacat
 +
mv spcacat /usr/bin
 +
chmod +x /usr/bin/spcacat
 
</pre>
 
</pre>
|-
+
 
|
 
 
Alle möglichen Einstellungen stehen in der Hilfe
 
Alle möglichen Einstellungen stehen in der Hilfe
  
Zeile 168: Zeile 250:
 
#!/bin/sh
 
#!/bin/sh
  
# Variablen Definition
+
# unload drivers in case the were loaded
REAL="/www/bild.jpg"
+
rmmod spca5xx; rmmod videodev
TEMP="/SpcaPict.jpg"
+
 
 +
# load webcam driver modules (it can be assumed that the USB drivers are compiled into the kernel or were installed & autoloaded)
 +
insmod videodev || exit 1
 +
insmod spca5xx || exit 2
  
insmod videodev
+
sleep 1
insmod spca5xx
+
 
sleep 15
+
# check if video device was allocated
 +
if [ ! -e /dev/v4l/video0 ]; then exit 3; fi
  
 
# Link legen fuer Vidiodevice
 
# Link legen fuer Vidiodevice
 
ln -s /dev/v4l/video0 /dev/video0
 
ln -s /dev/v4l/video0 /dev/video0
  
while true
+
# Link legen fuer Bild
do
+
ln -s /tmp/SpcaPict.jpg /www/bild.jpg
spcacat -d /dev/video0 -g -f jpg -s 320x240 -p 1000 -o > /dev/null &
+
 
sleep 2
+
# SpcaCat starten
killall spcacat
+
cd /tmp
killall -9 spcacat
+
spcacat -d /dev/video0 -g -f jpg -s 320x240 -p 10000 -o > /dev/null &
sleep 1
 
mv $TEMP $REAL
 
sleep 15
 
done &
 
 
</pre>
 
</pre>
  
berechtigungen noch setzen mit
+
sinnvoll ist hierbei, das Bild in den /tmp(Ram-Speicher) zu schreiben und es auf das /www Verzeichnis zu linken.<br>
 +
dann noch Berechtigungen setzen mit:
  
 
<pre>
 
<pre>
Zeile 197: Zeile 280:
 
</pre>
 
</pre>
  
|
+
* Projektseite:
 +
** [http://mxhaard.free.fr/index.html http://mxhaard.free.fr/index.html] - spca5xx Driver und Viewer
 +
 
 +
=== Servfox - Streamserver ===
 +
Installation:
 +
<pre>
 +
cd /tmp
 +
wget http://ping02.stura.uni-weimar.de/dave/servfox
 +
mv servfox /usr/bin
 +
cd /usr/bin
 +
chmod +x servfox
 +
</pre>
 +
 
 +
Alle möglichen Einstellungen stehen in der Hilfe
 +
 
 +
<pre>
 +
servfox -h
 +
</pre>
 +
 
 +
<pre>
 +
usage: cdse [-h -d -g ]
 +
-h      print this message
 +
-d      /dev/videoX      use videoX device
 +
-g      use read method for grab instead mmap
 +
-s      widthxheight      use specified input size
 +
-w      port      server port
 +
</pre>
 +
 
 +
* Beispiel: Streamserver auf Port 7070 starten mit Auflösung: 320x240
 +
 
 +
<pre>
 +
servfox -g -s 320x240 -w 7070
 +
</pre>
 +
 
 +
Jetzt den Stream ansehen mit spcaview:<br>
 +
Download:
 +
* für Windows --> [http://141.54.160.25/dave/spcaview-win32.zip hier]
 +
** entpacken
 +
** die Datei spcaview.bat mit rechtsklick bearbeiten, ip-adresse und port eintragen wo servfox läuft, dann starten.
 +
* für Linux (Debian, Ubuntu)--> [http://141.54.160.25/dave/spcaview_20051212-1_i386.deb hier]
 +
** einfach Befehl in der Konsole eintippen
 +
<pre>
 +
spcaview -w IP-Adresse wo servfox läuft:7070
 +
</pre>
 +
 
 +
oder Stream mit speziellen JavaApplet (JWebcamPlayer) in einer Website ansehen:
 +
 
 +
<pre>
 +
cd /www
 +
wget http://141.54.160.25/dave/http-java-applet/JWebcamPlayer.jar
 +
wegt http://141.54.160.25/dave/http-java-applet/JWebcamPlayer.java
 +
 
 +
vi cgi-bin-stream.html
 +
 
 +
#!/bin/sh
 +
 
 +
export DATE="18.11.2006";SCRIPT=${0#/rom}
 +
export TITLE="Webcam"
 +
. ${SCRIPT%/*}/cgi-bin-pre.sh
 +
 
 +
cat<<EOF
 +
<center>
 +
<H1>LiveCam</H1>
 +
<applet codebase="." archive="JWebcamPlayer.jar" code="JWebcamPlayer.class" name="JWebcamPlayer" ID="JWebcamPlayer" align="center" width="640" height="480" MAYSCRIPT>
 +
<param name="Color" value="#ffffff">
 +
<param name="Server" value="127.0.0.1">
 +
<param name="Port" value="7070">
 +
<PARAM NAME="scriptable" value="true">
 +
<PARAM NAME="mayscript" value="true">
 +
<strong>You need to download Java.<br>
 +
Click <a href="http://www.java.com/en/download/manual.jsp">here:http://www.java.com/en/download/manual.jsp</a></strong><br>
 +
</applet>
 +
</center>
 +
EOF
 +
 
 +
. ${SCRIPT%/*}/cgi-bin-post.sh
 +
</pre>
 +
 
 +
* Projektseite:
 +
** [http://mxhaard.free.fr/sview.html Spca-Tools]
 +
 
 +
=== Motion - Stream und Bilder ===
 +
Installation:
 +
<pre>
 +
ipkg install http://downloads.openwrt.org/backports/rc5/libjpeg_6b-1_mipsel.ipk
 +
ipkg install http://downloads.openwrt.org/backports/rc5/motion_3.2.6-1_mipsel.ipk
 +
</pre>
 +
 
 
Nun noch die Config-Datei für motion anlegen.
 
Nun noch die Config-Datei für motion anlegen.
 +
 
<pre>
 
<pre>
 
vi /etc/motion.conf
 
vi /etc/motion.conf
Zeile 215: Zeile 386:
 
height 240
 
height 240
  
quality 60
+
quality 70
framerate 1
+
framerate 2
auto_brightness on
+
auto_brightness off
  
 
# Initial brightness, contrast, hue (NTSC), and saturation
 
# Initial brightness, contrast, hue (NTSC), and saturation
Zeile 225: Zeile 396:
 
saturation 0
 
saturation 0
 
hue 0
 
hue 0
 +
 +
# ploetzlichen Lichteinfall daempfen
 +
lightswitch 30
  
 
# Target base directory for pictures and films
 
# Target base directory for pictures and films
 
# You should probably change this (create dir beforehand)
 
# You should probably change this (create dir beforehand)
 
target_dir /tmp
 
target_dir /tmp
jpeg_filename bild
+
jpeg_filename SpcaPict
 +
 
 +
# Speicherpause um das Geraet zu schonen
 +
minimum_gap 30
 +
 
 +
low_cpu 1
  
 
# Define a port number (e.g. 8000) to enable the mini-http server
 
# Define a port number (e.g. 8000) to enable the mini-http server
Zeile 240: Zeile 419:
  
 
webcam_quality 40
 
webcam_quality 40
webcam_maxrate 2
+
webcam_maxrate 1
  
 
# User defined text overlayed on each in the lower left corner
 
# User defined text overlayed on each in the lower left corner
Zeile 262: Zeile 441:
 
#!/bin/sh
 
#!/bin/sh
  
# Module laden
+
# unload drivers in case the were loaded
insmod videodev
+
rmmod spca5xx; rmmod videodev
insmod spca5xx
+
 
sleep 15
+
# load webcam driver modules (it can be assumed that the USB drivers are compiled into the kernel or were installed & autoloaded)
         
+
insmod videodev || exit 1
 +
insmod spca5xx || exit 2
 +
 
 +
sleep 1
 +
 
 +
# check if video device was allocated
 +
if [ ! -e /dev/v4l/video0 ]; then exit 3; fi
 +
 
 
# Link legen fuer Vidiodevice
 
# Link legen fuer Vidiodevice
ln -s /tmp/bild.jpg /www/bild.jpg
+
ln -s /dev/v4l/video0 /dev/video0
         
+
 
# motion starten
+
# Link legen fuer Bild
while true     
+
ln -s /tmp/SpcaPict.jpg /www/bild.jpg
do             
+
 
motion         
+
# motion starten            
sleep 900       
+
motion
killall motion  
 
killall -9 motion
 
sleep 2
 
done &
 
 
</pre>
 
</pre>
  
Zeile 287: Zeile 469:
 
</pre>
 
</pre>
  
|}
+
* Projektseite:
* Projektseiten:
 
** [http://mxhaard.free.fr/index.html http://mxhaard.free.fr/index.html] - spca5xx Driver und Viewer
 
 
** [http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome] - Motion Wiki
 
** [http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome] - Motion Wiki
  
==== pwc/pwcx ====
+
=== Palantir - Streamserver ===
 +
Installation:
 +
<pre>
 +
ipkg install http://downloads.openwrt.org/backports/rc5/palantir_2.6-1_mipsel.ipk
 +
</pre>
 +
 
 +
Nun noch die Config-Datei von palantir einstellen.
 +
 
 +
<pre>
 +
vi /etc/palantir.conf
 +
 
 +
##                                                                                                                                                                                                                           
 +
##    Global options                                                                                                                                                                                                         
 +
##                                                                                                                                                                                                                           
 +
                                                                                                                                                                                                                         
 +
VideoDevice /dev/v4l/video0                                                                                                                                                                                                                                                                                                                                                                                                     
 +
                                                                                                                                                                                                                                                                                                                                                                                                                                             
 +
FrameSize 640x480                                                                                                                                                                                                             
 +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
 +
FrameRate 5
 +
 
 +
JpegQuality 70                                                                                                                                                                                                               
 +
 
 +
Audio Off                                                                                                                                                                                                                   
 +
                                                                                                                                                                                                                                                                                                                                                                                                                                     
 +
TCPPort 8000                                                                                                                                                                                                                 
 +
                                                                                                                                                                                                                                                                                                                                                                                                                                 
 +
ControlTimeout 30
 +
                                                                                                                                                                                                       
 +
ClientTimeout 300                                                                                                                                                                                                             
 +
                                                                                                                                                                                                                           
 +
MaxStreamingClients 3                                                                                                                                                                                                         
 +
                                                                                                                                       
 +
# Nimm die folgende Auskommentierung weg, willst du eine pan/tilt Kamera wie                                                                                                                                                         
 +
# z.b. Logitech Sphere betreiben:                                                                                                                                                                                         
 +
#                                                                                                                                                                                                                             
 +
#Device {                                                                                                                                                                                                                     
 +
#    Carrier Internal 5                                                                                                                                                                                                       
 +
#    Direction readwrite                                                                                                                                                                                                       
 +
#    Name "Pan"                                                                                                                                                                                                               
 +
#    Hint "Camera pan"                                                                                                                                                                                                         
 +
#    Range -7000 7000                                                                                                                                                                                                         
 +
#    Notifier client                                                                                                                                                                                                           
 +
#    Visual Slider_X                                                                                                                                                                                                           
 +
#    }                                                                                                                                                                                                                                                                                                                                                                                                                                                      # 
 +
#Device {                                                                                                                                                                                                                     
 +
#    Carrier Internal 6                                                                                                                                                                                                       
 +
#    Direction readwrite                                                                                                                                                                                                       
 +
#    Name "Tilt"                                                                                                                                                                                                               
 +
#    Hint "Camera tilt"                                                                                                                                                                                                       
 +
#    Range -3000 2500                                                                                                                                                                                                         
 +
#    Notifier client                                                                                                                                                                                                           
 +
#    Visual Slider_Y                                                                                                                                                                                                           
 +
#    }
 +
</pre>
 +
 
 +
dann starten mit
 +
 
 +
<pre>
 +
palantir -C /etc/palantir.conf >/dev/null&
 +
</pre>
 +
 
 +
Jetzt den Stream mit speziellen JavaApplet (pclient.jar) in einer Website ansehen:
 +
 
 +
<pre>
 +
cd /www
 +
wget http://141.54.160.25/dave/http-java-applet/pclient.jar
 +
 
 +
vi cgi-bin-stream.html
 +
 
 +
#!/bin/sh
 +
 
 +
export DATE="18.11.2006";SCRIPT=${0#/rom}
 +
export TITLE="Webcam"
 +
. ${SCRIPT%/*}/cgi-bin-pre.sh
 +
 
 +
cat<<EOF
 +
<center>
 +
<H1>LiveCam</H1>
 +
<applet code="pclient.class" archive="pclient.jar" width="750" height="580" >
 +
    <param name="server" value="127.0.0.1">
 +
    <param name="port" value="8000">
 +
    <param name="autostart" value="1">
 +
<strong>You need to download Java.<br>
 +
Click <a href="http://www.java.com/en/download/manual.jsp">here:http://www.java.com/en/download/manual.jsp</a></strong><br>
 +
</applet>
 +
</center>
 +
EOF
 +
 
 +
. ${SCRIPT%/*}/cgi-bin-post.sh
 +
</pre>
 +
 
 +
* Projektseite:
 +
** [http://www.fastpath.it/products/palantir/index.php http://www.fastpath.it/products/palantir/index.php]
 +
 
 +
 
 +
=== Camsrv - Streamserver ===
 +
LiveStream ähnlich motion - im pwc-Paket enthalten
 +
 
 +
<pre>
 +
camsrv -r CIF -d 100 -v --device=/dev/v4l/video0
 +
</pre>
 +
 
 +
Hilfe: camsrv -h
  
 
<pre>
 
<pre>
ipkg install http://141.54.160.25/dave/philips-webcam_0.2_mipsel.ipk
+
camsrv v0.3.4
 +
(c)2002 Matthew Painter
 +
 
 +
Usage: camsrv [options]
 +
 
 +
Example: camsrv -r VGA -d 100 -v --device /dev/video1
 +
Example: camsrv -w 320 -h 240 -s --file cam.ppm
 +
Example: camsrv --delay 10-2 --script upload.pl --file cam.jpg
 +
 
 +
General options:
 +
-v --verbose              display verbose information (for debugging)
 +
-V --version              display version and exit
 +
-W --width NUM            width of captured image
 +
-H --height NUM          height of captured image
 +
-r --resmode MODE        use standard resolution (see below)
 +
-f --file FILENAME        save PPM/JPG image of first frame captured and exit
 +
-q --jpegquality NUM      JPEG image quality percentage (value between 0 and 100,
 +
                          defaults to 75)
 +
-p --script FILENAME      run FILENAME after each image is captured
 +
-P --port PORT            port to run the camsrv server on
 +
-d --delay NUM-NUM | NUM  delay (in seconds) between frames are captured
 +
-e --capturedelay NUM    portion of delay where camera is enabled (for image stabilisation)
 +
-l --loop                loop still image capture. Enabled if streaming is
 +
                          also enabled
 +
-L --log FILENAME        log verbose output messages to FILENAME
 +
-D --device PATH          path to video device to use (defaults to /dev/video0)
 +
-S --stream              streams to java client. This is enabled by default
 +
                          if --file is not used
 +
-h --help                display help
 +
 
 +
Philips specific options:
 +
-F --framerate NUM    framerate of camera (integer between 4 to 30)
 +
-c --compression NUM  camera compression (0..3)
 +
-s --shutter NUM      shutter speed (0..65535) default: automatic
 +
-g --agc NUM          automatic gain control override (0..65535)
 +
 
 +
Default resolution modes:
 +
 
 +
Mode            Resolution
 +
sQCIF          128x96
 +
QSIF            160x120
 +
QCIF            176x144
 +
SIF            320x240
 +
CIF            352x288
 +
VGA            640x480
 
</pre>
 
</pre>
  
es wird automatisch ein startscript '''/etc/init.d/S90webcam''' angelegt.
+
 
 +
=== Mvc - Bildgrabber ===
 +
einfaches motion capture Programm
  
 
<pre>
 
<pre>
cd /etc/init.d/
+
mvc version 0.8.9 - motion detection video capture program
vi S90webcam
+
 
 +
Usage: mvc <options>
 +
 
 +
-B picture brightness value.
 +
-C picture contrast value.
 +
-D run in daemon mode.
 +
-O Base directory for output images. default is current dir.
 +
-o Don't create sub-directories for output.
 +
-t Print timestamp on image.
 +
-d <device> video device (default:/dev/video0).
 +
-e <program> excute a external program while motion detected.
 +
-f {jpeg|png} set output file format. default is jpeg.
 +
-q <quality>              jpeg quality setting.
 +
-h print this help.
 +
-i <channel> which input channel to use, default is 1, or 0 if only 1 input.
 +
-m use mono color (grayscale) for capture.
 +
-n {pal|ntsc|secam|auto}    video norm to use, default: PAL
 +
-s XxY size of the output image, example: -s 640x480
 +
-a HxV block division number in Horizantal and Vertical. Ex: -a 16x8
 +
-b <diff_block_limit>      threshold of hot block number.
 +
-c <diff_color_limit>      threshold of block color difference.
 +
-w delay time for each capture(seconds), example: -w 0.5
 +
-l logfile used in daemon mode. default is null.
 +
-v increase verbose level for more details, can multiple applied.
 +
</pre>
 +
 
 +
 
 +
=== getjpeg - Bildgrabber ===
 +
* Installation:
 +
<pre>
 +
cd /tmp
 +
wget http://ping02.stura.uni-weimar.de/dave/getjpeg
 +
mv getjpeg /usr/bin
 +
cd /usr/bin
 +
chmod +x jpeg
 +
</pre>
 +
 
 +
== Automation ==
 +
Cronjob einrichten: (z.B. aller 5min. Neustarten)
 +
 
 +
<pre>
 +
vi /etc/init.d/S51crond
 +
 
 +
0-59/5 * * * *  /usr/sbin/cron.5minutely
 +
</pre>
 +
 
 +
einfügen.
 +
 
 +
<pre>
 +
vi /usr/sbin/cron.5minutely
 +
 
 +
#!/bin/sh
 +
killall -9 motion
 +
logger "motion gekilld"
 +
sleep 5
 +
/usr/bin/motion -c /etc/motion.conf
 +
</pre>
 +
 
 +
berechtigungen noch setzen mit
 +
 
 +
<pre>
 +
chmod 0777 /usr/sbin/cron.5minutely
 +
</pre>
 +
 
 +
== Anzeigen auf dem Router ==
 +
Anlegen eines Links:
 +
<pre>
 +
cd /www
 +
vi 20-cgi-bin-webcam
 +
</pre>
 +
 
 +
Text einfügen:
 +
 
 +
<pre>
 +
<TR><TD>
 +
        <DIV CLASS="plugin"><A CLASS="plugin" HREF="cgi-bin-webcam.html">Webcam</A></DIV></TD>
 +
</TR>
 +
</pre>
 +
 
 +
Dann noch die Site anlegen
 +
 
 +
<pre>
 +
cd /www
 +
vi cgi-bin-webcam.html
 +
</pre>
 +
 
 +
und Text einfügen:
 +
 
 +
 
 +
=== Anzeigen als Bild ===
 +
<pre>
 +
#!/bin/sh
 +
 
 +
export DATE="18.11.2006";SCRIPT=${0#/rom}
 +
export TITLE="Webcam"
 +
. ${SCRIPT%/*}/cgi-bin-pre.sh
 +
 
 +
cat<<EOF
 +
<html><head>
 +
<meta http-equiv="expires" content="0">
 +
<meta http-equiv="pragma" content="no-cache">
 +
<meta http-equiv="refresh" content="10">
 +
<center>
 +
<H1>Webcam</H1><br>
 +
<img src="bild.jpg" name="Webcambild" width="480" hight="360"><br>
 +
Images refreshed every 10 seconds.
 +
</center>
 +
</body></html>
 +
EOF
 +
 
 +
. ${SCRIPT%/*}/cgi-bin-post.sh
 
</pre>
 
</pre>
  
 +
 +
=== Anzeigen mit Java Applet (Stream oder Bild) ===
 
<pre>
 
<pre>
 
#!/bin/sh
 
#!/bin/sh
  
# unload drivers in case the were loaded
+
export DATE="18.11.2006";SCRIPT=${0#/rom}
killall camsrv; rmmod pwcx; rmmod pwc; rmmod videodev
+
export TITLE="Webcam"
 +
. ${SCRIPT%/*}/cgi-bin-pre.sh
 +
 
 +
cat<<EOF
 +
<center>
 +
<H1>Webcam</H1>
 +
    <applet code=com.charliemouse.cambozola.Viewer
 +
    archive=cambozola.jar width="320" height="240" style="border-width:1; border-color:gray; border-style:solid;">
 +
    <param name="url" value="http://'''IP-Adresse''':8000">
 +
    <param name="failureimage" value="offline.jpg">
 +
    <param name="accessories" value="ZoomIn,ZoomOut,Pan,Info">
 +
    </applet>
 +
</center>
 +
EOF
  
# load webcam driver modules (it can be assumed that the USB drivers are compiled into the kernel or were installed & autoloaded)
+
. ${SCRIPT%/*}/cgi-bin-post.sh
insmod videodev || exit 1
+
</pre>
insmod pwc || exit 2
 
insmod pwcx || exit 3
 
  
sleep 1
+
<pre>
 +
# Webcam-Paket (JavaApplet-Cambozola, offline-Bild, Link zur Webcam, Webseite ...)
 +
ipkg install http://weimarnetz.de/ipkg/packages/webcam-tools_1_mipsel.ipk
  
# check if video device was allocated
+
oder einzeln
if [ ! -e /dev/v4l/video0 ]; then exit 4; fi
 
  
# motion starten
+
cd /www
motion
+
wget http://141.54.160.25/dave/cambozola-0.68/cambozola-server.jar
 +
wget http://141.54.160.25/dave/cambozola-0.68/cambozola.jar
 +
wget http://141.54.160.25/dave/offline.jpg
 
</pre>
 
</pre>
 +
* das Applet --> [http://www.charliemouse.com/code/cambozola/index.html Cambozola-Viewer + Server]
 +
 +
== Geräte die getestet wurden ==
 +
{| {{Prettytable}}
 +
!Router: <big>Asus wl hdd 2,5 ; Yakumo Wireless Storage ; Siemens se505 ; Asus wl500g (alles USB 1.0)</big>
 +
|}
 +
{| {{Prettytable}}
 +
!Fabrikat
 +
!ID (lsusb/dmesg)
 +
!driver
 +
!Programm
 +
!Auflösung
 +
!Notiz
 +
|------
 +
!bgcolor="green"|[[:Bild:Creative_vista_plus.png|Creative Vista Plus]]
 +
|0x41e/0x4028
 +
|spca5xx
 +
|motion, spcacat
 +
|max:176x144
 +
|schlechter Weißabgleich
 +
|------
 +
!bgcolor=#DC143C|[http://images.techtree.com/ttimages/story/Creative-Webcam-Notebook.jpg Creative Webcam NoteBook]
 +
|0x041e/0x401f
 +
|spca5xx_le
 +
|motion, spcacat
 +
|:-
 +
|zerhacktes Bild, ungeeignet
 +
|------
 +
!bgcolor="#DC143C"|[[:Bild:Genius Look 312P.png|Genius Look 312P]]
 +
|0xac8/0x301b
 +
|spca5xx_le, spca5xx
 +
|spcacat, servfox, motion
 +
|:-
 +
|zerhacktes Bild, ungeeignet
 +
|------
 +
!bgcolor=#DC143C|[[:Bild:Labtec_cam.png|Labtec Notebook]]
 +
|0x046d/0x08aa
 +
|spca5xx_le
 +
|spcacat, servfox
 +
|:-
 +
|zerhacktes Bild, ungeeignet
 +
|------
 +
!bgcolor=#DC143C|[http://bilder.preissuchmaschine.de/prodfoto/labtecwebcam.jpg Labtec Webcam Elch2]
 +
|0x046d/0x0929
 +
|spca5xx
 +
|spcacat, motion
 +
|:-
 +
|Totalabsturz, ungeeignet
 +
|------
 +
!bgcolor=#DC143C|[[:Bild:Labtec_pro.png|Labtec Pro]]
 +
|0x046d/0x08a2
 +
|spca5xx_le
 +
|spcacat, servfox
 +
|:-
 +
|zerhacktes Bild, ungeeignet
 +
|------
 +
!bgcolor=#DC143C|[[:Bild:Logitech quickcam messenger.png|Logitech Quickcam Messenger]]
 +
|0x046d/0x08f6
 +
|quickcam
 +
|motion, spcacat
 +
|:-
 +
|grünes Bild, ungeeignet
 +
|------
 +
!bgcolor="green"|[[:Bild:Quickcam_zoom.png|Logitech Quickcam Zoom (Silver)]]
 +
|0x046d/0x08b4
 +
|pwc (power_save=1)
 +
|motion
 +
|max:640x480
 +
|
 +
|------
 +
!bgcolor="green"|[[:Bild:Sphere.png|Logitech Sphere (nicht MP)]]
 +
|0x046d/0x08b5
 +
|pwc
 +
|motion, palantir
 +
|max:640x480
 +
|Steuerung möglich mit palantir
 +
|------
 +
!bgcolor=#DC143C|[http://geizhals.at/img/pix/152128.jpg Philips SPC600NC]
 +
|0x0471/0x0328
 +
|spca5xx_le
 +
|spcacat, servfox
 +
|:-
 +
|zerhacktes Bild, ungeeignet
 +
|------
 +
!bgcolor="green"|[[:Bild:Vesta.png|Philips Vesta PCVC 675]]
 +
|0x471/0x307
 +
|pwc
 +
|motion, camsrv, mvc
 +
|max:640x480
 +
|etwas globig, super Bild
 +
|------
 +
!bgcolor="green"|[[:Bild:Philips toucam fun.jpg|Philips ToUcam Fun PCVC 730]]
 +
|0x471/0x310
 +
|pwc
 +
|motion, camsrv, mvc
 +
|max:640x480
 +
|Bild gespiegelt
 +
|------
 +
!bgcolor="green"|[[:Bild:Philips toucam fun.jpg|Philips ToUcam Pro PCVC 740]]
 +
|0x471/0x311
 +
|pwc
 +
|motion, camsrv, mvc
 +
|max:640x480
 +
|gutes Bild
 +
|------
 +
!bgcolor=#DC143C|[[:Bild:ToucamII820K.png|Philips ToUcam II PCVC 820]]
 +
|0x05a9/0x0518
 +
|ov51x, ov518_decomp
 +
|motion, mvc, getjpeg
 +
|:-
 +
|grünes Bild, ungeeignet
 +
|------
 +
!bgcolor="green"|[[:Bild:Toucam FUN II.png|Philips ToUcam Fun II PCVC 830]]
 +
|0x471/0x310
 +
|pwc
 +
|motion, camsrv, mvc
 +
|max:640x480
 +
|gutes Bild
 +
|------
 +
!bgcolor="green"|[[:Bild:Toucam FUN II.png|Philips ToUcam Pro II PCVC 840]]
 +
|0x471/0x311
 +
|pwc
 +
|motion, camsrv, mvc
 +
|max:640x480
 +
|gutes Bild
 +
|------
 +
!bgcolor="green"|[[:Bild:Aldicam.png|Qtec Webcam 100 DC-3110 (AldiCam)]]
 +
|0x93a/0x2460
 +
|spca5xx
 +
|motion, spcacat
 +
|max:176x144
 +
|schlechter Weißabgleich
 +
|------
 +
!bgcolor="green"|[[:Bild:Technaxx.png|Technaxx VP-1]]
 +
|0x93a/0x2468
 +
|spca5xx
 +
|motion, spcacat
 +
|max:176x144
 +
|schlechter Weißabgleich
 +
|------
 +
!bgcolor=#DC143C|[http://www.globtech.de/images/kamera/TechsoloTCA-4810.jpg Techsolo TCA-4810]
 +
|0x0ac8/0x303b
 +
|spca5xx
 +
|spcacat, motion
 +
|:-
 +
|Totalabsturz, ungeeignet
 +
|------
 +
|}
 +
 +
{| {{Prettytable}}
 +
!Router: <big>Asus WL500g Premium oder Deluxe; Linksys WRTSL 54GS (alles USB 2.0)</big>
 +
|}
 +
{| {{Prettytable}}
 +
!Fabrikat
 +
!ID (lsusb/dmesg)
 +
!driver
 +
!Programm
 +
!Qualität/Auflösung
 +
!Notiz
 +
|------
 +
!bgcolor="green"|[[:Bild:Creative_vista_plus.png|Creative Vista Plus]]
 +
|0x41e/0x4028
 +
|spca5xx
 +
|motion, spcacat
 +
|max:352x288
 +
|schlechter Weißabgleich - nur indoor
 +
|------
 +
!bgcolor="green"|[http://images.techtree.com/ttimages/story/Creative-Webcam-Notebook.jpg Creative Webcam NoteBook]
 +
|0x041e/0x401f
 +
|spca5xx_le, spca5xx
 +
|servfox, spcacat, motion
 +
|max:640x480
 +
|
 +
|------
 +
!bgcolor="green"|[[:Bild:Genius Look 312P.png|Genius Look 312P]]
 +
|0xac8/0x301b
 +
|spca5xx_le, spca5xx
 +
|spcacat, servfox, motion
 +
|max:640x480
 +
|
 +
|------
 +
!bgcolor="green"|[[:Bild:Labtec_cam.png|Labtec Notebook]]
 +
|0x046d/0x08aa
 +
|spca5xx_le, spca5xx
 +
|spcacat, servfox, motion
 +
|max:640x480
 +
|
 +
|------
 +
!bgcolor="green"|[http://bilder.preissuchmaschine.de/prodfoto/labtecwebcam.jpg Labtec Webcam Elch2]
 +
|0x046d/0x0929
 +
|spca5xx
 +
|spcacat, motion
 +
|max:352x288
 +
|
 +
|------
 +
!bgcolor="green"|[[:Bild:Labtec_pro.png|Labtec Pro]]
 +
|0x046d/0x08a2
 +
|spca5xx_le, spca5xx
 +
|spcacat, servfox
 +
|max:640x480
 +
|
 +
|------
 +
!bgcolor="green"|[[:Bild:Logitech quickcam messenger.png|Logitech Quickcam Messenger]]
 +
|0x046d/0x08f6
 +
|quickcam
 +
|motion, spcacat
 +
|max:320x240
 +
|
 +
|------
 +
!bgcolor="green"|[[:Bild:Quickcam_zoom.png|Logitech Quickcam Zoom (Silver)]]
 +
|0x046d/0x08b4
 +
|pwc (power_save=1)
 +
|motion
 +
|max:640x480
 +
|
 +
|------
 +
!bgcolor="green"|[[:Bild:Sphere.png|Logitech Sphere (nicht MP)]]
 +
|0x046d/0x08b5
 +
|pwc
 +
|motion, palantir
 +
|max:640x480
 +
|Steuerung möglich mit palantir
 +
|------
 +
!bgcolor="green"|[http://geizhals.at/img/pix/152128.jpg Philips SPC600NC]
 +
|0x0471/0x0328
 +
|spca5xx_le
 +
|spcacat, servfox
 +
|max:640x480
 +
|
 +
|------
 +
!bgcolor="green"|[[:Bild:Vesta.png|Philips Vesta PCVC 675]]
 +
|0x471/0x307
 +
|pwc
 +
|motion, camsrv, mvc
 +
|max:640x480
 +
|etwas globig, super Bild
 +
|------
 +
!bgcolor="green"|[[:Bild:Philips toucam fun.jpg|Philips ToUcam Fun PCVC 730]]
 +
|0x471/0x310
 +
|pwc
 +
|motion, camsrv, mvc
 +
|max:640x480
 +
|Bild gespiegelt
 +
|------
 +
!bgcolor="green"|[[:Bild:Philips toucam fun.jpg|Philips ToUcam Pro PCVC 740]]
 +
|0x471/0x311
 +
|pwc
 +
|motion, camsrv, mvc
 +
|max:640x480
 +
|super Bild
 +
|------
 +
!bgcolor="green"|[[:Bild:ToucamII820K.png|Philips ToUcam II PCVC 820]]
 +
|0x05a9/0x0518
 +
|ov51x, ov518_decomp
 +
|motion, mvc, getjpeg
 +
|max:352x288
 +
|Weißabgleich OK - outdoor geeignet
 +
|------
 +
!bgcolor="green"|[[:Bild:Toucam FUN II.png|Philips ToUcam Fun II PCVC 830]]
 +
|0x471/0x310
 +
|pwc
 +
|motion, camsrv, mvc
 +
|max:640x480
 +
|super Bild
 +
|------
 +
!bgcolor="green"|[[:Bild:Toucam FUN II.png|Philips ToUcam Pro II PCVC 840]]
 +
|0x471/0x311
 +
|pwc
 +
|motion, camsrv, mvc
 +
|max:640x480
 +
|super Bild
 +
|------
 +
!bgcolor="green"|[[:Bild:Aldicam.png|Qtec Webcam 100 DC-3110 (AldiCam)]]
 +
|0x93a/0x2460
 +
|spca5xx
 +
|motion, spcacat
 +
|max:352x288
 +
|schlechter Weißabgleich - nur indoor
 +
|------
 +
!bgcolor="green"|[[:Bild:Technaxx.png|Technaxx VP-1]]
 +
|0x93a/0x2468
 +
|spca5xx
 +
|motion, spcacat
 +
|max:352x288
 +
|schlechter Weißabgleich - nur indoor
 +
|------
 +
!bgcolor="green"|[http://www.globtech.de/images/kamera/TechsoloTCA-4810.jpg Techsolo TCA-4810]
 +
|0x0ac8/0x303b
 +
|spca5xx
 +
|spcacat, servfox, motion
 +
|max:640x480
 +
|
 +
|------
 +
|}
 +
 +
[[Kategorie:Howto]]
  
* Projektseiten:
+
[[Kategorie:Firmware]]
** [http://www.saillard.org/linux/pwc/ http://www.saillard.org/linux/pwc/]
+
[[Kategorie:Hardware]]
** [http://www.smcc.demon.nl/webcam/ http://www.smcc.demon.nl/webcam/]
 

Aktuelle Version vom 9. Juli 2008, 18:01 Uhr


Dies ist eine Anleitung, wie man aus Freifunk Geräten eine mobile Webcam bastelt. Diese Anleitung ist aktueller als die aus Leipzig

Benoetigte Pakete

usb und video-Module installieren

ipkg install kmod-usb-ohci (abhängig vom Gerät:USB chips BCM4710 oder BCM4712)
oder 
ipkg install kmod-usb-uhci (für Asus wl500gd und Asus wl500gp)
ipkg install kmod-usb2     (nur bei Gerät mit USB 2.0 nötig)
ipkg install libpthread
ipkg install kmod-videodev

danach Neustart. USB-module werden selbsttätig geladen.

Webcam-Driver

spca5xx/spca5xx_LE - Driver

  • Welches DriverModul ihr braucht kommt auf Eure Kamera an --> Uebersicht
  • Installation:
# spca5xx-Modul (nur Driver)
ipkg install http://weimarnetz.de/ipkg/packages/kmod-spca5xx_2.4.30+20060501-brcm-1_mipsel.ipk

# spca5xx/LE-Modul (nur Driver)
cd /tmp
wget http://ping02.stura.uni-weimar.de/dave/spca5xx_le.o
mv spca5xx_le.o /lib/modules/2.4.30

# spca5xx/LE-Paket (Driver, Spcacat, Servfox, JavaApplet, Startscript ...)
ipkg install http://weimarnetz.de/ipkg/packages/spca5xx-le-webcam_1_mipsel.ipk

danach Neustart.
Die Module werden leider nicht beim Neustart selbstständig geladen. Webcammodule laden mit

insmod videodev
insmod spca5xx oder insmod spca5xx_le

mit dem Befehl:

lsmod

kannst du überprüfen welche module geladen sind. Jetzt noch überprüfen ob die Webcam erkannt wurde indem wir

dmesg

eigeben. Da sollte dann sowas stehen wie:

Aldi Webcam DC-3110
....
usb.c: registered new driver spca5xx
drivers/usb/spca5xx.c: spca5xx driver 00.57.07 registered
hub.c: new USB device 00:04.0-1, assigned address 2
drivers/usb/spca5xx.c: USB SPCA5XX camera found. Qtec Webcam 100 Pac207-BCA 
drivers/usb/spca5xx.c: [spca5xx_probe:8380] Camera type GBRG 
drivers/usb/pac207.h: [pac207_config:148] Find Sensor PAC207
drivers/usb/spca5xx.c: [spca5xx_getcapability:2207] maxw 352 maxh 288 minw 160 minh 120

also Driver gefunden, Webcam erkannt. Und das mit der Aldi-Cam super!

pwc/pwcx - Driver

  • Alle gängigen Cams stehen in dieser Uebersicht
  • Installation:
# pwc-Paket (Driver, setpwc, Mvc, Camsrv, JavaApplet, Startscript ...)
ipkg install http://weimarnetz.de/ipkg/packages/philips-webcam_0.2_mipsel.ipk 

bei der Installation wird automatisch ein startscript /etc/init.d/S90webcam angelegt.

cd /etc/init.d/
vi S90webcam
#!/bin/sh

# unload drivers in case the were loaded
killall camsrv; rmmod pwcx; rmmod pwc; rmmod videodev

# load webcam driver modules (it can be assumed that the USB drivers are compiled into the kernel or were installed & autoloaded)
insmod videodev || exit 1
insmod pwc || exit 2
insmod pwcx || exit 3

sleep 1

# check if video device was allocated
if [ ! -e /dev/v4l/video0 ]; then exit 4; fi

camsrv -D /dev/v4l/video0 -r VGA -c 0 -F 5 &

Tipp: Um die Kontrolllampe aus zu machen muss beim laden des Drivers noch die Option

insmod pwc leds=0,0

übergeben werden. Alle anderen Optionen sind hier gelistet.

setpwc

  • Tool zum einstellen der Kamera
  • Hilfe:
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

ov511/ov51x - Driver

ipkg install http://weimarnetz.de/ipkg/packages/ov511_1_mipsel.ipk

oder 

ipkg install http://weimarnetz.de/ipkg/packages/kmod-ov51x-2.4.30+1.65-1.12-mark-brcm_1_mipsel.ipk
  • beinhaltet ov511_decomp und ov518_decomp Module

Logitech Quickcam Messenger - Driver

ipkg install http://weimarnetz.de/ipkg/packages/qc-usb-messenger-1.6_1_mipsel.ipk

Linux-UVC Treiber

Die Linux UVC Treiber unterstuetzen mittlerweile eine recht ansehnliche Anzahl an Webcams. Eine Liste der Webcams ist auf der Projektseite zu finden. Besonders interessant sind die Webcams, die die Kompression nach JPEG in der Webcam selbst vornehmen und damit den Prozessor des Routers von dieser Aufgabe entlasten. Es sind so MJPEG Streams mit bis zu 30 frames pro Sekunde moeglich. Die Logitech QC Sphere AF und die Logitech Quickcam Pro 9000 grabben zum Beispiel mit eine Aufloesung von 960x720 Pixeln und 15 frames pro Sekunde auf einem Asus WL-500gP.

Da Linux-UVC aber nur fuer Kernel 2.6 und darueber verfuegbar ist, kann es noch Probleme geben.

Kompilieren und installieren


Links

Programme

MJPG-Streamer

MJPG-Streamer trumpft mit dem Linux-UVC Treiber und kompatiblen Webcams so richtig auf, es kann aber auch mit GSPCAV1 kompatiblen Webcams benutzt werden.

Installation

svn co https://mjpg-streamer.svn.sourceforge.net/svnroot/mjpg-streamer mjpg-streamer
cd mjpg-streamer/mjpg-streamer
export CC=mipsel-linux-gcc
make clean all

SpcaCat - Bildgrabber

Installation:

cd /tmp
wget http://ping02.stura.uni-weimar.de/dave/spcacat
mv spcacat /usr/bin
chmod +x /usr/bin/spcacat

Alle möglichen Einstellungen stehen in der Hilfe

spcacat -h
spcacat [-h -d -g -f -s -p -N -P -o]
     -h show this usage message.
     -d device ask the driver to use specified video
        output device (/dev/video1)
     -o outputfile  causes the program to output avi with
        image data received from the video device to the specified file.
     -g grab with READ method instead of default MMAP
     -f video format  nothing YUV420P  fourcc I420
        jpg JPEG         fourcc MJPG
        yuv YUV420P   fourcc I420
    r16 RGB565 16bits fourcc RGB2
    r24 RGB 24bits  fourcc RGB3
    r32 RGB 32bits  fourcc RGB4
    -v RAW data  fourcc RAWD
     -s widthxheight ask the driver for input size
     -p X take a picture every X seconds
     -p X && -o getPicture every X seconds and record in SpcaPict.jpg
     -N take N pictures and stop
     -P parport device (spcacat, spcaserv)

jetzt Link noch legen, weil das Programm das device /dev/v4l/video0 nicht verarbeiten kann. und dann spcacat starten.

ln -s /dev/v4l/video0 /dev/video0 
spcacat -d /dev/video0 -g -f jpg -p 10000 -o > /dev/null &

in unserm Falle speichert spcacat aller 10 sek. ein Bild namens SpcaPict.jpg ab.

Eleganter ist es auch diesmal ein script zu erstellen um nicht jedesmal die Module von Hand zu laden. Dazu legt man in dem Startverzeichnis(/etc/init.d) eine Datei z.B. S90webcam an

cd /etc/init.d/
vi S90webcam

#!/bin/sh

# unload drivers in case the were loaded
rmmod spca5xx; rmmod videodev

# load webcam driver modules (it can be assumed that the USB drivers are compiled into the kernel or were installed & autoloaded)
insmod videodev || exit 1
insmod spca5xx || exit 2

sleep 1

# check if video device was allocated
if [ ! -e /dev/v4l/video0 ]; then exit 3; fi

# Link legen fuer Vidiodevice
ln -s /dev/v4l/video0 /dev/video0

# Link legen fuer Bild
ln -s /tmp/SpcaPict.jpg /www/bild.jpg

# SpcaCat starten
cd /tmp
spcacat -d /dev/video0 -g -f jpg -s 320x240 -p 10000 -o > /dev/null &

sinnvoll ist hierbei, das Bild in den /tmp(Ram-Speicher) zu schreiben und es auf das /www Verzeichnis zu linken.
dann noch Berechtigungen setzen mit:

chmod 0777 S90webcam

Servfox - Streamserver

Installation:

cd /tmp
wget http://ping02.stura.uni-weimar.de/dave/servfox
mv servfox /usr/bin
cd /usr/bin
chmod +x servfox

Alle möglichen Einstellungen stehen in der Hilfe

servfox -h
usage: cdse [-h -d -g ]
-h      print this message
-d      /dev/videoX       use videoX device
-g      use read method for grab instead mmap
-s      widthxheight      use specified input size
-w      port      server port
  • Beispiel: Streamserver auf Port 7070 starten mit Auflösung: 320x240
servfox -g -s 320x240 -w 7070

Jetzt den Stream ansehen mit spcaview:
Download:

  • für Windows --> hier
    • entpacken
    • die Datei spcaview.bat mit rechtsklick bearbeiten, ip-adresse und port eintragen wo servfox läuft, dann starten.
  • für Linux (Debian, Ubuntu)--> hier
    • einfach Befehl in der Konsole eintippen
spcaview -w IP-Adresse wo servfox läuft:7070

oder Stream mit speziellen JavaApplet (JWebcamPlayer) in einer Website ansehen:

cd /www
wget http://141.54.160.25/dave/http-java-applet/JWebcamPlayer.jar
wegt http://141.54.160.25/dave/http-java-applet/JWebcamPlayer.java

vi cgi-bin-stream.html

#!/bin/sh

export DATE="18.11.2006";SCRIPT=${0#/rom}
export TITLE="Webcam"
. ${SCRIPT%/*}/cgi-bin-pre.sh

cat<<EOF
<center>
<H1>LiveCam</H1>
<applet codebase="." archive="JWebcamPlayer.jar" code="JWebcamPlayer.class" name="JWebcamPlayer" ID="JWebcamPlayer" align="center" width="640" height="480" MAYSCRIPT>
<param name="Color" value="#ffffff">
<param name="Server" value="127.0.0.1">
<param name="Port" value="7070">
<PARAM NAME="scriptable" value="true">
<PARAM NAME="mayscript" value="true">
<strong>You need to download Java.<br>
Click <a href="http://www.java.com/en/download/manual.jsp">here:http://www.java.com/en/download/manual.jsp</a></strong><br>
</applet>
</center>
EOF

. ${SCRIPT%/*}/cgi-bin-post.sh

Motion - Stream und Bilder

Installation:

ipkg install http://downloads.openwrt.org/backports/rc5/libjpeg_6b-1_mipsel.ipk
ipkg install http://downloads.openwrt.org/backports/rc5/motion_3.2.6-1_mipsel.ipk

Nun noch die Config-Datei für motion anlegen.

vi /etc/motion.conf

#motion.conf

daemon on
quiet on

# You may very well need to change this (check with 'dmesg'
# after plugging in your webcam)
videodevice /dev/v4l/video0

# Image size in pixels (valid range is camera dependent)
width 320
height 240

quality 70
framerate 2
auto_brightness off

# Initial brightness, contrast, hue (NTSC), and saturation
# 0 = disabled (valid range 0-255)
brightness 0
contrast 0
saturation 0
hue 0

# ploetzlichen Lichteinfall daempfen
lightswitch 30

# Target base directory for pictures and films
# You should probably change this (create dir beforehand)
target_dir /tmp
jpeg_filename SpcaPict

# Speicherpause um das Geraet zu schonen
minimum_gap 30

low_cpu 1

# Define a port number (e.g. 8000) to enable the mini-http server
# 0 = disabled
webcam_port 8000

# Set to 'off' to allow anybody (not just localhost) to view the
# webcam via the mini-http server (http://hostname:port)
webcam_localhost off

webcam_quality 40
webcam_maxrate 1

# User defined text overlayed on each in the lower left corner
text_left  "Dave TV"

Und jetzt motion starten mit

motion

Jetzt kann man sich den Stream unter http://IP-Adresse_vom_Router:8000 ansehen

Eleganter ist es auch diesmal ein script zu erstellen um nicht jedesmal die Module von Hand zu laden. Dazu legt man in dem Startverzeichnis(/etc/init.d) eine Datei z.B. S90webcam an

cd /etc/init.d/
vi S90webcam

#!/bin/sh

# unload drivers in case the were loaded
rmmod spca5xx; rmmod videodev

# load webcam driver modules (it can be assumed that the USB drivers are compiled into the kernel or were installed & autoloaded)
insmod videodev || exit 1
insmod spca5xx || exit 2

sleep 1

# check if video device was allocated
if [ ! -e /dev/v4l/video0 ]; then exit 3; fi

# Link legen fuer Vidiodevice
ln -s /dev/v4l/video0 /dev/video0

# Link legen fuer Bild
ln -s /tmp/SpcaPict.jpg /www/bild.jpg

# motion starten              
motion

berechtigungen noch setzen mit

chmod 0777 S90webcam

Palantir - Streamserver

Installation:

ipkg install http://downloads.openwrt.org/backports/rc5/palantir_2.6-1_mipsel.ipk

Nun noch die Config-Datei von palantir einstellen.

vi /etc/palantir.conf

##                                                                                                                                                                                                                             
##     Global options                                                                                                                                                                                                          
##                                                                                                                                                                                                                             
                                                                                                                                                                                                                           
VideoDevice /dev/v4l/video0                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                               
FrameSize 640x480                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
FrameRate 5

JpegQuality 70                                                                                                                                                                                                                 

Audio Off                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                                                                                                                                                                                       
TCPPort 8000                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                   
ControlTimeout 30
                                                                                                                                                                                                         
ClientTimeout 300                                                                                                                                                                                                              
                                                                                                                                                                                                                            
MaxStreamingClients 3                                                                                                                                                                                                          
                                                                                                                                        
# Nimm die folgende Auskommentierung weg, willst du eine pan/tilt Kamera wie                                                                                                                                                           
# z.b. Logitech Sphere betreiben:                                                                                                                                                                                          
#                                                                                                                                                                                                                              
#Device {                                                                                                                                                                                                                       
#    Carrier Internal 5                                                                                                                                                                                                         
#    Direction readwrite                                                                                                                                                                                                        
#    Name "Pan"                                                                                                                                                                                                                 
#    Hint "Camera pan"                                                                                                                                                                                                          
#    Range -7000 7000                                                                                                                                                                                                           
#    Notifier client                                                                                                                                                                                                            
#    Visual Slider_X                                                                                                                                                                                                            
#    }                                                                                                                                                                                                                                                                                                                                                                                                                                                      #  
#Device {                                                                                                                                                                                                                       
#    Carrier Internal 6                                                                                                                                                                                                         
#    Direction readwrite                                                                                                                                                                                                        
#    Name "Tilt"                                                                                                                                                                                                                
#    Hint "Camera tilt"                                                                                                                                                                                                         
#    Range -3000 2500                                                                                                                                                                                                           
#    Notifier client                                                                                                                                                                                                            
#    Visual Slider_Y                                                                                                                                                                                                            
#    }

dann starten mit

palantir -C /etc/palantir.conf >/dev/null&

Jetzt den Stream mit speziellen JavaApplet (pclient.jar) in einer Website ansehen:

cd /www
wget http://141.54.160.25/dave/http-java-applet/pclient.jar

vi cgi-bin-stream.html

#!/bin/sh

export DATE="18.11.2006";SCRIPT=${0#/rom}
export TITLE="Webcam"
. ${SCRIPT%/*}/cgi-bin-pre.sh

cat<<EOF
<center>
<H1>LiveCam</H1>
<applet code="pclient.class" archive="pclient.jar" width="750" height="580" >
    <param name="server" value="127.0.0.1">
    <param name="port" value="8000">
    <param name="autostart" value="1">
<strong>You need to download Java.<br>
Click <a href="http://www.java.com/en/download/manual.jsp">here:http://www.java.com/en/download/manual.jsp</a></strong><br>
</applet>
</center>
EOF

. ${SCRIPT%/*}/cgi-bin-post.sh


Camsrv - Streamserver

LiveStream ähnlich motion - im pwc-Paket enthalten

camsrv -r CIF -d 100 -v --device=/dev/v4l/video0

Hilfe: camsrv -h

camsrv v0.3.4
(c)2002 Matthew Painter

Usage: camsrv [options]

Example: camsrv -r VGA -d 100 -v --device /dev/video1
Example: camsrv -w 320 -h 240 -s --file cam.ppm
Example: camsrv --delay 10-2 --script upload.pl --file cam.jpg

General options:
-v --verbose              display verbose information (for debugging)
-V --version              display version and exit
-W --width NUM            width of captured image
-H --height NUM           height of captured image
-r --resmode MODE         use standard resolution (see below)
-f --file FILENAME        save PPM/JPG image of first frame captured and exit
-q --jpegquality NUM      JPEG image quality percentage (value between 0 and 100,
                          defaults to 75)
-p --script FILENAME      run FILENAME after each image is captured
-P --port PORT            port to run the camsrv server on
-d --delay NUM-NUM | NUM  delay (in seconds) between frames are captured
-e --capturedelay NUM     portion of delay where camera is enabled (for image stabilisation)
-l --loop                 loop still image capture. Enabled if streaming is
                          also enabled
-L --log FILENAME         log verbose output messages to FILENAME
-D --device PATH          path to video device to use (defaults to /dev/video0)
-S --stream               streams to java client. This is enabled by default
                          if --file is not used
-h --help                 display help

Philips specific options:
-F --framerate NUM    framerate of camera (integer between 4 to 30)
-c --compression NUM  camera compression (0..3)
-s --shutter NUM      shutter speed (0..65535) default: automatic
-g --agc NUM          automatic gain control override (0..65535)

Default resolution modes:

Mode            Resolution
sQCIF           128x96
QSIF            160x120
QCIF            176x144
SIF             320x240
CIF             352x288
VGA             640x480


Mvc - Bildgrabber

einfaches motion capture Programm

mvc version 0.8.9 - motion detection video capture program

Usage: mvc <options>

 -B picture brightness value.
 -C picture contrast value.
 -D run in daemon mode.
 -O Base directory for output images. default is current dir.
 -o Don't create sub-directories for output.
 -t Print timestamp on image.
 -d <device> video device (default:/dev/video0).
 -e <program> excute a external program while motion detected.
 -f {jpeg|png} set output file format. default is jpeg.
 -q <quality>               jpeg quality setting.
 -h print this help.
 -i <channel> which input channel to use, default is 1, or 0 if only 1 input.
 -m use mono color (grayscale) for capture.
 -n {pal|ntsc|secam|auto}    video norm to use, default: PAL
 -s XxY size of the output image, example: -s 640x480
 -a HxV block division number in Horizantal and Vertical. Ex: -a 16x8
 -b <diff_block_limit>      threshold of hot block number.
 -c <diff_color_limit>      threshold of block color difference.
 -w delay time for each capture(seconds), example: -w 0.5
 -l logfile used in daemon mode. default is null.
 -v increase verbose level for more details, can multiple applied.


getjpeg - Bildgrabber

  • Installation:
cd /tmp
wget http://ping02.stura.uni-weimar.de/dave/getjpeg
mv getjpeg /usr/bin
cd /usr/bin
chmod +x jpeg

Automation

Cronjob einrichten: (z.B. aller 5min. Neustarten)

vi /etc/init.d/S51crond

0-59/5 * * * *  /usr/sbin/cron.5minutely

einfügen.

vi /usr/sbin/cron.5minutely

#!/bin/sh
killall -9 motion
logger "motion gekilld"
sleep 5
/usr/bin/motion -c /etc/motion.conf

berechtigungen noch setzen mit

chmod 0777 /usr/sbin/cron.5minutely

Anzeigen auf dem Router

Anlegen eines Links:

cd /www
vi 20-cgi-bin-webcam

Text einfügen:

<TR><TD>
         <DIV CLASS="plugin"><A CLASS="plugin" HREF="cgi-bin-webcam.html">Webcam</A></DIV></TD>
</TR>

Dann noch die Site anlegen

cd /www
vi cgi-bin-webcam.html

und Text einfügen:


Anzeigen als Bild

#!/bin/sh

export DATE="18.11.2006";SCRIPT=${0#/rom}
export TITLE="Webcam"
. ${SCRIPT%/*}/cgi-bin-pre.sh

cat<<EOF
<html><head>
<meta http-equiv="expires" content="0">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="refresh" content="10">
<center>
<H1>Webcam</H1><br>
<img src="bild.jpg" name="Webcambild" width="480" hight="360"><br>
Images refreshed every 10 seconds.
</center>
</body></html>
EOF

. ${SCRIPT%/*}/cgi-bin-post.sh


Anzeigen mit Java Applet (Stream oder Bild)

#!/bin/sh

export DATE="18.11.2006";SCRIPT=${0#/rom}
export TITLE="Webcam"
. ${SCRIPT%/*}/cgi-bin-pre.sh

cat<<EOF
<center>
<H1>Webcam</H1>
    <applet code=com.charliemouse.cambozola.Viewer
    archive=cambozola.jar width="320" height="240" style="border-width:1; border-color:gray; border-style:solid;">
    <param name="url" value="http://'''IP-Adresse''':8000">
    <param name="failureimage" value="offline.jpg">
    <param name="accessories" value="ZoomIn,ZoomOut,Pan,Info">
    </applet>
</center>
EOF

. ${SCRIPT%/*}/cgi-bin-post.sh
# Webcam-Paket (JavaApplet-Cambozola, offline-Bild, Link zur Webcam, Webseite ...)
ipkg install http://weimarnetz.de/ipkg/packages/webcam-tools_1_mipsel.ipk

oder einzeln

cd /www
wget http://141.54.160.25/dave/cambozola-0.68/cambozola-server.jar
wget http://141.54.160.25/dave/cambozola-0.68/cambozola.jar
wget http://141.54.160.25/dave/offline.jpg

Geräte die getestet wurden

Router: Asus wl hdd 2,5 ; Yakumo Wireless Storage ; Siemens se505 ; Asus wl500g (alles USB 1.0)
Fabrikat ID (lsusb/dmesg) driver Programm Auflösung Notiz
Creative Vista Plus 0x41e/0x4028 spca5xx motion, spcacat max:176x144 schlechter Weißabgleich
Creative Webcam NoteBook 0x041e/0x401f spca5xx_le motion, spcacat :- zerhacktes Bild, ungeeignet
Genius Look 312P 0xac8/0x301b spca5xx_le, spca5xx spcacat, servfox, motion :- zerhacktes Bild, ungeeignet
Labtec Notebook 0x046d/0x08aa spca5xx_le spcacat, servfox :- zerhacktes Bild, ungeeignet
Labtec Webcam Elch2 0x046d/0x0929 spca5xx spcacat, motion :- Totalabsturz, ungeeignet
Labtec Pro 0x046d/0x08a2 spca5xx_le spcacat, servfox :- zerhacktes Bild, ungeeignet
Logitech Quickcam Messenger 0x046d/0x08f6 quickcam motion, spcacat :- grünes Bild, ungeeignet
Logitech Quickcam Zoom (Silver) 0x046d/0x08b4 pwc (power_save=1) motion max:640x480
Logitech Sphere (nicht MP) 0x046d/0x08b5 pwc motion, palantir max:640x480 Steuerung möglich mit palantir
Philips SPC600NC 0x0471/0x0328 spca5xx_le spcacat, servfox :- zerhacktes Bild, ungeeignet
Philips Vesta PCVC 675 0x471/0x307 pwc motion, camsrv, mvc max:640x480 etwas globig, super Bild
Philips ToUcam Fun PCVC 730 0x471/0x310 pwc motion, camsrv, mvc max:640x480 Bild gespiegelt
Philips ToUcam Pro PCVC 740 0x471/0x311 pwc motion, camsrv, mvc max:640x480 gutes Bild
Philips ToUcam II PCVC 820 0x05a9/0x0518 ov51x, ov518_decomp motion, mvc, getjpeg :- grünes Bild, ungeeignet
Philips ToUcam Fun II PCVC 830 0x471/0x310 pwc motion, camsrv, mvc max:640x480 gutes Bild
Philips ToUcam Pro II PCVC 840 0x471/0x311 pwc motion, camsrv, mvc max:640x480 gutes Bild
Qtec Webcam 100 DC-3110 (AldiCam) 0x93a/0x2460 spca5xx motion, spcacat max:176x144 schlechter Weißabgleich
Technaxx VP-1 0x93a/0x2468 spca5xx motion, spcacat max:176x144 schlechter Weißabgleich
Techsolo TCA-4810 0x0ac8/0x303b spca5xx spcacat, motion :- Totalabsturz, ungeeignet
Router: Asus WL500g Premium oder Deluxe; Linksys WRTSL 54GS (alles USB 2.0)
Fabrikat ID (lsusb/dmesg) driver Programm Qualität/Auflösung Notiz
Creative Vista Plus 0x41e/0x4028 spca5xx motion, spcacat max:352x288 schlechter Weißabgleich - nur indoor
Creative Webcam NoteBook 0x041e/0x401f spca5xx_le, spca5xx servfox, spcacat, motion max:640x480
Genius Look 312P 0xac8/0x301b spca5xx_le, spca5xx spcacat, servfox, motion max:640x480
Labtec Notebook 0x046d/0x08aa spca5xx_le, spca5xx spcacat, servfox, motion max:640x480
Labtec Webcam Elch2 0x046d/0x0929 spca5xx spcacat, motion max:352x288
Labtec Pro 0x046d/0x08a2 spca5xx_le, spca5xx spcacat, servfox max:640x480
Logitech Quickcam Messenger 0x046d/0x08f6 quickcam motion, spcacat max:320x240
Logitech Quickcam Zoom (Silver) 0x046d/0x08b4 pwc (power_save=1) motion max:640x480
Logitech Sphere (nicht MP) 0x046d/0x08b5 pwc motion, palantir max:640x480 Steuerung möglich mit palantir
Philips SPC600NC 0x0471/0x0328 spca5xx_le spcacat, servfox max:640x480
Philips Vesta PCVC 675 0x471/0x307 pwc motion, camsrv, mvc max:640x480 etwas globig, super Bild
Philips ToUcam Fun PCVC 730 0x471/0x310 pwc motion, camsrv, mvc max:640x480 Bild gespiegelt
Philips ToUcam Pro PCVC 740 0x471/0x311 pwc motion, camsrv, mvc max:640x480 super Bild
Philips ToUcam II PCVC 820 0x05a9/0x0518 ov51x, ov518_decomp motion, mvc, getjpeg max:352x288 Weißabgleich OK - outdoor geeignet
Philips ToUcam Fun II PCVC 830 0x471/0x310 pwc motion, camsrv, mvc max:640x480 super Bild
Philips ToUcam Pro II PCVC 840 0x471/0x311 pwc motion, camsrv, mvc max:640x480 super Bild
Qtec Webcam 100 DC-3110 (AldiCam) 0x93a/0x2460 spca5xx motion, spcacat max:352x288 schlechter Weißabgleich - nur indoor
Technaxx VP-1 0x93a/0x2468 spca5xx motion, spcacat max:352x288 schlechter Weißabgleich - nur indoor
Techsolo TCA-4810 0x0ac8/0x303b spca5xx spcacat, servfox, motion max:640x480