Re: Using a logitech mx700 with scrollwheel _and_ thumb buttons

2005-07-10 Thread Seán C . Farley

On Wed, 6 Jul 2005, Julian Elischer wrote:


Joe Schmoe wrote:


snip


Nope.  I reproduced these same settings _exactly_, and
they produce the same results.

With your settings above, the scroll wheel works fine,
and the two thumb buttons each cause the web page to
scroll very slightly downward.  This is the same thing
they did with all the other different configurations I
tried.

Why is using mouse thumb buttons under FreeBSD _rocket
science_ ?  Why is this a _hard problem_ ?


because no-one who has the interest in fixing it has the time
to do so and visa versa.


I do not know how to fix it using the psm driver, but here is what I did
with the Logitech MX 1000 I bought over the weekend.

I tried using the psm driver, but it claimed a maximum of seven buttons
while this mouse has twelve according to one source[1].  I then tried
the ums driver, yet it also claimed only seven buttons.  Fortunately, I
found a NetBSD PR (kern/30248 [2]) concerning the button limit in the
ums driver.  Since sc_buttons is an int, I just bumped up MAX_BUTTONS to
31, and the driver found 16 buttons.

xorg.conf mouse section:
Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/ums0
Option  Buttons 12
Option  Emulate3Buttons false
Option  ZAxisMapping 9 10
EndSection

Although I disabled the moused loading in /etc/usbd.conf to allow X to
capture the device, moused may still work.  I doubt it, but is there a
way to disable a particular check via rc.conf?

With the following xmodmap command, I have a fair amount of the mouse
working:
xmodmap -e pointer = 1 2 3 9 10 6 7 8 4 5 11 12

Problems:
1. psm has a limit to the number of buttons detected.  I noticed this
   when I used moused in debug mode to see what events were thrown from
   the mouse.
2. The wheel pushed to the left and right does not work.  It does not
   show up in xev.  I may need to play with xorg.conf some more.
3. I need to find a way to disable Logitech's Cruise Control since I
   want to use the scroll up button above the wheel as the paste button.
   Cruise Control send the button number I want (7) plus a continuous
   stream of the button number (4) related to the wheel.

   I hate pasting with a wheel; I am almost always screwing something
   up during the paste due to slipping on the wheel.  :)
4. I have no idea what the (magic number) button positions in xmodmap
   correspond with.  I.e., 2 means paste, but what does 4 and on mean?

Would anyone like to up the MAX_BUTTONS define in ums.c to a higher
number, please?

Seán
  1. http://floam.sh.nu/index.xhtml?page=guidessection=mx1000
  2. http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=30248
--
[EMAIL PROTECTED]___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Using a logitech mx700 with scrollwheel _and_ thumb buttons

2005-07-06 Thread Joe Schmoe

Andre,

--- André-Philippe Paquet [EMAIL PROTECTED] wrote:

 My MX500 is working just fine. Here what I do:
 
- Install imwheel (/usr/ports/x11/imwheel) 
 
 
- Add this to ~/.imwheelrc 
 
 .*
 None, Up, Alt_L|Left,1
 None, Down, Alt_L|Right,1
 
 (null)
 None, Up, Alt_L|Left,1
 None, Down, Alt_L|Right,1
  
 
- In my x.org http://x.org file.. For the
 InputDevice section: 
 
 Option Buttons 7
 Option ZAxisMapping 6 7
  
- Finaly, I run these two commands on Xwindows
 start: 
 
 imwheel -b 67 
 xmodmap -e pointer = 1 2 3 6 7 4 5


Nope.  I reproduced these same settings _exactly_, and
they produce the same results.

With your settings above, the scroll wheel works fine,
and the two thumb buttons each cause the web page to
scroll very slightly downward.  This is the same thing
they did with all the other different configurations I
tried.

Why is using mouse thumb buttons under FreeBSD _rocket
science_ ?  Why is this a _hard problem_ ?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using a logitech mx700 with scrollwheel _and_ thumb buttons

2005-07-06 Thread André-Philippe Paquet
Sorry, I didn't see your last message! Start xwindows with your favorite wm 
and in a terminal, run:
imwheel -b 67 
xmodmap -e pointer = 1 2 3 6 7 4 5

 If it doesn't work, it may be something else. I just redid the whole 
process I told and it works here.

Andre-Philippe
On 7/5/05, Joe Schmoe [EMAIL PROTECTED] wrote:
 
 
 Andre,
 
 --- André-Philippe Paquet [EMAIL PROTECTED] wrote:
 
  My MX500 is working just fine. Here what I do:
 
  - Install imwheel (/usr/ports/x11/imwheel)
 
 
  - Add this to ~/.imwheelrc
 
  .*
  None, Up, Alt_L|Left,1
  None, Down, Alt_L|Right,1
 
  (null)
  None, Up, Alt_L|Left,1
  None, Down, Alt_L|Right,1
 
 
  - In my x.org http://x.org http://x.org file.. For the
  InputDevice section:
 
  Option Buttons 7
  Option ZAxisMapping 6 7
 
  - Finaly, I run these two commands on Xwindows
  start:
 
  imwheel -b 67 
  xmodmap -e pointer = 1 2 3 6 7 4 5
 
 
 Nope. I reproduced these same settings _exactly_, and
 they produce the same results.
 
 With your settings above, the scroll wheel works fine,
 and the two thumb buttons each cause the web page to
 scroll very slightly downward. This is the same thing
 they did with all the other different configurations I
 tried.
 
 Why is using mouse thumb buttons under FreeBSD _rocket
 science_ ? Why is this a _hard problem_ ?
 
 __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using a logitech mx700 with scrollwheel _and_ thumb buttons

2005-07-06 Thread Julian Elischer



Joe Schmoe wrote:


Andre,

--- André-Philippe Paquet [EMAIL PROTECTED] wrote:

 


My MX500 is working just fine. Here what I do:

  - Install imwheel (/usr/ports/x11/imwheel) 



  - Add this to ~/.imwheelrc 


.*
None, Up, Alt_L|Left,1
None, Down, Alt_L|Right,1

(null)
None, Up, Alt_L|Left,1
None, Down, Alt_L|Right,1


  - In my x.org http://x.org file.. For the
InputDevice section: 


Option Buttons 7
Option ZAxisMapping 6 7

  - Finaly, I run these two commands on Xwindows
start: 


imwheel -b 67 
xmodmap -e pointer = 1 2 3 6 7 4 5
   




Nope.  I reproduced these same settings _exactly_, and
they produce the same results.

With your settings above, the scroll wheel works fine,
and the two thumb buttons each cause the web page to
scroll very slightly downward.  This is the same thing
they did with all the other different configurations I
tried.

Why is using mouse thumb buttons under FreeBSD _rocket
science_ ?  Why is this a _hard problem_ ?
 


because no-one who has the interest in fixing it has the time
to do so and visa versa.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___

freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
 


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Using a logitech mx700 with scrollwheel _and_ thumb buttons

2005-05-27 Thread Joe Schmoe
Hello,

I have a logitech mx700 - it has a scrollwheel and two
thumb buttons (designed for forward and back in your
browser) as well as some other launch button on the
top that I guess is for launching an app.

I am using FBSD 5.4-RELEASE with xorg installed from
the ports tree.

I have tried many, many different combinations of
settings in /etc/rc.conf, xorg.conf and .xinitrc.  The
results are always the same:

- I can use the scrollwheel just fine
- first three mouse buttons work just fine
- the other three (two thumb buttons and the app
button) _always_ generate the same mousebutton event

So for instance, at first I had:

moused_flags=-z 4 in /etc/rc.conf

and I had:

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  Buttons 7
EndSection

in my xorg.conf

and I had:

/usr/X11R6/bin/xmodmap -e pointer = 1 3 2 4 5 6 7

in my .xinitrc

Checking button events in xev, under this config,
shows that upwheel is 4, downwheel is 5 (and yes, the
wheel worked) and all three other buttons (two thumbs
and app button) were all button 5.

so then I removed the -z line from /etc/rc.conf, and
added this to my xorg.conf:

Option ZAxisMapping 6 7

Same behavior.  wheel works, the other three are all
event button 5.

So the only semi-success I had was when I changed my
ZAxisMapping line to:

Option  ZAxisMapping 4 5 6 7

When I did this, wheelup is 4, wheeldown is 5, the
little pseudo buttons above and below the wheel now
create the following combo events of 6,4 and 5,5
respectively, and my two thumb buttons and app button
now all produce button 7.

-

So what can I do here ?  No matter how I rearrange my
settings, the two thumb buttons and the app button
always produce the same button event.  Whether it is 5
or 7, it is always the same.

Does anyone have a Logitech mx700 mouse, in FreeBSD
5.x, with xorg, running properly with the wheel and
the thumb buttons ?

thanks, jarsh



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using a logitech mx700 with scrollwheel _and_ thumb buttons

2005-05-27 Thread André-Philippe Paquet
My MX500 is working just fine. Here what I do:

   - Install imwheel (/usr/ports/x11/imwheel) 


   - Add this to ~/.imwheelrc 

.*
None, Up, Alt_L|Left,1
None, Down, Alt_L|Right,1

(null)
None, Up, Alt_L|Left,1
None, Down, Alt_L|Right,1
 

   - In my x.org http://x.org/ file.. For the InputDevice section: 

Option Buttons 7
Option ZAxisMapping 6 7
 
   - Finaly, I run these two commands on Xwindows start: 

imwheel -b 67 
xmodmap -e pointer = 1 2 3 6 7 4 5



 It works #1 with my logitech MX500 mouse (I tested on xfce4 and kde). The 
only problem I have is that my app button is not working but I wasn't using 
it in windows anyway so I don't need it. The tumbs buttons are working #1 in 
Firefox and Konqueror.

André-Philippe Paquet

On 5/26/05, Joe Schmoe [EMAIL PROTECTED] wrote:
 
 Hello,
 
 I have a logitech mx700 - it has a scrollwheel and two
 thumb buttons (designed for forward and back in your
 browser) as well as some other launch button on the
 top that I guess is for launching an app.
 
 I am using FBSD 5.4-RELEASE with xorg installed from
 the ports tree.
 
 I have tried many, many different combinations of
 settings in /etc/rc.conf, xorg.conf and .xinitrc. The
 results are always the same:
 
 - I can use the scrollwheel just fine
 - first three mouse buttons work just fine
 - the other three (two thumb buttons and the app
 button) _always_ generate the same mousebutton event
 
 So for instance, at first I had:
 
 moused_flags=-z 4 in /etc/rc.conf
 
 and I had:
 
 Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol auto
 Option Device /dev/sysmouse
 Option Buttons 7
 EndSection
 
 in my xorg.conf
 
 and I had:
 
 /usr/X11R6/bin/xmodmap -e pointer = 1 3 2 4 5 6 7
 
 in my .xinitrc
 
 Checking button events in xev, under this config,
 shows that upwheel is 4, downwheel is 5 (and yes, the
 wheel worked) and all three other buttons (two thumbs
 and app button) were all button 5.
 
 so then I removed the -z line from /etc/rc.conf, and
 added this to my xorg.conf:
 
 Option ZAxisMapping 6 7
 
 Same behavior. wheel works, the other three are all
 event button 5.
 
 So the only semi-success I had was when I changed my
 ZAxisMapping line to:
 
 Option ZAxisMapping 4 5 6 7
 
 When I did this, wheelup is 4, wheeldown is 5, the
 little pseudo buttons above and below the wheel now
 create the following combo events of 6,4 and 5,5
 respectively, and my two thumb buttons and app button
 now all produce button 7.
 
 -
 
 So what can I do here ? No matter how I rearrange my
 settings, the two thumb buttons and the app button
 always produce the same button event. Whether it is 5
 or 7, it is always the same.
 
 Does anyone have a Logitech mx700 mouse, in FreeBSD
 5.x, with xorg, running properly with the wheel and
 the thumb buttons ?
 
 thanks, jarsh
 
 
 
 __
 Do you Yahoo!?
 Yahoo! Small Business - Try our new Resources site
 http://smallbusiness.yahoo.com/resources/
 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]