MythTV 0.23.1 and PVR-500

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Thu Dec 9 13:00:59 UTC 2010


Hello,

I am testing MythTV 0.23.1 from ports on my main MythTV machine[1], running FreeBSD 8.1 (slightly old):
root at kg-fil# uname -a
FreeBSD kg-fil.kg4.no 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4: Fri May 21 00:20:01 CEST 2010     root at kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
root at kg-fil# portversion -v | grep mythtv
mythtv-0.23.1               =  up-to-date with port 


The machine has a PVR-500 card, and I am using this driver (patched to work with 8.x):
root at kg-fil# portversion -v | grep pvr
pvrxxx-09042008             <  needs updating (port has 20060822_1) 
The driver works with mplayer, tested like this:
pvr250-setchannel -d 0 -t 147.25
mplayer /dev/cxm0

(and the same for /dev/cxm1).

Note: I tried the updated pvr250 driver as well, but it doesn't want to detect / use the tuners of my card.


The port installed fine, but LiveTV (or anything lese to do with the PVR-500 card) isn't working.
Output from /var/log/mythbackend.log:
2010-12-09 13:31:25.223 MainServer::ANN Playback
2010-12-09 13:31:25.223 adding: kg-fil.kg4.no as a client (events: 0)
2010-12-09 13:31:25.240 TVRec(1): Changing from None to WatchingLiveTV
2010-12-09 13:31:25.246 TVRec(1): HW Tuner: 1->1
2010-12-09 13:31:25.928 ProgramInfo(): Updated pathname '':'' -> '1000_20101209133125.mpg'
2010-12-09 13:31:25.937 

Not ivtv or pvrusb2 or hdpvr driver


2010-12-09 13:31:25.947 card Hauppauge PVR-250 driver CXM version 0
2010-12-09 13:31:25.949 MPEGRec(/dev/cxm0) Warning: Unable to set audio mode
                        eno: Inappropriate ioctl for device (25)
2010-12-09 13:31:25.951 mpegrecorder.cpp:set_ctrls(): Could not set Audio Sampling Frequency to 1
                        eno: Inappropriate ioctl for device (25)
2010-12-09 13:31:25.952 mpegrecorder.cpp:set_ctrls(): Could not set Video Aspect ratio to 1
                        eno: Inappropriate ioctl for device (25)
2010-12-09 13:31:25.953 mpegrecorder.cpp:set_ctrls(): Could not set Audio Encoding to 1
                        eno: Inappropriate ioctl for device (25)
2010-12-09 13:31:25.954 mpegrecorder.cpp:set_ctrls(): Could not set Audio L2 Bitrate to 13
                        eno: Inappropriate ioctl for device (25)
2010-12-09 13:31:25.954 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2010-12-09 13:31:25.955 mpegrecorder.cpp:set_ctrls(): Could not set MPEG Stream type to 0
                        eno: Inappropriate ioctl for device (25)
2010-12-09 13:31:25.956 mpegrecorder.cpp:set_ctrls(): Could not set Video Average Bitrate to 4500000
                        eno: Inappropriate ioctl for device (25)
2010-12-09 13:31:25.958 mpegrecorder.cpp:set_ctrls(): Could not set Video Peak Bitrate to 6000000
                        eno: Inappropriate ioctl for device (25)
2010-12-09 13:31:25.958 MPEGRec(/dev/cxm0) Warning: Can't enable VBI recording (5)
                        eno: Inappropriate ioctl for device (25)


References:
1) http://sites.google.com/site/tingox/ga-k8nf-9
-- 
Regards,
Torfinn Ingolfsen



More information about the freebsd-multimedia mailing list