I noticed this issue on my powerbook as well since upgrading to hardy (and I 
happen to use the b43 driver); 
I strace(1)ed the hald-addon-input process which was running at 100% cpu, and 
noticed it was looping in a poll(2) call which returned POLLNVAL for one fd, 
which turned out to be non-existent when inspecting the process with lsof(1):

strace output:
...
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN, 
revents=POLLNVAL}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=4, 
events=POLLIN}], 6, -1) = 1
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN, 
revents=POLLNVAL}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=4, 
events=POLLIN}], 6, -1) = 1
...(and so on)

lsof output:
...
hald-addo 4878 root    0r   CHR        1,3            6625 /dev/null
hald-addo 4878 root    1u   CHR        1,3            6625 /dev/null
hald-addo 4878 root    2u   CHR        1,3            6625 /dev/null
hald-addo 4878 root    3u  unix 0xef0b74e0           14102 socket
hald-addo 4878 root    4r   CHR      13,69           12149 /dev/input/event5
hald-addo 4878 root    5w   CHR      13,67           12054 /dev/input/event3
hald-addo 4878 root    6r   CHR      13,66           11958 /dev/input/event2
hald-addo 4878 root    8r   CHR      13,65           11900 /dev/input/event1
... (no fd=9 listed...)

hth

-- 
hald-addon-inpu making 100%-cpu-usage
https://bugs.launchpad.net/bugs/203679
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to