LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mouse wheel doesn't work (Logitech G5) (https://www.linuxquestions.org/questions/slackware-14/mouse-wheel-doesnt-work-logitech-g5-657779/)

Akivaa 07-23-2008 04:04 PM

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.

slackass 07-23-2008 04:49 PM

I found this with a yahoo search:

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

Akivaa 07-23-2008 07:28 PM

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.

slackass 07-23-2008 09:22 PM

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.

granth 07-24-2008 09:07 AM

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

mRgOBLIN 07-24-2008 07:09 PM

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


Akivaa 07-24-2008 07:46 PM

Quote:

Originally Posted by granth (Post 3224949)
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?

Akivaa 07-24-2008 08:19 PM

Quote:

Originally Posted by mRgOBLIN (Post 3225511)
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.

geek745 07-24-2008 11:33 PM

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...

Zujin 07-25-2008 10:48 PM

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.

Justin236 07-26-2008 04:11 AM

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.

slackass 07-29-2008 07:50 PM

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 !!


All times are GMT -5. The time now is 02:13 PM.