#!/bin/bash echo "-- Probing videodev" modprobe videodev echo "-- Inserting the zc030x.ko module with debug=5" insmod ./zc030x.ko debug=5 echo "-- Create somename.ppm with readframe" ./readframe /dev/video0 352 288 24 somename.ppm echo "-- Test of v4l-info" v4l-info &> test.v4l-info echo "-- Test of XawTV" xawtv -c /dev/video0 &> test.xawtv echo "-- Remove the zc030x module" rmmod zc030x echo "-- Stop videodev" rmmod videodev