lkml.org 
[lkml]   [2009]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] eeepc-laptop: enable camera by default
On Sun, Jun 07, 2009 at 04:41:30PM +0100, Alan Jenkins wrote:

> Hmm, some cameras have input devices (i.e. buttons). In fact, uvcvideo
> registers an input device on my EEE even though it has no buttons. I
> think that needs investigating :-(.
>
> It's quite likely that the buttons can stop working when suspended.
> And there might be other devices with the same IDs, which have a
> button wired up.

A change has recently been committed that results in the button only
working if the v4l device is open. Otherwise you've got several wakeups
a second due to the polling of the button endpoint. I'm assuming that
opening the device disables autosuspend, so I wouldn't worry about that.

It'd be interesting to try enabling autosuspend on all UVC devices. Can
a driver indicate that its hardware supports it?
--
Matthew Garrett | mjg59@srcf.ucam.org


\
 
 \ /
  Last update: 2009-06-08 01:33    [W:0.035 / U:4.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site