Hans Meine wrote:
> Hi again!
>
> (This mail is actually from wednesday, but our mail server happened to get 
> listed in the Spamcop RBL accidentally..)
>
> On Wednesday 24 November 2004 10:36, Dirk Meyer wrote:
>> > I really do not know enough about Freevo's usage of the
>> > EventHandler, however from reading the comment about thread-safety,
>> > I would propose one of the attached patches (the _shorter one doing
>> > the acquire() before the len() call) just to be sure.
>>
>> Thanks, but not needed. Current cvs doesn't use threads anymore.
>
> Oh, right. I forgot! ;-)

That reminds me, rom drives is still our last thread, I will remove it
later today. 

> In order to do so, I made the following changes in Freevo:
> - closing ivtv file descriptors in order to make unloading ivtv possible
> - added suspend/resume hooks to the Lirc class
>    (also needed since lirc does not work after resuming otherwise)
> - support for issueing the suspend command via IR
>    (I am using the the official hibernate-script-1.0 which I configured to
>    stop lircd and unload ivtv and lirc_i2c).

So we need extra functions for stop/resume in the plugins. I guess
there are more plugins with that problem. 

> I will soon post at least the first two patches, and work on the integration 
> of the last one into my modified shutdown.py.  One difficult step ist again 
> that nvram-wakeup might need another bootup cycle for proper automatic wakeup 
> before the next recording. :-(
> (I should just have bought better hardware... ;*) )

Great. I was also playing with it yesterday. For cvs (I'm using cvs
for daily use now) the logic must be inside the recordserver. The
recordserver knows the schedule and can set the wakup timer. But when
do we shutdown the system? I don't use hibernate and my freevo pc is
also for working. When I'm not home and the pc starts it can
record. Than the recordserver sets the new wakeup time. But can it
shutdown? For me it can shutdown when X is not running, but that isn't
true for anyone. And it can be interactive because I'm not home when
the pc starts.


Dischi

-- 
"I've not lost my mind. It's backed up on tape somewhere." - Unknown

Attachment: pgpNM2E83ORT5.pgp
Description: PGP signature

Reply via email to