Openmoko Bug #2145: Debian: Reading of accelerometers broken

Openmoko Public Trac bugs at
Fri Nov 28 17:39:32 CET 2008

#2145: Debian: Reading of accelerometers broken
 Reporter:  Defiant   |          Owner:  hardware            
     Type:  defect    |         Status:  new                 
 Priority:  normal    |      Milestone:                      
Component:  hardware  |        Version:  unspecified         
 Severity:  normal    |       Keywords:  debian event2 event3
 Haspatch:  0         |      Blockedby:                      
Estimated:            |    Patchreview:                      
 Blocking:            |   Reproducible:  always              

Comment(by SimonKagstrom):

 I checked the source code and it looks correct. In
 __enable_data_collection, we do this when enabling the data collection
 with a threshold:

           __reg_write(lis, LIS302DL_REG_FF_WU_CFG_1,
                            LIS302DL_FFWUCFG_XHIE | LIS302DL_FFWUCFG_YHIE |

 So it should be "high" events. I also tested on my freerunner on stable-
 tracking, and for me it appears to work fine (although it's input devices
 3 and 4 here). It's quiet when flat on the table, but as I pick it up,
 data starts flowing.

 I set the threshold to 100.

 // Simon

Ticket URL: <> <>
openmoko trac

More information about the hardware mailing list