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>