configuring a 3 button mouse.

2010-06-07 Thread Geoffrey
I recently upgraded my Mandriva install and now it appears that my 3 
button mouse is emulating a 2 button mouse as cut/paste only works when 
I select buttons 1 and 3, but not with button 2.


The middle button is a wheel and scrolling does work with it, which 
leads to more confusion.


This has always 'just worked' so it's been a while since I tried to 
configure this.  my xorg.conf looks right (to me):


Section InputDevice
Identifier Mouse1
Driver mouse
Option Protocol ExplorerPS/2
Option Device /dev/mouse
Option Emulate3Buttons
Option Emulate3Timeout 50
Option EmulateWheel
Option EmulateWheelButton 2
EndSection

Any suggestions would be appreciated.

--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: configuring a 3 button mouse.

2010-06-07 Thread Dan Nicholson
On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com wrote:
 I recently upgraded my Mandriva install and now it appears that my 3 button
 mouse is emulating a 2 button mouse as cut/paste only works when I select
 buttons 1 and 3, but not with button 2.

 The middle button is a wheel and scrolling does work with it, which leads to
 more confusion.

 This has always 'just worked' so it's been a while since I tried to
 configure this.  my xorg.conf looks right (to me):

 Section InputDevice
    Identifier Mouse1
    Driver mouse
    Option Protocol ExplorerPS/2
    Option Device /dev/mouse
    Option Emulate3Buttons
    Option Emulate3Timeout 50
    Option EmulateWheel
    Option EmulateWheelButton 2
 EndSection

 Any suggestions would be appreciated.

Can you the log so we can see what's going on? My guess is the device
isn't using the mouse driver like you think it is.

--
Dan
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: configuring a 3 button mouse.

2010-06-07 Thread Dan Nicholson
On Mon, Jun 7, 2010 at 12:54 PM, Geoffrey li...@serioustechnology.com wrote:
 Dan Nicholson wrote:

 On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com
 wrote:

 I recently upgraded my Mandriva install and now it appears that my 3
 button
 mouse is emulating a 2 button mouse as cut/paste only works when I select
 buttons 1 and 3, but not with button 2.

 The middle button is a wheel and scrolling does work with it, which leads
 to
 more confusion.

 This has always 'just worked' so it's been a while since I tried to
 configure this.  my xorg.conf looks right (to me):

 Section InputDevice
   Identifier Mouse1
   Driver mouse
   Option Protocol ExplorerPS/2
   Option Device /dev/mouse
   Option Emulate3Buttons
   Option Emulate3Timeout 50
   Option EmulateWheel
   Option EmulateWheelButton 2
 EndSection

 Any suggestions would be appreciated.

 Can you the log so we can see what's going on? My guess is the device
 isn't using the mouse driver like you think it is.

 I think you're onto something.  I see this:

 (==) The core pointer device wasn't specified explicitly in the layout.
        Using the first mouse device.

 I've attached both my xorg.conf and the log for further insights.

 --
 Until later, Geoffrey

 I predict future happiness for America if they can prevent
 the government from wasting the labors of the people under
 the pretense of taking care of them.
 - Thomas Jefferson

 # nvidia-xconfig: X configuration file generated by nvidia-xconfig
 # nvidia-xconfig:  version 1.0  (buildmeis...@builder58)  Wed Dec  9
 16:34:26 PST 2009

 # Xorg configuration created by pyxf86config

 Section ServerLayout
    Identifier     Default Layout
    Screen      0  Screen0 0 0
    InputDevice    Mouse0 CorePointer
    InputDevice    Keyboard0 CoreKeyboard
 EndSection

 Section InputDevice

    # generated from default
    Identifier     Mouse0
    Driver         mouse
    Option         Protocol auto
    Option         Device /dev/input/mice
    Option         Emulate3Buttons no
    Option         ZAxisMapping 4 5
 EndSection

It looks like it's using the right settings, but now you have
Emulate3Buttons no. From your log:

(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9

Perhaps you should change that to Emulate3Buttons yes?

--
Dan
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: configuring a 3 button mouse.

2010-06-07 Thread Geoffrey

Dan Nicholson wrote:

On Mon, Jun 7, 2010 at 12:54 PM, Geoffrey li...@serioustechnology.com wrote:

Dan Nicholson wrote:

On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com
wrote:

I recently upgraded my Mandriva install and now it appears that my 3
button
mouse is emulating a 2 button mouse as cut/paste only works when I select
buttons 1 and 3, but not with button 2.

The middle button is a wheel and scrolling does work with it, which leads
to
more confusion.

This has always 'just worked' so it's been a while since I tried to
configure this.  my xorg.conf looks right (to me):

Section InputDevice
  Identifier Mouse1
  Driver mouse
  Option Protocol ExplorerPS/2
  Option Device /dev/mouse
  Option Emulate3Buttons
  Option Emulate3Timeout 50
  Option EmulateWheel
  Option EmulateWheelButton 2
EndSection

Any suggestions would be appreciated.

Can you the log so we can see what's going on? My guess is the device
isn't using the mouse driver like you think it is.

I think you're onto something.  I see this:

(==) The core pointer device wasn't specified explicitly in the layout.
   Using the first mouse device.

I've attached both my xorg.conf and the log for further insights.

--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeis...@builder58)  Wed Dec  9
16:34:26 PST 2009

# Xorg configuration created by pyxf86config

Section ServerLayout
   Identifier Default Layout
   Screen  0  Screen0 0 0
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
EndSection

Section InputDevice

   # generated from default
   Identifier Mouse0
   Driver mouse
   Option Protocol auto
   Option Device /dev/input/mice
   Option Emulate3Buttons no
   Option ZAxisMapping 4 5
EndSection


It looks like it's using the right settings, but now you have
Emulate3Buttons no. From your log:

(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9

Perhaps you should change that to Emulate3Buttons yes?


I don't think so.  I don't want to emulate 3 buttons as I have 3 
buttons.  I'm pretty sure Emulate3Buttons is what you use when you have 
a two button mouse and you want to be able to use button 1 and 2 to 
emulate a center button.




--
Dan




--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: configuring a 3 button mouse.

2010-06-07 Thread Sergio Monteiro Basto

  On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com
  wrote:
  I recently upgraded my Mandriva install and now it appears that my 3
  button
  mouse is emulating a 2 button mouse as cut/paste only works when I select
  buttons 1 and 3, but not with button 2.
 
  The middle button is a wheel and scrolling does work with it, which leads
  to
  more confusion.

wheel work, and click not ? hum ... the middle button not working at
all ?
to test it, for example, use middle button on links of Firefox, opens
links ?  


  (**) Option Protocol auto
  (**) Mouse0: Device: /dev/input/mice
  (**) Mouse0: Protocol: auto
  (**) Option CorePointer
  (**) Mouse0: Core Pointer
  (**) Option Device /dev/input/mice
  (**) Option Emulate3Buttons no
  (**) Option ZAxisMapping 4 5
  (**) Mouse0: ZAxisMapping: buttons 4 and 5
  (**) Mouse0: Buttons: 9

seems correct , may be is not X fault ... 

-- 
Sérgio M. B.


smime.p7s
Description: S/MIME cryptographic signature
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: configuring a 3 button mouse.

2010-06-07 Thread Geoffrey

Sergio Monteiro Basto wrote:

On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com
wrote:

I recently upgraded my Mandriva install and now it appears that my 3
button
mouse is emulating a 2 button mouse as cut/paste only works when I select
buttons 1 and 3, but not with button 2.

The middle button is a wheel and scrolling does work with it, which leads
to
more confusion.


wheel work, and click not ? hum ... the middle button not working at
all ?
to test it, for example, use middle button on links of Firefox, opens
links ?  


Wheel scrolls, but button does nothing on links or anything else.


(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9


seems correct , may be is not X fault ... 


What else could it be???  I might hook this mouse up to another linux 
box and see if it does the same thing.



--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: configuring a 3 button mouse.

2010-06-07 Thread Geoffrey

Sergio Monteiro Basto wrote:

On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com
wrote:

I recently upgraded my Mandriva install and now it appears that my 3
button
mouse is emulating a 2 button mouse as cut/paste only works when I select
buttons 1 and 3, but not with button 2.

The middle button is a wheel and scrolling does work with it, which leads
to
more confusion.


wheel work, and click not ? hum ... the middle button not working at
all ?
to test it, for example, use middle button on links of Firefox, opens
links ?  


Wheel scrolls, but button does nothing on links or anything else.


(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9


seems correct , may be is not X fault ... 


What else could it be???  I might hook this mouse up to another linux 
box and see if it does the same thing.



--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: configuring a 3 button mouse.

2010-06-07 Thread Geoffrey

Sergio Monteiro Basto wrote:

On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com
wrote:

I recently upgraded my Mandriva install and now it appears that my 3
button
mouse is emulating a 2 button mouse as cut/paste only works when I select
buttons 1 and 3, but not with button 2.

The middle button is a wheel and scrolling does work with it, which leads
to
more confusion.


wheel work, and click not ? hum ... the middle button not working at
all ?
to test it, for example, use middle button on links of Firefox, opens
links ?  


Wheel scrolls, but button does nothing on links or anything else.


(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9


seems correct , may be is not X fault ... 


What else could it be???  I might hook this mouse up to another linux 
box and see if it does the same thing.



--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: configuring a 3 button mouse.

2010-06-07 Thread Sergio Monteiro Basto
On Mon, 2010-06-07 at 16:28 -0400, Geoffrey wrote:
  # Xorg configuration created by pyxf86config
 
  Section ServerLayout
 Identifier Default Layout
 Screen  0  Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
  EndSection
 
  Section InputDevice
 
 # generated from default
 Identifier Mouse0
 Driver mouse
 Option Protocol auto
 Option Device /dev/input/mice
 Option Emulate3Buttons no
 Option ZAxisMapping 4 5
  EndSection

mouse drive and kbd drive are deprecated, try comment 
#InputDeviceMouse0 CorePointer
#InputDeviceKeyboard0 CoreKeyboard
with #

I don't have more suggestions, 
You must have xorg-x11-drv-evdev install before restart X. 
evdev is the new concept of input drives and if you found a bug should
be reported on new drive not on deprecated ones.



-- 
Sérgio M. B.


smime.p7s
Description: S/MIME cryptographic signature
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: configuring a 3 button mouse.

2010-06-07 Thread Dan Nicholson
On Mon, Jun 7, 2010 at 5:26 PM, Geoffrey li...@serioustechnology.com wrote:
 Sergio Monteiro Basto wrote:

 On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey
 li...@serioustechnology.com
 wrote:

 I recently upgraded my Mandriva install and now it appears that my 3
 button
 mouse is emulating a 2 button mouse as cut/paste only works when I
 select
 buttons 1 and 3, but not with button 2.

 The middle button is a wheel and scrolling does work with it, which
 leads
 to
 more confusion.

 wheel work, and click not ? hum ... the middle button not working at
 all ?
 to test it, for example, use middle button on links of Firefox, opens
 links ?

 Wheel scrolls, but button does nothing on links or anything else.

 (**) Option Protocol auto
 (**) Mouse0: Device: /dev/input/mice
 (**) Mouse0: Protocol: auto
 (**) Option CorePointer
 (**) Mouse0: Core Pointer
 (**) Option Device /dev/input/mice
 (**) Option Emulate3Buttons no
 (**) Option ZAxisMapping 4 5
 (**) Mouse0: ZAxisMapping: buttons 4 and 5
 (**) Mouse0: Buttons: 9

 seems correct , may be is not X fault ...

 What else could it be???  I might hook this mouse up to another linux box
 and see if it does the same thing.

I don't think it's the driver emulating 3 buttons. Looking at the old
mouse source, it should be giving you a message like (**) Mouse0:
Emulate3Buttons, Emulate3Timeout: 50.

Can you run xev and look for the what codes it gives you when you
press the middle button and left+middle?

--
Dan
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: configuring a 3 button mouse.

2010-06-07 Thread Geoffrey

Dan Nicholson wrote:

On Mon, Jun 7, 2010 at 5:26 PM, Geoffrey li...@serioustechnology.com wrote:

Sergio Monteiro Basto wrote:

On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey
li...@serioustechnology.com
wrote:

I recently upgraded my Mandriva install and now it appears that my 3
button
mouse is emulating a 2 button mouse as cut/paste only works when I
select
buttons 1 and 3, but not with button 2.

The middle button is a wheel and scrolling does work with it, which
leads
to
more confusion.

wheel work, and click not ? hum ... the middle button not working at
all ?
to test it, for example, use middle button on links of Firefox, opens
links ?

Wheel scrolls, but button does nothing on links or anything else.


(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9

seems correct , may be is not X fault ...

What else could it be???  I might hook this mouse up to another linux box
and see if it does the same thing.


I don't think it's the driver emulating 3 buttons. Looking at the old
mouse source, it should be giving you a message like (**) Mouse0:
Emulate3Buttons, Emulate3Timeout: 50.

Can you run xev and look for the what codes it gives you when you
press the middle button and left+middle?


Absolutely no output when pressing the middle (wheel) button.

It's quite difficult to depress the left+middle at the same time as the 
wheel turns.  The fact that I get nothing when the middle button is 
depressed is weird.  I'm beginning to wonder if I have a bad mouse?




--
Dan




--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: configuring a 3 button mouse.

2010-06-07 Thread Geoffrey

Geoffrey wrote:

Dan Nicholson wrote:
On Mon, Jun 7, 2010 at 5:26 PM, Geoffrey li...@serioustechnology.com 
wrote:

Sergio Monteiro Basto wrote:

On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey
li...@serioustechnology.com
wrote:
I recently upgraded my Mandriva install and now it appears that 
my 3

button
mouse is emulating a 2 button mouse as cut/paste only works when I
select
buttons 1 and 3, but not with button 2.

The middle button is a wheel and scrolling does work with it, 
which

leads
to
more confusion.

wheel work, and click not ? hum ... the middle button not working at
all ?
to test it, for example, use middle button on links of Firefox, opens
links ?

Wheel scrolls, but button does nothing on links or anything else.


(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9

seems correct , may be is not X fault ...
What else could it be???  I might hook this mouse up to another linux 
box

and see if it does the same thing.


I don't think it's the driver emulating 3 buttons. Looking at the old
mouse source, it should be giving you a message like (**) Mouse0:
Emulate3Buttons, Emulate3Timeout: 50.

Can you run xev and look for the what codes it gives you when you
press the middle button and left+middle?


Absolutely no output when pressing the middle (wheel) button.

It's quite difficult to depress the left+middle at the same time as the 
wheel turns.  The fact that I get nothing when the middle button is 
depressed is weird.  I'm beginning to wonder if I have a bad mouse?


It's not the mouse.  I plugged in a wired 3 button mouse and it exhibits 
the same behavior.


--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com