Bug 25274 - Some de-hal-ification
Summary: Some de-hal-ification
Status: RESOLVED FIXED
Alias: None
Product: pm-utils
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Victor Lowther
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-25 03:32 UTC by Martin Pitt
Modified: 2009-12-10 20:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
on_ac_power: DeviceKit-power support (1.10 KB, patch)
2009-11-25 03:34 UTC, Martin Pitt
Details | Splinter Review
pm-functions.in: Drop $CHASSIS_TYPE (1.14 KB, patch)
2009-11-25 03:37 UTC, Martin Pitt
Details | Splinter Review
some documentation updates for DeviceKit-power (1.90 KB, patch)
2009-11-25 03:38 UTC, Martin Pitt
Details | Splinter Review

Description Martin Pitt 2009-11-25 03:32:49 UTC
pm-utils still uses hal on various places. I have some patches for this.

The main issue is of course migrating the suspend quirks, but this was already discussed on the mailing list, and Victor has a branch for this already.
Comment 1 Martin Pitt 2009-11-25 03:34:29 UTC
Created attachment 31462 [details] [review]
on_ac_power: DeviceKit-power support

Try to contact DeviceKit-Power in on_ac_power, and if it succeeds, use that. Otherwise fall back to hal.
Comment 2 Martin Pitt 2009-11-25 03:37:12 UTC
Created attachment 31463 [details] [review]
pm-functions.in: Drop $CHASSIS_TYPE

$CHASSIS_TYPE is not used anywhere in pm-utils itself, nor any third-party pm-utils hook that I can see. It relies on a dmidecode map in hal which has never really been robust, and it just seems generally obsolete nowadays.

Let's not proliferate that any further and just remove it entirely.
Comment 3 Martin Pitt 2009-11-25 03:38:50 UTC
Created attachment 31464 [details] [review]
some documentation updates for DeviceKit-power

This adds references/explanations to various places in the documentation about DK-Power.
Comment 4 Richard Hughes 2009-11-25 03:43:31 UTC
Acked by Richard Hughes.
Comment 5 Victor Lowther 2009-12-10 20:17:41 UTC
These have been comitted.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.