WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Using gpm with piCore 7.0rc1  (Read 1647 times)

Offline georgp24

  • Jr. Member
  • **
  • Posts: 58
Using gpm with piCore 7.0rc1
« on: December 27, 2015, 12: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?

Offline georgp24

  • Jr. Member
  • **
  • Posts: 58
Re: Using gpm with piCore 7.0rc1
« Reply #1 on: January 06, 2016, 02: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