요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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이 즉시 바뀝니다.