요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Hub ports, power-state policy, and lane topology
sysfs-bus-usb:152-323Hub port의 연결 유형·위치·quirk·과전류·LPM·비활성화·상태를 제공하고 USB2 BESL·L1 timeout, RX/TX lane 및 Type-C partner link를 다룹니다.
Device descriptors, identity, speed, and runtime power
sysfs-bus-usb:325-545USB device와 interface descriptor 필드, BOS binary, vendor/product identity, speed, URB count 및 autosuspend·active·connected 시간을 노출합니다.
Endpoint descriptor and transfer attributes
sysfs-bus-usb:547-607Power level의 빈 ABI 항목과 endpoint address·interval·length·attribute·direction·type·maximum packet size를 보존합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/bus/usb/devices/<INTERFACE>/authorized
Date: August 2015
Description:
This allows to authorize (1) or deauthorize (0)
individual interfaces instead a whole device
in contrast to the device authorization.
If a deauthorized interface will be authorized
so the driver probing must be triggered manually
by writing INTERFACE to /sys/bus/usb/drivers_probe
This allows to avoid side-effects with drivers
that need multiple interfaces.
A deauthorized interface cannot be probed or claimed.
What: /sys/bus/usb/devices/usbX/interface_authorized_default
Date: August 2015
Description:
This is used as value that determines if interfaces
would be authorized by default.
The value can be 1 or 0. It's by default 1.
What: /sys/bus/usb/device/.../authorized
Date: July 2008
KernelVersion: 2.6.26
Contact: David Vrabel <[email protected]>
Description:
Authorized devices are available for use by device
drivers, non-authorized one are not. By default, wired
USB devices are authorized.
What: /sys/bus/usb/drivers/.../new_id
Date: October 2011
Contact: [email protected]
Description:
Writing a device ID to this file will attempt to
dynamically add a new device ID to a USB device driver.
This may allow the driver to support more hardware than
was included in the driver's static device ID support
table at compile time. The format for the device ID is:
idVendor idProduct bInterfaceClass RefIdVendor RefIdProduct
The vendor ID and device ID fields are required, the
rest is optional. The `Ref*` tuple can be used to tell the
driver to use the same driver_data for the new device as
it is used for the reference device.
Upon successfully adding an ID, the driver will probe
for the device and attempt to bind to it. For example::
# echo "8086 10f5" > /sys/bus/usb/drivers/foo/new_id
Here add a new device (0458:7045) using driver_data from
an already supported device (0458:704c)::
# echo "0458 7045 0 0458 704c" > /sys/bus/usb/drivers/foo/new_id
Reading from this file will list all dynamically added
device IDs in the same format, with one entry per
line. For example::
# cat /sys/bus/usb/drivers/foo/new_id
8086 10f5
dead beef 06
f00d cafe
The list will be truncated at PAGE_SIZE bytes due to
sysfs restrictions.
What: /sys/bus/usb-serial/drivers/.../new_id
Date: October 2011
Contact: [email protected]
Description:
For serial USB drivers, this attribute appears under the
extra bus folder "usb-serial" in sysfs; apart from that
difference, all descriptions from the entry
"/sys/bus/usb/drivers/.../new_id" apply.
What: /sys/bus/usb/drivers/.../remove_id
Date: November 2009
Contact: CHENG Renquan <[email protected]>
Description:
Writing a device ID to this file will remove an ID
that was dynamically added via the new_id sysfs entry.
The format for the device ID is:
idVendor idProduct. After successfully
removing an ID, the driver will no longer support the
device. This is useful to ensure auto probing won't
match the driver to the device. For example:
# echo "046d c315" > /sys/bus/usb/drivers/foo/remove_id
Reading from this file will list the dynamically added
device IDs, exactly like reading from the entry
"/sys/bus/usb/drivers/.../new_id"
What: /sys/bus/usb/devices/.../power/usb2_hardware_lpm
Date: September 2011
Contact: Andiry Xu <[email protected]>
Description:
If CONFIG_PM is set and a USB 2.0 lpm-capable device is plugged
in to a xHCI host which support link PM, it will perform a LPM
test; if the test is passed and host supports USB2 hardware LPM
(xHCI 1.0 feature), USB2 hardware LPM will be enabled for the
device and the USB device directory will contain a file named
power/usb2_hardware_lpm. The file holds a string value (enable
or disable) indicating whether or not USB2 hardware LPM is
enabled for the device. Developer can write y/Y/1 or n/N/0 to
the file to enable/disable the feature.
What: /sys/bus/usb/devices/.../power/usb3_hardware_lpm_u1
/sys/bus/usb/devices/.../power/usb3_hardware_lpm_u2
Date: November 2015
Contact: Kevin Strasser <[email protected]>
Lu Baolu <[email protected]>
Description:
If CONFIG_PM is set and a USB 3.0 lpm-capable device is plugged
in to a xHCI host which supports link PM, it will check if U1
and U2 exit latencies have been set in the BOS descriptor; if
the check is passed and the host supports USB3 hardware LPM,
USB3 hardware LPM will be enabled for the device and the USB
device directory will contain two files named
power/usb3_hardware_lpm_u1 and power/usb3_hardware_lpm_u2. These
files hold a string value (enable or disable) indicating whether
or not USB3 hardware LPM U1 or U2 is enabled for the device.
What: /sys/bus/usb/devices/.../ltm_capable
Date: July 2012
Contact: Sarah Sharp <[email protected]>
Description:
USB 3.0 devices may optionally support Latency Tolerance
Messaging (LTM). They indicate their support by setting a bit
in the bmAttributes field of their SuperSpeed BOS descriptors.
If that bit is set for the device, ltm_capable will read "yes".
If the device doesn't support LTM, the file will read "no".
The file will be present for all speeds of USB devices, and will
always read "no" for USB 1.1 and USB 2.0 devices.
What: /sys/bus/usb/devices/<INTERFACE>/wireless_status
Date: February 2023
Contact: Bastien Nocera <[email protected]>
Description:
Some USB devices use a USB receiver dongle to communicate
wirelessly with their device using proprietary protocols. This
attribute allows user-space to know whether the device is
connected to its receiver dongle, and, for example, consider
the device to be absent when choosing whether to show the
device's battery, show a headset in a list of outputs, or show
an on-screen keyboard if the only wireless keyboard is
turned off.
This attribute is not to be used to replace protocol specific
statuses available in WWAN, WLAN/Wi-Fi, Bluetooth, etc.
If the device does not use a receiver dongle with a wireless
device, then this attribute will not exist.
What: /sys/bus/usb/devices/.../<hub_interface>/port<X>
Date: August 2012
Contact: Lan Tianyu <[email protected]>
Description:
The /sys/bus/usb/devices/.../<hub_interface>/port<X>
is usb port device's sysfs directory.
What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/connect_type
Date: January 2013
Contact: Lan Tianyu <[email protected]>
Description:
Some platforms provide usb port connect types through ACPI.
This attribute is to expose these information to user space.
The file will read "hotplug", "hardwired" and "not used" if the
information is available, and "unknown" otherwise.
What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/location
Date: October 2018
Contact: Bjørn Mork <[email protected]>
Description:
Some platforms provide usb port physical location through
firmware. This is used by the kernel to pair up logical ports
mapping to the same physical connector. The attribute exposes the
raw location value as a hex integer.
What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/quirks
Date: May 2018
Contact: Nicolas Boichat <[email protected]>
Description:
In some cases, we care about time-to-active for devices
connected on a specific port (e.g. non-standard USB port like
pogo pins), where the device to be connected is known in
advance, and behaves well according to the specification.
This attribute is a bit-field that controls the behavior of
a specific port:
- Bit 0 of this field selects the "old" enumeration scheme,
as it is considerably faster (it only causes one USB reset
instead of 2).
The old enumeration scheme can also be selected globally
using /sys/module/usbcore/parameters/old_scheme_first, but
it is often not desirable as the new scheme was introduced to
increase compatibility with more devices.
- Bit 1 reduces TRSTRCY to the 10 ms that are required by the
USB 2.0 specification, instead of the 50 ms that are normally
used to help make enumeration work better on some high speed
devices.
What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/over_current_count
Date: February 2018
Contact: Richard Leitner <[email protected]>
Description:
Most hubs are able to detect over-current situations on their
ports and report them to the kernel. This attribute is to expose
the number of over-current situation occurred on a specific port
to user space. This file will contain an unsigned 32 bit value
which wraps to 0 after its maximum is reached. This file supports
poll() for monitoring changes to this value in user space.
Any time this value changes the corresponding hub device will send a
udev event with the following attributes::
OVER_CURRENT_PORT=/sys/bus/usb/devices/.../<hub_interface>/port<X>
OVER_CURRENT_COUNT=[current value of this sysfs attribute]
What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/usb3_lpm_permit
Date: November 2015
Contact: Lu Baolu <[email protected]>
Description:
Some USB3.0 devices are not friendly to USB3 LPM. usb3_lpm_permit
attribute allows enabling/disabling usb3 lpm of a port. It takes
effect both before and after a usb device is enumerated. Supported
values are "0" if both u1 and u2 are NOT permitted, "u1" if only u1
is permitted, "u2" if only u2 is permitted, "u1_u2" if both u1 and
u2 are permitted.
What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/connector
Date: December 2021
Contact: Heikki Krogerus <[email protected]>
Description:
Link to the USB Type-C connector when available. This link is
only created when USB Type-C Connector Class is enabled, and
only if the system firmware is capable of describing the
connection between a port and its connector.
What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/disable
Date: June 2022
Contact: Michael Grzeschik <[email protected]>
Description:
This file controls the state of a USB port, including
Vbus power output (but only on hubs that support
power switching -- most hubs don't support it). If
a port is disabled, the port is unusable: Devices
attached to the port will not be detected, initialized,
or enumerated.
What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/early_stop
Date: Sep 2022
Contact: Ray Chi <[email protected]>
Description:
Some USB hosts have some watchdog mechanisms so that the device
may enter ramdump if it takes a long time during port initialization.
This attribute allows each port just has two attempts so that the
port initialization will be failed quickly. In addition, if a port
which is marked with early_stop has failed to initialize, it will ignore
all future connections until this attribute is clear.
What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/state
Date: June 2023
Contact: Roy Luo <[email protected]>
Description:
Indicates current state of the USB device attached to the port.
Valid states are: 'not-attached', 'attached', 'powered',
'reconnecting', 'unauthenticated', 'default', 'addressed',
'configured', and 'suspended'. This file supports poll() to
monitor the state change from user space.
What: /sys/bus/usb/devices/.../power/usb2_lpm_l1_timeout
Date: May 2013
Contact: Mathias Nyman <[email protected]>
Description:
USB 2.0 devices may support hardware link power management (LPM)
L1 sleep state. The usb2_lpm_l1_timeout attribute allows
tuning the timeout for L1 inactivity timer (LPM timer), e.g.
needed inactivity time before host requests the device to go to L1 sleep.
Useful for power management tuning.
Supported values are 0 - 65535 microseconds.
What: /sys/bus/usb/devices/.../power/usb2_lpm_besl
Date: May 2013
Contact: Mathias Nyman <[email protected]>
Description:
USB 2.0 devices that support hardware link power management (LPM)
L1 sleep state now use a best effort service latency value (BESL) to
indicate the best effort to resumption of service to the device after the
initiation of the resume event.
If the device does not have a preferred besl value then the host can select
one instead. This usb2_lpm_besl attribute allows to tune the host selected besl
value in order to tune power saving and service latency.
Supported values are 0 - 15.
More information on how besl values map to microseconds can be found in
USB 2.0 ECN Errata for Link Power Management, section 4.10)
What: /sys/bus/usb/devices/.../rx_lanes
Date: March 2018
Contact: Mathias Nyman <[email protected]>
Description:
Number of rx lanes the device is using.
USB 3.2 adds Dual-lane support, 2 rx and 2 tx lanes over Type-C.
Inter-Chip SSIC devices support asymmetric lanes up to 4 lanes per
direction. Devices before USB 3.2 are single lane (rx_lanes = 1)
What: /sys/bus/usb/devices/.../tx_lanes
Date: March 2018
Contact: Mathias Nyman <[email protected]>
Description:
Number of tx lanes the device is using.
USB 3.2 adds Dual-lane support, 2 rx and 2 tx -lanes over Type-C.
Inter-Chip SSIC devices support asymmetric lanes up to 4 lanes per
direction. Devices before USB 3.2 are single lane (tx_lanes = 1)
What: /sys/bus/usb/devices/.../typec
Date: November 2023
Contact: Heikki Krogerus <[email protected]>
Description:
Symlink to the USB Type-C partner device. USB Type-C partner
represents the component that communicates over the
Configuration Channel (CC signal on USB Type-C connectors and
cables) with the local port.
What: /sys/bus/usb/devices/usbX/bAlternateSetting
Description:
The current interface alternate setting number, in decimal.
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bcdDevice
Description:
The device's release number, in hexadecimal.
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bConfigurationValue
Description:
While a USB device typically have just one configuration
setting, some devices support multiple configurations.
This value shows the current configuration, in decimal.
Changing its value will change the device's configuration
to another setting.
The number of configurations supported by a device is at:
/sys/bus/usb/devices/usbX/bNumConfigurations
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bDeviceClass
Description:
Class code of the device, in hexadecimal.
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bDeviceProtocol
Description:
Protocol code of the device, in hexadecimal.
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bDeviceSubClass
Description:
Subclass code of the device, in hexadecimal.
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bInterfaceClass
Description:
Class code of the interface, in hexadecimal.
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bInterfaceNumber
Description:
Interface number, in hexadecimal.
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bInterfaceProtocol
Description:
Protocol code of the interface, in hexadecimal.
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bInterfaceSubClass
Description:
Subclass code of the interface, in hexadecimal.
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bmAttributes
Description:
Attributes of the current configuration, in hexadecimal.
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bMaxPacketSize0
Description:
Maximum endpoint 0 packet size, in decimal.
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bMaxPower
Description:
Maximum power consumption of the active configuration of
the device, in miliamperes.
What: /sys/bus/usb/devices/usbX/bNumConfigurations
Description:
Number of the possible configurations of the device, in
decimal. The current configuration is controlled via:
/sys/bus/usb/devices/usbX/bConfigurationValue
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bNumEndpoints
Description:
Number of endpoints used on this interface, in hexadecimal.
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/bNumInterfaces
Description:
Number of interfaces on this device, in decimal.
What: /sys/bus/usb/devices/usbX/busnum
Description:
Number of the bus.
What: /sys/bus/usb/devices/usbX/configuration
Description:
Contents of the string descriptor associated with the
current configuration. It may include the firmware version
of a device and/or its serial number.
What: /sys/bus/usb/devices/usbX/descriptors
Description:
Contains the interface descriptors, in binary.
What: /sys/bus/usb/devices/usbX/bos_descriptors
Date: March 2024
Contact: Elbert Mai <[email protected]>
Description:
Binary file containing the cached binary device object store (BOS)
of the device. This consists of the BOS descriptor followed by the
set of device capability descriptors. All descriptors read from
this file are in bus-endian format. Note that the kernel will not
request the BOS from a device if its bcdUSB is less than 0x0201.
What: /sys/bus/usb/devices/usbX/idProduct
Description:
Product ID, in hexadecimal.
What: /sys/bus/usb/devices/usbX/idVendor
Description:
Vendor ID, in hexadecimal.
What: /sys/bus/usb/devices/usbX/devspec
Description:
Displays the Device Tree Open Firmware node of the interface.
What: /sys/bus/usb/devices/usbX/avoid_reset_quirk
Description:
Most devices have this set to zero.
If the value is 1, enable a USB quirk that prevents this
device to use reset.
(read/write)
What: /sys/bus/usb/devices/usbX/devnum
Description:
USB interface device number, in decimal.
What: /sys/bus/usb/devices/usbX/devpath
Description:
String containing the USB interface device path.
What: /sys/bus/usb/devices/usbX/manufacturer
Description:
Vendor specific string containing the name of the
manufacturer of the device.
What: /sys/bus/usb/devices/usbX/maxchild
Description:
Number of ports of an USB hub
What: /sys/bus/usb/devices/usbX/persist
Description:
Keeps the device even if it gets disconnected.
What: /sys/bus/usb/devices/usbX/product
Description:
Vendor specific string containing the name of the
device's product.
What: /sys/bus/usb/devices/usbX/speed
Description:
Shows the device's max speed, according to the USB version,
in Mbps.
Can be:
======= ====================
Unknown speed unknown
1.5 Low speed
15 Full speed
480 High Speed
5000 Super Speed
10000 Super Speed+
20000 Super Speed+ Gen 2x2
======= ====================
What: /sys/bus/usb/devices/usbX/supports_autosuspend
Description:
Returns 1 if the device doesn't support autosuspend.
Otherwise, returns 0.
What: /sys/bus/usb/devices/usbX/urbnum
Description:
Number of URBs submitted for the whole device.
What: /sys/bus/usb/devices/usbX/version
Description:
String containing the USB device version, as encoded
at the BCD descriptor.
What: /sys/bus/usb/devices/usbX/power/autosuspend
Description:
Time in milliseconds for the device to autosuspend. If the
value is negative, then autosuspend is prevented.
(read/write)
What: /sys/bus/usb/devices/usbX/power/active_duration
Description:
The total time the device has not been suspended.
What: /sys/bus/usb/devices/usbX/power/connected_duration
Description:
The total time (in msec) that the device has been connected.
What: /sys/bus/usb/devices/usbX/power/level
Description:
What: /sys/bus/usb/devices/usbX/ep_<N>/bEndpointAddress
Description:
The address of the endpoint described by this descriptor,
in hexadecimal. The endpoint direction on this bitmapped field
is also shown at:
/sys/bus/usb/devices/usbX/ep_<N>/direction
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/ep_<N>/bInterval
Description:
The interval of the endpoint as described on its descriptor,
in hexadecimal. The actual interval depends on the version
of the USB. Also shown in time units at
/sys/bus/usb/devices/usbX/ep_<N>/interval.
What: /sys/bus/usb/devices/usbX/ep_<N>/bLength
Description:
Number of bytes of the endpoint descriptor, in hexadecimal.
What: /sys/bus/usb/devices/usbX/ep_<N>/bmAttributes
Description:
Attributes which apply to the endpoint as described on its
descriptor, in hexadecimal. The endpoint type on this
bitmapped field is also shown at:
/sys/bus/usb/devices/usbX/ep_<N>/type
See USB specs for its meaning.
What: /sys/bus/usb/devices/usbX/ep_<N>/direction
Description:
Direction of the endpoint. Can be:
- both (on control endpoints)
- in
- out
What: /sys/bus/usb/devices/usbX/ep_<N>/interval
Description:
Interval for polling endpoint for data transfers, in
milisseconds or microseconds.
What: /sys/bus/usb/devices/usbX/ep_<N>/type
Description:
Descriptor type. Can be:
- Control
- Isoc
- Bulk
- Interrupt
- unknown
What: /sys/bus/usb/devices/usbX/ep_<N>/wMaxPacketSize
Description:
Maximum packet size this endpoint is capable of
sending or receiving, in hexadecimal.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
개별 USB interface authorization
1-13| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/<INTERFACE>/authorized |
| Date | 2015년 8월 |
| Description | 전체 장치를 대상으로 하는 device authorization과 달리 개별 interface를 authorize(1)하거나 deauthorize(0)할 수 있습니다. Deauthorize한 interface를 다시 authorize할 때는 INTERFACE를 /sys/bus/usb/drivers_probe에 써서 driver probing을 수동으로 시작해야 합니다. 이 방식은 여러 interface가 필요한 driver의 부작용을 피할 수 있게 합니다. Deauthorize된 interface는 probe하거나 claim할 수 없습니다. |
USB interface 기본 authorization 값
15-20| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/interface_authorized_default |
| Date | 2015년 8월 |
| Description | Interface를 기본적으로 authorize할지 결정하는 값으로 사용합니다. 값은 1 또는 0이며 기본값은 1입니다. |
USB device authorization
22-29| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/device/.../authorized |
| Date | 2008년 7월 |
| KernelVersion | 2.6.26 |
| Contact | David Vrabel <[email protected]> |
| Description | Authorize된 장치는 device driver가 사용할 수 있지만 authorize되지 않은 장치는 사용할 수 없습니다. 유선 USB 장치는 기본적으로 authorize됩니다. |
USB driver의 동적 device ID 추가
31-65| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/drivers/.../new_id |
| Date | 2011년 10월 |
| Contact | [email protected] |
| Description | 이 file에 device ID를 쓰면 USB device driver에 새 device ID를 동적으로 추가하려고 시도합니다. 이를 통해 compile 시점의 driver static device ID 지원 table에 포함되지 않은 hardware도 지원할 수 있습니다. Device ID 형식은 idVendor idProduct bInterfaceClass RefIdVendor RefIdProduct입니다. Vendor ID와 device ID는 필수이고 나머지는 선택 사항입니다. Ref* tuple을 사용하면 새 장치가 reference 장치와 같은 driver_data를 사용하도록 driver에 알릴 수 있습니다. ID 추가에 성공하면 driver는 장치를 probe하고 bind하려고 시도합니다. 읽으면 동적으로 추가한 모든 device ID를 같은 형식으로 한 줄에 하나씩 나열합니다. Sysfs 제한 때문에 목록은 PAGE_SIZE byte에서 잘립니다. |
# 새 device ID 8086:10f5 추가
# echo "8086 10f5" > /sys/bus/usb/drivers/foo/new_id
# 이미 지원하는 0458:704c의 driver_data를 사용해 0458:7045 추가
# echo "0458 7045 0 0458 704c" > /sys/bus/usb/drivers/foo/new_id
# cat /sys/bus/usb/drivers/foo/new_id
8086 10f5
dead beef 06
f00d cafe
앞의 두 필드는 필수이며 interface class와 reference tuple은 선택 사항입니다.
USB serial driver의 동적 device ID 추가
67-74| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb-serial/drivers/.../new_id |
| Date | 2011년 10월 |
| Contact | [email protected] |
| Description | Serial USB driver에서는 이 속성이 sysfs의 추가 bus directory인 usb-serial 아래에 나타납니다. 이 차이를 제외하면 /sys/bus/usb/drivers/.../new_id 항목의 모든 설명이 그대로 적용됩니다. |
USB driver의 동적 device ID 제거
76-91| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/drivers/.../remove_id |
| Date | 2009년 11월 |
| Contact | CHENG Renquan <[email protected]> |
| Description | 이 file에 device ID를 쓰면 new_id sysfs 항목을 통해 동적으로 추가한 ID를 제거합니다. Device ID 형식은 idVendor idProduct입니다. ID를 성공적으로 제거하면 driver는 더 이상 해당 장치를 지원하지 않으므로 automatic probing이 그 장치를 driver와 match하지 않도록 보장할 때 유용합니다. 읽으면 /sys/bus/usb/drivers/.../new_id를 읽을 때와 똑같이 동적으로 추가된 device ID를 나열합니다. |
# echo "046d c315" > /sys/bus/usb/drivers/foo/remove_id
USB 2.0 hardware LPM 제어
93-105| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../power/usb2_hardware_lpm |
| Date | 2011년 9월 |
| Contact | Andiry Xu <[email protected]> |
| Description | CONFIG_PM이 설정되어 있고 USB 2.0 LPM-capable 장치를 link PM을 지원하는 xHCI host에 연결하면 LPM test를 수행합니다. Test를 통과하고 host가 xHCI 1.0 기능인 USB2 hardware LPM을 지원하면 장치에 USB2 hardware LPM을 활성화하고 USB device directory에 power/usb2_hardware_lpm file을 만듭니다. File은 장치의 USB2 hardware LPM 활성 여부를 나타내는 enable 또는 disable 문자열을 담습니다. y/Y/1 또는 n/N/0을 써서 이 기능을 활성화하거나 비활성화할 수 있습니다. |
USB 3.0 hardware LPM U1·U2 상태
107-121| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../power/usb3_hardware_lpm_u1 |
| What | /sys/bus/usb/devices/.../power/usb3_hardware_lpm_u2 |
| Date | 2015년 11월 |
| Contact | Kevin Strasser <[email protected]>; Lu Baolu <[email protected]> |
| Description | CONFIG_PM이 설정되어 있고 USB 3.0 LPM-capable 장치를 link PM을 지원하는 xHCI host에 연결하면 BOS descriptor에 U1·U2 exit latency가 설정되어 있는지 확인합니다. 확인을 통과하고 host가 USB3 hardware LPM을 지원하면 장치에 이를 활성화하고 USB device directory에 power/usb3_hardware_lpm_u1과 power/usb3_hardware_lpm_u2를 만듭니다. 각 file은 장치의 USB3 hardware LPM U1 또는 U2 활성 여부를 나타내는 enable 또는 disable 문자열을 담습니다. |
USB Latency Tolerance Messaging 지원
123-133| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../ltm_capable |
| Date | 2012년 7월 |
| Contact | Sarah Sharp <[email protected]> |
| Description | USB 3.0 장치는 선택적으로 Latency Tolerance Messaging(LTM)을 지원할 수 있으며 SuperSpeed BOS descriptor의 bmAttributes bit로 지원 여부를 표시합니다. 그 bit가 설정되어 있으면 ltm_capable은 "yes", 지원하지 않으면 "no"를 읽습니다. 이 file은 모든 USB 속도의 장치에 존재하며 USB 1.1·USB 2.0 장치에서는 항상 "no"를 읽습니다. |
USB receiver 기반 무선 연결 상태
135-150| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/<INTERFACE>/wireless_status |
| Date | 2023년 2월 |
| Contact | Bastien Nocera <[email protected]> |
| Description | 일부 USB 장치는 USB receiver dongle과 proprietary protocol을 사용해 무선으로 통신합니다. 이 속성으로 userspace는 장치가 receiver dongle에 연결되어 있는지 알 수 있습니다. 예를 들어 battery 표시 여부, output 목록의 headset 표시 여부, 유일한 wireless keyboard가 꺼졌을 때 on-screen keyboard 표시 여부를 결정할 수 있습니다. 이 속성은 WWAN, WLAN/Wi-Fi, Bluetooth 등에 제공되는 protocol-specific status를 대체하는 용도로 사용해서는 안 됩니다. 장치가 무선 장치용 receiver dongle을 사용하지 않으면 이 속성은 존재하지 않습니다. |
USB hub port sysfs directory
152-157| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../<hub_interface>/port<X> |
| Date | 2012년 8월 |
| Contact | Lan Tianyu <[email protected]> |
| Description | /sys/bus/usb/devices/.../<hub_interface>/port<X>는 USB port device의 sysfs directory입니다. |
USB port 연결 유형
159-166| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../<hub_interface>/port<X>/connect_type |
| Date | 2013년 1월 |
| Contact | Lan Tianyu <[email protected]> |
| Description | 일부 platform은 ACPI를 통해 USB port connect type을 제공합니다. 이 속성은 해당 정보를 userspace에 노출합니다. 정보를 사용할 수 있으면 "hotplug", "hardwired", "not used" 중 하나를 읽고, 그렇지 않으면 "unknown"을 읽습니다. |
USB port firmware location
168-176| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../<hub_interface>/port<X>/location |
| Date | 2018년 10월 |
| Contact | Bjørn Mork <[email protected]> |
| Description | 일부 platform은 firmware를 통해 USB port의 물리적 위치를 제공합니다. Kernel은 이를 사용해 같은 물리 connector에 mapping되는 logical port들을 짝지으며, 이 속성은 raw location 값을 16진수 정수로 노출합니다. |
USB port enumeration quirk bit-field
178-200| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../<hub_interface>/port<X>/quirks |
| Date | 2018년 5월 |
| Contact | Nicolas Boichat <[email protected]> |
| Description | 연결될 장치를 미리 알고 그 장치가 규격을 잘 지키는 pogo pin 같은 비표준 USB port에서는 특정 port에 연결된 장치의 활성화 시간을 중요하게 볼 수 있습니다. 이 속성은 특정 port의 동작을 제어하는 bit-field입니다. |
각 bit는 enumeration reset 횟수 또는 TRSTRCY 대기 시간을 줄입니다.
USB port over-current 누적 횟수
202-217| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../<hub_interface>/port<X>/over_current_count |
| Date | 2018년 2월 |
| Contact | Richard Leitner <[email protected]> |
| Description | 대부분의 hub는 port의 over-current 상황을 감지해 kernel에 보고할 수 있습니다. 이 속성은 특정 port에서 발생한 over-current 횟수를 userspace에 노출합니다. File은 unsigned 32-bit 값을 담고 최댓값에 도달한 뒤 0으로 wrap합니다. Userspace는 poll()로 값의 변화를 감시할 수 있습니다. 값이 바뀔 때마다 해당 hub device는 아래 속성을 포함하는 udev event를 보냅니다. |
OVER_CURRENT_PORT=/sys/bus/usb/devices/.../<hub_interface>/port<X>
OVER_CURRENT_COUNT=[이 sysfs 속성의 현재 값]
USB 3.0 port LPM 허용 상태
219-228| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../<hub_interface>/port<X>/usb3_lpm_permit |
| Date | 2015년 11월 |
| Contact | Lu Baolu <[email protected]> |
| Description | 일부 USB 3.0 장치는 USB3 LPM과 잘 동작하지 않습니다. usb3_lpm_permit 속성으로 port의 USB3 LPM을 활성화하거나 비활성화할 수 있으며 USB device enumeration 전후 모두에 적용됩니다. |
U1과 U2 저전력 상태를 port 단위로 허용하는 조합입니다.
USB port와 Type-C connector 연결
230-237| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../<hub_interface>/port<X>/connector |
| Date | 2021년 12월 |
| Contact | Heikki Krogerus <[email protected]> |
| Description | 사용할 수 있을 때 USB Type-C connector로 향하는 link입니다. USB Type-C Connector Class가 활성화되어 있고 system firmware가 port와 connector 사이의 연결을 설명할 수 있을 때만 생성됩니다. |
USB port 비활성화
239-248| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../<hub_interface>/port<X>/disable |
| Date | 2022년 6월 |
| Contact | Michael Grzeschik <[email protected]> |
| Description | 이 file은 Vbus power 출력을 포함한 USB port 상태를 제어합니다. 단, Vbus 제어는 power switching을 지원하는 hub에서만 가능하며 대부분의 hub는 이를 지원하지 않습니다. Port를 비활성화하면 port를 사용할 수 없고 연결된 장치를 detect, initialize, enumerate하지 않습니다. |
USB port initialization 조기 중단
250-259| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../<hub_interface>/port<X>/early_stop |
| Date | 2022년 9월 |
| Contact | Ray Chi <[email protected]> |
| Description | 일부 USB host에는 port initialization이 오래 걸리면 장치가 ramdump에 진입할 수 있는 watchdog mechanism이 있습니다. 이 속성을 설정하면 각 port가 두 번만 시도해 port initialization을 빠르게 실패시킬 수 있습니다. early_stop으로 표시된 port의 initialization이 실패하면 이 속성을 clear할 때까지 이후의 모든 connection을 무시합니다. |
USB port 연결 장치 상태
261-269| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../<hub_interface>/port<X>/state |
| Date | 2023년 6월 |
| Contact | Roy Luo <[email protected]> |
| Description | Port에 연결된 USB device의 현재 상태를 나타냅니다. 이 file은 userspace에서 상태 변화를 감시할 수 있도록 poll()을 지원합니다. |
Port state attribute가 반환할 수 있는 유효한 문자열입니다.
USB 2.0 LPM L1 inactivity timeout
271-280| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../power/usb2_lpm_l1_timeout |
| Date | 2013년 5월 |
| Contact | Mathias Nyman <[email protected]> |
| Description | USB 2.0 장치는 hardware link power management(LPM)의 L1 sleep state를 지원할 수 있습니다. usb2_lpm_l1_timeout은 L1 inactivity timer, 즉 host가 장치에 L1 sleep 진입을 요청하기 전에 필요한 비활성 시간을 조정하며 power management tuning에 유용합니다. 지원 값은 0-65535 microseconds입니다. |
USB 2.0 LPM BESL 값
282-296| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../power/usb2_lpm_besl |
| Date | 2013년 5월 |
| Contact | Mathias Nyman <[email protected]> |
| Description | Hardware LPM L1 sleep state를 지원하는 USB 2.0 장치는 이제 best effort service latency(BESL) 값으로 resume event 시작 뒤 장치 service 재개를 위한 best effort를 표시합니다. 장치에 선호 BESL 값이 없으면 host가 값을 선택할 수 있습니다. usb2_lpm_besl 속성은 host가 선택한 BESL 값을 조정해 power saving과 service latency를 tuning할 수 있게 합니다. 지원 값은 0-15입니다. BESL 값과 microseconds의 mapping은 USB 2.0 ECN Errata for Link Power Management의 section 4.10을 참조합니다. |
USB device RX lane 수
298-305| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../rx_lanes |
| Date | 2018년 3월 |
| Contact | Mathias Nyman <[email protected]> |
| Description | 장치가 사용하는 RX lane 수입니다. USB 3.2는 Type-C에서 RX 2개와 TX 2개를 사용하는 dual-lane을 추가했습니다. Inter-Chip SSIC 장치는 방향마다 최대 4개의 asymmetric lane을 지원합니다. USB 3.2 이전 장치는 single-lane이므로 rx_lanes = 1입니다. |
USB device TX lane 수
307-314| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../tx_lanes |
| Date | 2018년 3월 |
| Contact | Mathias Nyman <[email protected]> |
| Description | 장치가 사용하는 TX lane 수입니다. USB 3.2는 Type-C에서 RX 2개와 TX 2개를 사용하는 dual-lane을 추가했습니다. Inter-Chip SSIC 장치는 방향마다 최대 4개의 asymmetric lane을 지원합니다. USB 3.2 이전 장치는 single-lane이므로 tx_lanes = 1입니다. |
USB device의 Type-C partner link
316-323| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/.../typec |
| Date | 2023년 11월 |
| Contact | Heikki Krogerus <[email protected]> |
| Description | USB Type-C partner device로 향하는 symlink입니다. USB Type-C partner는 USB Type-C connector와 cable의 Configuration Channel(CC signal)을 통해 local port와 통신하는 component를 나타냅니다. |
USB interface alternate setting
325-329| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bAlternateSetting |
| Date | 원문에 명시되지 않음 |
| Description | 현재 interface alternate setting 번호를 10진수로 표시합니다. 의미는 USB specification을 참조합니다. |
USB device release 번호
331-335| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bcdDevice |
| Date | 원문에 명시되지 않음 |
| Description | 장치의 release 번호를 16진수로 표시합니다. 의미는 USB specification을 참조합니다. |
USB device 현재 configuration
337-351| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bConfigurationValue |
| Date | 원문에 명시되지 않음 |
| Description | USB device는 보통 configuration setting이 하나뿐이지만 여러 configuration을 지원하는 장치도 있습니다. 이 값은 현재 configuration을 10진수로 표시하며 값을 변경하면 장치 configuration이 다른 setting으로 바뀝니다. 장치가 지원하는 configuration 수는 /sys/bus/usb/devices/usbX/bNumConfigurations에서 확인합니다. 의미는 USB specification을 참조합니다. |
USB device class code
353-357| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bDeviceClass |
| Date | 원문에 명시되지 않음 |
| Description | 장치의 class code를 16진수로 표시합니다. 의미는 USB specification을 참조합니다. |
USB device protocol code
359-363| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bDeviceProtocol |
| Date | 원문에 명시되지 않음 |
| Description | 장치의 protocol code를 16진수로 표시합니다. 의미는 USB specification을 참조합니다. |
USB device subclass code
365-369| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bDeviceSubClass |
| Date | 원문에 명시되지 않음 |
| Description | 장치의 subclass code를 16진수로 표시합니다. 의미는 USB specification을 참조합니다. |
USB interface class code
371-375| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bInterfaceClass |
| Date | 원문에 명시되지 않음 |
| Description | Interface의 class code를 16진수로 표시합니다. 의미는 USB specification을 참조합니다. |
USB interface 번호
377-381| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bInterfaceNumber |
| Date | 원문에 명시되지 않음 |
| Description | Interface 번호를 16진수로 표시합니다. 의미는 USB specification을 참조합니다. |
USB interface protocol code
383-387| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bInterfaceProtocol |
| Date | 원문에 명시되지 않음 |
| Description | Interface의 protocol code를 16진수로 표시합니다. 의미는 USB specification을 참조합니다. |
USB interface subclass code
389-393| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bInterfaceSubClass |
| Date | 원문에 명시되지 않음 |
| Description | Interface의 subclass code를 16진수로 표시합니다. 의미는 USB specification을 참조합니다. |
USB configuration attribute bit-field
395-399| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bmAttributes |
| Date | 원문에 명시되지 않음 |
| Description | 현재 configuration의 attribute를 16진수로 표시합니다. 의미는 USB specification을 참조합니다. |
USB endpoint 0 최대 packet 크기
401-405| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bMaxPacketSize0 |
| Date | 원문에 명시되지 않음 |
| Description | Endpoint 0의 최대 packet 크기를 10진수로 표시합니다. 의미는 USB specification을 참조합니다. |
USB active configuration 최대 전력
407-410| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bMaxPower |
| Date | 원문에 명시되지 않음 |
| Description | 장치에서 활성 상태인 configuration의 최대 전력 소비량을 milliampere 단위로 표시합니다. |
USB device configuration 수
412-419| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bNumConfigurations |
| Date | 원문에 명시되지 않음 |
| Description | 장치가 사용할 수 있는 configuration 수를 10진수로 표시합니다. 현재 configuration은 /sys/bus/usb/devices/usbX/bConfigurationValue로 제어합니다. 의미는 USB specification을 참조합니다. |
USB interface endpoint 수
421-425| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bNumEndpoints |
| Date | 원문에 명시되지 않음 |
| Description | 이 interface에서 사용하는 endpoint 수를 16진수로 표시합니다. 의미는 USB specification을 참조합니다. |
USB device interface 수
427-429| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bNumInterfaces |
| Date | 원문에 명시되지 않음 |
| Description | 이 장치의 interface 수를 10진수로 표시합니다. |
USB bus 번호
431-433| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/busnum |
| Date | 원문에 명시되지 않음 |
| Description | Bus 번호를 표시합니다. |
USB configuration string descriptor
435-439| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/configuration |
| Date | 원문에 명시되지 않음 |
| Description | 현재 configuration과 연결된 string descriptor의 내용을 표시합니다. 장치 firmware version 또는 serial number가 포함될 수 있습니다. |
USB interface descriptor binary
441-443| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/descriptors |
| Date | 원문에 명시되지 않음 |
| Description | Interface descriptor를 binary 형식으로 담습니다. |
USB BOS descriptor binary
445-453| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/bos_descriptors |
| Date | 2024년 3월 |
| Contact | Elbert Mai <[email protected]> |
| Description | 장치에서 cache한 binary device object store(BOS)를 담는 binary file입니다. BOS descriptor 뒤에 device capability descriptor 집합이 이어집니다. 이 file에서 읽는 모든 descriptor는 bus-endian 형식입니다. 장치의 bcdUSB가 0x0201보다 작으면 kernel은 장치에 BOS를 요청하지 않습니다. |
USB product ID
455-457| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/idProduct |
| Date | 원문에 명시되지 않음 |
| Description | Product ID를 16진수로 표시합니다. |
USB vendor ID
459-461| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/idVendor |
| Date | 원문에 명시되지 않음 |
| Description | Vendor ID를 16진수로 표시합니다. |
USB interface Device Tree node
463-465| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/devspec |
| Date | 원문에 명시되지 않음 |
| Description | Interface의 Device Tree Open Firmware node를 표시합니다. |
USB device reset 방지 quirk
467-474| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/avoid_reset_quirk |
| Date | 원문에 명시되지 않음 |
| Description | 대부분의 장치는 이 값이 0입니다. 값이 1이면 이 장치가 reset을 사용하지 못하게 하는 USB quirk를 활성화합니다. 읽기와 쓰기를 모두 지원합니다. |
USB interface device 번호
476-478| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/devnum |
| Date | 원문에 명시되지 않음 |
| Description | USB interface device 번호를 10진수로 표시합니다. |
USB interface device path
480-482| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/devpath |
| Date | 원문에 명시되지 않음 |
| Description | USB interface device path를 담은 문자열입니다. |
USB manufacturer 문자열
484-487| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/manufacturer |
| Date | 원문에 명시되지 않음 |
| Description | 장치 manufacturer 이름을 담은 vendor-specific 문자열입니다. |
USB hub port 수
489-491| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/maxchild |
| Date | 원문에 명시되지 않음 |
| Description | USB hub의 port 수입니다. |
USB disconnect 시 device 유지
493-495| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/persist |
| Date | 원문에 명시되지 않음 |
| Description | 장치의 연결이 끊겨도 device를 유지합니다. |
USB product 문자열
497-500| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/product |
| Date | 원문에 명시되지 않음 |
| Description | 장치 product 이름을 담은 vendor-specific 문자열입니다. |
USB device 최대 속도
502-516| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/speed |
| Date | 원문에 명시되지 않음 |
| Description | USB version에 따른 장치 최대 속도를 Mbps 단위로 표시합니다. |
speed attribute의 값과 원문이 정의한 USB 속도 이름입니다.
USB autosuspend 지원 표시
518-521| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/supports_autosuspend |
| Date | 원문에 명시되지 않음 |
| Description | 장치가 autosuspend를 지원하지 않으면 1을 반환하고, 그 밖의 경우 0을 반환합니다. |
USB device 전체 URB 제출 수
523-525| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/urbnum |
| Date | 원문에 명시되지 않음 |
| Description | 장치 전체에 제출된 URB 수입니다. |
USB device version
527-530| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/version |
| Date | 원문에 명시되지 않음 |
| Description | BCD descriptor에 encoding된 USB device version을 담은 문자열입니다. |
USB autosuspend 지연 시간
532-537| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/power/autosuspend |
| Date | 원문에 명시되지 않음 |
| Description | 장치가 autosuspend되기까지의 시간을 millisecond 단위로 지정합니다. 값이 음수이면 autosuspend를 막습니다. 읽기와 쓰기를 모두 지원합니다. |
USB device active 누적 시간
539-541| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/power/active_duration |
| Date | 원문에 명시되지 않음 |
| Description | 장치가 suspend되지 않은 상태였던 전체 시간입니다. |
USB device connected 누적 시간
543-545| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/power/connected_duration |
| Date | 원문에 명시되지 않음 |
| Description | 장치가 연결되어 있던 전체 시간을 millisecond 단위로 표시합니다. |
USB power level
547-548| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/power/level |
| Date | 원문에 명시되지 않음 |
| Description | 원문의 Description 항목은 비어 있습니다. |
USB endpoint address
550-558| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/ep_<N>/bEndpointAddress |
| Date | 원문에 명시되지 않음 |
| Description | 이 descriptor가 설명하는 endpoint 주소를 16진수로 표시합니다. 이 bitmapped field에 포함된 endpoint 방향은 /sys/bus/usb/devices/usbX/ep_<N>/direction에도 표시됩니다. 의미는 USB specification을 참조합니다. |
USB endpoint descriptor interval
560-565| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/ep_<N>/bInterval |
| Date | 원문에 명시되지 않음 |
| Description | Descriptor에 기술된 endpoint interval을 16진수로 표시합니다. 실제 interval은 USB version에 따라 달라지며 /sys/bus/usb/devices/usbX/ep_<N>/interval에도 시간 단위로 표시됩니다. |
USB endpoint descriptor 길이
567-569| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/ep_<N>/bLength |
| Date | 원문에 명시되지 않음 |
| Description | Endpoint descriptor의 byte 수를 16진수로 표시합니다. |
USB endpoint attribute bit-field
571-579| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/ep_<N>/bmAttributes |
| Date | 원문에 명시되지 않음 |
| Description | Descriptor에 기술된 endpoint에 적용되는 attribute를 16진수로 표시합니다. 이 bitmapped field의 endpoint type은 /sys/bus/usb/devices/usbX/ep_<N>/type에도 표시됩니다. 의미는 USB specification을 참조합니다. |
USB endpoint 방향
581-587| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/ep_<N>/direction |
| Date | 원문에 명시되지 않음 |
| Description | Endpoint 방향을 표시합니다. |
Control endpoint는 양방향이며 나머지는 input 또는 output 방향입니다.
USB endpoint polling interval
589-592| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/ep_<N>/interval |
| Date | 원문에 명시되지 않음 |
| Description | Data transfer를 위해 endpoint를 polling하는 interval을 millisecond 또는 microsecond 단위로 표시합니다. |
USB endpoint descriptor type
594-602| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/ep_<N>/type |
| Date | 원문에 명시되지 않음 |
| Description | Descriptor type을 표시합니다. |
Endpoint transfer type 또는 알 수 없는 값을 나타냅니다.
USB endpoint 최대 packet 크기
604-607| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/usbX/ep_<N>/wMaxPacketSize |
| Date | 원문에 명시되지 않음 |
| Description | 이 endpoint가 보내거나 받을 수 있는 최대 packet 크기를 16진수로 표시합니다. |
Authorization, dynamic IDs, and link power management
sysfs-bus-usb:1-150개별 interface·device authorization, driver의 new_id/remove_id, USB 2.0·3.0 LPM, LTM 및 receiver 기반 무선 연결 상태를 정의합니다.