Start up track-point speed/sensitivity script 18.3 Sylvia

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
napoly
Level 1
Level 1
Posts: 1
Joined: Sat Apr 07, 2018 4:26 am

Start up track-point speed/sensitivity script 18.3 Sylvia

Post by napoly » Thu Apr 12, 2018 2:56 pm

Hi Minters!

First post here. Having this script works fine to adjust my track-point sensitivity and speed:

Code: Select all

cd /sys/devices/platform/i8042/serio1/serio2
sudo su
echo 255 > speed
echo 255 > sensitivity
but I can not set it as a start up script. I have followed this link https://askubuntu.com/questions/137528/ ... trackpoint . I created trackpoint.conf and added in /etc/init/. And this is the content:

Code: Select all

description "Trackpoint-Settings"
env TPDIR=/sys/devices/platform/i8042/serio1/serio2
start on virtual-filesystems
script
  while [ ! -f $TPDIR/sensitivity ]; do
        sleep 2
  done
  echo -n 200 > $TPDIR/sensitivity
  echo -n 150 > $TPDIR/speed
end script
but no luck.. any ideas what I'm doing wrong?


Last bumped by napoly on Thu Apr 12, 2018 2:56 pm.

Post Reply

Return to “Newbie Questions”