← Documents Documentation/ABI/testing/sysfs-platform-tahvo-usb GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

Tahvo USB OTG sysfs ABI

Tahvo USB의 current OTG host/peripheral mode를 설정·읽고 VBUS on/off state를 조회합니다.

Source pathDocumentation/ABI/testing/sysfs-platform-tahvo-usb
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

OTG role과 VBUS state

sysfs-platform-tahvo-usb:1-16

Host/peripheral role은 read/write하고 VBUS supply는 on/off로 읽습니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/bus/platform/devices/tahvo-usb/otg_mode
2 Date: December 2013
3 Contact: Aaro Koskinen <aaro.koskinen@iki.fi>
4 Description:
5 Set or read the current OTG mode. Valid values are "host" and
6 "peripheral".
7
8 Reading: returns the current mode.
9
10 What: /sys/bus/platform/devices/tahvo-usb/vbus
11 Date: December 2013
12 Contact: Aaro Koskinen <aaro.koskinen@iki.fi>
13 Description:
14 Read the current VBUS state.
15
16 Reading: returns "on" or "off".
17

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Tahvo USB OTG sysfs ABI: otg mode

1-9
항목한국어 전문 번역
What/sys/bus/platform/devices/tahvo-usb/otg_mode
Date2013년 12월
KernelVersion
ContactAaro Koskinen <aaro.koskinen@iki.fi>
Description`/sys/bus/platform/devices/tahvo-usb/otg_mode`는 current OTG mode를 설정하거나 읽습니다. Valid values는 `host`와 `peripheral`이며 read하면 current mode를 반환합니다.
Tahvo OTG modes
ValueMeaning
hostHost OTG mode
peripheralPeripheral OTG mode

같은 strings를 mode write와 current-mode readback에 사용합니다.

Tahvo USB OTG sysfs ABI: vbus

10-16
항목한국어 전문 번역
What/sys/bus/platform/devices/tahvo-usb/vbus
Date2013년 12월
KernelVersion
ContactAaro Koskinen <aaro.koskinen@iki.fi>
Description`/sys/bus/platform/devices/tahvo-usb/vbus`는 current VBUS state를 읽으며 `on` 또는 `off`를 반환합니다.
Tahvo VBUS states
ValueMeaning
onVBUS on
offVBUS off

Read-only current VBUS state입니다.