Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

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

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


clarkchen900 at yahoo

Jun 6, 2009, 8:39 PM

Post #1 of 7 (639 views)
Permalink
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)



_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


clarkchen900 at yahoo

Jun 6, 2009, 8:45 PM

Post #2 of 7 (613 views)
Permalink
Re: mythtv can not work with HW MPEG2 encoder of AUSU PVR-416 [In reply to]

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)



_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


nick.rout at gmail

Jun 7, 2009, 7:57 PM

Post #3 of 7 (596 views)
Permalink
Re: mythtv can not work with HW MPEG2 encoder of AUSU PVR-416 [In reply to]

On Sun, Jun 7, 2009 at 3:39 PM, Clark Lee<clarkchen900[at]yahoo.com.cn> wrote:
>

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


What is the ownership/permissions of /dev/video1?

What user is running mythbackend and is that user in the correct group
to access /dev/video1 (bearing in mind the answer to the first
question.)?
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


clarkchen900 at yahoo

Jun 27, 2009, 7:27 AM

Post #4 of 7 (489 views)
Permalink
Re: mythtv can not work with HW MPEG2 encoder of AUSU PVR-416 [In reply to]

Dear Nick,

I have checked again and seems the ownership/permission are ok, as follow:

clark[at]clark-desktop:~$ ls -l /dev/video? -l
crw-rw----+ 1 root video 81, 0 2009-06-27 21:08 /dev/video0
crw-rw----+ 1 root video 81, 1 2009-06-27 21:08 /dev/video1

mythbackend, which is under debug, is run with user clark,
and clark is a member of 'video' group, as shown in /etc/groups;

The error message:
2009-06-27 22:23:34.206 MPEGRec(/dev/video1) Error: error reading from: /dev/video1
eno: Input/output error (5)
2009-06-27 22:23:34.206 MPEGRec(/dev/video1) Error: error reading from: /dev/video1
eno: Input/output error (5)

However, if user clark run cat /dev/video1 > foo.mpg, it will correctly generate a mpeg 2 file.
I am really puzzled here...

Clark



----- Original Message ----
From: Nick Rout <nick.rout[at]gmail.com>
To: Discussion about mythtv <mythtv-users[at]mythtv.org>
Sent: Monday, June 8, 2009 10:57:41 AM
Subject: Re: [mythtv-users] mythtv can not work with HW MPEG2 encoder of AUSU PVR-416

On Sun, Jun 7, 2009 at 3:39 PM, Clark Lee<clarkchen900[at]yahoo.com.cn> wrote:
>

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


What is the ownership/permissions of /dev/video1?

What user is running mythbackend and is that user in the correct group
to access /dev/video1 (bearing in mind the answer to the first
question.)?
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users




_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


clarkchen900 at yahoo

Jul 1, 2009, 11:34 PM

Post #5 of 7 (449 views)
Permalink
Re: mythtv can not work with HW MPEG2 encoder of AUSU PVR-416 [In reply to]

Dear Friends,

Sorry to pop up the same question again. I am still struggling to get my hardware MPEG-2 encoder work.

--------------------------------------------------------------------------
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------------------------
code version: 0.21 release, compiled on ubuntu 8.10

I have checked again and seems the ownership/permission are ok, as follow:

clark[at]clark-desktop:~$ ls -l /dev/video? -l
crw-rw----+ 1 root video 81, 0 2009-06-27 21:08 /dev/video0
crw-rw----+ 1 root video 81, 1 2009-06-27 21:08 /dev/video1

mythbackend, which is under debug, is run with user clark,
and clark is a member of 'video' group, as shown in /etc/groups;

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)



_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users




_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mitchell.gore at gmail

Jul 2, 2009, 1:51 PM

Post #6 of 7 (435 views)
Permalink
Re: mythtv can not work with HW MPEG2 encoder of AUSU PVR-416 [In reply to]

On Thu, Jul 2, 2009 at 1:34 AM, Clark Lee <clarkchen900[at]yahoo.com.cn> wrote:

>
> Dear Friends,
>
> Sorry to pop up the same question again. I am still struggling to get my
> hardware MPEG-2 encoder work.
>
> --------------------------------------------------------------------------
> 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------------------------
> code version: 0.21 release, compiled on ubuntu 8.10
>
> I have checked again and seems the ownership/permission are ok, as follow:
>
> clark[at]clark-desktop:~$ ls -l /dev/video? -l
> crw-rw----+ 1 root video 81, 0 2009-06-27 21:08 /dev/video0
> crw-rw----+ 1 root video 81, 1 2009-06-27 21:08 /dev/video1
>
> mythbackend, which is under debug, is run with user clark,
> and clark is a member of 'video' group, as shown in /etc/groups;
>
> 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)
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

like asked in your first post. What user is running mythbackend? try
running mythbackend from the user that can access /dev/video* (Clark)

--
Mitchell


drayson at net1plus

Jul 2, 2009, 2:30 PM

Post #7 of 7 (435 views)
Permalink
Re: mythtv can not work with HW MPEG2 encoder of AUSU PVR-416 [In reply to]

> -----Original Message-----
> From: mythtv-users-bounces[at]mythtv.org [mailto:mythtv-users-
> bounces[at]mythtv.org] On Behalf Of Clark Lee
> Sent: Thursday, July 02, 2009 2:34 AM
> To: Discussion about mythtv
> Subject: Re: [mythtv-users] mythtv can not work with HW MPEG2 encoder
> of AUSU PVR-416
>
>
> Dear Friends,
>
> Sorry to pop up the same question again. I am still struggling to get
> my hardware MPEG-2 encoder work.
>
> -----------------------------------------------------------------------
> ---
> 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------------------------
> code version: 0.21 release, compiled on ubuntu 8.10
>
> I have checked again and seems the ownership/permission are ok, as
> follow:
>
> clark[at]clark-desktop:~$ ls -l /dev/video? -l
> crw-rw----+ 1 root video 81, 0 2009-06-27 21:08 /dev/video0
> crw-rw----+ 1 root video 81, 1 2009-06-27 21:08 /dev/video1
>
> mythbackend, which is under debug, is run with user clark,
> and clark is a member of 'video' group, as shown in /etc/groups;
>
> 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,cx8
> 800,cx88xx
> videobuf_core 18820 7
> saa7134,videobuf_dvb,cx88_blackbird,cx8802,cx8800,cx88xx,videobuf_dma_s
> g
> btcx_risc 5896 3 cx8802,cx8800,cx88xx
> i2c_core 24832 14
> saa7134_dvb,saa7134,ir_kbd_i2c,tda1004x,tuner,tea5767,tda8290,tuner_sim
> ple,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)
>
>
>
> _______________________________________________

Clark,

Couple of things here.
1. Post the output of mythbackend --version
I want to see if you compiled ivtv compatibility into myth.

2. According to the wiki, "Once the drivers are installed and appear to be
working, you can configure the device in MythTV. For the most part, you
should be able to treat the encoder as if it were a Hauppauge WinTV
PVR-x50/500 card: Tell MythTV that it's an MPEG encoding card"
and
"One slightly confusing fact: On my system, the backend configuration tool
(mythtv-setup) detected both the /dev/video0 and /dev/video1 devices as
software encoders, but attempting to configure /dev/video1 in this way would
not work. Using the MPEG-2 encoding screen, manually typing the device name
(/dev/video1 in my case), and proceeding with configuration worked. Once the
device filename is typed in, mythtv-setup recognized it as an ASUS PVR-416."

Have you done this?

Note: the ivtv driver does NOT work for the card you are using. You just
configure myth to connect to it using the same method as an ivtv compatible
device.

Marc

_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.