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 03-20-2007, 02:18 PM   #1
soldier228
Member
 
Registered: Jan 2007
Distribution: openSUSE 10.2
Posts: 103

Rep: Reputation: 15
Scroll Wheel Trouble


I use a Logitech MX 510 Mouse and it worked perfectly with Linux for a while but now all the sudden the scroll wheel isn't working. I tried a different mouse, the mouse that came with my wireless keyboard and that worked but then i when i turned my computer on this morning, it didn't work either. I have my Logitech MX 510 plugged back into my computer now. I am running openSUSE 10.2 for the mouse model i set it to Logitech MX 310 since they're basically the same and it worked before that way. The Wireless Mouse i was talking about is a Microsoft Optical Mouse 2.0
 
Old 03-20-2007, 03:37 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Your mouse is controlled by what is in the mouse section of the file /etc/X11/xorg.conf.

What might have changed that? Were you configuring the monitor, keyboard or the mouse?

It is usually the ZAxisMappiing that controls the scroll wheel. Here is what my Micro$oft moose looks like in xorg.conf.

Code:
Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "4 5"
EndSection
This is a PS/2 mouse.The Option "Protocol" varies with the type of mouse you have. ( USB PS/2 etc ).
 
Old 03-20-2007, 07:20 PM   #3
soldier228
Member
 
Registered: Jan 2007
Distribution: openSUSE 10.2
Posts: 103

Original Poster
Rep: Reputation: 15
my xorg.conf looks like that already except it says the brand of the of mouse is logitech and it's a mx 310
 
Old 03-21-2007, 08:36 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
my xorg.conf looks like that already except it says the brand of the of mouse is logitech and it's a mx 310
Would you copy and paste all sections from your xorg.conf file that deal with mice. How is this mouse connected? PS/2 or USB or serial or wireless?
 
Old 03-21-2007, 09:10 PM   #5
soldier228
Member
 
Registered: Jan 2007
Distribution: openSUSE 10.2
Posts: 103

Original Poster
Rep: Reputation: 15
I don't know why i just don't do that automatically lol

Code:
Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "MX310"
  Option       "Protocol" "ExplorerPS/2"
  Option       "Vendor" "Logitech"
  Option       "ZAxisMapping" "4 5"
EndSection
 
Old 03-22-2007, 08:37 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I did some googling and came up with this configuration for the MX510. Give it a try and see what happens.

Code:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Buttons" "10"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "false"
Option "ButtonMapping" "1 2 3 6 7 8 9 10 4 5"
EndSection
This should make all seven buttons work. I don't think the configuration you have could do that.

Also, in your file reverse the oder of Identifier and Driver lines. This may well be your main problem. You didn't tell me it is a USB or PS/2 mouse. My guess is PS/2 based on the protocol you have set.

I think you have to at lease restart the desktop after you edit the /etc/X11/xorg.conf file. Ctrl + Alt + backspace should cause the desktop to restart. Let me know how it goes...

If this doesn't deliver the results you want, have a look at this link. This approach is not trivial, but may well give you the best results.

http://www.linux-gamers.net/modules/...+Mouse+Buttons

Last edited by camorri; 03-22-2007 at 08:45 AM.
 
Old 03-22-2007, 03:57 PM   #7
soldier228
Member
 
Registered: Jan 2007
Distribution: openSUSE 10.2
Posts: 103

Original Poster
Rep: Reputation: 15
Basically you just wrote me drivers for it in a way lol. Is writing drivers for other hardware that simple or not? It's ps/2 i have an adapter for it to make it ps/2
 
Old 03-22-2007, 04:41 PM   #8
soldier228
Member
 
Registered: Jan 2007
Distribution: openSUSE 10.2
Posts: 103

Original Poster
Rep: Reputation: 15
that one did not work i had to replace my xorg.conf file for my computer to get xwindows to execute
 
  


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
Scroll wheel mdkusr Slackware 5 12-22-2005 11:40 PM
Scroll wheel in Slack 10 Kellen Linux - Newbie 7 12-05-2004 11:45 PM
4d wheel mouse - scroll wheel no worky CamelofCamelot Linux - Hardware 1 10-28-2004 08:33 PM
X.org and scroll wheel justin_p Slackware 14 07-02-2004 01:04 PM
scroll wheel thebutler4 Linux - Newbie 4 05-24-2004 04:30 PM

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

All times are GMT -5. The time now is 11:06 PM.

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