LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-27-2004, 03:34 PM   #1
Ebel
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 63

Rep: Reputation: 15
Trying to get mouse working, where to start?


I have a wireless optical mouse with my new PC, but when I plug it in, nothing happens. I'd like to poke around, but I don't know where to start. What are the various configuration files used with mice? Are the drivers modules? Is there a general mouse howto as opposed to a USB/ button one that I keep comming across?
 
Old 07-27-2004, 05:29 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
how about you share with us the mouse:
brand
model
connection type

thanks
 
Old 07-27-2004, 06:27 PM   #3
Ebel
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 63

Original Poster
Rep: Reputation: 15
OK. It's an Ortek wireless infrared mouse. It came with my wireless Keyboard (which alwayed worked fine). The model number of the set is MCK-9000. Both connect vie PS/2. There are batteries in the mouse. I never see anything in /var/log/messages nor dmesg. In short when I plug in the new mouse it acts like I didn't plug it in.
 
Old 07-27-2004, 07:17 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
ok
now we need to know your:
linux distribution ( your profile shows red hat)
version (your profile show 9)
are you trying to use the mouse in the console?
are you trying to use the mouse in Xwindows?
IF yes to Xwindows, what version?

Thanks,
 
Old 07-27-2004, 09:55 PM   #5
Ebel
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 63

Original Poster
Rep: Reputation: 15
Oh, sorry, I should have included that. I'm running Fedora Core 2, with the 2.6.7 kernel (but I had to patch it to get the forcedeth driver for my nVidia ethernet thinge to work). Haven't tried using the mouse in the consol, just X. I think I've got X.org though (isn't that what FC2 comes with?) I guessed that `X -version` might be useful, so here it is:
Code:
[~]$ X -version
 
Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: Linux 2.4.21-14.ELsmp i686 [ELF]
Current Operating System: Linux localhost.localdomain 2.6.7 #1 Fri Jul 23 18:40:45 IST 2004 i686
Build Date: 07 May 2004
Build Host: tweety.build.redhat.com
  
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.7 (root@localhost.localdomain) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Fri Jul 23 18:40:45 IST 2004
 
Old 07-28-2004, 01:21 AM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
look in your xorg.conf file
find the section titled
Section "InputDevice"
list all the lines that are not remarked, anything without a #
 
Old 07-28-2004, 08:46 AM   #7
Ebel
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 63

Original Poster
Rep: Reputation: 15
OK here's that contents of /usr/X11R6/lib/Server/xorg.conf:
Code:
Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option	"Protocol"	"Microsoft"
    Option	"Device"	"/dev/mouse"
EndSection

Section "InputDevice"
    Identifier	"Mouse2"
    Driver	"mouse"
    Option	"Protocol"	"MouseMan"
    Option	"Device"	"/dev/mouse2"
EndSection
There is also one one the keyboard and a lot of commented out mouse stuff.

I must admit that I really should have RTFM. After reading the manual, I was able to set the correct channel on the mouse, and now, when I plug it in, the mouse goes mental. It hops around the screen (tending to wind up on the right hand side of the screen), and the buttons seem to be pressed erraticly. When I don't try to move the mouse, it doesn't move, but when I move it (or press a button) it goes crazy.

Here is some the output of `tail /var/log/messages` for when the mouse was going mad:
Code:
Jul 28 14:39:12 localhost kernel: psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 1 bytes away.
Jul 28 14:39:17 localhost kernel: psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 2 bytes away.
Jul 28 14:39:26 localhost kernel: psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 1 bytes away.
Jul 28 14:39:28 localhost last message repeated 2 times
Jul 28 14:39:31 localhost kernel: psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 2 bytes away.
Jul 28 14:39:41 localhost last message repeated 2 times
Jul 28 14:39:43 localhost kernel: psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 1 bytes away.
Jul 28 14:39:45 localhost kernel: psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 1 bytes away.
Jul 28 14:39:53 localhost kernel: psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 2 bytes away.
Jul 28 14:40:42 localhost kernel: psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 2 bytes away.
This happens if the mouse is on a few types of surfaces (it's an optical mouse). The reciever is just 'under' my monitor and beside my speakers (it's pretty cramped), could that be causing interference? But i've never had a problem with my keyboard, it's always gone grand. Are mice more sensitive to interference?
 
Old 07-28-2004, 09:35 AM   #8
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
Change: Option "Protocol" "Microsoft"
To: Option "Protocol" "IMPS/2"

If your mouse has 2 buttons and a scroll wheel add:
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"

now how does it work?
 
Old 07-28-2004, 09:36 AM   #9
PostPCMan
LQ Newbie
 
Registered: Jul 2004
Posts: 19

Rep: Reputation: 0
What is in your modprobe.conf file? If your mouse has a light, is it turned on?

When I moved from RH9 to Fedora 2 (by doing an "upgrade" install), I wound up with modprobe.conf as an empty file, and several other files having been built. In particular, one called something like modprobe.conf.anaback had the configuration lines necessary for modprobe to activate my usb mouse and kb, and also my NIC. I fixed the problem by simply renaming that file to modprobe.conf, and then running modprobe.
 
Old 07-28-2004, 11:54 AM   #10
Ebel
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 63

Original Poster
Rep: Reputation: 15
Got it!

Thanks Finlay, that did it! It's working fine now.

Hmm optical mice are strange and weird to use....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: mouse problem on start up den-den Linux - Newbie 3 09-02-2005 07:53 PM
mouse busy, X11 doesn't start mapesju Slackware 5 08-30-2004 10:46 AM
thinkpad 2.6.4 mouse cannot start X server arpi Linux - Laptop and Netbook 3 03-22-2004 06:41 PM
X won't start cuz mouse not working! muzicman82 Linux - Hardware 1 12-10-2003 05:25 PM
X doesnt start with no mouse! XBITRO Linux - Newbie 1 11-04-2003 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration