Re: hauppauge PVR 150 problem loading modules

2007-03-04 Thread Jim Stapleton

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]"


Re: hauppauge PVR 150 problem loading modules

2007-03-04 Thread Jim Stapleton

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]"


Re: hauppauge PVR 150 problem loading modules

2007-03-04 Thread Jim Stapleton

Thank you, I'll call hauppauge tomorrow, they seem to be quite
friendly about it.

I was trying to find the file that spat out the error message but was lost.

Thanks again,
-Jim Stapleton

On 3/4/07, Josh Paetzel <[EMAIL PROTECTED]> wrote:

On Friday 02 March 2007 20:34, Jim Stapleton wrote:
> I appologize -questions, disregard this, it was supposed to go to
> multimedia.
>
> On 3/3/07, Jim Stapleton <[EMAIL PROTECTED]> wrote:
> > After being unable to get the WinTV-Radio work, I replaced it
> > with a PVR-150. I followed the instructions here:
> > http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-Novemb
> >er/005351.html
> >
> > attempting to get the PVR 150 I just picked up working. However,
> > after loading the modules as described in the output of the
> > pvrxxx port, and the message listed, no new devices showed up. I
> > checked
> > /var/log/messages and go this:
> >
> > [EMAIL PROTECTED] 21:28:36 (0) ~  > cat /var/log/messages | grep cxm
> > Mar  2 20:47:11 elrond sudo: sjss : TTY=ttyp1 ;
> > PWD=/usr/ports/multimedia/pvrxxx ; USER=root ;
> > COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c
> > Mar  2 20:49:05 elrond sudo: sjss : TTY=ttyp1 ;
> > PWD=/usr/ports/multimedia/pvrxxx ; USER=root ;
> > COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c
> > Mar  2 21:27:50 elrond sudo: sjss : TTY=ttyp1 ;
> > PWD=/home/sjss ; USER=root ; COMMAND=/sbin/kldload cxm_iic
> > Mar  2 21:27:53 elrond sudo: sjss : TTY=ttyp1 ;
> > PWD=/home/sjss ; USER=root ; COMMAND=/sbin/kldload cxm
> > Mar  2 21:27:53 elrond kernel: cxm0: 
> > mem 0xc000-0xc3ff irq 16 at device 6.0 on pci5
> > Mar  2 21:27:53 elrond kernel: cxm_iic0:  > iTVC16 I2C controller> on cxm0
> > Mar  2 21:27:53 elrond kernel: iicbb0: 
> > on cxm_iic0 Mar  2 21:27:53 elrond kernel: cxm0: unknown tuner
> > code 0x67 Mar  2 21:27:53 elrond kernel: cxm0: could not
> > initialize tuner Mar  2 21:27:53 elrond kernel: cxm_iic0:
> > detached
> > Mar  2 21:27:53 elrond kernel: device_attach: cxm0 attach
> > returned 6
> >
> >
> > So it's safe to say I have an unknown tuner on this card, what
> > would my next step from here be?
> >
> > Thank you,
> > -Jim Stapleton
>

In /usr/ports/multimedia/pvrxxx/work/dev/cxm/cxm_eeprom.c there's a
big switch of tuner codes starting on line 213either figure out
what tuner you have and add the appropriate entry for the tuner code
it's showing or start guessing.

--
Thanks,

Josh Paetzel


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: hauppauge PVR 150 problem loading modules

2007-03-02 Thread Jim Stapleton

I appologize -questions, disregard this, it was supposed to go to multimedia.

On 3/3/07, Jim Stapleton <[EMAIL PROTECTED]> wrote:

After being unable to get the WinTV-Radio work, I replaced it with a
PVR-150. I followed the instructions here:
http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-November/005351.html

attempting to get the PVR 150 I just picked up working. However, after
loading the modules as described in the output of the pvrxxx port, and
the message listed, no new devices showed up. I checked
/var/log/messages and go this:

[EMAIL PROTECTED] 21:28:36 (0) ~  > cat /var/log/messages | grep cxm
Mar  2 20:47:11 elrond sudo: sjss : TTY=ttyp1 ;
PWD=/usr/ports/multimedia/pvrxxx ; USER=root ;
COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c
Mar  2 20:49:05 elrond sudo: sjss : TTY=ttyp1 ;
PWD=/usr/ports/multimedia/pvrxxx ; USER=root ;
COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c
Mar  2 21:27:50 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ;
USER=root ; COMMAND=/sbin/kldload cxm_iic
Mar  2 21:27:53 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ;
USER=root ; COMMAND=/sbin/kldload cxm
Mar  2 21:27:53 elrond kernel: cxm0:  mem
0xc000-0xc3ff irq 16 at device 6.0 on pci5
Mar  2 21:27:53 elrond kernel: cxm_iic0:  on cxm0
Mar  2 21:27:53 elrond kernel: iicbb0:  on cxm_iic0
Mar  2 21:27:53 elrond kernel: cxm0: unknown tuner code 0x67
Mar  2 21:27:53 elrond kernel: cxm0: could not initialize tuner
Mar  2 21:27:53 elrond kernel: cxm_iic0: detached
Mar  2 21:27:53 elrond kernel: device_attach: cxm0 attach returned 6


So it's safe to say I have an unknown tuner on this card, what would
my next step from here be?

Thank you,
-Jim Stapleton


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


hauppauge PVR 150 problem loading modules

2007-03-02 Thread Jim Stapleton

After being unable to get the WinTV-Radio work, I replaced it with a
PVR-150. I followed the instructions here:
http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-November/005351.html

attempting to get the PVR 150 I just picked up working. However, after
loading the modules as described in the output of the pvrxxx port, and
the message listed, no new devices showed up. I checked
/var/log/messages and go this:

[EMAIL PROTECTED] 21:28:36 (0) ~  > cat /var/log/messages | grep cxm
Mar  2 20:47:11 elrond sudo: sjss : TTY=ttyp1 ;
PWD=/usr/ports/multimedia/pvrxxx ; USER=root ;
COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c
Mar  2 20:49:05 elrond sudo: sjss : TTY=ttyp1 ;
PWD=/usr/ports/multimedia/pvrxxx ; USER=root ;
COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c
Mar  2 21:27:50 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ;
USER=root ; COMMAND=/sbin/kldload cxm_iic
Mar  2 21:27:53 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ;
USER=root ; COMMAND=/sbin/kldload cxm
Mar  2 21:27:53 elrond kernel: cxm0:  mem
0xc000-0xc3ff irq 16 at device 6.0 on pci5
Mar  2 21:27:53 elrond kernel: cxm_iic0:  on cxm0
Mar  2 21:27:53 elrond kernel: iicbb0:  on cxm_iic0
Mar  2 21:27:53 elrond kernel: cxm0: unknown tuner code 0x67
Mar  2 21:27:53 elrond kernel: cxm0: could not initialize tuner
Mar  2 21:27:53 elrond kernel: cxm_iic0: detached
Mar  2 21:27:53 elrond kernel: device_attach: cxm0 attach returned 6


So it's safe to say I have an unknown tuner on this card, what would
my next step from here be?

Thank you,
-Jim Stapleton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"