]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite43c3807182b5ee0a65560206585fd03f7e0e74e
tree53bfc83cb52fe71164278874cf8670f41a8e2b4b
parent6964e66be537a14be8b0ec9e53e75857d255af8d
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