summaryrefslogtreecommitdiff
path: root/linux/Documentation/video4linux/CARDLIST.bttv
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2009-05-19 15:08:03 +0200
committerLaurent Pinchart <laurent.pinchart@skynet.be>2009-05-19 15:08:03 +0200
commit39d53fcd39df81baf92cc74a0de40d5a1cbbd9bf (patch)
tree0807ee11ccd8332a4bbf59db30ae43baf87a686c /linux/Documentation/video4linux/CARDLIST.bttv
parentb872a134312bd4a2a97b537ab0b547a021d594df (diff)
downloadmediapointer-dvb-s2-39d53fcd39df81baf92cc74a0de40d5a1cbbd9bf.tar.gz
mediapointer-dvb-s2-39d53fcd39df81baf92cc74a0de40d5a1cbbd9bf.tar.bz2
uvcvideo: Start status polling on device open
From: Laurent Pinchart <laurent.pinchart@skynet.be> Most UVC camera include an interrupt endpoint to report control value changes, video streaming errors and camera button events. The USB controller continuously polls the interrupt endpoint to retrieve such events. This prevents the device from being auto-suspended, and thus consumes power. Reporting video streaming errors don't make sense when the V4L2 device is closed. Control value changes are probably useless as well if nobody listens to the events, although caching will probably have to be completely disabled then. No polling is thus be required when /dev/videoX is not opened. To enable auto-suspend and save power do not poll the interrupt endpoint until the device is open. We lose the ability to detect button events if no application is using the camera. http://bugzilla.kernel.org/show_bug.cgi?id=11948 Priority: normal Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Diffstat (limited to 'linux/Documentation/video4linux/CARDLIST.bttv')
0 files changed, 0 insertions, 0 deletions