Re: Porting DeviceKit-power to FreeBSD

2010-01-03 Thread Richard Hughes
2010/1/2 Joe Marcus Clarke : > I just generated some format-patches.  I didn't want to send them via > email because they're pretty big (but I can if you prefer).  I have > posted them at http://www.marcuscom.com/downloads/devicekit-power/ . I've applied 1 and 2, and also applied a formatting fix

Re: Porting DeviceKit-power to FreeBSD

2010-01-02 Thread Joe Marcus Clarke
On Fri, 2010-01-01 at 18:57 +, Richard Hughes wrote: > 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 me

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. ___

Re: Porting DeviceKit-power to FreeBSD

2009-12-31 Thread Joe Marcus Clarke
On 12/31/09 5:10 AM, Richard Hughes wrote: > 2009/12/30 Joe Marcus Clarke : >> I was wondering if more work was going to be done to have the daemon >> code call back to the backend code to get things like hibernate and >> suspend commands, swap details, etc.? > > I think that makes a lot of sense.

Re: Porting DeviceKit-power to FreeBSD

2009-12-31 Thread Patryk Zawadzki
On Thu, Dec 31, 2009 at 11:10 AM, Richard Hughes wrote: > 2009/12/30 Joe Marcus Clarke : >> I was wondering if more work was going to be done to have the daemon >> code call back to the backend code to get things like hibernate and >> suspend commands, swap details, etc.? > I think that makes a lo

Re: Porting DeviceKit-power to FreeBSD

2009-12-31 Thread Richard Hughes
2009/12/30 Joe Marcus Clarke : > I was wondering if more work was going to be done to have the daemon > code call back to the backend code to get things like hibernate and > suspend commands, swap details, etc.? I think that makes a lot of sense. Maybe a backend specific object, with properties k

Porting DeviceKit-power to FreeBSD

2009-12-30 Thread Joe Marcus Clarke
I have created a DeviceKit-power backend for FreeBSD (thanks for splitting out that code). However, there are some problems. The dkp-daemon.c code is still very Linux-centric. I can #ifdef it up to accommodate FreeBSD's power management (and lack of procfs and sysfs), but I was wondering if more