hauppauge PVR 150 problem loading modules

Jim Stapleton stapleton.41 at gmail.com
Sun Mar 4 23:46:02 UTC 2007


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 <stapleton.41 at gmail.com> 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
>


More information about the freebsd-questions mailing list