LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-23-2008, 04:04 PM   #1
Akivaa
LQ Newbie
 
Registered: May 2008
Distribution: Slackware 12.1
Posts: 10

Rep: Reputation: 0
Mouse wheel doesn't work (Logitech G5)


Hello there. Recently I made the decision to make the switch to Slackware (running 12.1) and I've been getting increasingly frustrated with my Logitech G5.

While it's not catastrophic, it's slightly irritating that my mouse wheel doesn't work, and I can't seem to figure out why. It's a newer model of the G5 (that is, it has the two side buttons instead of the one). Is this a common problem and is there any way of remedying the situation?

Any help would be greatly appreciated.
 
Old 07-23-2008, 04:49 PM   #2
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
I found this with a yahoo search:

http://adterrasperaspera.com/blog/20...ew-under-linux

Last edited by slackass; 07-23-2008 at 09:22 PM.
 
Old 07-23-2008, 07:28 PM   #3
Akivaa
LQ Newbie
 
Registered: May 2008
Distribution: Slackware 12.1
Posts: 10

Original Poster
Rep: Reputation: 0
I did try that, it didn't help any though.

Plus now a new problem has arisen: after a lengthy period of time either my keyboard or mouse will now lock up and not respond to anything until I reboot my system. Typically this happens once every 2-3 hours. Gah.
 
Old 07-23-2008, 09:22 PM   #4
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Oh well, I have that mouse coming in from Newegg in a few days so figuring that out will be my next project.
If you find a solution, please post it.
I'll do the same.
 
Old 07-24-2008, 09:07 AM   #5
granth
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212

Rep: Reputation: 55
Quote:
after a lengthy period of time either my keyboard or mouse will now lock up and not respond to anything until I reboot my system. Typically this happens once every 2-3 hours. Gah.

Sounds like a more serious issue. Maybe a hardware failure? Have you checked your logs?

Eg. less /var/log/syslog
less /var/log/messages
 
Old 07-24-2008, 07:09 PM   #6
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Using a G9 here but should be similar I think.

I have the following in xorg.conf

Code:
Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Buttons" "9"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5"
    Option         "ButtonMapping" "1 2 3 6 7 8 9"
EndSection
For my G15 I used (probably the one you want)
(erm... that should read MX518 not G15 :P)

Code:
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "ExplorerPS/2"
        Option      "Buttons" "10"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "ButtonMapping" "1 2 3 6 7"
EndSection

Last edited by mRgOBLIN; 07-27-2008 at 05:42 PM. Reason: Noticed a typo
 
Old 07-24-2008, 07:46 PM   #7
Akivaa
LQ Newbie
 
Registered: May 2008
Distribution: Slackware 12.1
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by granth View Post
Sounds like a more serious issue. Maybe a hardware failure? Have you checked your logs?

Eg. less /var/log/syslog
less /var/log/messages
I have, but I have no idea what I'm looking for really. Next time it happens should I note the time and post whatever information I can that shows up within that stretch of time?
 
Old 07-24-2008, 08:19 PM   #8
Akivaa
LQ Newbie
 
Registered: May 2008
Distribution: Slackware 12.1
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mRgOBLIN View Post
Using a G9 here but should be similar I think.

I have the following in xorg.conf

Code:
Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Buttons" "9"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5"
    Option         "ButtonMapping" "1 2 3 6 7 8 9"
EndSection
For my G15 I used (probably the one you want)

Code:
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "ExplorerPS/2"
        Option      "Buttons" "10"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "ButtonMapping" "1 2 3 6 7"
EndSection
Also, I tried these. They don't seem to do anything. The two buttons on the side of my mouse perform some sort of function (one seems to produce the exact same effect as right clicking, and the other pastes text). My mouse wheel still isn't allowing me to scroll, though.
 
Old 07-24-2008, 11:33 PM   #9
geek745
Member
 
Registered: Jul 2004
Location: Alton, IL
Distribution: Linux Mint; Slackware; Ubuntu; Slax
Posts: 172
Blog Entries: 2

Rep: Reputation: 34
the mouse protocol may make a difference... play around with that. I use IMPS/2 but then again I have a very standard logitech mouse (2 buttons and scroller) so that may not be of any use to you...
 
Old 07-25-2008, 10:48 PM   #10
Zujin
LQ Newbie
 
Registered: Nov 2004
Location: Lower Alabama
Distribution: Slackware 12.1
Posts: 18

Rep: Reputation: 0
I have a G5 and this is what my Xorg file looks like. I use this setting with my old school Logitech mice as well. I have used the ZAxisMapping option since about Slack 10 and it's always worked with the IMPS/2 protocol but never the PS/2.

Code:
Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/mouse"
    Option "ZAxisMapping" "4 5"
    Option "ChordMiddle"
I don't have the scroll side buttons working. I've been too busy with a new job and all.
 
Old 07-26-2008, 04:11 AM   #11
Justin236
LQ Newbie
 
Registered: Jul 2008
Distribution: OpenBSD
Posts: 6

Rep: Reputation: 0
Post Logitech V220 Mouse side scrolling works

(The V220 is Logitech's "Cordless Optical Mouse for Notebooks".)

I'm running a fairly recent (pre-release) version of X:

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080131-1ubuntu9.2)
Current Operating System: Linux butterfly 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64
Build Date: 13 June 2008 01:10:57AM

I ended up adding a new line (Inputdevice "Logitech V220") to the Section "ServerLayout" in my /etc/X11/xorg.conf, :
Code:
Section "ServerLayout"
        Identifier      "Default Layout"
  screen 0 "Default Screen" 0 0
        Inputdevice     "Generic Keyboard"
        Inputdevice     "Configured Mouse"
        Inputdevice     "Logitech V220"
        Inputdevice     "stylus"        "SendCoreEvents"
        Inputdevice     "cursor"        "SendCoreEvents"
        Inputdevice     "eraser"        "SendCoreEvents"
EndSection

And a new section:
Code:
Section "InputDevice"
    Identifier "Logitech V220"
    Driver     "evdev"
    Option     "Device" "/dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse"
    Option     "RelHWHEELOptions" "invert"
EndSection
For more detailed options, try "man evdev" on your Linux distro. Do not confuse the "evdev" driver options with the "mouse" driver options. The drivers seem to silently ignore options that they don't recognize, so you might want to check in your X server log that all the options you specified were actually recognized by the driver. I hope this helps somebody, and maybe something similar will work for other Logitech mice. And hopefully somebody will figure out how to automatically recognize these mice so people don't have to fiddle with their configuration files.

Last edited by Justin236; 07-26-2008 at 04:13 AM. Reason: forgot to mention what kind of mouse it was
 
Old 07-29-2008, 07:50 PM   #12
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
My G5 came in today an I used:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "10"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
EndSection

as mRgOBLIN suggested and it worked perfect.

Thanks mRgOBLIN !!

Last edited by slackass; 07-30-2008 at 10:27 AM.
 
  


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
Logitech First wheel mouse problem benet Linux - Hardware 9 11-04-2003 10:27 AM
Logitech Wheel Mouse stikboy Linux - General 2 03-20-2003 12:06 PM
Logitech Wheel Mouse KeithKessler Linux - Newbie 19 03-10-2003 07:35 PM
Logitech Wheel Mouse sxflgsdeja Linux - Hardware 17 01-12-2003 07:59 PM
Logitech Wheel Mouse driver bdu Linux - General 8 03-19-2002 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:47 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