Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

6200ch patch (contrib/channel_changers)

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


pc-mythtv08a at crowcastle

Jun 10, 2009, 11:09 AM

Post #1 of 2 (704 views)
Permalink
6200ch patch (contrib/channel_changers)

I had to apply the following patch to get 6200ch to work with my DCH3200
box. Apparently there's yet another vendor ID in use. I suppose it
wouldn't be a bad idea to allow VID and DID as command-line arguments.

I'm also wondering if anyone knows if it's possible to get information
back from the box, such as the current channel or current power status.
With either of those, a script could power on the box if needed. (Then
if the power could be turned off when it stops recording, it would be
awesome--it would be trivial to tell if I'm recording from the box
then.)

Anyway, here's the patch:

Index: 6200ch.c
===================================================================
--- 6200ch.c (revision 20684)
+++ 6200ch.c (working copy)
@@ -37,6 +37,7 @@
#define DCH3200_VENDOR_ID2 0x00001cfb
#define DCH3200_VENDOR_ID3 0x00001fc4
#define DCH3200_VENDOR_ID4 0x000023a3
+#define DCH3200_VENDOR_ID5 0x00001e5a
#define DCH3200_MODEL_ID1 0x0000d330

#define DCH3416_VENDOR_ID1 0x00001e46
@@ -265,6 +266,7 @@
(dir.vendor_id == DCH3200_VENDOR_ID2) ||
(dir.vendor_id == DCH3200_VENDOR_ID3) ||
(dir.vendor_id == DCH3200_VENDOR_ID4) ||
+ (dir.vendor_id == DCH3200_VENDOR_ID5) ||
(dir.vendor_id == DCH3416_VENDOR_ID1) ||
(dir.vendor_id == DCT3412_VENDOR_ID1) ||
(dir.vendor_id == DCT3416_VENDOR_ID1) ||


_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


bmayland+mythtv at capnbry

Jun 22, 2009, 9:04 AM

Post #2 of 2 (513 views)
Permalink
Re: 6200ch patch (contrib/channel_changers) [In reply to]

Preston Crow wrote:
> I'm also wondering if anyone knows if it's possible to get information
> back from the box, such as the current channel or current power status.
> With either of those, a script could power on the box if needed. (Then
> if the power could be turned off when it stops recording, it would be
> awesome--it would be trivial to tell if I'm recording from the box
> then.
>
Check libs/libmythtv/firewiredevice.cpp for
FirewireDevice::GetPowerState() to see how to query for power state
information. My PACE 550 box returns "Not Implemented" this command,
and I've even tried addressing every unit and subunit ID in hopes of
finding one that would accept the command with no success. Good luck!
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.