#11595 HIGH 1.75-so: XO-1.75 camera missing after boot, rarely

Zarro Boogs per Child bugtracker at laptop.org
Wed Jan 25 23:47:43 EST 2012

#11595: XO-1.75 camera missing after boot, rarely
           Reporter:  Quozl   |       Owner:                                   
               Type:  defect  |      Status:  new                              
           Priority:  high    |   Milestone:  1.75-software                    
          Component:  kernel  |     Version:  Development build as of this date
         Resolution:          |    Keywords:                                   
        Next_action:  code    |    Verified:  0                                
Deployment_affected:          |   Blockedby:                                   
           Blocking:          |  

Comment(by pgf):

 that log shows the i2c-on-gpio code starting after the camera (which
 depends on it) has failed to load.  we (i) think that making i2c-gpio
 built-in (2177b28) may fix this ordering problem.
 the i2c gpio driver uses subsys_initcall().  when it's modular, that
 becomes macro'd to module_init(), so the camera and i2c-gpio get the same
 load priority, and their calling order is dictated by link order.  if i2c-
 gpio is built-in, subsys_initcall() has higher priority than
 module_initcall(), so it will load first.

 whether this fixes all camera failures remains to be seen.

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

More information about the Bugs mailing list