Ok, it seems like the 177 drivers do not support the MX400, and ubuntu 8.1 doesn't support the 97 drivers. Now I just can't explain how it was working before.