pvr350, cache problems and live tv how to do it best

Didier Wiroth didier.wiroth at mcesr.etat.lu
Tue May 10 12:45:56 PDT 2005


Hello,
I've installed latest pvr port.
I'm using a pvr350 on freebsd5.4-stable:

cxm0: <Conexant iTVC15 MPEG Coder> mem 0xe8000000-0xebffffff irq 18 at device 10.0 on pci0
cxm_iic0: <Conexant iTVC15 / iTVC16 I2C controller> on cxm0
iicbb0: <I2C bit-banging driver> on cxm_iic0
iicbus0: <Philips I2C bus> on iicbb0 master-only
cxm0: LG Innotek TPI8PSB01N tuner
cxm0: SAA7115 rev 1 video decoder
cxm0: MSP4418G-A2 audio decoder
cxm0: IR Remote
cxm0: encoder firmware version 0x2050032
cxm0: decoder firmware version 0x2020023

Pciconf gives this:
cxm0 at pci0:10:0: class=0x040000 card=0x40000070 chip=0x08034444 rev=0x01 hdr=0x00    vendor   = 'Conexant Inc (Was: Globespan, ICompression Inc)'
device   = 'iTVC15/CX23415 MPEG Codec'
class    = multimedia
subclass = video

The sound stops after some while, from previous posts I discovered how to get sound back. By combining different solutions I get the sound back and my tv is now sluggish:
Here is the command I'm running:
buffer -s 8125 < /dev/cxm0 | mplayer -cache 8125 -

Unfortunately I still get lots and lots of "cxm0: encoder dma not enough buffer space free"
output on the terminal when "I stop mplayer". I need to reboot the workstation to stop the messages.

Regarding watching live tv, what is the most comfortable way to do it. For now I do the following:
1) pvr250-setchannel my_channel_mhz
2) start mplayer: buffer -s 8125 < /dev/cxm0 | mplayer -cache 8125 -
3) stop mplayer
4) change channel with pvr250-setchannel...
5) restart mplayer: buffer -s...
6) etc....
Is there some better way to do this?

Which program are you using for watching live tv on freebsd5.4 with the pvr350? 

Many thanks
Didier




More information about the freebsd-multimedia mailing list