Raspberry OS / Debian 11でマウスアクセラレーションを無効にする方法は?

Raspberry OS / Debian 11でマウスアクセラレーションを無効にする方法は?

RasPi 4でマウスアクセラレーションを完全に無効にしたいです。これらの機能は使用されたことも必要もありません。

pg@raspberrypi:~ $ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

pg@raspberrypi:~ $ uname -a
Linux raspberrypi 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux


pg@raspberrypi:~ $ xinput --list --short
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ MOSART Semi. 2.4G Wireless Mouse          id=6    [slave  pointer  (2)]
⎜   ↳ MOSART Semi. 2.4G Wireless Mouse Consumer Control id=7    [slave  pointer  (2)]

pg@raspberrypi:~ $ xinput --list-props 6
Device 'MOSART Semi. 2.4G Wireless Mouse':
    Device Enabled (152):   1
    Coordinate Transformation Matrix (153): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Natural Scrolling Enabled (282):   0
    libinput Natural Scrolling Enabled Default (283):   0
    libinput Scroll Methods Available (284):    0, 0, 1
    libinput Scroll Method Enabled (285):   0, 0, 0
    libinput Scroll Method Enabled Default (286):   0, 0, 0
    libinput Button Scrolling Button (287): 2
    libinput Button Scrolling Button Default (288): 2
    libinput Button Scrolling Button Lock Enabled (289):    0
    libinput Button Scrolling Button Lock Enabled Default (290):    0
    libinput Middle Emulation Enabled (291):    0
    libinput Middle Emulation Enabled Default (292):    0
    libinput Accel Speed (293): 1.000000
    libinput Accel Speed Default (294): 0.000000
    libinput Accel Profiles Available (295):    1, 1
    libinput Accel Profile Enabled (296):   1, 0
    libinput Accel Profile Enabled Default (297):   1, 0
    libinput Left Handed Enabled (298): 0
    libinput Left Handed Enabled Default (299): 0
    libinput Send Events Modes Available (300): 1, 0
    libinput Send Events Mode Enabled (301):    0, 0
    libinput Send Events Mode Enabled Default (302):    0, 0
    Device Node (303):  "/dev/input/event0"
    Device Product ID (304):    1578, 16642
    libinput Drag Lock Buttons (305):   <no items>
    libinput Horizontal Scroll Enabled (306):   1


試みが失敗しました:

各オプションは1つずつテストされ、最初にlightdmを再ロードしてから変更がないため、システムを再起動しました。

同じマウスが私の毎日のドライバとDebian 11(サブカーネル)で完璧に動作します。


Gentooでテストしましたが、マウスの遅延はまったくありませんでした。 Debian ARMバージョンに問題がありますか?

ベストアンサー1

マウスアクセラレーションを完全に無効にする方法:

  1. /boot/cmdline.txtテキストエディタで開く
  2. コマンドラインに追加usbhid.mousepoll=0
  3. 再起動

おすすめ記事