eeepc-laptop: enable camera by default
authorPekka Enberg <penberg@cs.helsinki.fi>
Tue, 16 Jun 2009 19:28:45 +0000 (19:28 +0000)
committerLen Brown <len.brown@intel.com>
Wed, 24 Jun 2009 05:30:34 +0000 (01:30 -0400)
commitcede2cb6ee9b0ddaa3dbc9939418ff177a831600
tree53bfc83cb52fe71164278874cf8670f41a8e2b4b
parent57599cc997b81a7c4f764693a7316886a72067fe
eeepc-laptop: enable camera by default

If we leave the camera disabled by default, userspace programs (e.g.
Skype, Cheese) leave the user out in the cold saying that the machine
"has no camera." Therefore, it's better to enable camera by default and
let people who really don't want it just disable the thing.

To reduce power usage you should enable USB autosuspend:
echo -n auto > /sys/bus/usb/drivers/uvcvideo/*:*/../power/level

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/eeepc-laptop.c