Änderungen

Zur Navigation springen Zur Suche springen
240 Bytes hinzugefügt ,  23:22, 16. Apr. 2007
keine Bearbeitungszusammenfassung
Zeile 266: Zeile 266:  
#!/bin/sh
 
#!/bin/sh
   −
# Variablen Definition
+
# unload drivers in case the were loaded
REAL="/www/bild.jpg"
+
rmmod spca5xx; rmmod videodev
TEMP="/SpcaPict.jpg"
     −
insmod videodev
+
# load webcam driver modules (it can be assumed that the USB drivers are compiled into the kernel or were installed & autoloaded)
insmod spca5xx
+
insmod videodev || exit 1
sleep 15
+
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

Navigationsmenü