Re: [linux-pm] power/level and power/control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 12, 2010 at 11:57, Nithish Mahalingam <nithish.m@xxxxxxxxx> wrote:
>> >>> > Has support in user space hardware abstraction layers for runtime
>> >>> > power management been added? It seems to me that we need this.
>> >>>
>> >>> There is no major project I know of, which uses these things, and
>> >>> nothing I know of people would work on at the moment.
>> >>
>> >> If this were to be added, which project should it be added to?
>> >
>> > I don't think there is an existing project that would really fit here.
>> >
>> >> I don't think handling this with udev scripts is a good idea, because
>> >> you want to be able to revisit such decisions when you go to
>> >> battery power or power is low, for example whether you want to
>> >> charge your cell phone.
>> >
>> > Right, that needs policy to apply, depending on the current state. But
>> > unfortunately there is no existing infrastructure we could easily
>> > extend, it would be something new to come up with.
>
> Shouldn't it suffice to extend usb_device namespace values in HAL
> specification for runtime PM and once added let distribution
> specific user space PM framework handle this.
> http://people.redhat.com/davidz/hal-spec/hal-spec.html#device-properties-usb
>
> I guess the industry is moving towards DeviceKit, anyway that is just
> implementation specific.

There is no HAL anymore, it's dead and no longer maintained. DeviceKit
was only a temporary name, and does not exist as a project.

HAL is split into pieces, like udisks, upower, and along with udev,
PulseAudio, NetworkManager, ConsoleKit, PolicyKit, ..., there are
specialized daemons taking care of domain-specific tasks. There is
nothing really where USB power management would really fit in today.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux