Documentation/ABI/testing/sysfs-class-power-twl4030 GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

TWL4030 charger mode sysfs ABI

TWL4030 USB·AC port의 automatic·off mode와 USB continuous linear charging의 용도와 주의를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-class-power-twl4030
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

USB and AC charging modes

sysfs-class-power-twl4030:1-33

두 port의 charging disable과 source별 power draw policy를 제어합니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 What: /sys/class/power_supply/twl4030_usb/mode
2 Description:
3 Changing mode for USB port.
4 Writing to this can disable charging.
5
6 Possible values are:
7
8 ============= ===========================================
9 "auto" draw power as appropriate for detected
10 power source and battery status.
11 "off" do not draw any power.
12 "continuous" activate mode described as "linear" in
13 TWL data sheets. This uses whatever
14 current is available and doesn't switch off
15 when voltage drops.
16
17 This is useful for unstable power sources
18 such as bicycle dynamo, but care should
19 be taken that battery is not over-charged.
20 ============= ===========================================
21
22 What: /sys/class/power_supply/twl4030_ac/mode
23 Description:
24 Changing mode for 'ac' port.
25 Writing to this can disable charging.
26
27 Possible values are:
28
29 ====== ===========================================
30 "auto" draw power as appropriate for detected
31 power source and battery status.
32 "off" do not draw any power.
33 ====== ===========================================
34

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

TWL4030 USB port mode

1-20
항목한국어 전문 번역
What/sys/class/power_supply/twl4030_usb/mode
Date원문에 명시되지 않음
DescriptionUSB port의 mode를 변경하며 쓰기를 통해 charging을 disable할 수 있습니다. auto는 detect한 power source와 battery status에 맞게 power를 draw합니다. off는 power를 전혀 draw하지 않습니다. continuous는 TWL datasheet에서 "linear"라고 부르는 mode로 available current를 모두 사용하고 voltage가 떨어져도 switch off하지 않습니다. Bicycle dynamo 같은 unstable power source에 유용하지만 battery over-charge에 주의해야 합니다.
Valid values"auto", "off", "continuous"
TWL4030 USB modes
Mode동작주의
autoDetected source와 battery status에 맞게 draw
offPower를 draw하지 않음Charging disabled
continuousAvailable current 사용, voltage drop에도 off하지 않음Unstable source에 유용하나 over-charge 주의

원문 ASCII 표의 USB power draw policy입니다.

TWL4030 AC port mode

22-33
항목한국어 전문 번역
What/sys/class/power_supply/twl4030_ac/mode
Date원문에 명시되지 않음
DescriptionAC port의 mode를 변경하며 쓰기를 통해 charging을 disable할 수 있습니다. auto는 detect한 power source와 battery status에 맞게 power를 draw하고, off는 power를 전혀 draw하지 않습니다.
Valid values"auto", "off"