EC:lenovo/x201: Difference between revisions

From coreboot
Jump to navigation Jump to search
No edit summary
Line 100: Line 100:
== Query Functions ==
== Query Functions ==


{|
{|class="wikitable"
|Query||Description
|Query||Description
|-
|-

Revision as of 01:37, 16 April 2015

EC lenovo/x201

src/etc/lenovo/h8/h8.h

EC RAM:

00: a6 05 a1 11 fe 96 00 00 00 00 43 00 00 00 80 00
10: 00 00 ff ff f4 3c 80 01 01 ff ff ff 3c ff 00 00
20: 00 00 00 00 00 00 00 2f 00 00 00 00 00 00 00 80
30: 03 00 20 00 30 04 00 00 c3 00 70 10 00 00 00 00
40: 00 00 00 00 00 00 04 00 62 18 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 2f 00 00 00 00 00 00 00
80: 00 00 05 06 4b 0e 02 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 50 11 c0 18 ad 00 45 00 c9 fb 27 3a ff ff c0 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 11 50 c3 12 e4 2e 44 03
f0: 36 53 48 54 33 34 57 57 1a c6 75 d8 00 00 12 00
0x00, config0,
 
0x01, config1,
0x02, config2,
  bit0 SLIS - 
0x03, ???
0x04, sound_enable0
0x05, sound_enable1
0x06, sound_reg
0x07, sound_repeat
0x0B, trackpoint control, 0x1 auto - 0x2 disable 0x3 enable
0x0C, ??? HLCL(ACPI name), Method LED
 bit 0-3 ledid
 bit 4-7 ledstate
 e.g. 0x07 -> sleep led(7) off (0)
 Leds:
 0x7 - sleep
 0xc - dock
  
0x10, event0
0x11, event1
0x12, event2
0x13, event3
0x14, event4
0x15, event5
0x16, event6
0x17, event7
0x18, event8
0x19, event9
0x1a, eventa
0x1b, eventb
0x1c, eventc
0x1d, eventd
0x1e, evente
0x1f, eventf
0x30, volume_control
0x32, ?
 bit1 HWLB - wake up by Low Bat ???
 bit2 WKLD - wake up by lid
 bit4 WKFN - wake up by FN key
0x3a, function control, disable devices & function
 bit0 audio_mute (controls pin ???)
 bit4 bluetooth enable (controls pin BDC_ON ???)
 bit5 wlan enable (controls pin WLAN_DISABLE ???)
 bit6 wwan enable (controls pin WLAN_DISABLE ???)
0x3b, function control
 bit1, keyboard light
 bit4, usb power (controls pin USB_ON1 / USB_ON2 ???)
0x40, volume_control_mute
0x46, status0
 bit1 BTWK(ACPI name)
 bit2 HPLD(ACPI name)
 bit4 HPAC(ACPI name) - AC connected
 bit5 BTST(ACPI name) - battery state?
0x47, status1
0x48, status2
 bit2 LIDS - lid state
0x49, status3 ?
 bit4 pen detect (likely table only)
0x4e, HWAK
0x4f, HWAK
0x78, temperature
0x80, ??? Events???
0x83, FNKY ? - 0x6 to act as wkae button??
0x88, temperature
0xe8, firmware version
0xe9, firmware version
0xeb, firmware func major version
0xef, firmware func minor version
0xf0-0xf7, oem id


Query Functions

Query Description
Q18 TBD
Q45 TBD
Q37 TBD
Q58 TBD