LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-21-2006, 04:54 PM   #1
compambition
LQ Newbie
 
Registered: Feb 2006
Location: Canada
Distribution: Slackware 10.2
Posts: 8

Rep: Reputation: 0
Logitech MX700 mouse problems


I just installed Slackware 10.2 and my mouse isn't functioning properly. It's a Logitech MX700 wireless optical mouse connected via USB, which is functioning properly in XP.

I logged in as root for the first time, startx and KDE starts fine. What's odd is that the mouse didn't move or do anything, so I Ctrl-Alt-Backspaced into the terminal again and ran mouseconfig. Set it to USB connected and said yes to GPM. Rebooted, then logged in as root and startx again.

This time, the weirdest things happen - I move the mouse around and the pointer moves up and down only, I press the left and right mouse buttons and they make the pointer move to the right, the back/forward buttons make it go left!

So I decided to get out of KDE and tryed to config the mouse through xorgconfig. Did that and set it to Auto protocol (didn't see anything to do with USB), and said no to the Emulate 3 buttons option. I think there was another option...

Got finished with xorgconfig and startx'ed...only this time it tells me there's no such thing as /dev/mouse. So, there's no link now from /dev/mouse I guess.

From there it was constant tinkering with xorg.conf in emacs. Sometimes I'd set Mouse0 to Mouse1 and that would cause an error or work depending on another setting, trying different protocols (IMPS/2, PS/2, Auto, etc) and having those sometimes work sometimes not. I tried changing the path to /dev/input/mice, that just gave me not found errors, thus failing to initialize core devices.

*takes deep breath and exhales* Enough details for ya? :P As you can see I need some help. It'd be greatly appreciated!
 
Old 02-22-2006, 04:27 AM   #2
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
HI

I had a similar problem with my wireless USB mouse.
It turned out i had left some important options out of my kernel when i compiled (mine was not working at all however) as yours is moving but gouing in all the wrong directions try:

I added the below in Xorg.conf

Identifier "Mouse1"
Driver "mouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse"

I am pretty sure i ended up selecting PS/2 as mouse when i ran the mousetup program as otherwise the synaptics touchpad i have on the laptop would not work.
now everything works treat.

even with GPM running my USB and Touchpad now works fine in KDE and also on the console.
Does your mouse work before entered KDE? If not, you might want to DISABLE GPM (From what i have read)
 
Old 02-22-2006, 04:11 PM   #3
compambition
LQ Newbie
 
Registered: Feb 2006
Location: Canada
Distribution: Slackware 10.2
Posts: 8

Original Poster
Rep: Reputation: 0
I'll give those Xorg.conf entries a try. No, it didn't work before I entered into KDE, but i'll try with/without GPM to see if it makes a difference.

Thanks a lot for the reply! I'll keep you updated.
 
Old 02-22-2006, 04:39 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo on headless; Arch on everything that requires a GUI
Posts: 6,941

Rep: Reputation: 137Reputation: 137
I have a Logitech cordless kbd/mouse setup here.
Code:
bruce@silas:~$ dmesg | grep USB
input: Logitech USB Receiver as /class/input/input2
input: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:10.1-1
input: Logitech USB Receiver as /class/input/input3
input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:10.1-1
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
I remember that with this and other wireless USB mice I needed the module usbhid:
Code:
bruce@silas:~$ lsmod
Module                  Size  Used by
usb_storage            28676  3 
usbhid                 24452  0 
uhci_hcd               25680  0 
ehci_hcd               25736  0 
usblp                   9792  0
(those are all my USB modules)

You can enable usbhid by uncommenting (remove the # in front of the line)
#/sbin/modprobe hid
in the file /etc/rc.d/rc.modules (as root in a terminal). Until I had
that usbhid module, my mouse would go up and down only, not right and
left.

Afterwards restart your X server. Issue "Ctrl+Alt+Backspace" then at the
prompt enter "startx" to start the X server again.

I think that will work, though I always compile custom kernels and enable
it as a module there.

In the file "/etc/X11/xorg.conf" this is what I have for the rodent:
Code:
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "ZAxisMapping" "4  5"
# The mouse device.  The device is normally set to /dev/mouse,
    Option         "Device" "/dev/mouse
That file might look different on this comp than yours because it
was configured by 'nvidia-xconfig' when I installed the new Nvidia
drivers for my graphics card.

On another box with an USB wireless mouse; edited xorg.conf:
Code:
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

#    Option     "Protocol"      "Auto"

# The available mouse protocols types that you can set below are:
#    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
#    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
#    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
#    ThinkingMouse ThinkingMousePS/2 Xqueue
    Option "Protocol"    "IMPS/2"
    Option "ZAxisMapping"  "4 5"

# The mouse device.  The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

    Option "Device"      "/dev/input/mice"
#   Option "Device"      "/dev/mouse"
#   Option "Device"      "/dev/psaux"
#   Option "Device"      "/dev/ttyS0"
#   Option "Device"      "/dev/ttyS1"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"  "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"          "9600"
#    Option "SampleRate"        "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection
These:
Code:
    Option "Protocol"    "IMPS/2"
    Option "ZAxisMapping"  "4 5"
allow the scroll wheel to work. There is more work
to be done to enable buttons, but I've never done that.

Last edited by Bruce Hill; 02-22-2006 at 04:40 PM.
 
Old 02-22-2006, 04:49 PM   #5
compambition
LQ Newbie
 
Registered: Feb 2006
Location: Canada
Distribution: Slackware 10.2
Posts: 8

Original Poster
Rep: Reputation: 0
I tried the Xorg.conf entries/mouseconfig/disabling and enabling GPM and it didn't work, it's still doing it's odd y axis mouse movement and X axis button press movement...

Wow, big post Chinaman! Thanks for your help. I'll give it a try and post my results.
 
Old 02-22-2006, 10:15 PM   #6
compambition
LQ Newbie
 
Registered: Feb 2006
Location: Canada
Distribution: Slackware 10.2
Posts: 8

Original Poster
Rep: Reputation: 0
It worked!

I added the hid usb module in rc.modules and rebooted and it works fine.

Thanks for all your help.
 
  


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
Logitech MX700 mouse probs, slack10.2 nadroj Linux - Newbie 3 11-24-2005 12:00 AM
Logitech mx700 USB Mouse Makaelin Slackware 23 08-15-2005 07:20 AM
Using a Logitech MX700 mouse with FC1 magicvash Fedora 4 05-06-2004 12:22 PM
Logitech mx700 mouse wireless buttons blixel Linux - Hardware 3 10-05-2003 02:39 PM
Logitech MX700 DaFrEQ Linux - Hardware 5 02-03-2003 08:12 AM

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

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