View previous topic :: View next topic |
Author |
Message |
Lethality Tux's lil' helper
Joined: 28 Mar 2006 Posts: 118
|
Posted: Sat May 03, 2008 6:46 pm Post subject: Can you use the mouse in a framebuffer console? |
|
|
I run links2 with a graphical interface on the framebuffer, and there is a cursor there, but I can't move it.
Is it possible to use the mouse/touchpad in the framebuffer, and how? |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Sat May 03, 2008 7:06 pm Post subject: |
|
|
You need the sys-libs/gpm package and the gpm service must be running (/etc/init.d/gpm start). Note that it's incompatible with X Windows: you have to stop gpm to run X and vice versa. Runlevels are good for this (e.g., I have a console runlevel that includes gpm and my default runlevel (for GDM/GNOME) does not). _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
Lethality Tux's lil' helper
Joined: 28 Mar 2006 Posts: 118
|
Posted: Sat May 03, 2008 7:28 pm Post subject: |
|
|
Ok I installed and started gpm, but the cursor in links2 still doesn't move when I move the mouse. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Lethality Tux's lil' helper
Joined: 28 Mar 2006 Posts: 118
|
Posted: Sat May 03, 2008 7:48 pm Post subject: |
|
|
I did recompile. I think it is a problem with directfb rather than gpm. Is there a way to configure directfb to use input devices?`The mouse works when I run links without the gui. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Lethality Tux's lil' helper
Joined: 28 Mar 2006 Posts: 118
|
Posted: Sun May 04, 2008 1:10 pm Post subject: |
|
|
Thanks for the tip. I wrote that config file, but it still doesn't work.
I tried mouse-protocol=PS/2 too.
Edit: It could be a links2 problem now.
Edit again: Everything works with the fb driver, directfb mouse is still not working. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Link31 Apprentice
Joined: 17 Apr 2006 Posts: 200 Location: France
|
Posted: Mon May 05, 2008 6:43 pm Post subject: |
|
|
timeBandit wrote: | Note that it's incompatible with X Windows: you have to stop gpm to run X and vice versa. |
Not always, at least not with an USB mouse. I use an USB mouse on two computers running Gentoo, and I never had any problem related to Xorg and GPM. The touchpad and the trackpoint on my T61p, which are PS/2 devices (as far I know), are also working correctly with Xorg and GPM. |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Mon May 05, 2008 9:51 pm Post subject: |
|
|
Link31 wrote: | timeBandit wrote: | Note that it's incompatible with X Windows: you have to stop gpm to run X and vice versa. |
Not always, at least not with an USB mouse. I use an USB mouse on two computers running Gentoo, and I never had any problem related to Xorg and GPM. The touchpad and the trackpoint on my T61p, which are PS/2 devices (as far I know), are also working correctly with Xorg and GPM. | I think it's actually GDM that hogs the mouse, not X per se. Empirically I know I can't have both, I just should have given a bit more thought to the real culprit. Thanks. _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
|