signalling suspend/resume events (deviceKit-power)

2010-01-01 Thread Bartłomiej Zimoń
Hi all! I'm writing small kernel helper module to expose such info to userspace. What could be more prefferad to notify about suspend/resume: sysfs,procfs or device file? I think inotify can't handle sysfs,procfs or maybe i'm wrong? Best regards Bartłomiej Zimoń ___

Re: Porting DeviceKit-power to FreeBSD

2010-01-01 Thread Richard Hughes
2010/1/1 Joe Marcus Clarke : > I tried, but evidently, I do not have permission to push to the > DeviceKit repository.  I have hal access, but I guess I need DK-p access > as well. Hmm, I thought it was the original hal commit members. If you push something to gitweb or your private page then I'll

Re: Porting DeviceKit-power to FreeBSD

2010-01-01 Thread Joe Marcus Clarke
On Thu, 2009-12-31 at 10:10 +, Richard Hughes wrote: > I'll work on something like this after I'm back from Christmas, unless > you get to it first. In the meantime, feel free to commit your > work-in-progress freebsd specific parts to src/freebsd I tried, but evidently, I do not have permissi

Re: Porting DeviceKit-power to FreeBSD

2010-01-01 Thread Richard Hughes
2009/12/31 Joe Marcus Clarke : > I took a stab at this in the FreeBSD backend.  I essentially made the > dkp-daemon.c methods wrappers around backend methods.  It sounds like > you're going to go a slightly different route, though. No, using the backend is a sane thing to do I guess. Richard. ___