感度調整メモ。
速度は問題なけれど感度が鈍い(重い)ので設定してみますが・・・変わらない。
rc.localの作成。実行権を忘れずに。
1 2 3 4 5 |
~$ sudo vi /etc/rc.local #!/bin/sh # echo -n 200 /sys/devices/platform/i8042/serio*/serio*/speed echo -n 250 /sys/devices/platform/i8042/serio*/serio*/sensitivity |
rc-local.serviceの作成。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
~$ sudo vi /etc/systemd/system/rc-local.service [Unit] Description=/etc/rc.local Compatibility ConditionPathExists=/etc/rc.local [Service] Type=forking ExecStart=/etc/rc.local start TimeoutSec=0 StandardOutput=tty RemainAfterExit=yes SysVStartPriority=99 [Install] WantedBy=multi-user.target |
サービスの自動起動有効化
1 2 3 |
_~$ systemctl enable rc.local.service Created symlink /etc/systemd/system/multi-user.target.wants/rc-local.service → /etc/systemd/system/rc-local.service. |
サービスのスタート、ステータス表示
1 2 3 |
~$ systemctl start rc.local.service ~$ systemctl status rc.local.service |
確認
1 2 3 |
~$ sudo cat /var/log/boot.log | grep rc.local [ 10.508615] rc.local[921]: 250 /sys/devices/platform/i8042/serio1/sensitivity |