Ok, I have a good one for the specialists...
I modified gSensor in my Loox kernel to work correctly. So x,y,z axis are correct and homescreen is rotating perfect.
Now, the Loox tablet has only front CAM and it rotates correctly too, i.e. you can rotate the tablet but the picture stays always vertical.
But if you check the picture with something written or a barcode, you see, that it is mirrored horizontially.
Ok, I got the datasheet of the CAM and the sources, so I modified the OV7675 driver of the RK2918 kernel and the picture is not mirrored anymore... But now the rotation is broken again... if you rotate the tablet clockwise, the image doesn't stay vertical, it rotates counter clockwise.
I tried every combination of the rotation setting, and the options to flip the picture vertical or horizontally... Nothing helps. Either the picture is mirrored or the rotation is wrong...
I guess it must be fixed in the Android part of CM9, not the kernel?
So anyone with a good idea?
Astralix
I modified gSensor in my Loox kernel to work correctly. So x,y,z axis are correct and homescreen is rotating perfect.
Now, the Loox tablet has only front CAM and it rotates correctly too, i.e. you can rotate the tablet but the picture stays always vertical.
But if you check the picture with something written or a barcode, you see, that it is mirrored horizontially.
Ok, I got the datasheet of the CAM and the sources, so I modified the OV7675 driver of the RK2918 kernel and the picture is not mirrored anymore... But now the rotation is broken again... if you rotate the tablet clockwise, the image doesn't stay vertical, it rotates counter clockwise.
I tried every combination of the rotation setting, and the options to flip the picture vertical or horizontally... Nothing helps. Either the picture is mirrored or the rotation is wrong...
I guess it must be fixed in the Android part of CM9, not the kernel?
So anyone with a good idea?
Astralix