Hi! I still have some problems with suspend and accelerometer wakeup which I'll get back to in another mail. In the mean time, here are three patches with some cleanup for the accelerometer driver and allows unloading and reloading of the module. // Simon