[mythtv-users] Fwd: Re: Hauppauge HD-PVR2 / Colossus2 support

John Hoyt john.hoyt at gmail.com
Fri Dec 28 16:08:00 UTC 2018


On Fri, Dec 28, 2018 at 8:16 AM John Hoyt <john.hoyt at gmail.com> wrote:

> On Thu, Dec 27, 2018 at 7:23 PM John Hoyt <john.hoyt at gmail.com> wrote:
>
>> On Sat, Dec 22, 2018 at 1:28 PM John P Poet <jppoet at gmail.com> wrote:
>>
>>>
>>> For those of you interested but not tracking changes @
>>> https://github.com/jpoet/HauppaugeUSB , a few HDMI related issues have
>>> been fixed:
>>>
>>>    - Interlaced fields are now in the correct order
>>>    - AC3 codec works
>>>
>>> My first generation HD-PVR devices finally bit the dust, so I have put
>>> my Colossus2 and HD-PVR2 into production.  Picture quality is better, and
>>> reliability is higher.  The very first time I try to capture after a
>>> reboot, it almost always fails, but after that, the captures are solid.
>>>
>>> MythTV master (which will be v30 by the end of January) has some
>>> improvements in the API used to communicate with "external" recorders.  It
>>> is working very well for me.
>>>
>>>
>>> John
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>> MythTV Forums: https://forum.mythtv.org
>>
>>
>> John, thank you for putting work into this and getting this up and
>> running.  I picked up a Colossus2 today and am looking forward to tinkering
>> with it to get it up and running.
>>
>> Are there any initial setup issues in Ubuntu that you are aware of or are
>> the instructions on your github site pretty much all you need?
>>
>> Thanks again!
>> ~John
>>
>
> After some fighting with my cable boxes audio output, I managed to get my
> Colossus2 to successfully record audio and video.  Currently I'm having a
> hard time getting mythbackend to work with the card.
>
> Below are the error messages that I've managed to track down. I am running
> Mythtv Master (from the mythbuntu 30.0 ppa).  Any suggestions on how to fix
> the issue?
>
> Mythbackend console:
>
> 2018-12-28 08:01:53.618273 N  MythBackend: Starting up as the master
> server.
> 2018-12-28 08:01:53.703970 W  ExternSH[4](/opt/Hauppauge/bin/hauppauge2 -c
> /opt/Hauppauge/etc/colossus2-1.conf): External Recorder invalid response to
> 'APIVersion?': '000:00:00.008991 C [main] hauppauge2.cpp:344 (main) -
> Initializing [Bus: 3, Port: 1] E585-00-00D642B7'
> 2018-12-28 08:01:53.705980 W  ExternSH[4](/opt/Hauppauge/bin/hauppauge2 -c
> /opt/Hauppauge/etc/colossus2-1.conf): External Recorder invalid response to
> 'APIVersion?': '000:00:00.011043 I [Buffer] MythTV.cpp:431 (Run) - Buffer:
> Ready for data.'
> 2018-12-28 08:01:53.706046 W  ExternSH[4](/opt/Hauppauge/bin/hauppauge2 -c
> /opt/Hauppauge/etc/colossus2-1.conf): External Recorder invalid response to
> 'APIVersion?': '000:00:00.011054 I [Commands] MythTV.cpp:431 (Run) -
> Buffer: Ready for data.Command parser: ready.'
> 2018-12-28 08:01:53.706225 W  ExternSH[4](/opt/Hauppauge/bin/hauppauge2 -c
> /opt/Hauppauge/etc/colossus2-1.conf): External Recorder invalid response to
> 'Version?': '000:00:00.011370 D '
> 2018-12-28 08:01:53.706233 W  ExternSH[4](/opt/Hauppauge/bin/hauppauge2 -c
> /opt/Hauppauge/etc/colossus2-1.conf): External Recorder invalid response to
> 'Version?': '-1:ERR:Malformed message. Expecting <serial>:command<:optional
> data>, but received "Version?"'
> 2018-12-28 08:01:53.706248 W  ExternSH[4](/opt/Hauppauge/bin/hauppauge2 -c
> /opt/Hauppauge/etc/colossus2-1.conf): External Recorder invalid response to
> 'Version?': '000:00:00.011396 D '
> 2018-12-28 08:01:53.706254 E  ExternSH[4](/opt/Hauppauge/bin/hauppauge2 -c
> /opt/Hauppauge/etc/colossus2-1.conf): Failed to start
> /opt/Hauppauge/bin/hauppauge2 -c /opt/Hauppauge/etc/colossus2-1.conf
> 2018-12-28 08:01:53.706261 E  ExternChan[4](/opt/Hauppauge/bin/hauppauge2
> -c /opt/Hauppauge/etc/colossus2-1.conf): Open failed
> 2018-12-28 08:01:53.706263 E  ChannelBase: CreateChannel() Error: Failed
> to open device /opt/Hauppauge/bin/hauppauge2 -c
> /opt/Hauppauge/etc/colossus2-1.conf
> 2018-12-28 08:01:53.706272 W  ExternSH[4](/opt/Hauppauge/bin/hauppauge2 -c
> /opt/Hauppauge/etc/colossus2-1.conf): External Recorder invalid response to
> 'CloseRecorder': '-1:ERR:Malformed message. Expecting
> <serial>:command<:optional data>, but received "Version?"'
> 2018-12-28 08:01:53.706281 W  ExternSH[4](/opt/Hauppauge/bin/hauppauge2 -c
> /opt/Hauppauge/etc/colossus2-1.conf): External Recorder invalid response to
> 'CloseRecorder': '000:00:00.011417 D [Commands] MythTV.cpp:242
> (process_command) - Processing 'Version?''
> 2018-12-28 08:01:53.706288 W  ExternSH[4](/opt/Hauppauge/bin/hauppauge2 -c
> /opt/Hauppauge/etc/colossus2-1.conf): External Recorder invalid response to
> 'CloseRecorder': '000:00:00.011427 N [Commands] MythTV.cpp:234
> (send_status) - Version?: '-1:ERR:Malformed message. Expecting
> <serial>:command<:optional data>, but received "Version?"''
> 2018-12-28 08:01:53.712449 E  Problem with capture cards. Card 4 failed
> init
>
> hauppauge2 log:
>
> 2018-12-28 08:01:53.703831 C [main] hauppauge2.cpp:344 (main) -
> Initializing [Bus: 3, Port: 1] E585-00-00D642B7
> 2018-12-28 08:01:53.705882 I [Buffer] MythTV.cpp:431 (Run) - Buffer: Ready
> for data.
> 2018-12-28 08:01:53.705894 I [Commands] MythTV.cpp:431 (Run) - Buffer:
> Ready for data.Command parser: ready.
> 2018-12-28 08:01:53.706014 D [Commands] MythTV.cpp:242 (process_command) -
> Processing 'APIVersion?'
> 2018-12-28 08:01:53.706029 N [Commands] MythTV.cpp:234 (send_status) -
> APIVersion?: ':OK:2'
> 2018-12-28 08:01:53.706089 D [Commands] MythTV.cpp:242 (process_command) -
> Processing 'APIVersion?'
> 2018-12-28 08:01:53.706114 N [Commands] MythTV.cpp:234 (send_status) -
> APIVersion?: ':OK:2'
> 2018-12-28 08:01:53.706128 D [Commands] MythTV.cpp:242 (process_command) -
> Processing 'APIVersion?'
> 2018-12-28 08:01:53.706139 N [Commands] MythTV.cpp:234 (send_status) -
> APIVersion?: ':OK:2'
> 2018-12-28 08:01:53.706170 D [Commands] MythTV.cpp:242 (process_command) -
> Processing '1:APIVersion?'
> 2018-12-28 08:01:53.706185 N [Commands] MythTV.cpp:234 (send_status) -
> 1:APIVersion?: '1:ERR:Malformed message. Expecting <serial>:command:<data>,
> but received "1:APIVersion?"'
> 2018-12-28 08:01:53.706210 D [Commands] MythTV.cpp:242 (process_command) -
> Processing 'Version?'
> 2018-12-28 08:01:53.706224 N [Commands] MythTV.cpp:234 (send_status) -
> Version?: '-1:ERR:Malformed message. Expecting <serial>:command<:optional
> data>, but received "Version?"'
> 2018-12-28 08:01:53.706235 D [Commands] MythTV.cpp:242 (process_command) -
> Processing 'Version?'
> 2018-12-28 08:01:53.706246 N [Commands] MythTV.cpp:234 (send_status) -
> Version?: '-1:ERR:Malformed message. Expecting <serial>:command<:optional
> data>, but received "Version?"'
> 2018-12-28 08:01:53.706257 D [Commands] MythTV.cpp:242 (process_command) -
> Processing 'Version?'
> 2018-12-28 08:01:53.706267 N [Commands] MythTV.cpp:234 (send_status) -
> Version?: '-1:ERR:Malformed message. Expecting <serial>:command<:optional
> data>, but received "Version?"'
> 2018-12-28 08:01:53.706278 D [Commands] MythTV.cpp:242 (process_command) -
> Processing 'CloseRecorder'
> 2018-12-28 08:01:53.706288 N [Commands] MythTV.cpp:234 (send_status) -
> CloseRecorder: '-1:ERR:Malformed message. Expecting
> <serial>:command<:optional data>, but received "CloseRecorder"'
> 2018-12-28 08:01:53.706299 D [Commands] MythTV.cpp:242 (process_command) -
> Processing 'CloseRecorder'
> 2018-12-28 08:01:53.706309 N [Commands] MythTV.cpp:234 (send_status) -
> CloseRecorder: '-1:ERR:Malformed message. Expecting
> <serial>:command<:optional data>, but received "CloseRecorder"'
> 2018-12-28 08:01:53.712327 E [Commands] MythTV.cpp:439 (Run) - poll eof
> (POLLHUP)
> 2018-12-28 08:01:53.712358 I [Commands] MythTV.cpp:475 (Run) - Command
> parser: shutting down
>
>
...well after a reboot, I managed to get the Colossus2 up and running with
mythbackend.  I'm still getting the invalid response messages in
mythbackend but the recorder is working as expected. I am also experiencing
the very first capture issue John Poet mentioned in the original email, but
his suggested fix on his github page works.

A lesson learned in my dealings with Colossus2 is that much like the
original hdpvr, mythtv must be the only program to access the output from
the Colossus2 or things get hosed up.

John Poet, thanks again for the great work getting this working!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20181228/29600e38/attachment.html>


More information about the mythtv-users mailing list