Talk:I2C Compass
From Openmoko
m (→Userspace vs kernel module) |
|||
Line 10: | Line 10: | ||
As I proceed through the project, updates on my progress will show up here | As I proceed through the project, updates on my progress will show up here | ||
== Userspace vs kernel module == | == Userspace vs kernel module == | ||
− | Initial research in Linux I2C implementation (yes, believe it or not, I dived into this head-first without any prior knowledge of how linux i2c worked) revealed that besides direct kernel-space adressing, I2C devices can also be adressed from userspace via the device file system by means of the i2c-dev module. Since it will apparently be quite easy to actually bake together the contraption once I uncover a source of parts (which I haven't really looked into much so far), be ready to access the module from userspace for the time being, because actually writing a dedicated module for the chip will definitely be the trickier part of the project. --[[User:Drdeath|Drdeath]] 00:14, 26 July 2009 (UTC) | + | Initial research in Linux I2C implementation (yes, believe it or not, I dived into this head-first without any prior knowledge of how linux i2c worked) revealed that besides direct kernel-space adressing, I2C devices can also be adressed from userspace via the device file system by means of the i2c-dev module. Since it will apparently be quite easy to actually bake together the contraption once I uncover a source of parts (which I haven't really looked into much so far), be ready to access the module from userspace for the time being, because actually writing a dedicated kernel module for the chip will definitely be the trickier part of the project. --[[User:Drdeath|Drdeath]] 00:14, 26 July 2009 (UTC) |
Revision as of 02:15, 26 July 2009
Contents |
Pre-Orders
Pre-orders of anything are non-binding so far and are to evaluate interest by the community. Please sign your name in the appropriate section.
PCB only
DIY-Kit
Ready-made module
Updates
As I proceed through the project, updates on my progress will show up here
Userspace vs kernel module
Initial research in Linux I2C implementation (yes, believe it or not, I dived into this head-first without any prior knowledge of how linux i2c worked) revealed that besides direct kernel-space adressing, I2C devices can also be adressed from userspace via the device file system by means of the i2c-dev module. Since it will apparently be quite easy to actually bake together the contraption once I uncover a source of parts (which I haven't really looked into much so far), be ready to access the module from userspace for the time being, because actually writing a dedicated kernel module for the chip will definitely be the trickier part of the project. --Drdeath 00:14, 26 July 2009 (UTC)