요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/quirks
2
Date: November 2011
3
Contact: Benjamin Tissoires <[email protected]>
4
Description: The integer value of this attribute corresponds to the
5
quirks actually in place to handle the device's protocol.
6
When read, this attribute returns the current settings (see
7
MT_QUIRKS_* in hid-multitouch.c).
8
When written this attribute change on the fly the quirks, then
9
the protocol to handle the device.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Runtime multitouch protocol quirks
1-9| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/quirks |
| Date | 2011년 11월 |
| Contact | Benjamin Tissoires <[email protected]> |
| Description | Integer value는 device protocol을 처리하기 위해 실제 적용 중인 quirks에 대응합니다. Read하면 current settings를 반환하며 hid-multitouch.c의 MT_QUIRKS_*를 참조할 수 있습니다. Write하면 quirks와 그에 따른 device protocol handling을 runtime에 즉시 변경합니다. |
Read current integer quirks→Map bits to MT_QUIRKS_*→Write a new quirks value→Protocol handling changes on the fly
동일한 attribute가 current bitmask readback과 live protocol update를 제공합니다.
Runtime protocol quirks
sysfs-driver-hid-multitouch:1-9Integer attribute는 hid-multitouch.c의 MT_QUIRKS_* 설정을 나타내며 write하면 device protocol handling이 즉시 바뀝니다.