← Documents Documentation/input/devices/appletouch.rst GitHub 원문 ↗

Linux 6.18.37 · Input

Apple Touchpad Driver (appletouch)

Apple Aluminium PowerBook USB 터치패드의 기본 입력, Synaptics X11 설정과 열 잡음 디버깅을 설명합니다.

Source pathDocumentation/input/devices/appletouch.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약·해설

appletouch.rst:1-94

`appletouch`는 2005년형 Apple Aluminium PowerBook USB 터치패드를 Linux input 장치로 제공하며, 기본 `/dev/input/mice` 경로와 Synaptics X11 확장 기능을 모두 지원합니다. 센서 열 잡음에 자동 적응하지만 입력이 끊길 수 있어 디버그 수준별 샘플 추적과 모듈 재적재 절차를 알아 두어야 합니다.

문서 개요
항목내용
SourceDocumentation/input/devices/appletouch.rst
분량94 source lines
지원2005년 2월 이후·10월형 Aluminium PowerBook
기본 입력`/dev/input/mice`
확장 기능Synaptics X11 acceleration, scrolling, multi-finger tap
진단`debug=0/1/2`, module reload

지원 장치와 주요 설정·진단 대상을 요약합니다.

appletouch 운영 흐름
커널 드라이버 컴파일·모듈 적재새 Linux input 장치와 `/dev/input/mice` 확인필요하면 Synaptics X11 옵션 구성가속·스크롤·2/3손가락 탭 확인온도 변화 시 invalid sample 추적입력 중단 시 모듈 재적재

장치 적재부터 기능 구성과 잡음 진단까지의 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. include:: <isonum.txt>
2
3 ----------------------------------
4 Apple Touchpad Driver (appletouch)
5 ----------------------------------
6
7 :Copyright: |copy| 2005 Stelian Pop <[email protected]>
8
9 appletouch is a Linux kernel driver for the USB touchpad found on post
10 February 2005 and October 2005 Apple Aluminium Powerbooks.
11
12 This driver is derived from Johannes Berg's appletrackpad driver [#f1]_,
13 but it has been improved in some areas:
14
15 * appletouch is a full kernel driver, no userspace program is necessary
16 * appletouch can be interfaced with the synaptics X11 driver, in order
17 to have touchpad acceleration, scrolling, etc.
18
19 Credits go to Johannes Berg for reverse-engineering the touchpad protocol,
20 Frank Arnold for further improvements, and Alex Harper for some additional
21 information about the inner workings of the touchpad sensors. Michael
22 Hanselmann added support for the October 2005 models.
23
24 Usage
25 -----
26
27 In order to use the touchpad in the basic mode, compile the driver and load
28 the module. A new input device will be detected and you will be able to read
29 the mouse data from /dev/input/mice (using gpm, or X11).
30
31 In X11, you can configure the touchpad to use the synaptics X11 driver, which
32 will give additional functionalities, like acceleration, scrolling, 2 finger
33 tap for middle button mouse emulation, 3 finger tap for right button mouse
34 emulation, etc. In order to do this, make sure you're using a recent version of
35 the synaptics driver (tested with 0.14.2, available from [#f2]_), and configure
36 a new input device in your X11 configuration file (take a look below for an
37 example). For additional configuration, see the synaptics driver documentation::
38
39 Section "InputDevice"
40 Identifier "Synaptics Touchpad"
41 Driver "synaptics"
42 Option "SendCoreEvents" "true"
43 Option "Device" "/dev/input/mice"
44 Option "Protocol" "auto-dev"
45 Option "LeftEdge" "0"
46 Option "RightEdge" "850"
47 Option "TopEdge" "0"
48 Option "BottomEdge" "645"
49 Option "MinSpeed" "0.4"
50 Option "MaxSpeed" "1"
51 Option "AccelFactor" "0.02"
52 Option "FingerLow" "0"
53 Option "FingerHigh" "30"
54 Option "MaxTapMove" "20"
55 Option "MaxTapTime" "100"
56 Option "HorizScrollDelta" "0"
57 Option "VertScrollDelta" "30"
58 Option "SHMConfig" "on"
59 EndSection
60
61 Section "ServerLayout"
62 ...
63 InputDevice "Mouse"
64 InputDevice "Synaptics Touchpad"
65 ...
66 EndSection
67
68 Fuzz problems
69 -------------
70
71 The touchpad sensors are very sensitive to heat, and will generate a lot of
72 noise when the temperature changes. This is especially true when you power-on
73 the laptop for the first time.
74
75 The appletouch driver tries to handle this noise and auto adapt itself, but it
76 is not perfect. If finger movements are not recognized anymore, try reloading
77 the driver.
78
79 You can activate debugging using the 'debug' module parameter. A value of 0
80 deactivates any debugging, 1 activates tracing of invalid samples, 2 activates
81 full tracing (each sample is being traced)::
82
83 modprobe appletouch debug=1
84
85 or::
86
87 echo "1" > /sys/module/appletouch/parameters/debug
88
89
90 .. Links:
91
92 .. [#f1] http://johannes.sipsolutions.net/PowerBook/touchpad/
93
94 .. [#f2] `<http://web.archive.org/web/*/http://web.telia.com/~u89404340/touchpad/index.html>`_
95

3. 한국어 전문 번역

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

지원 PowerBook와 드라이버 계보

1-23

`appletouch`는 2005년 2월 이후 및 2005년 10월형 Apple Aluminium PowerBook에 탑재된 USB 터치패드를 위한 Linux 커널 드라이버입니다. 문서 저작권은 2005년 Stelian Pop에게 있습니다.

이 드라이버는 Johannes Berg의 `appletrackpad` 드라이버에서 파생되었지만 두 가지 면에서 개선되었습니다. 사용자 공간 프로그램이 필요 없는 완전한 커널 드라이버이며, Synaptics X11 드라이버와 연결해 가속·스크롤 같은 기능을 사용할 수 있습니다.

터치패드 프로토콜을 역공학한 Johannes Berg, 추가 개선을 한 Frank Arnold, 센서 내부 동작 정보를 제공한 Alex Harper에게 공로를 돌립니다. Michael Hanselmann은 2005년 10월 모델 지원을 추가했습니다.

appletouch 지원과 기여
항목내용
지원 장치2005년 2월 이후 Apple Aluminium PowerBook USB touchpad
추가 세대2005년 10월 모델
기반 드라이버Johannes Berg의 `appletrackpad`
커널 드라이버Stelian Pop의 `appletouch`
추가 개선Frank Arnold
센서 정보Alex Harper
2005년 10월 지원Michael Hanselmann

지원 장치 세대와 드라이버 기여 내용을 정리합니다.

appletouch 소프트웨어 계층
PowerBook USB touchpad 감지커널 `appletouch` 드라이버가 프로토콜 처리Linux input device 생성기본 모드는 `/dev/input/mice`로 전달선택적으로 Synaptics X11 드라이버가 가속·스크롤·탭 기능 제공

USB 터치패드 데이터가 기본 또는 확장 입력 기능으로 전달되는 경로입니다.

.. include:: <isonum.txt>

----------------------------------
Apple Touchpad Driver (appletouch)
----------------------------------

:Copyright: |copy| 2005 Stelian Pop <[email protected]>

appletouch is a Linux kernel driver for the USB touchpad found on post
February 2005 and October 2005 Apple Aluminium Powerbooks.

This driver is derived from Johannes Berg's appletrackpad driver [#f1]_,
but it has been improved in some areas:

        * appletouch is a full kernel driver, no userspace program is necessary
        * appletouch can be interfaced with the synaptics X11 driver, in order
          to have touchpad acceleration, scrolling, etc.

Credits go to Johannes Berg for reverse-engineering the touchpad protocol,
Frank Arnold for further improvements, and Alex Harper for some additional
information about the inner workings of the touchpad sensors. Michael
Hanselmann added support for the October 2005 models.

기본 입력과 Synaptics X11 구성

24-67

기본 모드에서는 드라이버를 컴파일하고 모듈을 적재하면 새 입력 장치가 감지됩니다. `gpm`이나 X11에서 `/dev/input/mice`를 읽어 마우스 데이터를 사용할 수 있습니다.

X11에서 최신 Synaptics 드라이버를 사용하면 가속, 스크롤, 두 손가락 탭의 가운데 버튼 에뮬레이션, 세 손가락 탭의 오른쪽 버튼 에뮬레이션 같은 추가 기능을 얻습니다. 문서는 0.14.2 버전으로 시험했으며 새 `InputDevice`를 X11 구성에 추가하는 예를 제공합니다.

Synaptics X11 예제 옵션
옵션용도
Identifier`Synaptics Touchpad`장치 식별 이름
Driver`synaptics`X11 입력 드라이버
SendCoreEvents`true`코어 입력 이벤트 전달
Device`/dev/input/mice`커널 입력 경로
Protocol`auto-dev`프로토콜 자동 선택
LeftEdge`0`왼쪽 좌표 경계
RightEdge`850`오른쪽 좌표 경계
TopEdge`0`위쪽 좌표 경계
BottomEdge`645`아래쪽 좌표 경계
MinSpeed`0.4`최소 포인터 속도
MaxSpeed`1`최대 포인터 속도
AccelFactor`0.02`가속 계수
FingerLow`0`손가락 해제 하한
FingerHigh`30`손가락 감지 상한
MaxTapMove`20`탭 허용 최대 이동
MaxTapTime`100`탭 허용 최대 시간
HorizScrollDelta`0`수평 스크롤 간격
VertScrollDelta`30`수직 스크롤 간격
SHMConfig`on`공유 메모리 구성 활성화

원문 `InputDevice` 예제의 모든 옵션과 값을 보존합니다.

`ServerLayout`에는 일반 `Mouse`와 `Synaptics Touchpad` 입력 장치를 모두 추가합니다. 더 세부적인 조정은 Synaptics 드라이버 문서를 참조해야 합니다.

기본 모드와 X11 확장 모드
항목기본 모드Synaptics X11 모드
입력 경로`/dev/input/mice`같은 장치를 Synaptics가 처리
사용자`gpm` 또는 일반 X11X11 Synaptics driver
가속일반 포인터 처리Min/MaxSpeed와 AccelFactor
스크롤기본 기능수직·수평 delta 구성
다중 손가락 탭없음2손가락 가운데, 3손가락 오른쪽 버튼

사용 경로와 제공 기능을 비교합니다.

X11 Synaptics 활성화
`appletouch` 모듈 적재와 입력 장치 확인최신 Synaptics X11 드라이버 설치`InputDevice`에 `/dev/input/mice`와 `auto-dev` 설정좌표 경계·속도·탭·스크롤 옵션 조정`ServerLayout`에 `Synaptics Touchpad` 추가X11을 재시작하고 가속·스크롤·다중 탭 확인

커널 입력 장치에서 확장 터치패드 기능까지의 설정 순서입니다.

Usage
-----

In order to use the touchpad in the basic mode, compile the driver and load
the module. A new input device will be detected and you will be able to read
the mouse data from /dev/input/mice (using gpm, or X11).

In X11, you can configure the touchpad to use the synaptics X11 driver, which
will give additional functionalities, like acceleration, scrolling, 2 finger
tap for middle button mouse emulation, 3 finger tap for right button mouse
emulation, etc. In order to do this, make sure you're using a recent version of
the synaptics driver (tested with 0.14.2, available from [#f2]_), and configure
a new input device in your X11 configuration file (take a look below for an
example). For additional configuration, see the synaptics driver documentation::

        Section "InputDevice"
                Identifier      "Synaptics Touchpad"
                Driver          "synaptics"
                Option          "SendCoreEvents"        "true"
                Option          "Device"                "/dev/input/mice"
                Option          "Protocol"              "auto-dev"
                Option                "LeftEdge"                "0"
                Option                "RightEdge"                "850"
                Option                "TopEdge"                "0"
                Option                "BottomEdge"                "645"
                Option                "MinSpeed"                "0.4"
                Option                "MaxSpeed"                "1"
                Option                "AccelFactor"                "0.02"
                Option                "FingerLow"                "0"
                Option                "FingerHigh"                "30"
                Option                "MaxTapMove"                "20"
                Option                "MaxTapTime"                "100"
                Option                "HorizScrollDelta"        "0"
                Option                "VertScrollDelta"        "30"
                Option                "SHMConfig"                "on"
        EndSection

        Section "ServerLayout"
                ...
                InputDevice        "Mouse"
                InputDevice        "Synaptics Touchpad"
        ...
        EndSection

열 잡음 자동 보정과 디버그 수준

68-94

터치패드 센서는 열에 매우 민감해 온도가 변할 때 많은 잡음을 만듭니다. 특히 노트북 전원을 처음 켠 직후 이 현상이 두드러집니다.

`appletouch` 드라이버는 잡음을 처리하고 자동으로 적응하려 하지만 완벽하지 않습니다. 손가락 움직임을 더 이상 인식하지 못하면 드라이버를 다시 적재해 볼 수 있습니다.

`debug` 모듈 매개변수로 디버깅을 활성화합니다. 값 0은 디버깅을 끄고, 1은 유효하지 않은 샘플만 추적하며, 2는 모든 샘플을 추적합니다.

modprobe appletouch debug=1
echo "1" > /sys/module/appletouch/parameters/debug
appletouch 디버그 수준
동작
0모든 디버깅 비활성화
1유효하지 않은 샘플 추적
2각 샘플을 포함한 전체 추적

모듈 매개변수 값에 따른 추적 범위입니다.

열 잡음 문제 대응
전원 투입 직후 또는 온도 변화 여부 확인손가락 이동 인식 상태 점검`debug=1`로 invalid sample 추적필요하면 `debug=2`로 전체 샘플 추적입력이 회복되지 않으면 `appletouch` 모듈 재적재안정화 후 debug 값을 0으로 복귀

온도 변화로 입력이 끊겼을 때의 진단 순서입니다.

원문 참고 링크
참조주소
Johannes Berg PowerBook touchpad`http://johannes.sipsolutions.net/PowerBook/touchpad/`
Synaptics driver archive`http://web.archive.org/web/*/http://web.telia.com/~u89404340/touchpad/index.html`

파생 드라이버와 Synaptics 드라이버 보관 페이지입니다.

Fuzz problems
-------------

The touchpad sensors are very sensitive to heat, and will generate a lot of
noise when the temperature changes. This is especially true when you power-on
the laptop for the first time.

The appletouch driver tries to handle this noise and auto adapt itself, but it
is not perfect. If finger movements are not recognized anymore, try reloading
the driver.

You can activate debugging using the 'debug' module parameter. A value of 0
deactivates any debugging, 1 activates tracing of invalid samples, 2 activates
full tracing (each sample is being traced)::

        modprobe appletouch debug=1

or::

        echo "1" > /sys/module/appletouch/parameters/debug


.. Links:

.. [#f1] http://johannes.sipsolutions.net/PowerBook/touchpad/

.. [#f2] `<http://web.archive.org/web/*/http://web.telia.com/~u89404340/touchpad/index.html>`_