Am 10.02.2011 21:39, schrieb Ritesh Raj Sarraf:
> Hi Michael,
> 
> On 02/10/2011 01:24 PM, Michael Biebl wrote:
>> I'm not convinced splitting the package is a good idea (thus wontfix).
>> I'd rather see laptop-mode-tools merged into pm-utils.
>>
>> Or does laptop-mode-tools offer any compelling features which makes that 
>> impossible?
> 
> laptop-mode-tools is well customizable. I can't figure that out with
> pm-utils.
> 
> laptop-mode-tools has been around for some time. People use it. There
> are users who like the way it provides the control.
> 
> By putting a Conflicts: you are just taking away the choice. Just

It's not about choice. From what I read the Conflicts was added because
laptop-mode-tools ships a pm-utils hook which basically conflicts what pm-utils
is doing nowadays and there was apparently a file conflict (although I can't
confirm that with the current packages of l-m-t and pm-utils from unstable)

I've CCed Martin who committed this patch, maybe he can provide some further 
input.

As I've already said I'm not keen on splitting pm-utils.
From looking at the packages as they are today, I have

pm-utils:
/usr/lib/pm-utils/power.d/laptop-mode
l-m-t:
/usr/lib/pm-utils/sleep.d/01laptop-mode
/etc/acpi/events/lm_ac_adapter
/etc/acpi/events/lm_battery
/etc/acpi/events/lm_lid


So, while I can't see the file conflict here, there is definitely a problem that
both l-m-t and pm-utils try to apply settings on AC changes, which is not good.
As l-m-t also does a lot more then just enabling laptop-mode it also conflicts
with other parts of pm-utils.

Splitting pm-utils will not help here. Because for a functional pm-utils
package, pm-utils would still have to depend on pm-utils-modules, and l-m-t
wouldn't be a valid alternative. And packages like upower would also still
depend on pm-utils.

One possible way could be, that l-m-t completely disables itself, as soon as
pm-utils is installed, so it doesn't interfere with it.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to