thinkpad-keys on T60p permanently uses 2% CPU even when the system is idle
Bug #46634 reported by
Alex Bligh
This bug report is a duplicate of:
Bug #45404: thinkpad-keys on ThinkPad X60* uses a large amount of CPU.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hotkey-setup (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Dapper live CD daily build from 23 May 2006
On an IBM T60p (fast processor) thinkpad-keys uses 2% CPU. It seems to be locked in a cycle of lseek(), read() a few times, then a nanosleep for 5 milliseconds.
Whilst it works perfectly well, eating 2% CPU is not great nor very power-usage friendly. Can it not select() on the FD it is reading instead?
Changed in thinkpad: | |
status: | Unconfirmed → Confirmed |
To post a comment you must log in.
It can't select() since the writes to nvram don't go through the OS.
--
Matthew Garrett | <email address hidden>