Re: [PATCH] eeepc-laptop: enable camera by default

From: Pekka Enberg
Date: Fri Jun 05 2009 - 10:50:29 EST


Hi Alan,

On Fri, 2009-06-05 at 15:38 +0100, Alan Jenkins wrote:
> Ok. I didn't bother shutting down my system, but I get a similar
> difference; 16 wakeups/s disabled v.s. 25 enabled. Anecdotally,
> disabling the camera does help battery life, and presumably Asus had
> good reason to implement it! (The shipped OS "fixes" the usability
> problem by patching the camera apps).
>
> BUT I found that autosuspend didn't seem to break anything, and
> enabling it also got me down to 16 wakeups/s. I think this is ideal
> because autosuspend is automatic so I can save power without manual
> toggling.
>
> Here's some magic to enable autosuspend:
>
> # echo -n auto > /sys/bus/usb/drivers/uvcvideo/*:*/../power/level
>
> Ideally this wants to be enabled automatically using a udev rule.

Can the kernel do this by default for this specific driver on eeepc?

Pekka

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/