On 05/26/11 20:27, Alberto Mardegan wrote:
Secondly, I'd like to add support for reading the accelerometer values, as it's done here (again, kudos to Javier): http://gitorious.org/iaps/iaps/blobs/master/iaps.c I know that no one is happy of directly accessing the raw I/O ports, but all my attempts of reading these values through the ACPI interfaces or the EC fields have failed: the fields are always set to 0. So, what I plan to do is to check the DMI information, and if the machine is a S10-3t I would you the code linked above to read and report the accelerometer values. Would that be acceptable?
I'm wondering if the accelerometer driver is also compatible with the ThinkPad SL laptops. It is said that their firmwares are quite similar to the IdeaPad ones. As they have quasi nothing in common with the normal ThinkPad series there's no support for them in thinkpad-acpi/hdaps/tp_smapi.
I compiled the iaps module and loaded it successfully on my ThinkPad SL. There is also data passed by the driver to the input subsystem, when I move the laptop. Is there a way to validate this data?
-- Regards, Richard Schütz -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html