All pages
Powered by GitBook
1 of 5

Loading...

Loading...

Loading...

TBC - Ambient Light Sensor

Loading...

0x00 - Microsoft: Type/Touch Cover

Technical information about Type/Touch Covers for Surface RT/2

I2C Specs

  • HID over I2C

  • Address: 0x00

  • Bus speed: 400kHz

  • HID_Descriptor: 0x0041

  • ACPI Device: SNMU

  • Power:

    • Bridge IC: PMIC.REG1: 1.8V

    • tCover Power: PMIC.REG3: 2.8V

GPIO

HID Interrupt: O5 Hotplug Interrupt: S0

Issue

The tCover I2C address is 0x00. This address is reserved for general call. Linux doesn't allow I2C Slaves to use this address therefore the I2C driver must be patched to allow 0x00 as valid Slave address.

Implementation

i2c-hotplug-gpio is a grate driver and doesn't work in mainline.

VendorID / ProductID

Cover

Generation

VendorID / hex

ProductID / hex

Touch

1

045E

079A

Type

1

045E

079C

Touch

2

045E

07A7

Type

2

045E

07A9

Power

1

045E - tbc

07DA - tbc

TBC - Kionix: KXTJ9 - Accelerometer

To be confirmed

I2C Specs

  • Normal I2C

  • Address: 0x?

  • Bus speed: 400kHz

  • ACPI Device: ?

https://kionixfs.kionix.com/en/document/KXTJ9%20Sell%20Sheet.pdf

0x28 - [WIP] Microsoft: ?SensorCollection?

  • HID over I2C

  • Address: 0x28

  • Bus speed: 400kHz

  • HID_Descriptor: 0x0001

  • ACPI Device: SNMU

https://www.microchip.com/wwwproducts/en/at32uc3l0256

Bus 0 - MS HID

I2C Bus

Devices

i2cdetect -y -a -r 0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 00 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- 28 -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 

Physical Access

Access to I2C Bus 0 can be found on .

https://en.wikipedia.org/wiki/Extended_Display_Identification_Data
WIP: ARM: tegra: Support for Surface RT Type/Touch/Power-Cover; Display fix by CrackTheSurface · Pull Request #45 · grate-driver/linuxGitHub
Logo
J14