[mythtv-users] HD-PVR won't talk with MythTV .22

Tom Stokoe tstokoe at gmail.com
Tue Oct 19 06:38:27 UTC 2010


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).

Dmesg Output:
hdpvr 3-1:1.0: device video2 disconnected
usb 3-1: new high speed USB device using ehci_hcd and address 4
usb 3-1: New USB device found, idVendor=2040, idProduct=4902
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1: Product: Hauppauge HD PVR
usb 3-1: Manufacturer: AMBA
usb 3-1: SerialNumber: 00A45DF5
hdpvr 3-1:1.0: untested firmware version 0x15, the driver might not work
hdpvr 3-1:1.0: device now attached to video2

Aside from the ominous "the driver might not work" message, everything was
set for the most basic of tests:

cat /dev/video2 > ./test.ts

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:

2010-10-19 01:30:34.213 TVRec(3): ASK_RECORDING 3 0 0 0
2010-10-19 01:30:34.219 TVRec(3): Changing from None to Watching
RecordingOnly
2010-10-19 01:30:34.223 TVRec(3): HW Tuner: 3->3
2010-10-19 01:30:34.429 Channel(/dev/v4l/video2): SetInputAndFormat() failed
2010-10-19 01:30:34.430 TVRec(3) Error: Failed to set channel to 202.
Reverting to kState_None
2010-10-19 01:30:34.436 TVRec(3): Changing from Watching RecordingOnly to
None
2010-10-19 01:30:34.444 AutoExpire: CalcParams(): Max required Free Space:
3.0 GB w/freq: 15 min
2010-10-19 01:30:34.449 Canceled recording (Recorder Failed): Anderson
Cooper 360: channel 1202 on cardid 3, sourceid 1
2010-10-19 01:30:34.457 scheduler: Canceled recording (Recorder Failed):
Anderson Cooper 360: channel 1202 on cardid 3, sourceid 1
2010-10-19 01:30:34.465 ProgramInfo, Error: GetPlaybackURL:
'1202_20101019013100.mpg' should be local, but it can not be found.
2010-10-19 01:30:35.463 Reschedule requested for id 0.
2010-10-19 01:30:35.494 Scheduled 5 items in 0.0 = 0.00 match + 0.03 place
2010-10-19 01:30:35.497 scheduler: Scheduled items: Scheduled 5 items in 0.0
= 0.00 match + 0.03 place
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

When attempted from livetv, the frontend crashes and the backend gives:

2010-10-19 02:30:21.220 TVRec(3): Changing from None to Watching
WatchingLiveTV
2010-10-19 02:30:21.228 TVRec(3): HW Tuner: 3->3
2010-10-19 02:30:21.434 Channel(/dev/v4l/video2): SetInputAndFormat() failed
2010-10-19 02:30:21.435 TVRec(3) Error: Failed to set channel to 276.
Reverting to kState_None
2010-10-19 02:30:21.439 TVRec(3): Changing from Watching WatchingLiveTV to
None

Before you ask, in card configuration I have set the "channel change script"
to /bin/true and "preset tuner to channel" is left blank.

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.

Many Thanks,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101019/970063c7/attachment.htm>


More information about the mythtv-users mailing list