[oe-issues] [Bug 3519] New: ts-adc and high cpu load

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Sat Dec 22 14:33:09 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=3519

           Summary: ts-adc and high cpu load
           Product: Openembedded
           Version: Angstrom unstable
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: dek at amur.dti.ru


Some weeks ago I had reflash my hx4700 with angstrom x11 image. It works
perfect except one annoying issue. Often ts-adc eats cpu cycles continuously
with 80-90% of load and slows down entire system. If I touch the screen with a
stylus and hold it few seconds than the driver calms down and high load
disappears. Last monday I've used latest image and 2.6.21-hh19 kernel. Same
results.

I have used Familiar 0.8.4 before. Familiar's ts-adc-debounce.c had no this
problem.

Any suggestions?

dkrasnov at hx4700:~$ uname -a
Linux hx4700 2.6.21-hh19 #1 PREEMPT Fri Dec 14 05:06:21 CET 2007 armv5tel
unknown

dkrasnov at hx4700:~$ cat /etc/angstrom-version
Angstrom 2007.9-test-20071214

dkrasnov at hx4700:~$ lsmod
Module                  Size  Used by
ppp_async               9376  1
ppp_generic            20148  5 ppp_async
slhc                    5664  1 ppp_generic
hci_uart               16028  4
cpufreq_userspace       3636  1
snd_pcm_oss            41120  0
snd_mixer_oss          14816  1 snd_pcm_oss
i2c_pxa                 7136  1
snd_hx4700_audio        4192  0
snd_pxa2xx_i2sound     11776  1 snd_hx4700_audio
snd_pcm                74085  2 snd_pcm_oss,snd_pxa2xx_i2sound
snd_timer              20388  1 snd_pcm
snd_page_alloc          5832  1 snd_pcm
snd_ak4641              9344  1 snd_hx4700_audio
snd                    46388  6
snd_pcm_oss,snd_mixer_oss,snd_pxa2xx_i2sound,snd_pcm,snd_timer,snd_ak4641
i2c_core               17232  3 i2c_pxa,snd_hx4700_audio,snd_ak4641
rfcomm                 35996  7
ircomm_tty             36904  0
ircomm                 21060  1 ircomm_tty
irda                  193484  2 ircomm_tty,ircomm
hidp                   14944  0
hid                    26272  1 hidp
l2cap                  20484  12 rfcomm,hidp
bluetooth              49344  8 hci_uart,rfcomm,hidp,l2cap
vfat                   10144  0
fat                    46588  1 vfat
hx4700_bt               2048  0

dkrasnov at hx4700:~$ uptime
 21:30:04 up  6:35,  2 users,  load average: 2.70, 2.64, 2.26

dkrasnov at hx4700:~$ top
top - 21:31:23 up  6:36,  2 users,  load average: 2.71, 2.64, 2.26
Tasks:  70 total,   6 running,  64 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.3%us, 93.4%sy,  0.0%ni,  4.6%id,  0.0%wa,  0.0%hi,  1.6%si,  0.0%st
Mem:     62116k total,    56756k used,     5360k free,        0k buffers
Swap:        0k total,        0k used,        0k free,    26992k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  262 root      20  -5     0    0    0 R 92.1  0.0 242:20.72 ts-adc/0
    2 root      34  19     0    0    0 R  2.0  0.0  14:56.70 ksoftirqd/0
 6457 dkrasnov  15   0  2136 1068  848 R  1.6  1.7   0:01.28 top
    1 root      15   0  1408  408  348 S  0.0  0.7   0:02.04 init
    3 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    4 root      10  -5     0    0    0 S  0.0  0.0   0:00.20 events/0
    5 root      15  -5     0    0    0 S  0.0  0.0   0:00.03 khelper
    6 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 kthread
   51 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/0
   83 root      15   0     0    0    0 S  0.0  0.0   0:00.16 hx4700_navptd
   86 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 pccardd
   96 root      10  -5     0    0    0 S  0.0  0.0   0:00.09 kswapd0
   97 root      18  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
  237 root      17  -5     0    0    0 S  0.0  0.0   0:00.00 kapmd
  246 root      15   0     0    0    0 S  0.0  0.0   0:00.01 mtdblockd
  270 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 w1_control
  273 root      10  -5     0    0    0 S  0.0  0.0   0:00.20 w1_bus_master1

dkrasnov at hx4700:~$ dmesg|tail -50
<4>[23634.950000] ts-adc: Sample with too much jitter - ignored
<4>[23635.040000] ts-adc: Sample with too much jitter - ignored
<4>[23635.190000] ts-adc: Sample with too much jitter - ignored
<4>[23635.250000] ts-adc: Sample with too much jitter - ignored
<4>[23635.370000] ts-adc: Sample with too much jitter - ignored
<4>[23635.650000] ts-adc: Sample with too much jitter - ignored
<4>[23636.220000] ts-adc: Sample with too much jitter - ignored
<4>[23636.670000] ts-adc: Sample with too much jitter - ignored
<4>[23637.180000] ts-adc: Sample with too much jitter - ignored
<4>[23637.560000] ts-adc: Sample with too much jitter - ignored
<4>[23637.730000] ts-adc: Sample with too much jitter - ignored
<4>[23638.140000] ts-adc: Sample with too much jitter - ignored
<4>[23638.910000] ts-adc: Sample with too much jitter - ignored
<4>[23638.990000] ts-adc: Sample with too much jitter - ignored
<4>[23639.550000] ts-adc: Sample with too much jitter - ignored
<4>[23640.110000] ts-adc: Sample with too much jitter - ignored
<4>[23640.130000] ts-adc: Sample with too much jitter - ignored
<4>[23640.680000] ts-adc: Sample with too much jitter - ignored
<4>[23640.870000] ts-adc: Sample with too much jitter - ignored
<4>[23641.100000] ts-adc: Sample with too much jitter - ignored
<4>[23641.450000] ts-adc: Sample with too much jitter - ignored
<4>[23641.880000] ts-adc: Sample with too much jitter - ignored
<4>[23642.120000] ts-adc: Sample with too much jitter - ignored
<4>[23642.170000] ts-adc: Sample with too much jitter - ignored
<4>[23642.450000] ts-adc: Sample with too much jitter - ignored
<4>[23642.490000] ts-adc: Sample with too much jitter - ignored
<4>[23642.580000] ts-adc: Sample with too much jitter - ignored
<4>[23643.030000] ts-adc: Sample with too much jitter - ignored
<4>[23643.370000] ts-adc: Sample with too much jitter - ignored
<4>[23643.500000] ts-adc: Sample with too much jitter - ignored
<4>[23643.730000] ts-adc: Sample with too much jitter - ignored
<4>[23643.770000] ts-adc: Sample with too much jitter - ignored
<4>[23643.840000] ts-adc: Sample with too much jitter - ignored
<4>[23643.920000] ts-adc: Sample with too much jitter - ignored
<4>[23643.970000] ts-adc: Sample with too much jitter - ignored
<4>[23644.230000] ts-adc: Sample with too much jitter - ignored
<4>[23644.660000] ts-adc: Sample with too much jitter - ignored
<4>[23644.700000] ts-adc: Sample with too much jitter - ignored
<4>[23644.980000] ts-adc: Sample with too much jitter - ignored
<4>[23645.040000] ts-adc: Sample with too much jitter - ignored
<4>[23645.100000] ts-adc: Sample with too much jitter - ignored
<4>[23645.390000] ts-adc: Sample with too much jitter - ignored
<4>[23645.530000] ts-adc: Sample with too much jitter - ignored
<4>[23645.620000] ts-adc: Sample with too much jitter - ignored
<4>[23645.720000] ts-adc: Sample with too much jitter - ignored
<4>[23646.020000] ts-adc: Sample with too much jitter - ignored
<4>[23646.270000] ts-adc: Sample with too much jitter - ignored
<4>[23646.350000] ts-adc: Sample with too much jitter - ignored
<4>[23646.590000] ts-adc: Sample with too much jitter - ignored
<4>[23646.770000] ts-adc: Sample with too much jitter - ignored


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list