<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 10/19/2010 02:38 AM, Tom Stokoe wrote:
<blockquote
cite="mid:AANLkTimh5OJ3VQdZe6mM=auHFjV6Kh1x9LeR1Ms6bg9C@mail.gmail.com"
type="cite">I'm using Gentoo and just updated my kernel to 2.6.34
in preparation for the arrival of a Hauppauge HD PVR. I also
updated to MythTV .22. I also currently have the cx88 based
pcHDTV 5500 and a Hauppauge PVR-150 installed, both functioning
properly. I unpacked the HD PVR, and the first thing I did was
update the firmware on my Wind0ze machine. The hex code in dmesg
shows it to be version 0x15. (which, I think correlates to driver
version 1.5.7.0).<br>
<br>
<div>Dmesg Output:<br>
hdpvr 3-1:1.0: device video2 disconnected<br>
usb 3-1: new high speed USB device using ehci_hcd and address 4<br>
usb 3-1: New USB device found, idVendor=2040, idProduct=4902<br>
usb 3-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=3<br>
usb 3-1: Product: Hauppauge HD PVR<br>
usb 3-1: Manufacturer: AMBA<br>
usb 3-1: SerialNumber: 00A45DF5<br>
hdpvr 3-1:1.0: untested firmware version 0x15, the driver might
not work<br>
hdpvr 3-1:1.0: device now attached to video2<br>
<div><br>
</div>
<div>Aside from the ominous "the driver might not work" message,
everything was set for the most basic of tests:</div>
</div>
<div><br>
</div>
<div>cat /dev/video2 > ./test.ts</div>
<div><br>
</div>
<div>It worked perfectly (played in mplayer). I assumed that it
would be a slam dunk to get it going in MythTV. I was wrong.
Inside the application, the error "recorder failed" is shown.
Here's the mythbackend log:</div>
<div><br>
</div>
<div>
<div>2010-10-19 01:30:34.213 TVRec(3): ASK_RECORDING 3 0 0 0</div>
<div>2010-10-19 01:30:34.219 TVRec(3): Changing from None to
Watching RecordingOnly</div>
<div>2010-10-19 01:30:34.223 TVRec(3): HW Tuner: 3->3</div>
<div>2010-10-19 01:30:34.429 Channel(/dev/v4l/video2):
SetInputAndFormat() failed</div>
<div>2010-10-19 01:30:34.430 TVRec(3) Error: Failed to set
channel to 202. Reverting to kState_None</div>
<div>2010-10-19 01:30:34.436 TVRec(3): Changing from Watching
RecordingOnly to None</div>
<div>2010-10-19 01:30:34.444 AutoExpire: CalcParams(): Max
required Free Space: 3.0 GB w/freq: 15 min</div>
<div>2010-10-19 01:30:34.449 Canceled recording (Recorder
Failed): Anderson Cooper 360: channel 1202 on cardid 3,
sourceid 1</div>
<div>2010-10-19 01:30:34.457 scheduler: Canceled recording
(Recorder Failed): Anderson Cooper 360: channel 1202 on cardid
3, sourceid 1</div>
<div>2010-10-19 01:30:34.465 ProgramInfo, Error: GetPlaybackURL:
'1202_20101019013100.mpg' should be local, but it can not be
found.</div>
<div>2010-10-19 01:30:35.463 Reschedule requested for id 0.</div>
<div>2010-10-19 01:30:35.494 Scheduled 5 items in 0.0 = 0.00
match + 0.03 place</div>
<div>2010-10-19 01:30:35.497 scheduler: Scheduled items:
Scheduled 5 items in 0.0 = 0.00 match + 0.03 place</div>
<div>2010-10-19 01:30:37.473 Error deleting
'/GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/xanax/1202_20101019013100.mpg':
No such file or directory</div>
</div>
<div><br>
</div>
<div>When attempted from livetv, the frontend crashes and the
backend gives:</div>
<div><br>
</div>
<div>
<div>2010-10-19 02:30:21.220 TVRec(3): Changing from None to
Watching WatchingLiveTV</div>
<div>2010-10-19 02:30:21.228 TVRec(3): HW Tuner: 3->3</div>
<div>2010-10-19 02:30:21.434 Channel(/dev/v4l/video2):
SetInputAndFormat() failed</div>
<div>2010-10-19 02:30:21.435 TVRec(3) Error: Failed to set
channel to 276. Reverting to kState_None</div>
<div>2010-10-19 02:30:21.439 TVRec(3): Changing from Watching
WatchingLiveTV to None</div>
</div>
<div><br>
</div>
<div>
Before you ask, in card configuration I have set the "channel
change script" to /bin/true and "preset tuner to channel" is
left blank.</div>
<div><br>
</div>
<div>I'm very confused as to why this would work with the simple
'cat' and even mplayer directly to the device node as the mythtv
user, but mythtv can't seem to communicate at all. I have also
verified the device node's ownership and privileges. Has
anybody seen this type of behavior, or at least could point me
in the right direction to continue debugging. Google doesn't
seem to have much to say on the subject.</div>
<div><br>
</div>
<div>Many Thanks,</div>
<div>Tom</div>
<div><br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
</pre>
</blockquote>
I may be wrong on this,but I don't think you need to use the v4l
drivers with that kernel,unless that is something specific to do
with gentoo.. Blacklist those drivers and see if you have any
output...<br>
I have been running the HD-PVR since the driver became available
and it just plains works...<br>
</body>
</html>