LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 11-10-2009, 03:37 PM   #1
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 56

Rep: Reputation: 15
Mouse Logitech MX310, the Button near scroll does not work ( Paste ) - Slackware 13


Hi,

I am using a mouse Logitech MX310 in Slackware 13.

The extra right/left buttons ( used to navigate after/before in the browser ), they are working.

But the button near the scroll ( used to paste selected text , like a simultaneous click of both right and left buttons) does not work.

Any idea of what I can do?

This is my default mouse configuration in xorg.conf

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

I have also tried change this configuration for

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

but it also does not work.

Last edited by cstrieder; 11-10-2009 at 03:42 PM. Reason: Include xorg.conf mouse relative configuration
 
Old 11-11-2009, 04:22 AM   #2
jumapeg
Member
 
Registered: Jul 2006
Location: Spain
Distribution: Slackware current
Posts: 32

Rep: Reputation: 15
I have that mouse and Slackware 13, the button to paste selected text is the scroll button (press down the scroll wheel), not the button near the scroll.

The button near the scroll needs logitech mouseware driver in windows, I haven't configured it in linux yet, but using xev command I see this:


Code:
ButtonPress event, serial 34, synthetic NO, window 0x3a00001,
    root 0x7a, subw 0x0, time 1377641, (169,0), root:(1181,25),
    state 0x10, button 10, same_screen YES

ButtonRelease event, serial 34, synthetic NO, window 0x3a00001,
    root 0x7a, subw 0x0, time 1377881, (169,0), root:(1181,25),
    state 0x10, button 10, same_screen YES
I hope this helps.
 
Old 11-12-2009, 02:06 AM   #3
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
Hi jumapeg,

actually I am using the scroll button for paste in Slackware 13.

But in Slackware 12 the button near the scroll works for paste. I want to know why it does not work in Slackware 13...

You know if It is possible to use the code provided by xev to program the button for paste?
 
Old 11-12-2009, 07:31 AM   #4
jumapeg
Member
 
Registered: Jul 2006
Location: Spain
Distribution: Slackware current
Posts: 32

Rep: Reputation: 15
Hi cstrieder
Quote:
Originally Posted by cstrieder View Post
You know if It is possible to use the code provided by xev to program the button for paste?
Check this link.
 
Old 11-13-2009, 02:58 AM   #5
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64 13.37
Posts: 105

Rep: Reputation: 16
Quote:
Originally Posted by cstrieder View Post
Hi jumapeg,

actually I am using the scroll button for paste in Slackware 13.

But in Slackware 12 the button near the scroll works for paste. I want to know why it does not work in Slackware 13...
I had the same issue. Enabling
Quote:
options psmouse proto=imps
in /etc/modprobe.d/psmouse.conf will bring back the behavior of Slack 12.2
 
Old 11-22-2009, 12:18 AM   #6
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,486

Rep: Reputation: 62
syvy wrote "options psmouse proto=imps"

that doesn't work for me here either.

This mouse can be usb or ps/2 with an adapter. I'm using it as ps/2. xev does indeed show it as button 10.

I suspect this to be an issue with 'xev' and hal/plugging.

/var/log/Xorg.0.log shows

======================
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 2.2.5
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 4.0
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(**) Macintosh mouse button emulation: (accel) filter chain progression: 2.00
(**) Macintosh mouse button emulation: (accel) filter stage 0: 20.00 ms
(**) Macintosh mouse button emulation: (accel) set acceleration profile 0
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event1"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
(II) config/hal: Adding input device Logitech USB-PS/2 Optical Mouse
(**) Logitech USB-PS/2 Optical Mouse: always reports core events
(**) Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event2"
(II) Logitech USB-PS/2 Optical Mouse: Found 10 mouse buttons
(II) Logitech USB-PS/2 Optical Mouse: Found x and y relative axes
(II) Logitech USB-PS/2 Optical Mouse: Found scroll wheel(s)
(II) Logitech USB-PS/2 Optical Mouse: Configuring as mouse
(**) Logitech USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5
(**) Logitech USB-PS/2 Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Logitech USB-PS/2 Optical Mouse" (type: MOUSE)
(**) Logitech USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
(**) Logitech USB-PS/2 Optical Mouse: (accel) filter chain progression: 2.00
(**) Logitech USB-PS/2 Optical Mouse: (accel) filter stage 0: 20.00 ms
(**) Logitech USB-PS/2 Optical Mouse: (accel) set acceleration profile 0
(II) Logitech USB-PS/2 Optical Mouse: initialized for relative axes.
=============================

So as to _why_ this is showing a macintosh mouse I have no idea. There isn't one plugged into the PC. But the fact remains, it's stating ""/dev/input/event2" so that's evdev for sure.

The ubuntuer's had a bug on this, and supposedly there can be a hal fdi for this, I don't think the exact location of the file/etc is correct, but I'm looking into this here myself (https://bugs.launchpad.net/ubuntu/+s...ev/+bug/173833)

I've been futsing with this too long tonight. Will give it a shot some more tomorrow and see what's what.
 
Old 11-22-2009, 12:36 AM   #7
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,486

Rep: Reputation: 62
ahahaha, I decided to do "one more google" on this...and voila`

I have all the buttons working



My revised sections:

===============================================

Section "Module"
Load "dbe"
Load "dri"
Load "dri2"
Load "extmod"
Load "glx"
Disable "evdev" # <--- Added by Old_Fogie
EndSection

==============================================
Section "InputDevice"
Identifier "mx310" <---stock xorg.conf has this as Monitor0 if I recall so change it up top.
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
# Following makes wheel work, makes the mouse a lefty
# mouse (the 3 2 1) and the 6 & 7 do back/forward in
# opera & firefox which are the side buttons.
Option "ButtonMapping" "3 2 1 6 7"
# Option "ButtonMapping" "1 2 3 6 7"
Option "Emulate3Buttons" "true"
# New Still Testing:
# Option "SampleRate" "200" # default whatever device does
# Option "Resolution" "800" # default whatever device does
Option "VertScrollDelta" "6" # this doesn't seem to work

### this commented out section not tested on Slack 13
### Note on the above: that is global for the mx310
### If I were to not want to force button mapping with the
### option "ButtonMapping" option then I'd need to have the following:
###
### Change Option "Buttons" "7"
### Change Option "ZAxisMapping" "6 7"
###
### Then create a .Xmodmap file in each home of each user with:
### pointer = 3 2 1 8 9 4 5 6 7 10 11
EndSection


At bottom of my xorg.conf I put a _new_ section:

# Disable hal from bringing up evdev even tho we specifically
# declare the module *NOT* to load above in section Modules.
# Taken from:
# https://launchpad.net/bugs/199923
Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection
 
Old 11-22-2009, 12:40 AM   #8
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,486

Rep: Reputation: 62
One correction, I do have this plugged into USB port, and not the PS/2.

Also, I have this in my ~/.xbindkeysrc file:

#the following line make button 8 of my mouse issue the Alt Key & Left Arrow key
"/usr/bin/X11/xvkbd -xsendevent -text "\[Alt]\[Left]""
m:0x0 + b:6
#the following makes button 8 of my mouse issue the Alt Key & Right Arrow key
"/usr/bin/X11/xvkbd -xsendevent -text "\[Alt]\[Right]""
m:0x0 + b:7
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse Scroll Button doesn't work with Logitech PS/2 MOuse. duffmckagan Slackware 10 12-02-2008 11:27 PM
Logitech 3 button mouse (no scroll wheel) Jmorales22 Linux - Hardware 4 03-23-2004 06:52 PM
Scroll feature in Logitech Scroll mouse does not work ssmaitra Linux - Hardware 6 11-11-2003 07:43 AM
Logitech mouse - scroll button kazuni Linux - Newbie 1 06-03-2003 06:19 PM
How do I get scroll button on mouse to work .. kato678 Linux - General 1 06-26-2002 09:11 PM


All times are GMT -5. The time now is 09:48 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration