/alps/ipecamera

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to tests/autotrigger.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2015-04-27 00:28:57 UTC
  • Revision ID: csa@suren.me-20150427002857-82fk6r3e8rfgy4wr
First stand-alone ipecamera implementation

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/bash
 
2
 
 
3
function pci {
 
4
    PCILIB_PATH=`which pci`
 
5
    #LD_LIBRARY_PATH="$PCILIB_PATH" 
 
6
    $PCILIB_PATH/pci $*
 
7
}
 
8
 
 
9
echo "Starting the grabber"
 
10
pci -g -o /dev/null --run-time 12000000 --verbose 10 &
 
11
pid=$!
 
12
 
 
13
usleep 100000
 
14
pci -w 9040 80004a01
 
15
usleep 10000000
 
16
pci -w 9040 80000201
 
17
 
 
18
echo "Waiting grabber to finish"
 
19
wait $pid