Openmoko Bug #2145: Debian: Reading of accelerometers broken

Openmoko Public Trac bugs at docs.openmoko.org
Mon Dec 22 19:34:32 CET 2008


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

Comment(by Johannes):

 Not sure if this helps:

 printing interrupt counts for lis302dl from /proc/interrupts does not
 change with movement of device but with reading from /dev/input/event3.

 Running the script below it does not matter if the device is laying on the
 table or shaken like hell during the 10s pause, interrupt counts are
 increasing at the same slow rate of 2 counts per 10s.

 debian-gta02:~# while [ 1 == 1 ] ; do dd if=/dev/input/event3 bs=16
 count=6 > /dev/null ; cat /proc/interrupts |grep lis302dl ; sleep 10 ;
 done
 6+0 records in
 6+0 records out
 96 bytes (96 B) copied, 0.030005 s, 3.2 kB/s
  16:        521    s3c-ext0  lis302dl
  60:      19262     s3c-ext  lis302dl
 6+0 records in
 6+0 records out
 96 bytes (96 B) copied, 0.036205 s, 2.7 kB/s
  16:        521    s3c-ext0  lis302dl
  60:      19264     s3c-ext  lis302dl
 6+0 records in
 6+0 records out
 96 bytes (96 B) copied, 0.029541 s, 3.2 kB/s
  16:        521    s3c-ext0  lis302dl
  60:      19266     s3c-ext  lis302dl

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2145#comment:14>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list