Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: georgp24 on December 27, 2015, 03:34:03 PM

Title: Using gpm with piCore 7.0rc1
Post by: georgp24 on December 27, 2015, 03:34:03 PM
I am using piCore-7.0rc1 with my RPI2 (Arm7). I enter "tce-load -i ./gpm.tcz" (I have that on my USB flash disk) and then "gpm -m /dev/psaux -t imps2 -R". On Corelinux the text mouse would then move over the screen.

However, it does not do that on piCore. What needs to be done to support the mouse with gpm?
Title: Re: Using gpm with piCore 7.0rc1
Post by: georgp24 on January 06, 2016, 05:33:26 PM
I finally found the answer to my question. After "tce-load -i gpm.tcz" you have to enter:

"sudo chmod 666 /dev/input/mouse0" to allow to access the device without being root. Then enter:

"sudo gpm -m /dev/input/mouse0 -t imps2 -R" and the text mouse will start to move over the screen when you move the mouse while you are in text mode.

You can mark text with the cursor while pressing the left button. When you press the middle button the marked text will be inserted at the new position. This works with vi and nano as well.

HTH

Georg