Openmoko Bug #2145: Debian: Reading of accelerometers broken
Openmoko Public Trac
bugs at docs.openmoko.org
Tue Dec 23 14:12:22 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):
I just tried Om2008.12-om-gta02.uImage.bin and can now see what the
original reporter has observed.
Running the ruby script from Accelerometer_data_retrieval produces
constant flow of data while the device is laying on the table. When I pick
it up and start shaking it then the script stops outputting data. Display
of interrupt count on second console now looks like this.
{{{
1 debian-gta02:~# while [ 1 == 1 ] ; do cat /proc/interrupts | grep
lis302dl ; sleep 10 ; done
2 16: 124 s3c-ext0 lis302dl
3 60: 2866 s3c-ext lis302dl
4 16: 124 s3c-ext0 lis302dl
5 60: 3060 s3c-ext lis302dl
6 16: 124 s3c-ext0 lis302dl
>>> 7 60: 3245 s3c-ext lis302dl
8 16: 124 s3c-ext0 lis302dl
>>> 9 60: 3254 s3c-ext lis302dl
10 16: 124 s3c-ext0 lis302dl
11 60: 3259 s3c-ext lis302dl
12 16: 124 s3c-ext0 lis302dl
13 60: 3449 s3c-ext lis302dl
}}}
Shaking took place between line 7 and line 9 above, there are only very
few interrupts counted although the file is permanently open.
I must say that I'm confused now. Is this by design and expected
behaviour?
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2145#comment:22>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the buglog
mailing list