[mythtv-users] pvr-500 ubuntu kernel
David Fishburn
fishburn at ianywhere.com
Sun Nov 12 03:33:35 UTC 2006
I finally have my system up and mostly functional.
Unbuntu Edgy (6.10)
Kernel 2.6.17
Ivtv 0.7.1
Hauppauge pvr-500 with updated firmware to 2.0.28.23053
Myth 0.20 (Edgy packaged)
My recordings look like we are sitting outside at about midnight. So it is
nearly black, but I can see the images.
This was tested using:
cat /dev/video0 > /tmp/test.mpg
Ctrl -C to stop recording. Open mplayer: Applications --> Sound
and Video --> Mplayer Movie Player. Right click on the window
--> Open File --> /tmp/test.mpg.
I have been reading on the KnoppMyth forums and they indicate there are
patches to the kernel to fix a lot of pvr-500 tuners which have the samsung
tuner (Samsung TCPN 2121P30A). This means compiling the kernel and other
items.
I am quite new to Linux.
I attempted to recompile my 2.6.17 kernel and ran into errors.
Found some howtos and read that the ivtv fixes are in kernel 2.6.18.1.
Having never done this before, is it worthwhile to:
A) Fix my compiling issues with 2.6.17 with the samsung tuner patches
B) Update my kernel to 2.6.18.1
I have no idea what bag of worms I open by trying to move to a newer kernel.
Is there something else that would be recommended perhaps to try first?
I did have some error messages in my mythbackend.log
2006-11-11 18:20:28.208 TVRec(1): Changing from None to WatchingLiveTV
2006-11-11 18:20:28.214 TVRec(1): HW Tuner: 1->1
2006-11-11 18:20:28.704 Unknown video codec
2006-11-11 18:20:28.720 Please go into the TV Settings, Recording Profiles
and
2006-11-11 18:20:28.721 setup the four 'Software Encoders' profiles.
2006-11-11 18:20:28.721 Assuming RTjpeg for now.
2006-11-11 18:20:28.722 NVR: Error, unknown audio codec
2006-11-11 18:20:28.783 NVR: Won't work with the streaming interface,
falling ba
ck
VIDIOCGMBUF:: Invalid argument
2006-11-11 18:21:08.793 TVRec(1): Changing from WatchingLiveTV to None
2006-11-11 18:21:08.892 Finished recording Beyond "Pyramids": channel 1044
I tried changing all references to RTjpeg to MPEG-4 hoping that might solve
some of these issues. I am not even sure how to install RTjpeg, my googles
turned up empty.
And some more:
2006-11-11 19:00:38.066 Using protocol version 31
2006-11-11 19:00:38.067 MainServer::HandleAnnounce Monitor
2006-11-11 19:00:38.078 adding: myth as a client (events: 0)
2006-11-11 19:00:38.079 MainServer::HandleAnnounce Monitor
2006-11-11 19:00:38.080 adding: myth as a client (events: 1)
2006-11-11 19:00:39.161 RingBuf(/media/mythtv//1044_20061111190000.nuv):
Taking
too long to be allowed to read..
2006-11-11 19:00:40.173 RingBuf(/media/mythtv//1044_20061111190000.nuv):
Taking
too long to be allowed to read..
2006-11-11 19:00:40.717 NVP::OpenFile(): Error, couldn't read file:
/media/mytht
v//1044_20061111190000.nuv
Segmentation fault
2006-11-11 19:00:40.931 JobQueue: Commercial Flagging Finished, 139 break(s)
fou
nd.
2006-11-11 19:00:41.048 NVP::OpenFile(): Error, couldn't read file:
/media/mytht
v//1044_20061111190000.nuv
2006-11-11 19:00:41.052 NVP, Error: Could not open file for preview.
2006-11-11 19:02:24.930 MainServer::HandleAnnounce Monitor
2006-11-11 19:02:24.952 adding: myth as a client (events: 0)
Everything else more less just repeats.
dmesg |grep -i ivtv
[ 35.278291] ivtv: version 0.7.1 (tagged release) loading
[ 35.278293] ivtv: Linux version: 2.6.17-10-generic SMP mod_unload
gcc-4.1
[ 35.278295] ivtv: In case of problems please include the debug info
between
[ 35.278297] ivtv: the START INIT IVTV and END INIT IVTV lines, along
with
[ 35.278299] ivtv: any module options, when mailing the ivtv-users
mailinglist.
[ 35.278359] ivtv0: Autodetected Hauppauge WinTV PVR-150 card (cx23416
based)
[ 35.279147] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[ 35.338731] ivtv0: This is the first unit of a PVR500
[ 35.397749] tuner 0-0060: chip found @ 0xc0 (ivtv i2c driver #0)
[ 35.398035] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[ 35.704545] cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
[ 39.337784] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
[ 40.075101] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[ 40.290823] ivtv0: Encoder revision: 0x02050032
[ 40.290960] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers
(4096KB total)
[ 40.291221] ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers
(2048KB total)
[ 40.291521] ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers
(2048KB total)
[ 40.291747] ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608
buffers (2048KB total)
[ 40.292273] ivtv0: Create encoder radio stream
[ 40.428368] ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
[ 40.430247] ivtv: ====================== NEXT CARD
======================
[ 40.430254] ivtv1: Autodetected Hauppauge WinTV PVR-150 card (cx23416
based)
[ 40.430867] ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
[ 40.493227] tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #1)
[ 40.702693] cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
[ 44.188658] wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #1)
[ 44.245108] ivtv1: This is the second unit of a PVR500
[ 44.245109] ivtv1: Correcting tveeprom data: no radio present on second
unit
[ 44.941328] ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[ 45.154488] ivtv1: Encoder revision: 0x02050032
[ 45.154641] ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers
(4096KB total)
[ 45.154924] ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers
(2048KB total)
[ 45.155237] ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers
(2048KB total)
[ 45.155492] ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608
buffers (2048KB total)
[ 45.290620] ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
[ 45.290637] ivtv: ==================== END INIT IVTV
====================
Not sure what other information to provide.
TIA.
Dave
More information about the mythtv-users
mailing list