요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
USB PD mux and AP-directed mode entry
sysfs-class-chromeos:35-53Type-C port별 USB·DP·HPD·TBT·USB4 mux flag와 EC가 AP 지시를 기다리는 mode-entry 기능을 노출합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/class/chromeos/<ec-device-name>/flashinfo
2
Date: August 2015
3
KernelVersion: 4.2
4
Description:
5
Show the EC flash information.
7
What: /sys/class/chromeos/<ec-device-name>/kb_wake_angle
8
Date: March 2018
9
KernelVersion: 4.17
10
Description:
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.
15
What: /sys/class/chromeos/<ec-device-name>/reboot
16
Date: August 2015
17
KernelVersion: 4.2
18
Description:
19
Tell the EC to reboot in various ways. Options are:
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.
29
What: /sys/class/chromeos/<ec-device-name>/version
30
Date: August 2015
31
KernelVersion: 4.2
32
Description:
33
Show the information about the EC software and hardware.
35
What: /sys/class/chromeos/cros_ec/usbpdmuxinfo
36
Date: February 2025
37
Description:
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
48
What: /sys/class/chromeos/cros_ec/ap_mode_entry
49
Date: February 2025
50
Description:
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.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
ChromeOS EC flash 정보
1-5| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/chromeos/<ec-device-name>/flashinfo |
| Date | 2015년 8월 |
| KernelVersion | 4.2 |
| Description | EC flash 정보를 표시합니다. |
Keyboard wake lid angle
7-13| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/chromeos/<ec-device-name>/kb_wake_angle |
| Date | 2018년 3월 |
| KernelVersion | 4.17 |
| Description | Keyboard wake lid angle을 제어합니다. 값 범위는 0-360입니다. 이 file을 읽으면 hardware에 query해 얻은 keyboard wake lid angle도 표시합니다. |
ChromeOS EC reboot 명령
15-27| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/chromeos/<ec-device-name>/reboot |
| Date | 2015년 8월 |
| KernelVersion | 4.2 |
| Description | EC에 여러 방식의 reboot를 지시합니다. |
Option동작
cancelPending reboot 취소
roReboot하지 않고 RO로 jump
rwReboot하지 않고 RW로 jump
coldCold reboot
disable-jump다음 reboot까지 jump 비활성화
hibernateEC hibernate
at-shutdownAP shutdown 뒤 reboot
reboot 속성이 받는 option과 EC 동작입니다.
ChromeOS EC software·hardware 정보
29-33| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/chromeos/<ec-device-name>/version |
| Date | 2015년 8월 |
| KernelVersion | 4.2 |
| Description | EC software와 hardware에 대한 정보를 표시합니다. |
Type-C port별 PD mux 상태
35-46| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/chromeos/cros_ec/usbpdmuxinfo |
| Date | 2025년 2월 |
| Description | 각 Type-C port의 PD mux 상태를 아래 flag로 표시합니다. |
Flag의미
USBUSB connected
DPDP connected
POLARITYCC line polarity inverted
HPD_IRQHot Plug Detect interrupt asserted
HPD_LVLHot Plug Detect level asserted
SAFEDP safe mode
TBTTBT enabled
USB4USB4 enabled
usbpdmuxinfo가 Type-C port마다 표시하는 connection과 mode 상태입니다.
AP mode entry EC 지원 여부
48-53| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/chromeos/cros_ec/ap_mode_entry |
| Date | 2025년 2월 |
| Description | AP mode entry EC feature 지원 여부를 표시합니다. EC가 Type-C altmode 또는 USB4 mode에 진입하기 위해 AP의 지시를 기다리는지를 나타냅니다. |
EC flash, wake angle, reboot, and version
sysfs-class-chromeos:1-33EC flash·version 정보, 0-360 lid wake angle과 RO/RW jump·reboot·hibernate option을 제공합니다.