OK, this little script seemed to get the job done, but... it's not horribly fast/efficient (I found a tuner the same as 0x55 that works with 0x67 also). For testing purposes, is there an mpeg player that will gake input from stdin?
I.E. I would replace cat /dev/cxm0 > test_$START.mpg & with cat /dev/cxm0 | some_app & Thanks, -Jim Stapleton #!/bin/sh INC=0.10 START=740.00 STOP=750.00 P=$START cat /dev/cxm0 > test_$START.mpg & TEST=$(echo "$P <= $STOP" | bc) while [ "$TEST" -eq "1" ] do echo $P pvr250-setchannel -m 2 $P P=$(echo "$P + $INC" | bc) TEST=$(echo "$P <= $STOP" | bc) sleep 2 done kill $(ps -A | grep cat | grep cxm0 | cut -f 2 -d ' ') noatun test_$START.mpg On 3/4/07, Jim Stapleton <[EMAIL PROTECTED]> wrote:
OK, I'm working on that, what's the most trivial method of finding out if the tuner is working? I saw a cat /dev/cxm0 > test.mpg comment, do I have to set channel before I do that, should I use the pvr250_setchannel application? Thanks, -Jim Stapleton
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"