← Documents Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

USB composite-gadget state sysfs ABI

USB composite gadget의 suspend 상태와 Mass Storage gadget이 SCSI WRITE(10,12)의 FUA bit를 따를지 결정하는 nofua attribute를 설명합니다.

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

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

1. 요약·해설

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

Composite-gadget suspend state

sysfs-devices-platform-_UDC_-gadget:1-11

UDC driver 아래 suspended는 composite gadget이 suspended인지 resumed인지 1과 0으로 표시합니다.

Mass-storage FUA handling

sysfs-devices-platform-_UDC_-gadget:12-23

gadget-lunX/nofua는 USB Mass Storage mode에서 SCSI WRITE(10,12)의 Force Unit Access flag를 무시할지 준수할지 설정합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: /sys/devices/platform/_UDC_/gadget/suspended
2 Date: April 2010
3 Contact: Fabien Chouteau <[email protected]>
4 Description:
5 Show the suspend state of an USB composite gadget.
6
7 - 1 -> suspended
8 - 0 -> resumed
9
10 (_UDC_ is the name of the USB Device Controller driver)
11
12 What: /sys/devices/platform/_UDC_/gadget/gadget-lunX/nofua
13 Date: July 2010
14 Contact: Andy Shevchenko <[email protected]>
15 Description:
16 Show or set the reaction on the FUA (Force Unit Access) bit in
17 the SCSI WRITE(10,12) commands when a gadget in USB Mass
18 Storage mode.
19
20 Possible values are:
21
22 - 1 -> ignore the FUA flag
23 - 0 -> obey the FUA flag
24

3. 한국어 전문 번역

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

USB composite-gadget suspend state

1-11
항목한국어 전문 번역
What/sys/devices/platform/_UDC_/gadget/suspended
Date2010년 4월
ContactFabien Chouteau <[email protected]>
DescriptionUSB composite gadget의 suspend state를 표시합니다. 1은 suspended, 0은 resumed를 뜻합니다. _UDC_는 USB Device Controller driver의 이름입니다.

Mass-storage FUA-bit policy

12-23
항목한국어 전문 번역
What/sys/devices/platform/_UDC_/gadget/gadget-lunX/nofua
Date2010년 7월
ContactAndy Shevchenko <[email protected]>
DescriptionGadget이 USB Mass Storage mode일 때 SCSI WRITE(10,12) command의 FUA(Force Unit Access) bit에 어떻게 반응할지 표시하거나 설정합니다. 1은 FUA flag를 무시하고, 0은 FUA flag를 준수합니다.
USB gadget state values
Attribute01
suspendedresumedsuspended
gadget-lunX/nofuaFUA flag 준수FUA flag 무시

Composite suspend state와 Mass Storage FUA policy의 값입니다.