Solved

Please help : Xwindows mouse problem

Posted on 1998-07-28
10
235 Views
Last Modified: 2013-12-15
I have just installed Slackware linux, and XFree86. My
is that when I type startx, the fvwm starts up okay but
the mouse pointer is stuck to the top left of the screen.
I have configured it as a two-button ps/2 mouse, connected
to the auxiliary port. I have already tried to troubleshoot
by commenting out the mouse in gpm ( that just allowed the
server to start up ).I am not  using a logitech mouse.
When I shut down the server ( ctrl-alt-bksp ) , I see a text
message when I get back to the command line prompt :

Warning:Unable to get status of mouse fd ( Invalid argument)

I don't know if this has anything to do with the erratic
behavior of my rat, but I hope it gives you enough of an
idea of my problem. I really am very stuck, so any help
would be appreciated.

Many Thanks,

Jay Banda
0
Comment
Question by:bandaj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1628779
Check the right settings for your mouse with gpm.
Add these seetings (corresponding to gpm) in /etc/XF86Config
  Section "Pointer"
Then stop gpm before starting X.

0
 

Author Comment

by:bandaj
ID: 1628780
Thanks, ahoffman, but I have already tried that and
still I get nowhere. I am really going mad trying to find
a solution , so if you know of any , please let me know.

Thanks,

Jay
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1628781
Could you please post the gpm command line which gets your mouse working, and the Section "Pointer" from XF86Config
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:tim_lbi
ID: 1628782
Check to see if the PS/2 support is compiled in kernel (Characters devices->mouse support->ps/2)

0
 

Author Comment

by:bandaj
ID: 1628783
Yipee !!!

Thanks for all the help , guys , I managed to get the mouse to
work. How ? Well , I thought that I would just try a last ditch
effort, and so I attached a Microsoft serial mouse to the system,
booted up , and would you believe that I was actually able
to control the mouse in x windows !! Although I was overjoyed,
I have a distinct dislike for problems that apparently solve
themselves ( the XF86Config file indicated that the protocol
was ps/2 and the device was /dev/psaux ). With those conditions
it is practically impossible to have a serial mouse work. Some
investigative work brought the truth to light: there are apparently 3 locations for the XF86Config file, the last on I
checked being in /etc . All along I have been working on the
other two, and so any changes I made there were not being loaded
at start up 'cos the /etc directory is high up on the search
path.

Yet again, many thanks to all who offered suggestions.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 70 total points
ID: 1628784
Didn't I tell you to check /etc/XF86Config?

:-))
0
 

Author Comment

by:bandaj
ID: 1628785
Spot on , ahoffmann !!! I was going so fast that I forgot to
ask you to post your comment as an answer to get the points !!
Thanks again. As and aside , maybe you could let me know why
there are three different locations for the file, or does it
have something to do with linking ?? ( Forgive me, new to linux )


Ta


Jay

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1628786
Puh, good question, probably you better ask at xfree86.org ;-)

I thinks /etc is for historical reason.
<XRoot>/lib/X11 is the place where it should be by convention (deside yourself which standard).
And  <XRoot>/lib/X11/XF86Config.hostname  which is the way like unix do a userfriendly customizable way to support different settings for different hosts.
Keep in mind that as user root X also checks for $HOME/XF86Config first.

You need more?  man XF86Config
0
 

Author Comment

by:bandaj
ID: 1628787
Thanks again.

Jay.

May I call on you again in the near future ?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1628788
You may, just post a question.
I thing there're some more experts here :-))
0

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question