View Single Post
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#8
Originally Posted by benjo View Post
Thanks for the help everyone. I typed that directly into x-terminal and got the message "No such file or directory". I've installed rootsh and run sudo gainroot as well - not sure if it was needed.

I know nothing about linux or x-terminal. Is typing that in just like that all I need to do?
Yeah, if you typed it correctly it should work. It's not being there might indicate the driver didn't load properly.

What you might try is restart the N900 and then run the command

dmesg | grep lis302

from x-teminal (you might need to be root) This might show startup messages to do with that driver. Alternatively

dmesg | more

and visually inspect to see if you can see any messages related to the lis302dl driver (that's the name of the accelerometer chip I think)

Or before restart, try

lsmod | grep lis302

lsmod lists the loaded kernel modules (=drivers).

(in the terminal, you can get the | character from the symbol thing (blue-arrow-key+ctrl))