[mythtv-commits] Ticket #4752: Add R5000 STB Support to MythTV

MythTV mythtv at cvs.mythtv.org
Tue Mar 18 01:55:24 UTC 2008


#4752: Add R5000 STB Support to MythTV
----------------------------------+-----------------------------------------
 Reporter:  alannisota at gmail.com  |        Owner:  danielk 
     Type:  enhancement           |       Status:  assigned
 Priority:  minor                 |    Milestone:  unknown 
Component:  mythtv                |      Version:  head    
 Severity:  medium                |   Resolution:          
  Mlocked:  0                     |  
----------------------------------+-----------------------------------------

Comment(by David George <david at thegeorges.us>):

 The r5ktest program doesn't check the current power state.  It only
 toggles it, so it seemed to do what we wanted when we were testing (and
 when I tried it now).  I added the following before and after the
 r5000_toggle_on_off in r5ktest:

 {{{
     printf("Before: current power state is %s\n",
 r5000_get_power_state(usbdev) ? "On" : "Off");
 }}}
 {{{
     printf("After: current power state is %s\n",
 r5000_get_power_state(usbdev) ? "On" : "Off");
 }}}
 With the above debug it shows that the STB is off when it is actually on
 and vice-versa.  I changed the double not (!!) in the
 r5000_get_power_state routine and it works correctly now, but I am not
 sure that is the proper fix.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4752#comment:12>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list