#11213 NORM 1.75-so: dcon doesn't stay frozen while booting

Zarro Boogs per Child bugtracker at laptop.org
Sat Sep 3 11:26:09 EDT 2011


#11213: dcon doesn't stay frozen while booting
--------------------------------+-------------------------------------------
           Reporter:  pgf       |       Owner:  wad                              
               Type:  defect    |      Status:  new                              
           Priority:  normal    |   Milestone:  1.75-software                    
          Component:  display   |     Version:  Development build as of this date
         Resolution:            |    Keywords:                                   
        Next_action:  diagnose  |    Verified:  0                                
Deployment_affected:            |   Blockedby:                                   
           Blocking:            |  
--------------------------------+-------------------------------------------

Comment(by pgf):

 Replying to [comment:2 dsd]:

 >
 > (I know I said that yesterday that this approach doesn't work, well I
 was storing the gpio_get_value() result in a u8 based on some other code I
 saw, but in this case, 0x4000 is returned when the DCON is unfrozen. Sorry
 for that distraction...)

 that behavior is a bug in the pxa gpio code.  Documentation/gpio.txt is
 pretty clear that the return is 0 or 1, and that "The values are boolean,
 zero for low, nonzero for high."

 i noticed this behavior some time ago and verified that other gpio
 implementations get it right, but forgot about it.   sorry.

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


More information about the Bugs mailing list