Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1What: /sys/class/chromeos/<ec-device-name>/flashinfo
2Date: August 2015
3KernelVersion: 4.2
4Description:
5 Show the EC flash information.
6
7What: /sys/class/chromeos/<ec-device-name>/kb_wake_angle
8Date: March 2018
9KernelVersion: 4.17
10Description:
11 Control the keyboard wake lid angle. Values are between
12 0 and 360. This file will also show the keyboard wake lid
13 angle by querying the hardware.
14
15What: /sys/class/chromeos/<ec-device-name>/reboot
16Date: August 2015
17KernelVersion: 4.2
18Description:
19 Tell the EC to reboot in various ways. Options are:
20
21 - "cancel": Cancel a pending reboot.
22 - "ro": Jump to RO without rebooting.
23 - "rw": Jump to RW without rebooting.
24 - "cold": Cold reboot.
25 - "disable-jump": Disable jump until next reboot.
26 - "hibernate": Hibernate the EC.
27 - "at-shutdown": Reboot after an AP shutdown.
28
29What: /sys/class/chromeos/<ec-device-name>/version
30Date: August 2015
31KernelVersion: 4.2
32Description:
33 Show the information about the EC software and hardware.
34
35What: /sys/class/chromeos/cros_ec/usbpdmuxinfo
36Date: February 2025
37Description:
38 Show PD mux status for each typec port with following flags:
39 - "USB": USB connected
40 - "DP": DP connected
41 - "POLARITY": CC line Polarity inverted
42 - "HPD_IRQ": Hot Plug Detect interrupt is asserted
43 - "HPD_LVL": Hot Plug Detect level is asserted
44 - "SAFE": DP is in safe mode
45 - "TBT": TBT enabled
46 - "USB4": USB4 enabled
47
48What: /sys/class/chromeos/cros_ec/ap_mode_entry
49Date: February 2025
50Description:
51 Show if the AP mode entry EC feature is supported.
52 It indicates whether the EC waits for direction from the AP
53 to enter Type-C altmodes or USB4 mode.