#9798 BLOC 1.5-sof: camera LED on when recording is not happening

Zarro Boogs per Child bugtracker at laptop.org
Fri Dec 11 05:48:14 EST 2009


#9798: camera LED on when recording is not happening
--------------------------------+-------------------------------------------
           Reporter:  mikus     |       Owner:  jon.nettleton                    
               Type:  defect    |      Status:  new                              
           Priority:  blocker   |   Milestone:  1.5-software-final               
          Component:  kernel    |     Version:  Development build as of this date
         Resolution:            |    Keywords:  os51                             
        Next_action:  diagnose  |    Verified:  0                                
Deployment_affected:            |   Blockedby:                                   
           Blocking:            |  
--------------------------------+-------------------------------------------

Comment(by wad):

 I spent a lot of time ftracing this problem.   The camera driver is
 operating correctly.

 The open chrome driver is likely setting the value of VGPIO3 to 1 when it
 inits itself, after the camera driver has set up the GPIO as an output
 (and set the output value to 0).

 VGPIO3 is controlled by sequencer register 2C in the graphics unit.  Can
 we please check to make sure that OpenChrome never writes to this register
 ?  There is no legitimate reason for it to do so.

 When the laptop suspends, the camera driver frees the GPIOs.   When it
 resumes, the camera driver reallocates the GPIOs, setting their direction
 and setting their output value to 0.  This turns off the camera power, and
 thus the LED.

-- 
Ticket URL: <http://dev.laptop.org/ticket/9798#comment:11>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list