요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/bus/pci/drivers/pcie_mp2_amd/*/hpd
2
Date: April 2025
3
Contact: [email protected]
4
Description:
5
Human presence detection (HPD) enable/disable.
6
When HPD is enabled, the device will be able to detect the
7
presence of a human and will send an interrupt that can be
8
used to wake the system from a low power state.
9
When HPD is disabled, the device will not be able to detect
10
the presence of a human.
12
Access: Read/Write
13
Valid values: enabled/disabled
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Human-presence detection
1-13| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/pci/drivers/pcie_mp2_amd/*/hpd |
| Date | 2025년 4월 |
| Contact | [email protected] |
| Description | Human presence detection(HPD)을 enable/disable합니다. HPD가 enabled이면 device가 human presence를 감지하고 low-power state에서 system을 깨우는 데 쓸 수 있는 interrupt를 보냅니다. HPD가 disabled이면 device는 human presence를 감지할 수 없습니다. |
| Access | Read/Write |
| Valid values | enabled/disabled |
Write enabled to hpd→Device detects human presence→Device sends interrupt→System may wake from low-power state
Detection이 enabled일 때 presence event가 wake interrupt로 이어집니다.
Human-presence wake detection
sysfs-driver-amd-sfh:1-13HPD를 enable하면 human presence를 감지해 low-power state에서 system을 깨울 수 있는 interrupt를 발생시키며 disable하면 감지하지 않습니다.