Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Logitech MX310 Mouse and wheel

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
SAngeli
l33t
l33t
User avatar
Posts: 904
Joined: Fri Apr 16, 2004 5:57 pm
Location: Italy

Logitech MX310 Mouse and wheel

  • Quote

Post by SAngeli » Fri Jul 01, 2005 5:30 pm

Hi,

I run Gentoo 64bit with an USB Logitech Optical Mouse MX310

I have few questions to ask:
1) Why is that when I press the wheel button it does not behave like my Microsoft IntelliMouse, allowing me to go up and down and left and right all together?
2) I know I can change resolution. How can this be done?
3) Anyone has a fully working xorg.conf mouse device section setting?

Thank you so mugh,
Spiro
Top
KozmoNaut
Apprentice
Apprentice
User avatar
Posts: 168
Joined: Mon Dec 09, 2002 4:06 pm
Location: Denmark

  • Quote

Post by KozmoNaut » Fri Jul 01, 2005 8:16 pm

2) 'emerge logitech-applet'. Then 'logitech-applet -s 800'.

Works with my MX310, anyway ;)
War. War never changes.
Top
SAngeli
l33t
l33t
User avatar
Posts: 904
Joined: Fri Apr 16, 2004 5:57 pm
Location: Italy

  • Quote

Post by SAngeli » Fri Jul 01, 2005 8:57 pm

Hi KozmoNaut,

Can you post your Mouse Device section from your Xorg.conf?
I am unable to use evdev Protocol or something does not work properly.
I wish to make my Logitech mouse work like my Microsoft Intelly mouse.

Here is my Xorg.conf:

Code: Select all

# Mouse: Logitech IntelliMouse Optical (MX 310 USB)
Section "InputDevice"
  Identifier    "Default Mouse"
### This is how I had it before ###
#  Driver       "mouse"
#  Option       "Name"                  "Logitech USB-PS/2 Optical Mouse"
#  Option       "Protocol"              "IMPS/2"
#  Option       "Device"                "/dev/input/mice"
#  Option       "CorePointer"
#  Option       "Buttons"               "7"
#  Option       "ZAxisMapping"          "4 5"
#  Option       "Emulate3Buttons"       "off"
#############################

        Driver "mouse"
        Option "CorePointer"
        Option "Protocol"       "Auto"
        Option "Device"         "/dev/input/mice"
        Option "Dev Phys"       "usb-0000:00:02.0-5/input0"
        Option "Dev Name"       "Logitech USB-PS/2 Optical Mouse"
        Option "ZAxisMapping"   "4 5"
        Option "Buttons"        "8"

EndSection
Also, once I did "emerge logitech-applet" what should I do next? When, how to run 'logitech-applet -s 800' and make it permanent or so?
Lastly, in Control Center, Peripherals, Mouse, there is a tab named "MX310 Optical Mouse". It is not enabled perhaps due to a permission problem (libusb). Do you know how to solve it? If I do locate libusb I do not get anything back.

Thank you,
Spiro
Top
astronic
n00b
n00b
Posts: 44
Joined: Sat Aug 16, 2003 9:48 pm
Location: Dortmund, Germany
Contact:
Contact astronic
Website

  • Quote

Post by astronic » Fri Jul 01, 2005 9:48 pm

SAngeli wrote:I am unable to use evdev Protocol or something does not work properly.
You must have evdev compiled into the kernel or have the appropriate module loaded, and "Dev Phys" must correspond with your device. Have a look at http://pstudios.ath.cx/linhowtos/mx510.php where the whole thing is explained for a Logitech MX510.
I wish to make my Logitech mouse work like my Microsoft Intelly mouse.
I can't help you directly because I've another mouse, but please notice that what you can do with X itself is pretty limited, for more sophisticated options have a look at x11-misc/imwheel.
Also, once I did "emerge logitech-applet" what should I do next? When, how to run 'logitech-applet -s 800' and make it permanent or so?
Somebody wrote a simple init script for this and put it under the GPL, well, here it is:

Code: Select all

#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
    after xdm
}

start() {
    ebegin "Starting logitch applet"
    /usr/sbin/logitech_applet ${OPTS}
    eend $? "Failed to start logitech applet"
}
Save this as /etc/init.d/logitech_applet, give it 755 permissions and do:

Code: Select all

rc-update add logitech_applet default

Put the options into /etc/conf.d/logitech_applet, for example do:

Code: Select all

echo OPTS="-e -s 800" > /etc/conf.d/logitech_applet
Lastly, in Control Center, Peripherals, Mouse, there is a tab named "MX310 Optical Mouse". It is not enabled perhaps due to a permission problem (libusb). Do you know how to solve it? If I do locate libusb I do not get anything back.
I wouldn't bother, the mouse has to work properly under non-KDE environments anyhow.

HTH,
Stefan.
Top
SAngeli
l33t
l33t
User avatar
Posts: 904
Joined: Fri Apr 16, 2004 5:57 pm
Location: Italy

  • Quote

Post by SAngeli » Sat Jul 02, 2005 4:28 pm

OK guys,

I thank you for your advices and web links. Here are my failures:

I have evdev compiled into the kernel.
I set my xorg.conf with (Option "Protocol" "Auto") but it fails to startx.
I set it to Auto and it starts startx.
Consequently, I am not able to load evdev. I see many different ways to make Logitech MX310 work: with evdev, without logitech applet, one way or the other. Is it ONE proper way to make my MX310 fully work, including my wheel (press and rotate)? I get confused as when I read around and find different ways for getting it to work. I never had so much hard time with my other Microsoft Intellimouse.

Here are portion of my logs and mouse info:

Xorg.0.log
(**) Option "Protocol" "evdev"
(**) Default Mouse: Protocol: evdev
(**) Option "CorePointer"
(**) Default Mouse: Core Pointer
(**) Option "Buttons" "8"
(**) Option "Emulate3Buttons" "off"
(**) Option "ZAxisMapping" "4 5"
(**) Default Mouse: ZAxisMapping: buttons 4 and 5
(**) Default Mouse: Buttons: 8
(**) Option "CoreKeyboard"
(**) Default Keyboard: Core Keyboard
(**) Option "Protocol" "standard"
(**) Default Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Default Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "cherryblueb"
(**) Default Keyboard: XkbModel: "cherryblueb"
(**) Option "XkbLayout" "it"
(**) Default Keyboard: XkbLayout: "it"
(**) Option "CustomKeycodes" "off"
(**) Default Keyboard: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Default Keyboard" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "evdev brain" (type: evdev brain)
(II) XINPUT: Adding extended input device "Default Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(**) Option "Dev Name" "Logitech USB-PS/2 Optical Mouse"
(**) Option "Dev Phys" "usb-0000:00:02.0-5/input0"
(EE) Default Mouse: cannot open input device
No core pointer
/var/log/message

Code: Select all

Jul  2 10:52:03 mir usb 2-5: new low speed USB device using ohci_hcd and address 4
Jul  2 10:52:03 mir input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:02.0-5
cat /proc-bus/input/devices

Code: Select all

I: Bus=0003 Vendor=046d Product=c01b Version=1800
N: Name="Logitech USB-PS/2 Optical Mouse"
P: Phys=usb-0000:00:02.0-5/input0
H: Handlers=mouse0 event2
B: EV=17
B: KEY=3f0000 0 0 0 0
B: REL=103
B: MSC=10
when I startx with Option "Protocol" "evdev"
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.11-gentoo-r7 x86_64 [ELF]
Current Operating System: Linux mir 2.6.11-gentoo-r11 #1 Wed Jun 22 19:38:01 CEST 2005 x86_64
Build Date: 05 June 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 2 10:55:28 2005
(==) Using config file: "/etc/X11/xorg.conf"
Using vt 7

(EE) Default Mouse: cannot open input device
No core pointer


Fatal server error:
failed to initialize core devices

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

when I startx with Option "Protocol" "Auto"

Code: Select all

(**) Option "Protocol" "Auto"
(**) Default Mouse: Device: "/dev/input/mice"
(**) Default Mouse: Protocol: "Auto"
(**) Option "CorePointer"
(**) Default Mouse: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Buttons" "8"
(**) Option "Emulate3Buttons" "off"
(**) Option "ZAxisMapping" "4 5"
(**) Default Mouse: ZAxisMapping: buttons 4 and 5
(**) Default Mouse: Buttons: 8
(**) Default Mouse: SmartScroll: 1
(**) Option "CoreKeyboard"
(**) Default Keyboard: Core Keyboard
(**) Option "Protocol" "standard"
(**) Default Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Default Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "cherryblueb"
(**) Default Keyboard: XkbModel: "cherryblueb"
(**) Option "XkbLayout" "it"
(**) Default Keyboard: XkbLayout: "it"
(**) Option "CustomKeycodes" "off"
(**) Default Keyboard: CustomKeycodes disabled
PLEASE help me. Please...

Thank you,
Spiro
Top
Richy
n00b
n00b
Posts: 65
Joined: Sun Mar 28, 2004 1:51 pm
Location: Berlin
Contact:
Contact Richy
Website

  • Quote

Post by Richy » Sun Jul 03, 2005 7:58 am

Hey,
I got my mouse working yesterday, with evdev, try this configuration:

Code: Select all

    Identifier  "Mouse1"
    Driver "mouse"
    Option "Protocol" "evdev"
    Option "ZAxisMapping" "7 8"
    Option "Dev Name" "Logitech USB-PS/2 Optical Mouse"
    Option "Buttons" "8"
Works for me...
GOod Luck
Top
SAngeli
l33t
l33t
User avatar
Posts: 904
Joined: Fri Apr 16, 2004 5:57 pm
Location: Italy

  • Quote

Post by SAngeli » Mon Aug 15, 2005 9:11 pm

Hi KozmoNaut,

somehow I was not able to configure my mouse with evdev. It always fails.

So, I will have to apply the logitech-applet script. Untill then, I wish to ask for a favor:

Could you please provide your settings for allowing your mouse to work and be fully configured?
Also mention your Gentoo version, platform and any kernel related info.

I thank you for your help.
Spiro
Top
KozmoNaut
Apprentice
Apprentice
User avatar
Posts: 168
Joined: Mon Dec 09, 2002 4:06 pm
Location: Denmark

  • Quote

Post by KozmoNaut » Tue Aug 16, 2005 7:58 am

SAngeli wrote:Hi KozmoNaut,

somehow I was not able to configure my mouse with evdev. It always fails.

So, I will have to apply the logitech-applet script. Untill then, I wish to ask for a favor:

Could you please provide your settings for allowing your mouse to work and be fully configured?
Also mention your Gentoo version, platform and any kernel related info.

I thank you for your help.
Spiro
Here is the relevant section from my xorg.conf:

Code: Select all

Section "InputDevice"

    Identifier  "Mouse"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mouse0"
    Option "ZAxisMapping"       "4 5"

EndSection
Exchange /dev/input/mouse0 for the device your mouse is on, or just /dev/input/mice.

Also, I don't use the side buttons, so I'm afraid I can't help you with that.

I'm running Gentoo 2005.0, kernel 2.6.12-gentoo-r6 with full USB HID support and event interface.
War. War never changes.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic