[mythtv] [PATCH] Xbox LED support, new cmd to backend, and http stat improvement

Kirby Vandivort kvandivo at ks.uiuc.edu
Wed Sep 3 09:35:20 EDT 2003


Another thing that would rock.. (don't know if this is doable or not..
probably not) would be for the led to flash every time that the myth
frontend received a remote signal.. (to help with the ever present
"did the computer register that I pressed the button, or do I need to
press it again?" problem.)

I've got gentoox, but I haven't had a chance to double check your LED code
yet.  If isaac is going to commit it soon I'll wait, or I can go ahead
and patch my source and try it if that doesn't happen before too long.

On Tue, Sep 02, 2003 at 11:30:05PM -0400, Michael Greb wrote:
> Isaac Richards said:
> > On Monday 01 September 2003 04:02 pm, Michael Greb wrote:
> >> Greetings,
> >>
> >> Attached is a patch with three main pieces.  I combined them as they are
> >> related.
> >>
> >>   * Enhancement to the HTTP status server
> >>   * New command for backend playback socket
> >
> > I committed these two, but..
> >
> >>   * Finally, support in the frontend for the Xbox LED
> >
> > what's with the i2c files in there?  Should that be a kernel module that
> > this
> > code talks to via an ioctl?
> The problem is the smbus controller is similar to one in the lm-sensors
> i2c stuff but suitably different that it won't work with those drivers. 
> Most of the base code was taken from i2c development code in CVS for the
> xbox-linux project.  I did perpend xbox to those header files to help
> avoid confusion over their purpose.  It was developed in the Ed's Debian
> realm but the GentooX creator is using the code in his installation
> scripts to provide user feedback for what is going on.
> 
> Eventually I see the support increasing.  Things like the no free tuners
> message could trigger a flashing red LED but that is for the future.  Next
> step will probably be code to make it a little more usable by plugins. 
> I'm thinking a function in the libmyth class that accepts the requests
> from code in various places and decides the outcome.  The user could pick
> that they want the LED off completely, and for it to stay that way, when
> they startup mythvideo or mythdvd.  The PIC on the smbus that handles this
> would make this type of stuff really easy.  It takes one byte that
> describes the state of the red and green LEDs through 4 phases, ie set it
> to '11110000' for solid green or '00001111' for solid red. '11000000'
> makes it flash green, etc.  The code can tell the LED to flash slowly red,
> quickly red, etc and the LED will continue to do so until told otherwise
> by the software.
> 
> Kind of rambling on here but wanted to get some of those ideas into the
> open and see what other people running myth on an xbox think.
> Michael
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

-- 

Kirby Vandivort                      Theoretical and Computational Biophysics 
Email: kvandivo at ks.uiuc.edu          3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/    University of Illinois
Phone: (217) 244-5711                405 N. Mathews Ave
Fax  : (217) 244-6078                Urbana, IL  61801, USA


More information about the mythtv-dev mailing list