lkml.org 
[lkml]   [2010]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] What are the goals for the architecture of an in-kernel IR system?
    Hi!

    > > Anyway, one simple way to avoid
    > > resetting the hardware for every new parameter change would be to use a timer
    > > for reset. This way, an userspace application or script that is touching on
    > > several parameters would just send the complete RX init sequence and
    > > after some dozens of milliseconds, the hardware will load the new parameters.
    >
    > And I do not think that sounds like a good interface.

    Yep. Having artifical delay is ugly, racy and error prone. (If
    application is swapped out, you'll set the hardware to middle state,
    anyway).

    Better solution would be to have "COMMIT" command that actually does
    the setup, or interface that allows all parameters at once...

    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


    \
     
     \ /
      Last update: 2010-03-27 06:59    [W:4.323 / U:0.340 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site