OK, I've built the kernel modules under 10.10 32-bit and they're available here:
There's a version for 2.6.35-22-generic-i686 (the kernel that is on the distribution CD) and 2.6.35-28-generic-i686 (which is the kernel that apt installed when I asked for an upgrade). You can find your kernel version with the command "uname -r".
Change into the right directory as root, and then load the module with:
insmod lsm303dlh_a.ko
Then follow that up with the following commands:
modprobe i2c_i801
echo lsm303dlh_a 25 > /sys/bus/i2c/devices/i2c-2/new_device
echo 1 > /sys/bus/i2c/devices/i2c-2/2-0019/mode
Check the module's working with this command:
cat /sys/bus/i2c/devices/i2c-2/2-0019/data
You should get 3 values (which are in hexadecimal) separated with colons. If so, all is good. If not, the bottom few lines of the "dmesg" command may explain what went wrong.
Then as a normal user, you can download my autorotate script and run it with "perl autorotate.pl". It'll print something like "Z up" (depending on orientation). Turn the whole netbook sharp to the right and it should say that it is turning the screen, which should rotate shortly after. You should be able to turn the it to the left and upside down too.
Bookmarks