N900 Hardware Bus I2c

(Hardware)
Line 16: Line 16:
* 0x6B [[N900 Hardware Battery Charger]]
* 0x6B [[N900 Hardware Battery Charger]]
-
smia-sensor/2-0010
+
* 0x10 [[N900 Hardware VGA Camera|VGA Camera (control)]]
==Bus 3==
==Bus 3==
-
* 0x0c [[N900 Hardware Autofocus|Lens focus control]]
+
* 0x0c [[N900 Hardware Autofocus|Lens focus ]]
* 0x1d [[N900 Hardware Accelerometer|Accelerometer]]
* 0x1d [[N900 Hardware Accelerometer|Accelerometer]]
* 0x3e [[N900 Hardware Camera Sensor|Front Camera (control)]]
* 0x3e [[N900 Hardware Camera Sensor|Front Camera (control)]]

Revision as of 17:23, 7 June 2010

I2C is a simple serial bus, used in many devices.

Contents

Hardware

Bus 1

Bus 2

Bus 3

Software

The n900 software driving I2C comes in three flavours.

Firstly, there are a large number of kernel drivers.

Then, there are a small number of devices 'bit banged' through I2C ioctls - BME for example does this.

Finally, there are probably some I2C components in the Rapuyama and assorted cellphone/GPS hardware. These are not visible to the casual developer. (you have to open the n900 and probe stuff, or hack the phone firmware).