On ?t 10-03-05 10:28:16, Nigel Cunningham wrote: > On Thu, 2005-03-10 at 10:08, David Zeuthen wrote: > > I also think there is some general confusion about using D-BUS in kernel > > space in this thread - the whole reason for doing the uevents stuff, > > IIRC, was that they are easy to be picked up by the D-BUS system message > > bus and pushed out to the rest of user space. IIRC there were never any > > talk about having user space using D-BUS to invoke methods in the kernel > > - it was strictly one-way. > > That sounds good from the kernel->userspace side, but hideous from the > other perspective! But perhaps I'm just being ignorant :> Say a > userspace daemon learns that we've just lost AC and have 3 minutes of > UPS power left. I guess it would notify HAL, but wouldn't we then want > HAL to notify kernel space? Or would you imagine HAL directly saying to > drivers, "Video driver, turn the monitor off if you haven't already."? I believe that we want HAL talking to drivers... because otherwise we'd have to put policy into kernel. Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!