SaidinUnleashed
Group: Members
Posts: 1428
Joined: Mar. 2004 |
|
Posted: May 12 2005,04:46 |
|
After several failed attemps, and some help from Seth_Has_Errors in IRC, I finally have a way to get gpm working.
If you don't know what gpm is, you probably don't need it, but it's a console mouse server.
Anywho, this requires...
dsl-dpkg.dsl gnu-utils.dsl (not really sure it needs this, but it never hurts) Xfree86.dsl (if you actually USE X)
I have NOT been able to get Kdrive and gpm to cooperate, but I will keep fiddling.
Step 1. Install the required .dsls, and get Xfree86 running, if applicable.
Step 2. Quit X, su to root, make sure you are pointed to Debian Stable, and run apt-get update.
If you use X, as root, open XF86Config-4 in an editor, scroll down to the mouse definition and comment out the device line with a "#". On the line below it, type the following
Code Sample | Option "Device" "/dev/gpmdata" |
Remember where your mouse was originally at, and the protocal, because we will need those in a sec.
Step 3. apt-get install gpm
It should start the config script for gpm when it's done installing, but we aren't going to use it, because it kinda sucks, so enter whatever you want, or hit ctrl+c to kill it.
Step 4. Test it.
Run the following command, replacing the values I told you to remember earlier where indicated.
Code Sample | gpm -m <location of mouse> -t <protocal> -Rraw |
If it worked, and it should, you can just add that line to /opt/bootlocal.sh to have it start up every time. If not, killall gpm. You will need to play with the protocal setting, most likely. Play around if needed.
Whatever you do, do not change the -Rraw append. If you ever want to use X, you will need it.
If you use X, exit out of su, and start X. make sure your mouse is working properly, etc. It should be fine. :P
-J.P.
-------------- They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.
Unleash the power of the TILDE~~~
|