Re: [XFree86] Can't get a 7-button mouse setup correctly.

2003-11-26 Thread Rafa Rzepecki
On Tuesday 25 of November 2003 23:50, Ing. Jozef Sakalos wrote:
 What protocol to use for Logitech would be good question for
 developers, I guess.

I use MouseManPlusPS/2 for my Logitech Cordless Optical. It works 
fine, all 4 buttons + roller are reported.

As Logitech mice do support IntelliMouse protocol, that support is 
limited and in order to get all features working, one needs to use 
Logitech's PS2++ protocol; AFAIK it's the one implemented as 
MouseManPlusPS/2 in mouse_drv.o.

Even if it doesn't support 7 buttons, the fix should be 
straightforward, as the support built in the protocol AFAIR.
I have the specifications somewhere, if anybody is interested.

-- 
Rafa Rzepecki

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Where to put xinitrc? (Re: [XFree86] Can't get a 7-button mouse setup correctly.)

2003-11-26 Thread Alon Weinstein
Hello all.

After running xmodmap the scrollers work fine. However -- I can't make 
xmodmap run automatically -- I've tried putting a line to run it in 
~/.xinitrc, and I still have to run it manually every time I start an X 
session -- Is there some other place I should be putting it?
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: Where to put xinitrc? (Re: [XFree86] Can't get a 7-button mouse setup correctly.)

2003-11-26 Thread Ing. Jozef Sakalos
Hi Alon,

it depends on which scripts are executed on X startup and in which order 
on your system.

I have it in /etc/X11/xdm/Xstartup - I use SuSE Linux 8.2.

You could put it also in /etc/X11/Xmodmap - here you would write only:
pointer = 1 2 3 6 7 4 5
not full xmodmap -e pointer = 1 2 3 6 7 4 5

Mind the spaces around equal sign.

Another possibility is ~/.Xmodmap.

Let me know  what place works for you.

Best regards,
Jozef
[EMAIL PROTECTED]

On Wednesday 26 November 2003 09:21, Alon Weinstein wrote:
 Hello all.

 After running xmodmap the scrollers work fine. However -- I can't
 make xmodmap run automatically -- I've tried putting a line to run it
 in ~/.xinitrc, and I still have to run it manually every time I start
 an X session -- Is there some other place I should be putting it?
 ___
 XFree86 mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/xfree86
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Can't get a 7-button mouse setup correctly.

2003-11-26 Thread Ing. Jozef Sakalos
Hi Owen,

On Tuesday 25 November 2003 21:59, OS wrote:
Do you have any
 experience with the Logitech mice ? 

No, I don't. 

 Should I be using a different 
 protocol ? IMPS/2 and ExplorerPS/2 don't work at all. 

Try another protocol. Protocol has to be correct before anything else. I 
tried to use another protocol with M$ IntelliMouse. Movement, 3 buttons 
and wheel worked but not other buttons. I had to choose ExplorerPS/2 to 
make them working.

What protocol to use for Logitech would be good question for developers, 
I guess.

 Is there 
 anything I can do to see what is coming from the mouse given that xev 
 shows absolutely nothing for buttons 4, 5, 6  7. 

I have experience that if you do not see mouse button presses in xev you 
can forget it will work. I don't know of any other tool that goes more 
to the hardware.

 I am coming to the conclusion that Logitech mice will never be fully
 supported by X

This is question or remark for developers - I really don't know.

 :-( which is a shame as M$ mice are a lot more pricey 

Just my opinion: On the contrary of Microsoft software, the Microsoft 
HARDWARE is worth the money you spend for it.

Best Regards,
Jozef
[EMAIL PROTECTED]
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Can't get a 7-button mouse setup correctly.

2003-11-25 Thread Ing. Jozef Sakalos
Hi Owen,

I use Microsoft IntelliMouse Explorer successfully with X 4.3.0. The 
section in XF86Config is not enough to get it working. First problem is 
that wheel stops working as it's now remapped to buttons 6 and 7 and 
applications expect 4 and 5. 

To correct this you need to execute:

xmodmap -e pointer = 1 2 3 6 7 4 5 - best as a part of a X startup 
script.

Now wheel works fine but if you want to get use of other buttons you 
have to use imwheel. I include my imwheelrc that I use for KDE.

Regards,
Ing. Jozef Sakalos
[EMAIL PROTECTED]

The config is:
XF86Config:
-
Section InputDevice
  Driver   mouse
  Identifier   Mouse[1]
  Option   AlwaysCore on
  Option   Emulate3Buttons off
  Option   Buttons 7
  Option   Device /dev/psaux
  Option   Protocol ExplorerPS/2
  Option   ZAxisMapping 6 7
EndSection
-

imwheelrc:
-
.*pdf$
None,   Up, Up
None,   Down,   Down
None,   Left,   Control_L|Left
None,   Right,  Control_L|Right
@Exclude

Open File.*
None,   Left,   Alt_L|Left
None,   Right,  Alt_L|Right
@Exclude

VIM[1-9]*$
None,   Left,   Control_L|o
None,   Right,  Control_L|i
@Exclude

Pixie$
None,   Down,   Down
None,   Up, Up
@Exclude

.*Konqueror$
None,   Left,   Alt_L|Left
None,   Right,  Alt_L|Right
@Exclude

.*Mozilla.*
None,   Left,   Alt_L|Left
None,   Right,  Alt_L|Right
@Exclude


.*
None,   Left,   Alt_L|Left
None,   Right,  Alt_L|Right
@Exclude

.*Netscape.*
None,   Left,   Alt_L|Left
None,   Right,  Alt_L|Right
@Exclude


.*Quanta$
None,   Left,   Alt_L|Left
None,   Right,  Alt_L|Right
@Exclude

^.*Mozilla.
None,   Left,   Alt_L|Left
None,   Right,  Alt_L|Right
@Exclude

# KView
^.KView
None,   Left,   Page_Down
None,   Right,  Page_Up
@Exclude

.^KuickShow
None,   Left,   Page_Down
None,   Right,  Page_Up
@Exclude


.*
None,   Down,   Down
None,   Up, Up
None,   Left,   Page_Up
None,   Right,  Page_Down
@Exclude

()
None,   Left,   Alt_L|Left
None,   Right,  Alt_L|Right
@Exclude

[EMAIL PROTECTED]
@Exclude
[EMAIL PROTECTED]
-

On Monday 24 November 2003 21:31, OS wrote:
 If you get this going please let me know. I have submitted reports to
 XFree86 but so far they have all been ignored ! It appears that there
 are some Logitech mice for which X see no button events at all beyond
 1  2. I have a variety of Logitech wheel mice. The only one that
 works with the scroll wheel is one that came with a serial converter.
 When it is used on the serial port the scroll wheel works just fine,
 but plug it into the PS/2 port and it becomes a 2 button mouse ! None
 of the other mice will work with the serial adaptor and they all work
 just fine under Windows (so the PS/2 port works just fine).

 Thanks,
 Owen
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Can't get a 7-button mouse setup correctly.

2003-11-25 Thread OS
Hello,

Thanks for that. Unfortunately this procedure doesn't seem to work for the 
Logitech MouseManPlusPS/2 protocols. Do you have any experience with the 
Logitech mice ? Should I be using a different protocol ? IMPS/2 and 
ExplorerPS/2 don't work at all. Is there anything I can do to see what is 
coming from the mouse given that xev shows absolutely nothing for buttons 4, 
5, 6  7. These mice work fine under Windows so the PS/2 port is working 
correctly.

I am coming to the conclusion that Logitech mice will never be fully supported 
by X :-( which is a shame as M$ mice are a lot more pricey :-( and I've now 
got bloomin' loads of them trying to find one that works under X !!!

Thanks,
Owen

On Tuesday 25 Nov 2003 12:11 pm, you wrote:
 Hi Owen,

 I use Microsoft IntelliMouse Explorer successfully with X 4.3.0. The
 section in XF86Config is not enough to get it working. First problem is
 that wheel stops working as it's now remapped to buttons 6 and 7 and
 applications expect 4 and 5.

 To correct this you need to execute:

 xmodmap -e pointer = 1 2 3 6 7 4 5 - best as a part of a X startup
 script.

 Now wheel works fine but if you want to get use of other buttons you
 have to use imwheel. I include my imwheelrc that I use for KDE.

 Regards,
 Ing. Jozef Sakalos
 [EMAIL PROTECTED]

 The config is:
 XF86Config:
 -
 Section InputDevice
   Driver   mouse
   Identifier   Mouse[1]
   Option   AlwaysCore on
   Option   Emulate3Buttons off
   Option   Buttons 7
   Option   Device /dev/psaux
   Option   Protocol ExplorerPS/2
   Option   ZAxisMapping 6 7
 EndSection
 -

 imwheelrc:
 -
 .*pdf$
 None, Up, Up
 None, Down,   Down
 None, Left,   Control_L|Left
 None, Right,  Control_L|Right
 @Exclude

 Open File.*
 None, Left,   Alt_L|Left
 None, Right,  Alt_L|Right
 @Exclude

 VIM[1-9]*$
 None, Left,   Control_L|o
 None, Right,  Control_L|i
 @Exclude

 Pixie$
 None, Down,   Down
 None, Up, Up
 @Exclude

 .*Konqueror$
 None, Left,   Alt_L|Left
 None, Right,  Alt_L|Right
 @Exclude

 .*Mozilla.*
 None, Left,   Alt_L|Left
 None, Right,  Alt_L|Right
 @Exclude


 .*
 None, Left,   Alt_L|Left
 None, Right,  Alt_L|Right
 @Exclude

 .*Netscape.*
 None, Left,   Alt_L|Left
 None, Right,  Alt_L|Right
 @Exclude


 .*Quanta$
 None, Left,   Alt_L|Left
 None, Right,  Alt_L|Right
 @Exclude

 ^.*Mozilla.
 None, Left,   Alt_L|Left
 None, Right,  Alt_L|Right
 @Exclude

 # KView
 ^.KView
 None, Left,   Page_Down
 None, Right,  Page_Up
 @Exclude

 .^KuickShow
 None, Left,   Page_Down
 None, Right,  Page_Up
 @Exclude


 .*
 None, Down,   Down
 None, Up, Up
 None, Left,   Page_Up
 None, Right,  Page_Down
 @Exclude

 ()
 None, Left,   Alt_L|Left
 None, Right,  Alt_L|Right
 @Exclude

 [EMAIL PROTECTED]
 @Exclude
 [EMAIL PROTECTED]
 -

 On Monday 24 November 2003 21:31, OS wrote:
  If you get this going please let me know. I have submitted reports to
  XFree86 but so far they have all been ignored ! It appears that there
  are some Logitech mice for which X see no button events at all beyond
  1  2. I have a variety of Logitech wheel mice. The only one that
  works with the scroll wheel is one that came with a serial converter.
  When it is used on the serial port the scroll wheel works just fine,
  but plug it into the PS/2 port and it becomes a 2 button mouse ! None
  of the other mice will work with the serial adaptor and they all work
  just fine under Windows (so the PS/2 port works just fine).
 
  Thanks,
  Owen
 
  On Monday 24 Nov 2003 7:58 am, Alon Weinstein wrote:
   Arrgh. you were right :) I wrote Buttons 7 instead of
   Buttons 7 :)
  
   Anywho after I set that the extra buttons behave weired -- the
   scroller doesn't scroll up/down, I guess I just need to do some
   configuration tweaking. Thanks.
  
   David Dawes wrote:
On Sun, Nov 23, 2003 at 09:56:16PM +0200, Alon Weinstein wrote:
   Hello all.
   
   I use a Logitech MX700 optical-cordless mouse, which has 7
buttons (like an MS-Explorer mouse has.)
   I found a few pages on the web explaining how to use those 7
buttons, all of which specify the following setup for the
mouse's InputDevice section:
   
 Section InputDevice
   Identifier Mouse0
   Driver mouse
   Option Protocol ExplorerPS/2
   Option Device /dev/psaux
   Option 

Re: [XFree86] Can't get a 7-button mouse setup correctly.

2003-11-24 Thread Alon Weinstein
Arrgh. you were right :) I wrote Buttons 7 instead of 
Buttons 7 :)

Anywho after I set that the extra buttons behave weired -- the 
scroller doesn't scroll up/down, I guess I just need to do some 
configuration tweaking. Thanks.

David Dawes wrote:
On Sun, Nov 23, 2003 at 09:56:16PM +0200, Alon Weinstein wrote:

Hello all.

I use a Logitech MX700 optical-cordless mouse, which has 7 buttons (like 
an MS-Explorer mouse has.)
I found a few pages on the web explaining how to use those 7 buttons, 
all of which specify the following setup for the mouse's InputDevice 
section:

 Section InputDevice
   Identifier Mouse0
   Driver mouse
   Option Protocol ExplorerPS/2
   Option Device /dev/psaux
   Option ZAxisMapping 6 7
   Option Buttons 7
 EndSection
I've tried using this setup, and got the following error when I start

X:Parse error on line 101 of section InputDevice in file /etc/X11/XF86Config
   7 is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file
Line 101 is the line which specifies Option Buttons 7.


Could you send the complete config file?  This looks like a basic parsing
problem, not a problem specific to the value 7.
David
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Can't get a 7-button mouse setup correctly.

2003-11-24 Thread Måns Rullgård
Alon Weinstein [EMAIL PROTECTED] writes:

 Arrgh. you were right :) I wrote Buttons 7 instead of
 Buttons 7 :)

 Anywho after I set that the extra buttons behave weired -- the
 scroller doesn't scroll up/down, I guess I just need to do some
 configuration tweaking. Thanks.

Most programs expect the scroll wheel to be mapped to buttons 4 and 5.

-- 
Måns Rullgård
[EMAIL PROTECTED]
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Can't get a 7-button mouse setup correctly.

2003-11-24 Thread Sandro Weiser
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Anywho after I set that the extra buttons behave weired -- the
 scroller doesn't scroll up/down, I guess I just need to do some
 configuration tweaking. Thanks.
I've the same mouse model and it's similar configured like yours. Buttons 6 
and 7 (forward/backward) are identified by xev as button 2 and 3 and Button 
8 (show windowlist) is dead.

Have you found out how to use these buttons to work as expected?

- -- 
Sandro Weiser [EMAIL PROTECTED]
Fingerprint: 77E0 7C87 4DB2 6BBB 5419  343C 7995 1C67 25B9 CBF1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/whcKeZUcZyW5y/ERAl4+AJ0drkdmYDknvyQBoeIhyiFOU1IXHQCgzLt8
YBKad/QxFp3Dbm147uzntfY=
=DwE2
-END PGP SIGNATURE-

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Can't get a 7-button mouse setup correctly.

2003-11-24 Thread OS
If you get this going please let me know. I have submitted reports to XFree86 
but so far they have all been ignored ! It appears that there are some 
Logitech mice for which X see no button events at all beyond 1  2. I have a 
variety of Logitech wheel mice. The only one that works with the scroll wheel 
is one that came with a serial converter. When it is used on the serial port 
the scroll wheel works just fine, but plug it into the PS/2 port and it 
becomes a 2 button mouse ! None of the other mice will work with the serial 
adaptor and they all work just fine under Windows (so the PS/2 port works 
just fine).

Thanks,
Owen

On Monday 24 Nov 2003 7:58 am, Alon Weinstein wrote:
 Arrgh. you were right :) I wrote Buttons 7 instead of
 Buttons 7 :)

 Anywho after I set that the extra buttons behave weired -- the
 scroller doesn't scroll up/down, I guess I just need to do some
 configuration tweaking. Thanks.

 David Dawes wrote:
  On Sun, Nov 23, 2003 at 09:56:16PM +0200, Alon Weinstein wrote:
 Hello all.
 
 I use a Logitech MX700 optical-cordless mouse, which has 7 buttons (like
 an MS-Explorer mouse has.)
 I found a few pages on the web explaining how to use those 7 buttons,
 all of which specify the following setup for the mouse's InputDevice
 section:
 
   Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol ExplorerPS/2
 Option Device /dev/psaux
 Option ZAxisMapping 6 7
 Option Buttons 7
   EndSection
 
 I've tried using this setup, and got the following error when I start
 
 X:Parse error on line 101 of section InputDevice in file
  /etc/X11/XF86Config 7 is not a valid keyword in this section.
 (EE) Problem parsing the config file
 (EE) Error parsing the config file
 
 Line 101 is the line which specifies Option Buttons 7.
 
  Could you send the complete config file?  This looks like a basic parsing
  problem, not a problem specific to the value 7.
 
  David

 ___
 XFree86 mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/xfree86

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Can't get a 7-button mouse setup correctly.

2003-11-23 Thread Alon Weinstein
Hello all.

I use a Logitech MX700 optical-cordless mouse, which has 7 buttons (like 
an MS-Explorer mouse has.)
I found a few pages on the web explaining how to use those 7 buttons, 
all of which specify the following setup for the mouse's InputDevice 
section:

  Section InputDevice
Identifier Mouse0
Driver mouse
Option Protocol ExplorerPS/2
Option Device /dev/psaux
Option ZAxisMapping 6 7
Option Buttons 7
  EndSection
I've tried using this setup, and got the following error when I start

X:Parse error on line 101 of section InputDevice in file /etc/X11/XF86Config
7 is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file
Line 101 is the line which specifies Option Buttons 7.

My mouse ( keyboard) are connected via USB. I use X from CVS, version 
4.3.99.15, on RH9 (upgraded to some extent to a Fedora via 
RawHide/Fedora RPMs) and Kernel 2.6test9.

Anyway to get my X recognize 7 as a legitimate option for my mouse?

Thanks,

Alon.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Can't get a 7-button mouse setup correctly.

2003-11-23 Thread David Dawes
On Sun, Nov 23, 2003 at 09:56:16PM +0200, Alon Weinstein wrote:
Hello all.

I use a Logitech MX700 optical-cordless mouse, which has 7 buttons (like 
an MS-Explorer mouse has.)
I found a few pages on the web explaining how to use those 7 buttons, 
all of which specify the following setup for the mouse's InputDevice 
section:

   Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol ExplorerPS/2
 Option Device /dev/psaux
 Option ZAxisMapping 6 7
 Option Buttons 7
   EndSection

I've tried using this setup, and got the following error when I start

X:Parse error on line 101 of section InputDevice in file /etc/X11/XF86Config
 7 is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Line 101 is the line which specifies Option Buttons 7.

Could you send the complete config file?  This looks like a basic parsing
problem, not a problem specific to the value 7.

David
-- 
David Dawes
developer/release engineer  The XFree86 Project
www.XFree86.org/~dawes
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86