Mouse poll rate in Ubuntu

(note the following article is ported from an older site of mine, and may no longer apply to newer distributions of Ubuntu)

Mice manufacturers may advertise high-end mice by tossing around DPI numbers as high as 5700 these days, but as long as you’ve got something that can do 800-1600DPI, poll rate is more important. Unfortunately it seems Ubuntu (Karmic 64bit, 2.6.31-19 kernel) had mine set to automatic or default, which is less than the 1000Hz my good old Logitech G5 supports. Read on for the fix.