Ticket #1713 (closed defect: wontfix)

Opened 5 years ago

Last modified 4 years ago

neod consumes 8% cpu reading event3 (accelometer) constantly on gta02

Reported by: lindi Owned by: openmoko-kernel
Priority: normal Milestone: Om2007.2
Component: kernel Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

Steps to reproduce:
1) Run top

Expected results:
1) system should be mostly idle

Actual results:
1) neod seems to be using about 7-10% cpu time all the time:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 1426 root      20   0 26516 9540 6196 S  7.1  7.6  16:42.44 neod

More info:
1) strace -p pidof neod -tt shows that

09:03:44.580247 poll([{fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 8, 112618) = 1
09:03:44.584285 gettimeofday({1217581424, 584631}, NULL) = 0
09:03:44.587592 read(7, "p\321\222Hb\317\7\0\2\0\0\0$\0\0\0", 16) = 16
09:03:44.591171 ioctl(3, FIONREAD, [0]) = 0
09:03:44.594265 gettimeofday({1217581424, 594610}, NULL) = 0

repeats again and again and

ls -l /proc/`pidof neod`/fd/7
lr-x------    1 root     root           64 Aug  1 01:56 /proc/1426/fd/7 -> /dev/input/event3

reveals that it is reading from accelometer.

2) I am using freerunner with

http://buildhost.openmoko.org/daily/freerunner/200807/20080722/Openmoko-openmoko-devel-image-glibc-ipk-P1-Snapshot-20080722-om-gta02.rootfs.jffs2
http://buildhost.openmoko.org/daily/freerunner/200807/20080730/uImage-2.6.24+git25+8533927964761f4e2078ccd8607b90f5acc60b93-r1-om-gta02.bin

3) As usual, please let me know if you are unable to reproduce this. I am happy to provide more info.

Change History

comment:1 Changed 5 years ago by dos

You can download patched neod by Marcus Bauer on http://westhoffs-welt.de/blog/my_first_openmoko_application.html . Maybe you'll ask him for source of this patch...

comment:2 Changed 4 years ago by mickey

  • Status changed from new to closed
  • HasPatchForReview unset
  • Resolution set to wontfix

Please see hackable1 distro for neod updates.

Note: See TracTickets for help on using tickets.