Debianのアップデート後にTrackPointを制御するのは難しいです。

Debianのアップデート後にTrackPointを制御するのは難しいです。

私はDebianでテストしていて、再起動後(私が信じているカーネルを含むいくつかのパッケージアップデートを含む約3週間の稼働時間以降)、しばらく前に微調整しました。ゴルファーがプッシュスティックマウスと呼ぶのです。ポインタの位置が非常に難しくなり、トラックポイントが中央の位置に戻ってもポインタがまだ動いているように感じます。ポインティングスティックを使用することはもう楽しいことではありません。複数の単語を選択するのに数秒しかかかりません。

単純なトラックポイントパフォーマンス構成設定ではないようです。トラックポイントの使いやすさを向上させるために、特定のしきい値を設定するか、特定のスマートアルゴリズムを無効にする(または目的のスマートアルゴリズムを有効にする)ことができます。

これはIBM / Lenovo外部USBキーボードです。 (ThinkPadノートブックではありませんが、まだ「トラックポイント」タグがないため、この質問に「thinkpad」タグを付けました。現在、評判ではキーボードは使用できません。)生成されます)。

私のxinputバージョン:

$ xinput --version
xinput version 1.6.0
XI version on server: 2.2

デバイスの小道具は次のとおりです。

$ xinput list-props 10
Device 'Synaptics Inc. Composite TouchPad / TrackPoint':
        Device Enabled (125):   0
        Coordinate Transformation Matrix (127): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (247):     1
        Device Accel Constant Deceleration (248):       2.500000
        Device Accel Adaptive Deceleration (249):       1.000000
        Device Accel Velocity Scaling (250):    12.500000
        Synaptics Edges (251):  1632, 5312, 1572, 4284
        Synaptics Finger (252): 25, 30, 256
        Synaptics Tap Time (253):       180
        Synaptics Tap Move (254):       221
        Synaptics Tap Durations (255):  180, 180, 100
        Synaptics ClickPad (256):       0
        Synaptics Tap FastTap (257):    0
        Synaptics Middle Button Timeout (258):  75
        Synaptics Two-Finger Pressure (259):    282
        Synaptics Two-Finger Width (260):       7
        Synaptics Scrolling Distance (261):     100, 100
        Synaptics Edge Scrolling (262): 1, 0, 0
        Synaptics Two-Finger Scrolling (263):   0, 0
        Synaptics Move Speed (264):     1.000000, 1.750000, 0.039809, 40.000000
        Synaptics Edge Motion Pressure (265):   30, 160
        Synaptics Edge Motion Speed (266):      1, 401
        Synaptics Edge Motion Always (267):     0
        Synaptics Off (268):    0
        Synaptics Locked Drags (269):   0
        Synaptics Locked Drags Timeout (270):   5000
        Synaptics Tap Action (271):     0, 0, 0, 0, 0, 0, 0
        Synaptics Click Action (272):   1, 1, 1
        Synaptics Circular Scrolling (273):     0
        Synaptics Circular Scrolling Distance (274):    0.100000
        Synaptics Circular Scrolling Trigger (275):     0
        Synaptics Circular Pad (276):   0
        Synaptics Palm Detection (277): 0
        Synaptics Palm Dimensions (278):        10, 200
        Synaptics Coasting Speed (279): 20.000000, 50.000000
        Synaptics Pressure Motion (280):        30, 160
        Synaptics Pressure Motion Factor (281): 1.000000, 1.000000
        Synaptics Grab Event Device (282):      1
        Synaptics Gestures (283):       1
        Synaptics Capabilities (284):   1, 1, 1, 1, 1, 1, 1
        Synaptics Pad Resolution (285): 1, 1
        Synaptics Area (286):   0, 0, 0, 0
        Synaptics Noise Cancellation (287):     25, 25
        Device Product ID (242):        1739, 9
        Device Node (243):      "/dev/input/event6"

修正する関連性のあるデバイスが2つあることを忘れました。実際には、このデバイスはシナプスデバイスよりも関連性が高いようです。

$ xinput list-props 11
Device 'TPPS/2 IBM TrackPoint':
    Device Enabled (135):   1
    Coordinate Transformation Matrix (137): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (260):     0
    Device Accel Constant Deceleration (261):       1.000000
    Device Accel Adaptive Deceleration (262):       1.000000
    Device Accel Velocity Scaling (263):    10.000000
    Device Product ID (255):        2, 10
    Device Node (256):      "/dev/input/event9"
    Evdev Axis Inversion (302):     0, 0
    Evdev Axes Swap (304):  0
    Axis Labels (305):      "Rel X" (145), "Rel Y" (146)
    Button Labels (306):    "Button Left" (138), "Button Middle" (139), "Button Right" (140), "Button Wheel Up" (141), "Button Wheel Down" (142)
    Evdev Middle Button Emulation (307):    0
    Evdev Middle Button Timeout (308):      50
    Evdev Third Button Emulation (309):     0
    Evdev Third Button Emulation Timeout (310):     1000
    Evdev Third Button Emulation Button (311):      3
    Evdev Third Button Emulation Threshold (312):   20
    Evdev Wheel Emulation (313):    0
    Evdev Wheel Emulation Axes (314):       0, 0, 4, 5
    Evdev Wheel Emulation Inertia (315):    10
    Evdev Wheel Emulation Timeout (316):    200
    Evdev Wheel Emulation Button (317):     4
    Evdev Drag Lock Buttons (318):  0

どのハンドルを回すべきかをご存知ですか?

修正する上記のプロパティを、同じDebianテストを実行している他のコンピュータ(TrackPointが正しく動作するLenovoノートブック)のプロパティと比較した結果、同じでした。 xinputのバージョンも同じです。そのため、xinputのバージョンはもちろん、これらのデバイスのxinput設定も考慮から除外できるようです。ハードウェアの問題かどうか(最終的に)別のIBM USBキーボードに手を触れて確認しましょう。

[次はこの質問の編集です。バリー・グルビン(ありがとうございます)、拒否されました。https://unix.stackexchange.com/users/2180/shawn-j-goff(ありがとう、友達)。私はそれが非常に役に立ったと思い、Seanの拒否のためにこの情報が出て(今まで)他の人に隠されたので、ここに貼り付けました。

追加情報
私はこの問題を説明する公開Debianバグレポートがあると思います。#682413この問題は次のようなものです。シナプティクス_usbカーネルモジュール。 ~によるとシナプティクス_usb.c、30行目:

[… ]タッチスティックサポートはまだテストされていません。

ベストアンサー1

私は同じ問題を抱えていますが、ついに解決策を見つけたようです。

xinput --set-prop 11 'Device Accel Constant Deceleration' 3

近い距離(テキストを選択しようとするときなど)では、タッチスティック/ポインティングスティックが安定した状態を維持できます。所望の値が得られるまで「3」を上下に変更し、2、3、4を試した後、ついに「3」と決定した。それから遊ぶ。

xset m 5 1

加速度を調整します。 「5」は加速乗数、「1」は加速が始まる前にカーソルを移動するのに必要なピクセル数、「5」は画面をすばやく移動するのに最適な方法です。

最後にやるべきことは、これらの設定を私の.xinitrcにマージすることです。

xinput --set-prop 11 'Device Accel Constant Deceleration' 3 &
xset m 5 1 &
exec ck-launch-session startxfce4

これらすべての情報は次のウェブサイトで見つけました。建築ウィキペディア

最後の注意:この問題は最近追加されましたシナプティクス_usbカーネルモジュールには一般的なトレースポイントのデフォルト値がないため、問題は新しいカーネルモジュールによって「露出」されますが、synaptics_usb自体には問題ありません。

[編集する:] 追加情報 私の.xinitrcはDebian Testing / LightDM / XFCEで動作しません。理由がわからない。 xorg.confを調整することにしました。

生成された構成ファイル:

$ cat /usr/share/X11/xorg.conf.d/50-synaptics_trackpoint.conf
Section "InputClass"
        Identifier "Synaptics TrackPoint"
        MatchProduct "Stick"
        # set the following to 1 1 0 respectively to disable acceleration.
        Option "AccelerationNumerator" "5"
        Option "AccelerationDenominator" "1"
        Option "AccelerationThreshold" "1"
        # linear deceleration (mouse speed reduction)
        Option "ConstantDeceleration" "2"
        # some curved deceleration
        Option "AdaptiveDeceleration" "1"
EndSection

再起動しましたが、まだサイコロがありません。 XFCEがXorg構成をオーバーライドしたことを発見して削除しました。

$ rm ~/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml

再起動し、期待どおりに動作しました。

私のトラブルシューティングノートの一部:

# Get the current acceleration values.
xinput --get-feedbacks 11

# Get the current deceleration values.
xinput --list-props 11 | grep Deceleration

# What does Xorg know about this?
grep -i stick /var/log/Xorg.0.log

# Set acceleration.
xinput --set-ptr-feedback 11 1 5 1

# Set deceleration.
xinput --set-prop 11 'Device Accel Constant Deceleration' 2

その他の参考資料

Xorgポインタ加速Wiki xorg.conf のマニュアルページ

おすすめ記事