Re: [PATCH 2/2] eeepc-laptop: don't enable camera at startup if it's already on.

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

 



On 10/20/09, Andrey Rahmatullin <wrar@xxxxxxxxxxxx> wrote:
> On Fri, Oct 16, 2009 at 10:22:47PM +0200, Corentin Chary wrote:
>> Switching the camera takes 500ms, checking if it's on is almost free...
> So if I don't want camera to be enabled, I should wait 500ms on boot to
> enable it and then other 500ms to disable?

Yup.  The original patch from Pekka was accepted alongside a patch
which enabled auto-suspend for the uvcvideo driver by default.  This
was shown to have the same effect on CPU wakeups as measured by
powertop.

So the question is why do you want to disable it?  Have you measured
the power consumption on the current kernel using a more comprehensive
method than powertop?

Or perhaps you have a different camera chip?  Have you tried enabling
auto-suspend manually?  If it works, perhaps that driver can enable
auto-suspend as well.

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

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux