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

Linux 6.18.37 · ABI / testing

Renesas USB3 dual-role sysfs ABI

Renesas USB3 dual-role device mode를 host와 peripheral 사이에서 읽고 전환합니다.

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

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

1. 요약·해설

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

USB3 DRD role swap

sysfs-platform-renesas_usb3:1-17

Dual-role controller가 사용하는 host/peripheral strings를 mode 전환과 current-state readback에 공통으로 사용합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: /sys/devices/platform/<renesas_usb3's name>/role
2 Date: March 2017
3 KernelVersion: 4.13
4 Contact: Yoshihiro Shimoda <[email protected]>
5 Description:
6 This file can be read and write.
7 The file can show/change the drd mode of usb.
8
9 Write the following string to change the mode:
10
11 - "host" - switching mode from peripheral to host.
12 - "peripheral" - switching mode from host to peripheral.
13
14 Read the file, then it shows the following strings:
15
16 - "host" - The mode is host now.
17 - "peripheral" - The mode is peripheral now.
18

3. 한국어 전문 번역

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

Renesas USB3 dual-role sysfs ABI: role

1-17
항목한국어 전문 번역
What/sys/devices/platform/<renesas_usb3's name>/role
Date2017년 3월
KernelVersion4.13
ContactYoshihiro Shimoda <[email protected]>
Description`/sys/devices/platform/<renesas_usb3's name>/role`은 read/write할 수 있으며 USB DRD mode를 표시하거나 변경합니다. `host`를 쓰면 peripheral에서 host로, `peripheral`을 쓰면 host에서 peripheral로 전환합니다. Read 결과 `host`는 현재 host mode, `peripheral`은 현재 peripheral mode임을 뜻합니다.
Renesas USB3 role values
StringWrite effectRead meaning
hostPeripheral to hostCurrently host
peripheralHost to peripheralCurrently peripheral

Write transition과 readback 의미를 같은 strings로 대응시킵니다.