From owner-freebsd-multimedia@FreeBSD.ORG Thu Dec 9 13:00:59 2010 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66178106564A for ; Thu, 9 Dec 2010 13:00:59 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 200E28FC13 for ; Thu, 9 Dec 2010 13:00:58 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LD500995W5LBJB0@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 09 Dec 2010 14:00:57 +0100 (CET) Received: from kg-v2.kg4.no ([84.48.120.77]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0LD5009YBW5L6B82@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 09 Dec 2010 14:00:57 +0100 (CET) Date: Thu, 09 Dec 2010 14:00:56 +0100 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20101209140056.4c1d98c0.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.0.3 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: MythTV 0.23.1 and PVR-500 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2010 13:00:59 -0000 Hello, I am testing MythTV 0.23.1 from ports on my main MythTV machine[1], running FreeBSD 8.1 (slightly old): root@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@kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 root@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@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