LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-31-2005, 04:46 PM   #1
meshach
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
Microsoft wireless mouse behaving strangely in X


I just got a new Microsoft Wireless Optical Mouse and I am having some issues getting it to work in X. I have used the mouse in windows and I know it is working properly as well. When I plug it in to my Slackware box I get the following dmesg response that implies to me that the mouse is being detected properly by the kernel:

Quote:
hub.c: New USB device 00:10.1-2, assigned address 11
input: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical Desktop<< 2.10] on USB3.11.1
This thing is when Gnomne starts up the mouse behaves very strangly. Every mouse movement generates a middle click event and the buttons do not respond properly when clicked.

Here is the mouse section of my x.org file:

Quote:
Section "InputDevice"

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons" "yes"
Option "Emulate3Timeout" "50"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"

End Section
I have turned off gpm to avoid any conflicts and the problem remains.

Does anyone have any experience getting this mouse to work in X?

Thanks,
Caleb
 
Old 12-31-2005, 08:21 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Post the section "ServerLayout"
 
Old 12-31-2005, 08:46 PM   #3
meshach
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Here it is:

Code:
Section "ServerLayout"
     Identifier "Simple Layout"
     Screen "Screen 1"
     InputDevice "Mouse1" "CorePointer"
     InputDevice "Mouse1" "SendCoreEvents"
     InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Thanks for taking a look
 
Old 12-31-2005, 09:38 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Try it without;
InputDevice "Mouse1" "SendCoreEvents"
just put a #
#InputDevice "Mouse1" "SendCoreEvents"
 
Old 01-01-2006, 07:40 PM   #5
meshach
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the suggestion comprookie2000. I did that and it definately smoothed out the mouse movement.

However, I am still having problems with what events are generated by what actions. Every mouse move generates a left click and the buttons are not mapped correctly. Is there anything else to try to fix those events?
 
Old 01-01-2006, 08:09 PM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Put a # in front of these
Option "Emulate3Buttons" "yes"
Option "Emulate3Timeout" "50"
Option "Buttons" "5"
and for this Option "Device" "/dev/mouse"
try Option "Device" "/dev/psaux"
Save the file as /etc/X11/xorg.conf.working then if something happens you have a working backup
 
Old 01-02-2006, 05:31 AM   #7
yoron
Member
 
Registered: Nov 2005
Posts: 120

Rep: Reputation: 15
If it's a usbmouse you could try that configuration in Slackware
'usb mouse', it worked for me.
 
Old 01-02-2006, 12:40 PM   #8
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
I have same mouse. U can keep emulate 3 buttons but get rid of 5 buttons or get rid of emulat 3 buttons and keep 5 buttons line. Either setup works with /dev/mouse and IMPS/2 or Auto.
 
Old 01-02-2006, 07:18 PM   #9
meshach
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
I have tried everything that has been suggested and still the buttons seme to be mapped wrong. Everytime the mouse moves a middle click is generated.

For kernel usb modules I am loading usb-uhci and hid from rc.modules.

Are there any other ways to change how the clicks are handled for this ms mouse?
 
Old 01-03-2006, 01:48 PM   #10
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
Meshach, what does (as root) lsmod show? Lsusb should show ur mouse. Check /etc/rc.d/rc.modules and scan usb sexn for what is uncommented. My rc.modules sexn has none uncommented . My /etc/X11/xorg.conf mouse sexn has
Ident Mouse1
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Review 12/06/05 LQ entry396708 by venom96737.
 
Old 01-07-2006, 09:36 PM   #11
meshach
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
lsusb shows this:

Quote:
Bus 003 Device 003: ID 045e:009d Microsoft Corp.
rc.modules doesn't have anything usb enabled (uncommented) but lsmod shows:
Quote:
input used by kbdev, mousedev, hid, usbkbd
usbcore used by hid, usbkbd, uhci, ehci-hcd
When I try to do:

% cat /dev/mouse
% cat /dev/input/mice

And move the mouse I get nothing now. Do I need any other modules (or to take any out) or is there anything else that will make this mouse work with X?

Caleb
 
Old 01-07-2006, 10:19 PM   #12
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
post cat /proc/bus/input/devices
 
Old 01-07-2006, 11:31 PM   #13
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
Meshac another user uncommented usbhid and usbcore in etc/rc.d/rc.modules and used /dev/input/mice with ExplorerPS2 protocol in etc/X11/xorg.conf. That got his wireless mouse to work...Remeber Venom post from December?
 
Old 01-15-2006, 03:23 AM   #14
sgoss
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
I'm having the same problem with the same mouse/keyboard.

Did you ever find the fix?
 
Old 01-15-2006, 12:51 PM   #15
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
sgoss checkout 12/26/05 venom96737's t=396708 post which discusses wireless mouse. good luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Second X Server behaving (at least to me) strangely exitsfunnel Linux - Software 2 05-13-2005 06:52 PM
PPP behaving strangely since network change. joe83 Slackware 5 09-25-2004 10:30 PM
ATI Drivers (or something) behaving strangely... doxxan Linux - Hardware 3 02-19-2004 03:37 PM
GTK-based Apps Behaving Strangely After Upgrading to Kernel 2.6.2 johnleemk Linux - Software 2 02-08-2004 08:46 AM
Unix/Perl/Sendmail behaving strangely! stephbock Linux - General 6 01-21-2003 04:56 PM


All times are GMT -5. The time now is 11:33 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration