Microsoft track ball mouse: extra buttons don't work (wrong mouse protocol)

Bug #123201 reported by Andy Barber
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Invalid
Low
Pascal De Vuyst
xserver-xorg-input-evdev (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: firefox

I have found that the page forward & page back buttons of my Microsoft do not work in Firefox for Linux, of Safari for windows but they do work in Firefox for windows

ProblemType: Bug
Architecture: i386
Date: Sat Jun 30 10:06:50 2007
DistroRelease: Ubuntu 7.04
Package: firefox 2.0.0.4+1-0ubuntu1
PackageArchitecture: i386
SourcePackage: firefox
Uname: Linux acb58 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

Tags: feisty
Revision history for this message
Andy Barber (acb58) wrote :
Revision history for this message
Andy Barber (acb58) wrote :

...my Microsoft Trackball...

Revision history for this message
John Vivirito (gnomefreak) wrote :

Is this a mouse or a joystick or what?
Does this only happen in firefox in Ubuntu? Does this happen in other browsers or normal desktop usage, email, rss feed reader, ect....

Changed in firefox:
assignee: nobody → mozilla-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Andy Barber (acb58) wrote : Re: [Bug 123201] Re: Using Microsoft track ball

It's a Microsoft Trackball. It has the normal left & right buttons but also has a page forward & page back button. The page buttons work ok in Firefox in windows but do not work in Firefox in Ubuntu. The trackball & wheel work fine in Ubuntu.

Regards
Andy Barber
Mailto:<email address hidden>
Tel: +44 20 8402 3385 ~ Mob: +44 788 905 2035 ~ Fax: +44 705 069 5845
"Hunky Dory, Tickety Boo and All Systems Go!"

----- Original Message ----
From: John Vivirito <email address hidden>
To: <email address hidden>
Sent: Tuesday, 3 July, 2007 3:15:50 PM
Subject: [Bug 123201] Re: Using Microsoft track ball

Is this a mouse or a joystick or what?
Does this only happen in firefox in Ubuntu? Does this happen in other browsers or normal desktop usage, email, rss feed reader, ect....

** Changed in: firefox (Ubuntu)
   Importance: Undecided => Low
     Assignee: (unassigned) => Mozilla Bugs
       Status: New => Incomplete

** Tags added: mt-needtestcase

--
Using Microsoft track ball
https://bugs.launchpad.net/bugs/123201
You received this bug notification because you are a direct subscriber
of the bug.

      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/

Revision history for this message
John Vivirito (gnomefreak) wrote : Re: Using Microsoft track ball

This sounds more of ubuntu not have drivers for your track ball. mot so much firefox, but i would need answers to the other questions i asked you.

Revision history for this message
Andy Barber (acb58) wrote : Re: [Bug 123201] Re: Using Microsoft track ball

To be more specific it is a Microsoft Explorer 1.0 (Product ID 52241-576). I'm answering via email, so if I forgot to answer anything else, please ask again.

Regards
Andy Barber
Mailto:<email address hidden>
Tel: +44 20 8402 3385 ~ Mob: +44 788 905 2035 ~ Fax: +44 705 069 5845
"Hunky Dory, Tickety Boo and All Systems Go!"

----- Original Message ----
From: John Vivirito <email address hidden>
To: <email address hidden>
Sent: Tuesday, 3 July, 2007 9:14:06 PM
Subject: [Bug 123201] Re: Using Microsoft track ball

This sounds more of ubuntu not have drivers for your track ball. mot so
much firefox, but i would need answers to the other questions i asked
you.

--
Using Microsoft track ball
https://bugs.launchpad.net/bugs/123201
You received this bug notification because you are a direct subscriber
of the bug.

___________________________________________________________
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. http://uk.docs.yahoo.com/trueswitch2.html

Revision history for this message
Alexander Sack (asac) wrote :

On Wed, Jul 04, 2007 at 06:00:39PM -0000, Andy Barber wrote:
> To be more specific it is a Microsoft Explorer 1.0 (Product ID 52241-576). I'm answering via email, so if I forgot to answer anything else, please ask again.

Can you please drop you mouse section in /etc/X11/xorg.conf?

 - Alexander

Revision history for this message
Andy Barber (acb58) wrote :

How do I do that?

Regards
Andy Barber
Mailto:<email address hidden>
Tel: +44 20 8402 3385 ~ Mob: +44 788 905 2035 ~ Fax: +44 705 069 5845
"Hunky Dory, Tickety Boo and All Systems Go!"

----- Original Message ----
From: Alexander Sack <email address hidden>
To: <email address hidden>
Sent: Thursday, 5 July, 2007 10:52:33 AM
Subject: Re: [Bug 123201] Re: Using Microsoft track ball

On Wed, Jul 04, 2007 at 06:00:39PM -0000, Andy Barber wrote:
> To be more specific it is a Microsoft Explorer 1.0 (Product ID 52241-576). I'm answering via email, so if I forgot to answer anything else, please ask again.

Can you please drop you mouse section in /etc/X11/xorg.conf?

 - Alexander

--
Using Microsoft track ball
https://bugs.launchpad.net/bugs/123201
You received this bug notification because you are a direct subscriber
of the bug.

      ___________________________________________________________
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html

Revision history for this message
Andy Barber (acb58) wrote : Re: Using Microsoft track ball

I still have not had my question answered. I was asked to "drop you mouse section in /etc/X11/xorg.conf" & I said 'how do I do that?

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 123201] Re: Using Microsoft track ball

On Thu, Jul 19, 2007 at 05:55:36PM -0000, Andy Barber wrote:
> I still have not had my question answered. I was asked to "drop you
> mouse section in /etc/X11/xorg.conf" & I said 'how do I do that?
>

Sorry for the confusion. I ment: please post your Mouse Section in
/etc/X11/xorg.conf

 - Alexander

Revision history for this message
Andy Barber (acb58) wrote :

I still don't understand what you mean

Regards
Andy Barber
Mailto:<email address hidden>
Tel: +44 20 8402 3385 ~ Mob: +44 788 905 2035 ~ Fax: +44 705 069 5845
"Hunky Dory, Tickety Boo and All Systems Go!"

----- Original Message ----
From: Alexander Sack <email address hidden>
To: <email address hidden>
Sent: Monday, 23 July, 2007 11:14:01 AM
Subject: Re: [Bug 123201] Re: Using Microsoft track ball

On Thu, Jul 19, 2007 at 05:55:36PM -0000, Andy Barber wrote:
> I still have not had my question answered. I was asked to "drop you
> mouse section in /etc/X11/xorg.conf" & I said 'how do I do that?
>

Sorry for the confusion. I ment: please post your Mouse Section in
/etc/X11/xorg.conf

 - Alexander

--
Using Microsoft track ball
https://bugs.launchpad.net/bugs/123201
You received this bug notification because you are a direct subscriber
of the bug.

      ___________________________________________________________
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html

Revision history for this message
Alexander Sack (asac) wrote :

On Mon, Jul 23, 2007 at 04:42:50PM -0000, Andy Barber wrote:
> I still don't understand what you mean
>
> Regards
> Andy Barber
> Mailto:<email address hidden>
> Tel: +44 20 8402 3385 ~ Mob: +44 788 905 2035 ~ Fax: +44 705 069 5845
> "Hunky Dory, Tickety Boo and All Systems Go!"
>
> ----- Original Message ----
> From: Alexander Sack <email address hidden>
> To: <email address hidden>
> Sent: Monday, 23 July, 2007 11:14:01 AM
> Subject: Re: [Bug 123201] Re: Using Microsoft track ball
>
> On Thu, Jul 19, 2007 at 05:55:36PM -0000, Andy Barber wrote:
> > I still have not had my question answered. I was asked to "drop you
> > mouse section in /etc/X11/xorg.conf" & I said 'how do I do that?
> >
>
> Sorry for the confusion. I ment: please post your Mouse Section in
> /etc/X11/xorg.conf
>

Please attach the complete /etc/X11/xorg.conf file to this bug report ;).

 - Alexander

Revision history for this message
Andy Barber (acb58) wrote :
Download full text (5.7 KiB)

Hi Alexander

I have found what you wanted & have attached it here:-

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
    Fontpath "/usr/share/fonts/X11/misc"
    Fontpath "/usr/share/fonts/X11/cyrillic"
    Fontpath "/usr/share/fonts/X11/100dpi/:unscaled"
    Fontpath "/usr/share/fonts/X11/75dpi/:unscaled"
    Fontpath "/usr/share/fonts/X11/Type1"
    Fontpath "/usr/share/fonts/X11/100dpi"
    Fontpath "/usr/share/fonts/X11/75dpi"
    # path to defoma fonts
    Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load "i2c"
    Load "bitmap"
    Load "ddc"
    Load "extmod"
    Load "freetype"
    Load "glx"
    Load "int10"
    Load "vbe"
EndSection

Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "Device" "/dev/input/wacom"
    Option "Type" "stylus"
    Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
    Driver "wacom"
    Identifier "eraser"
    Option "Device" "/dev/input/wacom"
    Option "Type" "eraser"
    Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
    Driver "wacom"
    Identifier "cursor"
    Option "Device" "/dev/input/wacom"
    Option "Type" "cursor"
    Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "Device"
    Identifier "nVidia Corporation NV17 [GeForce4 MX 440]"
    Driver "nvidia"
    Busid "PCI:1:0:0"
    Option "AddARGBVisuals" "True"
    Option "AddARGBGLXVisuals" "True"
    Option "NoLogo" "True"
EndSection

Section "Monitor"
    Identifier "LS704U"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device "nVidia Corporation NV17 [GeForce4 MX 440]"
    Monitor "LS704U"
    Defaultdepth 24
    SubSection "Display"
        Depth 1
        M...

Read more...

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote : Re: Using Microsoft track ball

Thanks for your bug report.

What event do your back and forward buttons report if you run the following command from a terminal:
$ xev | grep button
Now click the back and forward button in the rectangle.

Tells us which button number is reported when pressing the back button and what button number is reported when pressing the forward button.

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Assigning to xorg.

Changed in xorg:
assignee: nobody → pascal-devuyst
status: New → Incomplete
Revision history for this message
Andy Barber (acb58) wrote :

Here is what I get when I tried the $ xev | grep button command:
Left button - state 0x10, button 1 same_screen YES
                     state 0x100, button 1 same_screen YES
Right button - state 0x10, button 3 same_screen YES
                       state 0x410, button 3 same_screen YES
Back button - state 0x10, button 2 same_screen YES
                       state 0x210, button 2 same_screen YES
Forward Button - state 0x10, button 3 same_screen YES
                            state 0x410, button 3 same_screen YES (AGAIN!)

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Currently this can only be made to work in firefox and not in nautlis, yelp, ... with the following workaround:

1. Open a terminal and enter the following command:
  $ sudo nano /etc/X11/xorg.conf
2. Change the "Configured Mouse" protocol to:
    Option "Protocol" "Auto"
3. Add the following following line (this maps horizontal scrolling to your back and forward mouse button, horizontal scrolling by default has back and forward actions in firefox):
    Option "ButtonMapping" "1 2 3 6 7"

It should look like this:

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

4. Restart X (Ctrl-Alt-Backspace).

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Not a firefox issue.

Changed in firefox:
assignee: mozilla-bugs → pascal-devuyst
status: Incomplete → Invalid
Changed in xserver-xorg-input-mouse:
status: Incomplete → Triaged
assignee: pascal-devuyst → nobody
status: Triaged → Confirmed
Revision history for this message
Andy Barber (acb58) wrote : Re: Microsoft track ball mouse: extra buttons don't work

Tank you, Thank you & thrice Thank you!

You have fixed it & I can now use my Micro$oft trackball in Firefox as I want it to work

Revision history for this message
Andy Barber (acb58) wrote :

Please mark problem as fixed.

Andy Barber

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Andy,
The main problem here is that the mouse protocol "ImPS/2" is always selected by default in Ubuntu/Debian while your mouse and other mice need the "ExplorerPS/2" protocol to make the extra buttons work.
The ButtonMapping needed to make this work in FireFox is not a bug. But the wrong mouse protocol is a bug, that is why I will leave this bug report open.

Revision history for this message
Alexander Kiel (alexanderkiel) wrote :

>But the wrong mouse protocol is a bug, that is why I will leave this bug report open.

Yes thats the problem. I have a fresh installation of Gusty here. I have a Microsoft Wireless Intellimouse Explorer 2.0. My mouse section of xorg.conf looks so:

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
 Option "Device" "/dev/input/mice"
 Option "Protocol" "ImPS/2"
 Option "ZAxisMapping" "4 5"
 Option "Emulate3Buttons" "true"
EndSection

Ubuntu need a proper mouse detection and the GUI for mouse configuration needs an update to reflect more than two buttons + scrollweel.

Bryce Harrington (bryce)
tags: added: feisty
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

should be fixed years ago when we switched to the -evdev driver.

affects: xserver-xorg-input-mouse (Ubuntu) → xserver-xorg-input-evdev (Ubuntu)
Changed in xserver-xorg-input-evdev (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.