[mythtv-users] mythtv can not work with HW MPEG2 encoder of AUSU PVR-416

Clark Lee clarkchen900 at yahoo.com.cn
Sun Jun 7 03:45:16 UTC 2009


Sorry, forgot mention that I am using mythtv 0.21 SVN code release, compiled myself.



----- Original Message ----
From: Clark Lee <clarkchen900 at yahoo.com.cn>
To: Discussion about mythtv <mythtv-users at mythtv.org>
Sent: Sunday, June 7, 2009 11:39:43 AM
Subject: mythtv can not work with HW MPEG2 encoder of AUSU PVR-416

Dear mythtv fans,

I am using a AUSU PVR-416 card with mpeg2 encoder to improve the TV program quality. It is said to be compatible with AVerMedia_M150-D according to the wiki.

However, mythtv failed on either Live TV or record. I am using the module driver and firmware provided by 2.6.24-24, and I have tested that either of the following actually works fine:

cat /dev/video1 > foo.mpg # this generate a valide mpeg2 file.  
mplayer /dev/video1

The video quality is very good, although not voice yet. I am very puzzeld why the mpeg2 can be accessed directly without any error, while mythtv can not work with it? I have noticed that mythbackend requires 'ivtv' driver, however, on ivtv's wiki, it says the drive won't work with AUSU PVR-416. 

Anyone has idea on how to make it work? thanks very much,

Clark 
------------Detail system information below------------------------

clark at clark-desktop:/var/log/mythtv$ uname -a
Linux clark-desktop 2.6.24-24-generic #1 SMP Wed Apr 15 15:54:25 UTC 2009 i686 GNU/Linux

clark at clark-desktop:/var/log/mythtv$ dmesg | grep cx88
[   38.840800] cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
[   38.841116] cx88[0]: subsystem: 1043:4823, board: ASUS PVR-416 [card=12,autodetected]
[   38.841118] cx88[0]: TV tuner type 43, Radio tuner type -1
[   38.885122] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
[   38.996720] cx88[0]/0: found at 0000:01:08.0, rev: 5, irq: 5, latency: 32, mmio: 0xea000000
[   39.058835] tuner 0-0043: chip found @ 0x86 (cx88[0])
[   39.061781] tuner 0-0060: chip found @ 0xc0 (cx88[0])
[   39.071776] cx88[0]/0: registered device video0 [v4l2]
[   39.071793] cx88[0]/0: registered device vbi0
[   39.071808] cx88[0]/0: registered device radio0
[   39.073615] cx88[0]/2: cx2388x 8802 Driver Manager
[   39.073643] cx88[0]/2: found at 0000:01:08.2, rev: 5, irq: 5, latency: 32, mmio: 0xeb000000
[   39.088450] cx88/2: registering cx8802 driver, type: blackbird access: shared
[   39.088453] cx88[0]/2: subsystem: 1043:4823, board: ASUS PVR-416 [card=12]
[   39.088455] cx88[0]/2: cx23416 based mpeg encoder (blackbird reference design)
[   39.088687] cx88[0]/2: registered device video1 [mpeg]
[   52.146264] cx88[0]/2-bb: Firmware and/or mailbox pointer not initialized or corrupted
[   54.617516] cx88[0]/2-bb: Firmware upload successful.
[   54.625647] cx88[0]/2-bb: Firmware version is 0x02060039
[   54.688201] cx88[0]/2-bb: VIDIOC_TRY_FMT: w: 720, h: 480, f: 4
[ 4180.709878] cx88[0]: irq mpeg  [0x100000] ts_err?*
[ 4180.709888] cx88[0]/2-mpeg: general errors: 0x00100000
[ 4808.387073] cx88[0]/2-bb: VIDIOC_G_FMT: w: 720, h: 480, f: 4
[ 4808.388312] cx88[0]/2-bb: VIDIOC_S_FMT: w: 720, h: 576, f: 4
[ 5068.357446] cx88[0]/2-bb: VIDIOC_G_FMT: w: 720, h: 576, f: 4
[ 5068.357754] cx88[0]/2-bb: VIDIOC_S_FMT: w: 720, h: 576, f: 4

clark at clark-desktop:/var/log/mythtv$ lsmod | grep cx88
cx88_blackbird         21252  0 
cx2341x                13444  1 cx88_blackbird
cx8802                 19588  1 cx88_blackbird
cx8800                 35720  1 cx88_blackbird
cx88xx                 65960  3 cx88_blackbird,cx8802,cx8800
compat_ioctl32          2304  2 saa7134,cx8800
ir_common              36100  3 saa7134,ir_kbd_i2c,cx88xx
i2c_algo_bit            7300  1 cx88xx
tveeprom               16656  1 cx88xx
videodev               29440  4 saa7134,cx88_blackbird,cx8800,cx88xx
v4l2_common            18304  7 saa7134,cx88_blackbird,cx2341x,tuner,cx8800,cx88xx,videodev
videobuf_dma_sg        14980  8 saa7134_dvb,saa7134_alsa,saa7134,videobuf_dvb,cx88_blackbird,cx8802,cx8800,cx88xx
videobuf_core          18820  7 saa7134,videobuf_dvb,cx88_blackbird,cx8802,cx8800,cx88xx,videobuf_dma_sg
btcx_risc               5896  3 cx8802,cx8800,cx88xx
i2c_core               24832  14 saa7134_dvb,saa7134,ir_kbd_i2c,tda1004x,tuner,tea5767,tda8290,tuner_simple,mt20xx,tea5761,cx88xx,i2c_algo_bit,tveeprom,nvidia


clark at clark-desktop:/var/log/mythtv$ 
clark at clark-desktop:/var/log/mythtv$ tail mythbackend.log 
irsend SEND_ONCE bjgehua One 2009-06-07 11:32:14.021 ret_pid(17846) child(17846) status(0x0)
2009-06-07 11:32:14.023 External Tuning program exited with no error
2009-06-07 11:32:15.100 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2009-06-07 11:32:15.174 

Not ivtv driver??


2009-06-07 11:32:15.183 MPEGRec(/dev/video1) Error: Can't open video device.
            eno: Device or resource busy (16)


      


More information about the mythtv-users mailing list